All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.Cesium3DTile.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

package cesium

/**
 * A tile in a [Cesium3DTileset].  When a tile is first created, its content is not loaded;
 * the content is loaded on-demand when needed based on the view.
 *
 * Do not construct this directly, instead access tiles through [Cesium3DTileset.tileVisible].
 * @see Online Documentation
 */
@JsName("\$cesium__Cesium3DTile")
external class Cesium3DTile {
    /**
     * The local transform of this tile.
     * @see Online Documentation
     */
    var transform: Matrix4

    /**
     * The final computed transform of this tile.
     * @see Online Documentation
     */
    val computedTransform: Matrix4

    /**
     * The error, in meters, introduced if this tile is rendered and its children are not.
     * This is used to compute screen space error, i.e., the error measured in pixels.
     * @see Online Documentation
     */
    val geometricError: Double

    /**
     * Gets the tile's children.
     * @see Online Documentation
     */
    val children: Array

    /**
     * This tile's parent or `undefined` if this tile is the root.
     *
     * When a tile's content points to an external tileset JSON file, the external tileset's
     * root tile's parent is not `undefined`; instead, the parent references
     * the tile (with its content pointing to an external tileset JSON file) as if the two tilesets were merged.
     * @see Online Documentation
     */
    val parent: Cesium3DTile

    /**
     * The time in seconds after the tile's content is ready when the content expires and new content is requested.
     * @see Online Documentation
     */
    var expireDuration: Double

    /**
     * The date when the content expires and new content is requested.
     * @see Online Documentation
     */
    var expireDate: JulianDate

    /**
     * The tileset containing this tile.
     * @see Online Documentation
     */
    val tileset: Cesium3DTileset

    /**
     * The tile's content.  This represents the actual tile's payload,
     * not the content's metadata in the tileset JSON file.
     * @see Online Documentation
     */
    val content: Cesium3DTileContent

    /**
     * Get the bounding sphere derived from the tile's bounding volume.
     * @see Online Documentation
     */
    val boundingSphere: BoundingSphere

    /**
     * Returns the `extras` property in the tileset JSON for this tile, which contains application specific metadata.
     * Returns `undefined` if `extras` does not exist.
     * @see Online Documentation
     */
    val extras: Any
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy