GeometryUpdater

An abstract class for updating geometry entities.

See also

Constructors

Link copied to clipboard

Types

Link copied to clipboard
external interface ConstructorOptions

Properties

Link copied to clipboard

Gets or sets the ClassificationType Property specifying if this geometry will classify terrain, 3D Tiles, or both when on the ground.

Link copied to clipboard

Gets or sets the DistanceDisplayCondition Property specifying at what distance from the camera that this geometry will be displayed.

Link copied to clipboard
external val entity: Entity

Gets the entity associated with this geometry.

Link copied to clipboard
external val fillEnabled: Boolean

Gets a value indicating if the geometry has a fill component.

Link copied to clipboard

Gets the material property used to fill the geometry.

Link copied to clipboard
external val geometryChanged: Boolean

Gets an event that is raised whenever the public properties of this updater change.

Link copied to clipboard
external val hasConstantFill: Boolean

Gets a value indicating if fill visibility varies with simulation time.

Link copied to clipboard

Gets a value indicating if the geometry has an outline component.

Link copied to clipboard
external val id: String

Gets the unique ID associated with this updater

Link copied to clipboard
external val isClosed: Boolean

Gets a value indicating if the geometry is closed. This property is only valid for static geometry.

Link copied to clipboard
external val isDynamic: Boolean

Gets a value indicating if the geometry is time-varying.

Link copied to clipboard

Gets the Color property for the geometry outline.

Link copied to clipboard
external val outlineEnabled: Boolean

Gets a value indicating if the geometry has an outline component.

Link copied to clipboard
external val outlineWidth: Double

Gets the constant with of the geometry outline, in pixels. This value is only valid if isDynamic is false.

Link copied to clipboard

Gets the property specifying whether the geometry casts or receives shadows from light sources.

Functions

Link copied to clipboard

Creates the geometry instance which represents the fill of the geometry.

Link copied to clipboard

Creates the geometry instance which represents the outline of the geometry.

Link copied to clipboard
external fun destroy()

Destroys and resources used by the object. Once an object is destroyed, it should not be used.

Link copied to clipboard
external fun isDestroyed(): Boolean

Returns true if this object was destroyed; otherwise, false.

Link copied to clipboard
external fun isFilled(time: JulianDate): Boolean

Checks if the geometry is filled at the provided time.

Link copied to clipboard
external fun isOutlineVisible(time: JulianDate): Boolean

Checks if the geometry is outlined at the provided time.