此类实现了一个 I3S 节点(Node)。在 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> | 值集合 |
