Cesium3DTileContent

new Cesium.Cesium3DTileContent()

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

readonly batchTableByteLength : Number

获取批处理表纹理使用的内存量(以字节为单位)。

readonly featuresLength : Number

获取磁贴中的功能数。

readonly geometryByteLength : Number

获取平铺的几何内存(以字节为单位)。

readonly innerContents : Array

获取表示 包含复合材料的内部瓷砖,也可以是复合材料。
See:

readonly pointsLength : Number

获取平铺中的点数。

Only applicable for tiles with Point Cloud content. This is different than Cesium3DTileContent#featuresLength which equals the number of groups of points as distinguished by the BATCH_ID feature table semantic.

See:

readonly readyPromise : Promise.<Cesium3DTileContent>

获取将在磁贴内容准备呈现时解决的承诺。

readonly texturesByteLength : Number

获取平铺的纹理内存(以字节为单位)。
获取包含此内容的磁贴。
获取此平铺的平铺集。

readonly trianglesLength : Number

获取平铺中的三角形数。

readonly url : String

获取磁贴内容的url。

Methods

返回功能的Cesium3DTileFeature对象 给出batchId。此对象用于获取和修改 功能的属性。

Features in a tile are ordered by batchId, an index used to retrieve their metadata from the batch table.

Name Type Description
batchId Number 功能的batchId。
Returns:
对应的Cesium3DTileFeature对象。
Throws:
See:

hasProperty(batchId, name)Boolean

确定平铺的批处理表是否具有属性。如果是,则 磁贴将具有属性。
Name Type Description
batchId Number 功能的batchId。
name String 属性的区分大小写的名称。
Returns:
如果该属性存在,则为true;否则为false