GltfGpmLocal

The GPM metadata for a Ground-Space Indirect implementation stored locally (i.e. a tile and/or leaf node). This reflects the root extension object of the NGA_gpm_local glTF extension. When a model that contains this extension was loaded, then an object of this type can be obtained by calling ``` const gltfGpmLocal = model.getExtension("NGA_gpm_local"); ``` The storage type determines the presence of the optional properties:
  • 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.
参数名称 类型 描述信息
options GltfGpmLocal.ConstructorOptions An object describing initialization options
Experimental

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

成员(属性)

Array of stored direct anchor points

readonly anchorPointsIndirect : Array.<AnchorPointIndirect>|undefined

Array of stored indirect anchor points
The full covariance of anchor point parameters

readonly intraTileCorrelationGroups : Array.<CorrelationGroup>|undefined

Metadata identifying parameters using same correlation modeling and associated correlation parameters
Specifies if covariance storage is indirect or direct.

定义的类型

Cesium.GltfGpmLocal.ConstructorOptions

Initialization options for the GltfGpmLocal constructor
属性:
属性名称 类型 可选 描述信息
storageType string The storage type. This must be one of the `StorageType` constants, i.e. `Direct` or `Indirect`.
anchorPointsIndirect Array.<AnchorPointIndirect> | undefined <可选>
The indirect anchor points. This must be present if and only if the storage type is `Indirect`.
intraTileCorrelationGroups Array.<CorrelationGroup> | undefined <可选>
The intra-tile correlation groups. This must be present if and only if the storage type is `Indirect`.
anchorPointsDirect Array.<AnchorPointDirect> | undefined <可选>
The direct anchor points. This must be present if and only if the storage type is `Direct`.
covarianceDirect Matrix3 | undefined <可选>
The covariance of anchor point parameters. This must be present if and only if the storage type is `Direct`.