PolylineGeometryUpdater

open external class PolylineGeometryUpdater(val entity: Entity, scene: Scene)(source)

A GeometryUpdater for polylines. Clients do not normally create this class directly, but instead rely on DataSourceDisplay.

Parameters

scene

The scene where visualization is taking place.

See also

Constructors

Link copied to clipboard
constructor(entity: Entity, scene: Scene)

Properties

Link copied to clipboard
external val arcType: ArcType

Gets a value indicating if the path of the line.

Link copied to clipboard
external val clampToGround: Boolean

Gets a value indicating if the geometry is clamped to the ground. Returns false if polylines on terrain is not supported.

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 the material property used to fill the geometry when it fails the depth test.

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

The entity containing the geometry to be visualized.

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 outline visibility varies with simulation time.

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

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

Link copied to clipboard
external val zIndex: Int

Gets the zindex

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.