@JsType(isNative=true, namespace="Cesium", name="Cesium3DTileContent") public class Cesium3DTileContent extends Object
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.Modifier and Type | Method and Description |
---|---|
int |
batchTableByteLength()
Gets the amount of memory used by the batch table textures, in bytes.
|
int |
featuresLength()
Gets the number of features in the tile.
|
int |
geometryByteLength()
Gets the tile's geometry memory in bytes.
|
Cesium3DTileFeature |
getFeature(int batchId)
Returns the Cesium3DTileFeature object for the feature with the given batchId.
|
boolean |
hasProperty(int batchId,
String name)
Determines if the tile's batch table has a property.
|
Cesium3DTileContent[] |
innerContents()
Gets the array of Cesium3DTileContent objects that represent the content a composite's inner tiles, which can also be composites.
|
int |
pointsLength()
Gets the number of points in the tile.
|
Promise<Cesium3DTileContent,Void> |
readyPromise()
Gets the promise that will be resolved when the tile's content is ready to render.
|
int |
texturesByteLength()
Gets the tile's texture memory in bytes.
|
int |
trianglesLength()
Gets the number of triangles in the tile.
|
String |
url()
Gets the url of the tile's content.
|
@JsProperty(name="batchTableByteLength") public int batchTableByteLength()
@JsProperty(name="featuresLength") public int featuresLength()
@JsProperty(name="geometryByteLength") public int geometryByteLength()
@JsProperty(name="innerContents") public Cesium3DTileContent[] innerContents()
@JsProperty(name="pointsLength") public int pointsLength()
@JsProperty(name="readyPromise") public Promise<Cesium3DTileContent,Void> readyPromise()
@JsProperty(name="texturesByteLength") public int texturesByteLength()
@JsProperty(name="trianglesLength") public int trianglesLength()
@JsProperty(name="url") public String url()
@JsMethod public Cesium3DTileFeature getFeature(int batchId)
batchId
- The batchId for the feature.Cesium3DTileFeature
object.@JsMethod public boolean hasProperty(int batchId, String name)
batchId
- The batchId for the feature.name
- The case-sensitive name of the property.Copyright © 2019. All rights reserved.