GltfGpmLocal

局部存储的地面空间间接实现的 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

该功能尚未最终确定,可能会根据 Cesium 的标准弃用政策而发生变化

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 Forum.