ExperimentalPrivate Experimental_Private Experimental_Private Optional Experimental_Private Experimental_Private Experimental_Private Experimental_Private Experimental_ExperimentalWhether sunlight analysis is currently in progress.
ExperimentalA normalized vector to the sun in 3D world coordinates at the current scene time.
ExperimentalThe sun position in 3D world coordinates at the current scene time.
Private_ExperimentalOptionaloptions: AnalyzeOptionsPrivate_ExperimentalOptionaloptions: AnalyzeOptionsPrivate_ExperimentalOptionalobjectsToExclude: any[]Private_ExperimentalOptionalobjectsToExclude: any[]A promise tht resolves to an object containing the object and position of the first intersection.
ExperimentalAnalyze the sunlight acceptance from a given point at a given time.
target point to analyze
time to analyze
Optionaloptions: AnalyzeOptionsExperimentalAnalyze the sunlight acceptance from a given point at a given time range.
target point to analyze
time range to analyze
Optionaloptions: AnalyzeOptionsExperimentalRemove all instances created for debug purpose
ExperimentalCreate an ellipsoid entity for ray collision detection to complement cesium's native click event accuracy
where to create the entity
Optionalshow: booleanwhether to show point entity
OptionalerrorBoundary: numbersize of the point entity for error tolerance
ExperimentalGets virtual position and direction of the sun to reduce calculation overhead.
target point to start from
virtual distance between target point and the sun. Defaults to 10000 (10km)
Since
Cesium 1.132.0
Point sunlight analysis utility for shadow calculations.
⚠️ Warning: This is an experimental feature that uses Cesium's internal APIs. The API may change or break in future versions of Cesium or cesium-utils.
Example