GltfGpmLocal

以本地方式存储的 Ground-Space Indirect 实现的 GPM 元数据 (即瓦片和/或叶节点)。 这反映了 NGA_gpm_local glTF 扩展的根扩展对象。当包含此扩展的模型被加载后, 可以通过调用以下方式获取此类型的对象 ``` const gltfGpmLocal = model.getExtension("NGA_gpm_local"); ``` 存储类型决定了可选属性是否存在:
  • 当存储类型为 `StorageType.Indirect` 时,则 `anchorPointsIndirect` 和 `intraTileCorrelationGroups` 存在。
  • 当存储类型为 `StorageType.Direct` 时,则 `anchorPointsDirect` 和 `covarianceDirect` 存在。
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 anchorPointsIndirect : Array.<AnchorPointIndirect>|undefined

已存储的间接锚点数组。
锚点参数的完整协方差。

readonly intraTileCorrelationGroups : Array.<CorrelationGroup>|undefined

使用相同相关性建模及 相关关联参数的元数据标识。
指定协方差存储是间接还是直接的。

Type Definitions

Cesium.GltfGpmLocal.ConstructorOptions

GltfGpmLocal 构造函数的初始化选项。
Properties:
Name Type Attributes Description
storageType string 存储类型。 它必须是 `StorageType` 常量之一,即 `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` 时,它必须存在。
需要帮助?获取答案的最快方式是在 Cesium 论坛 上向社区和团队提问。