Node class

Node class

The node. Nodes embody the hierarchical relationship of elements in the scene.

Inheritance: NodeColladaElement

The Node type exposes the following members:

Constructors

ConstructorDescription
initInitializes a new instance of the Node class.

Properties

PropertyDescription
assetGets or sets the asset.
The node element may contain an asset element.
transform_itemsGets or sets the transformation items.
instance_cameraGets or sets the instance camera.
The node element may instance any number of camera objects.
instance_geometryGets or sets the instance geometry.
The node element may instance any number of geometry objects.
instance_lightGets or sets the instance light.
The node element may instance any number of light objects.
instance_nodeGets or sets the instance node.
The node element may instance any number of node elements or hierarchies objects.
nodesGets or sets the nodes.
The node element may be hierarchical and be the parent of any number of other node elements.
extraGets or sets the extra.
The extra element may appear any number of times.
idGets or sets the id.
The id attribute is a text string containing the unique identifier of this element.
This value must be unique within the instance document.
Optional attribute.
nameGets or sets the name.
The name attribute is the text string name of this element.
Optional attribute.
sidGets or sets the sid.
The sid attribute is a text string value containing the sub-identifier of this element.
This value must be unique within the scope of the parent element.Optional attribute.
typeGets or sets the node type.
The type attribute indicates the type of the node element.
The default value is “NODE”.
Optional attribute.
layerGets or sets the layer.
The layer attribute indicates the names of the layers to which this node belongs.
For example, a value of “foreground glowing” indicates that this node belongs to both the ‘foreground’ layer and the ‘glowing’ layer.
The default value is empty, indicating that the node doesn’t belong to any layer.
Optional attribute.

See Also