GaussianSplat3DTileContent

Represents the contents of a glTF or glb using the KHR_gaussian_splatting and KHR_gaussian_splatting_compression_spz_2 extensions.

Implements the Cesium3DTileContent interface.

See also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

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

Gets the number of features in the tile. Currently this is always zero.

Link copied to clipboard

The number of bytes used by the geometry attributes of this content.

Link copied to clipboard
val innerContents: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsAny>

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

Equal to the number of Gaussian splats in the tile. Each splat is represented by a median point and a set of attributes, so we can treat this as the number of points in the tile.

Link copied to clipboard

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

Link copied to clipboard

The number of bytes used by the textures of this content.

Link copied to clipboard

The tile that this content belongs to.

Link copied to clipboard

The tileset that this content belongs to.

Link copied to clipboard

Returns true when the tile's content is transformed to world coordinates; otherwise false

Link copied to clipboard

Gets the number of triangles in the tile. Currently this is always zero because Gaussian splats are not represented as triangles in the tile content.

Link copied to clipboard

The resource that this content was loaded from.

Functions

Link copied to clipboard

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
fun hasProperty(batchId: Int, name: String): Boolean

Returns whether the feature has this property.