English | 简体中文

I3SNode

internal constructor new Cesium.I3SNode()

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.

readonly data : object

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.
Gets the parent layer.

readonly parent : I3SNode|undefined

Gets the parent node.
Gets the resource for the node.
Gets the Cesium3DTile for this node.

Methods

getFieldsForFeature(featureIndex)object

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

getFieldsForPickedPosition(pickedPosition)object

Returns the fields for a given picked position
Name Type Description
pickedPosition Cartesian3 The picked position
Returns:
Object containing field names and their values

loadField(name)Promise.<void>

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

loadFields()Promise.<void>

Loads the node fields.
Returns:
A promise that is resolved when the I3S Node fields are loaded

Type Definitions

Cesium.I3SNode.AttributeFilter

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
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.