Appearance
KBE3D / KBCore / Cesium / I3SNode
类: I3SNode
This class implements an I3S Node. In CesiumJS each I3SNode creates a Cesium3DTile. <p> Do not construct this directly, instead access tiles through I3SLayer. </p>
属性
resource
readonlyresource:Resource
Gets the resource for the node.
layer
readonlylayer:I3SLayer
Gets the parent layer.
parent
readonlyparent:I3SNode|undefined
Gets the parent node.
children
readonlychildren:I3SNode[]
Gets the children nodes.
geometryData
readonlygeometryData:I3SGeometry[]
Gets the collection of geometries.
featureData
readonlyfeatureData:I3SFeature[]
Gets the collection of features.
fields
readonlyfields:I3SField[]
Gets the collection of fields.
tile
readonlytile:Cesium3DTile
Gets the Cesium3DTile for this node.
data
readonlydata:any
Gets the I3S data for this object.
方法
loadFields()
loadFields():
Promise<void>
Loads the node fields.
返回
Promise<void>
A promise that is resolved when the I3S Node fields are loaded
loadField()
loadField(
name:string):Promise<void>
Loads the node field.
参数
name
string
The field name
返回
Promise<void>
A promise that is resolved when the I3S Node field is loaded
getFieldsForPickedPosition()
getFieldsForPickedPosition(
pickedPosition:Cartesian3):any
Returns the fields for a given picked position
参数
pickedPosition
The picked position
返回
any
Object containing field names and their values
getFieldsForFeature()
getFieldsForFeature(
featureIndex:number):any
Returns the fields for a given feature
参数
featureIndex
number
Index of the feature whose attributes we want to get
返回
any
Object containing field names and their values
构造函数
构造函数
new I3SNode():
I3SNode
返回
I3SNode
