This class implements an I3S Node. In CesiumJS each I3SNode creates a Cesium3DTile.
Do not construct this directly, instead access tiles through I3SLayer
.
Members
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.
Methods
Returns the fields for a given feature
Name | Type | Description |
---|---|---|
featureIndex |
number | Index of the feature whose attributes we want to get |
Returns:
Object containing field names and their values
Returns the fields for a given picked position
Name | Type | Description |
---|---|---|
pickedPosition |
Cartesian3 | The picked position |
Returns:
Object containing field names and their values
Loads the node field.
Name | Type | Description |
---|---|---|
name |
string | The field name |
Returns:
A promise that is resolved when the I3S Node field is loaded
Loads the node fields.
Returns:
A promise that is resolved when the I3S Node fields are loaded
Type Definitions
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.
Properties:
Name | Type | Description |
---|---|---|
name |
string | The name of the attribute |
values |
Array.<string> | Array.<number> | The collection of values |