Experimental
This feature is not final and is subject to change without Cesium's standard deprecation policy.
参考:
成员(属性)
The number of levels of detail containing available tiles in the tileset.
constant componentTypes : Array.<MetadataComponentType>
Gets the metadata component types.
constant dimensions : Cartesian3
Gets the number of voxels per dimension of a tile. This is the same for all tiles in the dataset.
constant globalTransform : Matrix4
A transform from local space to global space.
-
默认值:
Matrix4.IDENTITY
constant maxBounds : Cartesian3|undefined
Gets the maximum bounds.
If undefined, the shape's default maximum bounds will be used instead.
The maximum number of tiles that exist for this provider.
This value is used as a hint to the voxel renderer to allocate an appropriate amount of GPU memory.
If this value is not known it can be undefined.
Gets the metadata maximum values.
constant minBounds : Cartesian3|undefined
Gets the minimum bounds.
If undefined, the shape's default minimum bounds will be used instead.
Gets the metadata minimum values.
Gets the metadata names.
constant paddingAfter : Cartesian3
Gets the number of padding voxels after the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage.
-
默认值:
Cartesian3.ZERO
constant paddingBefore : Cartesian3
Gets the number of padding voxels before the tile. This improves rendering quality when sampling the edge of a tile, but it increases memory usage.
-
默认值:
Cartesian3.ZERO
constant shape : VoxelShapeType
Gets the
VoxelShapeType
constant shapeTransform : Matrix4
A transform from shape space to local space.
-
默认值:
Matrix4.IDENTITY
constant types : Array.<MetadataType>
Gets the metadata types.
方法
requestData(options) → Promise.<VoxelContent>|undefined
Requests the data for a given tile.
| 参数名称 | 类型 | 描述信息 | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
可选
Object with the following properties:
|
返回值:
A promise resolving to a VoxelContent containing the data for the tile, or undefined if the request could not be scheduled this frame.
