ExperimentalPrivate Experimental_Private Experimental_Private Optional 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_ExperimentalCreate a point entity for collision detection
where to create the entity
Optionalshow: booleanwhether to show point entity
OptionalerrorBoundary: numbersize of the point entity for error tolerance
Private_ExperimentalOptionalobjectsToExclude: any[]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
ExperimentalGets a virtual position of the sun to reduce calculation overhead.
target point to start from
virtual distance between target point and the sun. Defaults to 1000 (1km)
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