main.cesium.PathGraphics.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package cesium
/**
* Describes a polyline defined as the path made by an [Entity] as it moves over time.
* @see Online Documentation
*/
external class PathGraphics {
/**
* Gets the event that is raised whenever a property or sub-property is changed or modified.
* @see Online Documentation
*/
val definitionChanged: Event
/**
* Gets or sets the boolean Property specifying the visibility of the path.
* @see Online Documentation
*/
var show: Property?
/**
* Gets or sets the Property specifying the number of seconds in front of the object to show.
* @see Online Documentation
*/
var leadTime: Property?
/**
* Gets or sets the Property specifying the number of seconds behind the object to show.
* @see Online Documentation
*/
var trailTime: Property?
/**
* Gets or sets the numeric Property specifying the width in pixels.
* @see Online Documentation
*/
var width: Property?
/**
* Gets or sets the Property specifying the maximum number of seconds to step when sampling the position.
* @see Online Documentation
*/
var resolution: Property?
/**
* Gets or sets the Property specifying the material used to draw the path.
* @see Online Documentation
*/
var material: MaterialProperty
/**
* Gets or sets the [DistanceDisplayCondition] Property specifying at what distance from the camera that this path will be displayed.
* @see Online Documentation
*/
var distanceDisplayCondition: Property?
/**
* Duplicates this instance.
* @param [result] The object onto which to store the result.
* @return The modified result parameter or a new instance if one was not provided.
* @see Online Documentation
*/
fun clone(result: PathGraphics? = definedExternally): PathGraphics
/**
* Assigns each unassigned property on this object to the value
* of the same property on the provided source object.
* @param [source] The object to be merged into this object.
* @see Online Documentation
*/
fun merge(source: PathGraphics)
}
inline fun PathGraphics(
block: PathGraphics.() -> Unit,
): PathGraphics =
PathGraphics().apply(block)