Cesium3DTileContent

abstract external class Cesium3DTileContent(source)

The content of a tile in a Cesium3DTileset.

Derived classes of this interface provide access to individual features in the tile. Access derived objects through Cesium3DTile.content.

This type describes an interface and is not intended to be instantiated directly.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Gets the amount of memory used by the batch table textures and any binary metadata properties not accounted for in geometryByteLength or texturesByteLength

Link copied to clipboard
abstract val featuresLength: Int

Gets the number of features in the tile.

Link copied to clipboard
abstract val geometryByteLength: Int

Gets the tile's geometry memory in bytes.

Link copied to clipboard

Gets the array of Cesium3DTileContent objects for contents that contain other contents, such as composite tiles. The inner contents may in turn have inner contents, such as a composite tile that contains a composite tile.

Link copied to clipboard
abstract val pointsLength: Int

Gets the number of points in the tile.

Link copied to clipboard
abstract val ready: Boolean

Returns true when the tile's content is ready to render; otherwise false

Link copied to clipboard
abstract val texturesByteLength: Int

Gets the tile's texture memory in bytes.

Link copied to clipboard
abstract val tile: Cesium3DTile

Gets the tile containing this content.

Link copied to clipboard
abstract val tileset: Cesium3DTileset

Gets the tileset for this tile.

Link copied to clipboard
abstract val trianglesLength: Int

Gets the number of triangles in the tile.

Link copied to clipboard
abstract val url: String

Gets the url of the tile's content.

Functions

Link copied to clipboard
abstract fun getFeature(batchId: Int): Cesium3DTileFeature

Returns the Cesium3DTileFeature object for the feature with the given batchId. This object is used to get and modify the feature's properties.

Link copied to clipboard
abstract fun hasProperty(batchId: Int, name: String): Boolean

Returns whether the feature has this property.