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.

成员(属性)

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.

方法

getFieldsForFeature(featureIndex)object

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

getFieldsForPickedPosition(pickedPosition)object

Returns the fields for a given picked position
参数名称 类型 描述信息
pickedPosition Cartesian3 The picked position
返回值:
Object containing field names and their values

loadField(name)Promise.<void>

Loads the node field.
参数名称 类型 描述信息
name string The field name
返回值:
A promise that is resolved when the I3S Node field is loaded

loadFields()Promise.<void>

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

定义的类型

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.
属性:
属性名称 类型 描述信息
name string The name of the attribute
values Array.<string> | Array.<number> The collection of values