new Cesium.VoxelProvider()

Provides voxel data. Intended to be used with VoxelPrimitive. 该类型描述了一个接口,并不打算直接被即时化.
Experimental

This feature is not final and is subject to change without Cesium's standard deprecation policy.

See:

Members

readonly componentTypes : Array.<MetadataComponentType>

获取元数据组件类型.

readonly dimensions : Cartesian3

获得瓦片每维的 Voxel 数 。 这对数据集中的所有瓷砖都是一样的.

readonly globalTransform : Matrix4

从局部空间向全球空间的转变.
Default Value: Matrix4.IDENTITY

readonly maxBounds : Cartesian3|undefined

获得最大极限. 如果未定义,则将使用形状的默认最大界限.

readonly maximumTileCount : number|undefined

此提供者的最大牌数 . 此值被用作对 voxel 渲染器的提示, 用于分配 NT % 0 内存 . 如果未知此值, 则无法定义 .

readonly maximumValues : Array.<Array.<number>>|undefined

获取元数据最大值.

readonly minBounds : Cartesian3|undefined

得到最小界限. 如果未定义, 则将使用形状的默认最小界限 .

readonly minimumValues : Array.<Array.<number>>|undefined

获得元数据最小值.

readonly names : Array.<string>

获取元数据名称 .

readonly paddingAfter : Cartesian3

获得瓦片之后的粘贴瓶数 。 这在取样瓷砖边缘时提高了渲染质量,但增加了内存的使用.
Default Value: Cartesian3.ZERO

readonly paddingBefore : Cartesian3

在瓦片之前获得粘贴瓶的数量。 这在取样瓷砖边缘时提高了渲染质量,但增加了内存的使用.
Default Value: Cartesian3.ZERO

readonly shape : VoxelShapeType

Gets the VoxelShapeType

readonly shapeTransform : Matrix4

从形状空间转变为局部空间.
Default Value: Matrix4.IDENTITY

readonly types : Array.<MetadataType>

获取元数据类型.

Methods

requestData(options)Promise.<VoxelContent>|undefined

请求给定的瓦片的数据 .
Name Type Description
options object optional 下列属性的对象 :
Name Type Default Description
tileLevel number 0 optional The tile's level.
tileX number 0 optional The tile's X coordinate.
tileY number 0 optional The tile's Y coordinate.
tileZ number 0 optional The tile's Z coordinate.
Returns:
向 VoxelContent 解析包含瓷砖数据的承诺, 如果请求无法安排此框架, 则未定义 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.