要构造 VoxelContent,请拨打
An object representing voxel content for a VoxelContent.fromMetadataArray 或 VoxelContent.fromGltf . 不要直接给建筑师打电话.
Cesium3DTilesVoxelProvider.
Throws:
-
DeveloperError : One of loader and metadata must be defined.
-
DeveloperError : metadata must be an array of TypedArrays.
Experimental
This feature is not final and is subject to change without Cesium's standard deprecation policy.
Methods
static Cesium.VoxelContent.fromMetadataArray(metadata) → VoxelContent
从一系列元数据构建 VoxelContent.
| Name | Type | Description |
|---|---|---|
metadata |
Array.<Int8Array> | Array.<Uint8Array> | Array.<Int16Array> | Array.<Uint16Array> | Array.<Int32Array> | Array.<Uint32Array> | Array.<Float32Array> | Array.<Float64Array> | 此 voxel 内容所用的元数据 . |
Returns:
包含指定元数据的 VoxelContent .