

Points representing the corners and interior of the Region. Points RegionData's points property indicates a list of model-coordinate When a Region's altitudeMode isĬlampToGround, the Region's sector can be used to determine visibility because the Region is defined Accessed byĬalling getSector and setSector. Sector RegionData's sector property is a Sector used toĭetermine if Regions with an altitudeMode of clampToGround are in view. This property is accessed by calling getExtent and Property is accessed by calling isActive and setActive.Įxtent RegionData's extent property is an Extent used toĭetermine if a Region's bounding box is in view.

Callers determine when to recompute isActive by comparing theĭrawContext's current frame number against the RegionData's activeFrameNumber. IsActive, and can therefore share the same computation by ensuring that this property is set at most For example, the preRender and render passes need not each compute This is used to share the result of computing isActiveĪmong multiple calls during the same frame. IsActive RegionData's isActive property indicates whether the RegionĪssociated with a RegionData entry is active. Regenerating data for multiple Regions over multiple frames. The time is randomized to amortize the cost of Ma圎xpiryTime, after which it must be regenerated. Each RegionDataĮntry is valid for a random amount of time between its minExpiryTime and its Globe's ElevationModel, and therefore cannot be permanently cached. IsActive using the current Globe as the cache key. RegionData entries are places in a Region's regionDataCache, and are retrieved during each call to RegionData holds a Region's computed data used during a single call to Region.isActive,
