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.
Members
-
Gets the amount of memory used by the batch table textures, in bytes.
-
Gets the number of features in the tile.
-
Gets the tile's geometry memory in bytes.
-
Gets the array of
Cesium3DTileContentobjects that represent the content a composite's inner tiles, which can also be composites. -
Gets the number of points in the tile.
Only applicable for tiles with Point Cloud content. This is different than
Cesium3DTileContent#featuresLengthwhich equals the number of groups of points as distinguished by theBATCH_IDfeature table semantic. -
readonlyreadyPromise : Promise.<Cesium3DTileContent>
-
Gets the promise that will be resolved when the tile's content is ready to render.
-
Gets the tile's texture memory in bytes.
-
Gets the number of triangles in the tile.
-
Gets the url of the tile's content.
Methods
-
getFeature(batchId) → Cesium3DTileFeature
-
Returns the
Cesium3DTileFeatureobject for the feature with the givenbatchId. This object is used to get and modify the feature's properties.Features in a tile are ordered by
batchId, an index used to retrieve their metadata from the batch table.Name Type Description batchIdNumber The batchId for the feature. Returns:
The correspondingCesium3DTileFeatureobject.Throws:
-
DeveloperError : batchId must be between zero and
Cesium3DTileContent#featuresLength- 1.
-
-
Determines if the tile's batch table has a property. If it does, each feature in the tile will have the property.
Name Type Description batchIdNumber The batchId for the feature. nameString The case-sensitive name of the property. Returns:
trueif the property exists; otherwise,false.
