new I3SNode()
This class implements an I3S node. Create a Cesium3DTile for each I3SNode. Do not directly construct this type, but access it through I3SLayer.
Members
-
readonly childrenArray.<I3SNode>
-
Retrieve child nodes.
-
readonly dataobject
-
Retrieve the I3S data of the object.
-
readonly featureDataArray.<I3SFeature>
-
Obtain a feature set.
-
readonly fieldsArray.<I3SField>
-
Get a collection of fields.
-
readonly geometryDataArray.<I3SGeometry>
-
Get a collection of geometric shapes.
-
readonly layerI3SLayer
-
Retrieve the parent layer.
-
readonly parentI3SNode undefined
-
Retrieve the parent node.
-
readonly resourceResource
-
Retrieve the resources of the node.
-
readonly tileCesium3DTile
-
Get the Cesium3DTile for this node.
Methods
-
getFieldsForFeature(featureIndex){object}
-
Return the field of the given element
Name Type Description featureIndexnumber Retrieve the index of the attribute's elements
Returns:
Type Description object Object containing field names and their values -
getFieldsForPickedPosition(pickedPosition){object}
-
Return the field of the specified selection location.
Name Type Description pickedPositionCartesian3 The selected location.
Returns:
Type Description object An object that contains field names and their values. -
loadField(name){Promise.<void>}
-
Load node fields.
Name Type Description namestring Field name.
Returns:
Type Description Promise.<void> The Promise parsed when loading I3S node fields. -
loadFields(){Promise.<void>}
-
Load node fields.
Returns:
Type Description Promise.<void> The Promise parsed when loading I3S node fields.
Type Definitions
-
AttributeFilterobject
-
A filter specified by attribute name and value. If the attribute name of a 3D feature object is not specified in the value set, the object should be hidden
Properties:
Name Type Description namestring Attribute name.
valuesArray.<string> | Array.<number> A collection of values.