new Cesium.GaussianSplat3DTileContent()

Represents the contents of a glTF or glb using the KHR_gaussian_splatting and KHR_gaussian_splatting_compression_spz_2 extensions.

Implements the Cesium3DTileContent interface.

Members

readonly batchTableByteLength : number

获得批量表格纹理和任何二进制所用的内存量 元数据属性在几何ByteLength或 texturesByteLength

readonly featuresLength : number

获得瓷砖中特性的数量。 目前,这始终是零.

readonly geometryByteLength : number

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

readonly innerContents : Array

Gets the array of Cesium3DTileContent objects for contents that contain other contents, such as composite tiles. The inner contents may in turn have inner contents, such as a composite tile that contains a composite tile.
See:

readonly pointsLength : number

与瓦片中的高斯板数相等. 每个板块由一个中位点和一组属性代表,所以我们可以 将此作为瓷砖中的点数.

readonly ready : boolean

当瓷砖的内容准备渲染时返回真实; 否则是虚假的

readonly texturesByteLength : number

此内容的纹理所用的字节数 .

readonly tile : Cesium3DTile

此内容所属的瓷砖 .

readonly tileset : Cesium3DTileset

此内容所属的瓷砖 .

readonly transformed : boolean

当瓦片的内容转换为世界坐标时返回真实值; 否则是虚假的

readonly trianglesLength : number

获得砖块中三角形的数量。 目前,这始终是零,因为高斯板在砖块内容中没有作为三角形表示.

readonly url : Resource

此内容的加载资源 .

Methods

static Cesium.GaussianSplat3DTileContent.tilesetRequiresGaussianSplattingExt(tileset)boolean

进行检查,以确保所提供的瓷砖有高斯镀层扩展.
Name Type Description
tileset Cesium3DTileset 用于检查扩展的平板 .
Returns:
Returns true if the necessary extensions are included in the tileset.

getFeature(batchId)Cesium3DTileFeature

返回特性的 {NT}\\ 0\\\ 对象 给 NT 0 batchId NT 1 。 此对象用于获取和修改 feature's properties.

砖块中的特性由 NT 0 batchId NT 1 所订购,这是用来从批量表格中检索他们的元数据的索引.

Name Type Description
batchId number 特辑的批号.
Returns:
对应的 Cesium3DTileFeature 对象.
Throws:
See:

hasProperty(batchId, name)boolean

返回该特性是否拥有此属性 .
Name Type Description
batchId number 特辑的批号.
name string 财产的大小写名称.
Returns:
如果该特性有此属性, 则使用 NT 0 true NT 1 ; 否则, NT 2 false NT 3 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.