new Cesium.GltfGpmLocal(options)

存储的用于地面空间间接执行的 NT 0 元数据 本地( i.e .) . This reflects the root extension object of the NGA_gpm_local glTF 扩展名. 当一个包含这个扩展的模型被装入时, 然后,通过调用可以获取该类型对象 ``` const gltfGpmLocal = model.getExtension("NGA_gpm_local"); ``` 存储类型决定可选属性的存在 :
  • When the storage type is `StorageType.Indirect`, then the `anchorPointsIndirect` and `intraTileCorrelationGroups` are present.
  • When the storage type is `StorageType.Direct`, then the `anchorPointsDirect` and `covarianceDirect` are present.
Name Type Description
options GltfGpmLocal.ConstructorOptions 描述初始化选项的对象
Experimental

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

Members

readonly anchorPointsDirect : Array.<AnchorPointDirect>|undefined

存储直接锚点阵列

readonly anchorPointsIndirect : Array.<AnchorPointIndirect>|undefined

存储的间接锚点阵列

readonly covarianceDirect : Matrix3|undefined

锚点参数的完全共性

readonly intraTileCorrelationGroups : Array.<CorrelationGroup>|undefined

使用相同相关性模型和 相关关联参数

readonly storageType : StorageType

指定共变存储是间接还是直接的.

Type Definitions

Cesium.GltfGpmLocal.ConstructorOptions

GltfGpm 本地构造器的初始化选项
Properties:
Name Type Attributes Description
storageType string 存储类型. 这必须是 `StorageType` 常数之一, i.e . `Direct` 或 `Indirect` .
anchorPointsIndirect Array.<AnchorPointIndirect> | undefined <optional>
间接锚点. 如果且只有在存储类型为 `Indirect` 时, 此选项必须存在 .
intraTileCorrelationGroups Array.<CorrelationGroup> | undefined <optional>
砖块内部关联组. 如果且只有在存储类型为 `Indirect` 时, 此选项必须存在 .
anchorPointsDirect Array.<AnchorPointDirect> | undefined <optional>
直系锚点. 如果且只有在存储类型为 `Direct` 时, 此选项必须存在 .
covarianceDirect Matrix3 | undefined <optional>
锚点参数的共性. 如果且只有在存储类型为 `Direct` 时, 此选项必须存在 .
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.