main.cesium.Cesium3DTilesetGraphics.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
@file:Suppress(
"NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)
package cesium
/**
* A 3D Tiles tileset represented by an [Entity].
* The tileset modelMatrix is determined by the containing Entity position and orientation
* or is left unset if position is undefined.
* @see Online Documentation
*/
external class Cesium3DTilesetGraphics {
/**
* 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 model.
* @see Online Documentation
*/
var show: Property?
/**
* Gets or sets the string Property specifying the URI of the glTF asset.
* @see Online Documentation
*/
var uri: Property?
/**
* Gets or sets the maximum screen space error used to drive level of detail refinement.
* @see Online Documentation
*/
var maximumScreenSpaceError: 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: Cesium3DTilesetGraphics? = definedExternally): Cesium3DTilesetGraphics
/**
* 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: Cesium3DTilesetGraphics)
}
inline fun Cesium3DTilesetGraphics(
block: Cesium3DTilesetGraphics.() -> Unit,
): Cesium3DTilesetGraphics =
Cesium3DTilesetGraphics().apply(block)