GaussianSplat3DTileContent
Cesium v1.147 · 中文

使用 KHR_gaussian_splatting 和 KHR_gaussian_splatting_compression_spz_2 扩展来表示 glTF 或 glb 的内容。

实现 Cesium3DTileContent 接口。

new Cesium.GaussianSplat3DTileContent()

Members

readonly batchTableByteLength : number

获取批次表纹理及任何二进制数据所占用的内存量。 未在 geometryByteLength 或 texturesByteLength 中考虑的元数据属性。

获取瓦片中特征的数量。目前始终为 0。

readonly geometryByteLength : number

此内容几何属性所使用的字节数。

获取包含其他内容的 Cesium3DTileContent 对象数组,例如复合瓦片。内部内容可能又包含内部内容,例如一个包含复合瓦片的复合瓦片。
See:
等于瓦片中高斯斑点的数量。每个斑点由一个中位数点及一组属性表示,因此我们可以将此视为瓦片中的点数。 将此视为瓦片中的点数。
当瓦片内容准备好渲染时返回 true;否则返回 false。

readonly texturesByteLength : number

此内容纹理所使用的字节数。

此内容所属的瓦片。

此内容所属的瓦片集。

当瓦片内容被转换为世界坐标时返回 true;否则返回 false。

readonly trianglesLength : number

获取瓦片中三角形的数量。目前始终为 0,因为高斯斑点在瓦片内容中不以三角形形式表示。

此内容加载的资源来源。

Methods

static Cesium.GaussianSplat3DTileContent.tilesetRequiresGaussianSplattingExt(tileset) → boolean

进行检查以确保提供的瓦片集包含高斯斑点扩展。
Name Type Description
tileset Cesium3DTileset 用于检查扩展的瓦片集。
Returns:
Returns 如果瓦片集包含必要的扩展,则输出 true。
返回具有给定 batchId 的 Cesium3DTileFeature 对象。该对象用于获取和修改 特征的属性。 瓦片中的特征按 batchId 排序,这是从批次表中检索其元数据的索引。

特征的 batchId。

Name Type Description
batchId number 对应 Cesium3DTileFeature 对象。
Returns:
The 必须介于零和 Cesium3DTileContent#featuresLength - 1之间。
Throws:
See:

hasProperty(batchId, name) → boolean

返回特征是否具有此属性。
Name Type Description
batchId number 特征的 batchId。
name string 属性的大小写敏感名称。
Returns:
true 如果特征具有此属性,则返回 true;否则返回 false。
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.