该类实现了 I3S 节点。在 CesiumJS 中,每个 I3SNode 创建一个 Cesium3DTile。
不要直接构造此类,而是通过 I3SLayer 访问图块。
Members
readonly children : Array.<I3SNode>
获取子节点。
获取此对象的 I3S 数据。
readonly featureData : Array.<I3SFeature>
获取特征集合。
readonly fields : Array.<I3SField>
获取字段集合。
readonly geometryData : Array.<I3SGeometry>
获取几何体集合。
readonly layer : I3SLayer
获取父层。
readonly parent : I3SNode|undefined
获取父节点。
readonly resource : Resource
获取节点的资源。
readonly tile : Cesium3DTile
获取此节点的 Cesium3DTile。
Methods
返回给定特征的字段
| Name | Type | Description |
|---|---|---|
featureIndex |
number | 要获取其属性的特征索引 |
Returns:
包含字段名称及其值的对象
返回给定选中位置的字段
| Name | Type | Description |
|---|---|---|
pickedPosition |
Cartesian3 | 被选中的位置 |
Returns:
包含字段名称及其值的对象
加载节点字段。
| Name | Type | Description |
|---|---|---|
name |
string | 字段名称 |
Returns:
当 I3S 节点字段加载完成时解析的 Promise
加载节点的字段。
Returns:
当 I3S 节点字段加载完成时解析的 Promise
Type Definitions
通过属性名称和值给出的过滤器。
如果 3D 特征对象的属性值未在值集合中指定,则应隐藏该特征对象。
Properties:
| Name | Type | Description |
|---|---|---|
name |
string | 属性名称 |
values |
Array.<string> | Array.<number> | 值的集合 |
