This class implements an I3S Node. In CesiumJS each I3SNode creates a Cesium3DTile.
Do not construct this directly, instead access tiles through I3SLayer
.
成员(属性)
readonly children : Array.<I3SNode>
Gets the children nodes.
Gets the I3S data for this object.
readonly featureData : Array.<I3SFeature>
Gets the collection of features.
readonly fields : Array.<I3SField>
Gets the collection of fields.
readonly geometryData : Array.<I3SGeometry>
Gets the collection of geometries.
readonly layer : I3SLayer
Gets the parent layer.
readonly parent : I3SNode|undefined
Gets the parent node.
readonly resource : Resource
Gets the resource for the node.
readonly tile : Cesium3DTile
Gets the Cesium3DTile for this node.
方法
Returns the fields for a given feature
参数名称 | 类型 | 描述信息 |
---|---|---|
featureIndex |
number | Index of the feature whose attributes we want to get |
返回值:
Object containing field names and their values
Returns the fields for a given picked position
参数名称 | 类型 | 描述信息 |
---|---|---|
pickedPosition |
Cartesian3 | The picked position |
返回值:
Object containing field names and their values
Loads the node field.
参数名称 | 类型 | 描述信息 |
---|---|---|
name |
string | The field name |
返回值:
A promise that is resolved when the I3S Node field is loaded
Loads the node fields.
返回值:
A promise that is resolved when the I3S Node fields are loaded
定义的类型
A filter given by an attribute name and values.
The 3D feature object should be hidden if its value for the attribute name is not specified in the collection of values.
属性:
属性名称 | 类型 | 描述信息 |
---|---|---|
name |
string | The name of the attribute |
values |
Array.<string> | Array.<number> | The collection of values |