此类实现 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:
包含字段名称及其值的对象
加载 node 字段。
Name | Type | Description |
---|---|---|
name |
string | 字段名称 |
Returns:
加载 I3S Node 字段时解析的 Promise
加载节点字段。
Returns:
加载 I3S 节点字段时解析的 Promise
Type Definitions
由属性名称和值提供的筛选器。
如果未在值集合中指定 3D 特征对象的属性名称值,则应隐藏该对象。
Properties:
Name | Type | Description |
---|---|---|
name |
string | 属性的名称 |
values |
Array.<string> | Array.<number> | 值的集合 |