Node

Inheritance: java.lang.Object, ColladaElement

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

Constructors

ConstructorDescription
Node()Initializes a new instance of the Node class.

Methods

MethodDescription
getAsset()Gets or sets the asset. The node element may contain an asset element.
setAsset(Asset value)Gets or sets the asset. The node element may contain an asset element.
getTransformItems()Gets or sets the transformation items.
setTransformItems(Object[] value)Gets or sets the transformation items.
getInstanceCamera()Gets or sets the instance camera. The node element may instance any number of camera objects.
setInstanceCamera(InstanceCamera[] value)Gets or sets the instance camera. The node element may instance any number of camera objects.
getInstanceGeometry()Gets or sets the instance geometry. The node element may instance any number of geometry objects.
setInstanceGeometry(InstanceGeometry[] value)Gets or sets the instance geometry. The node element may instance any number of geometry objects.
getInstanceLight()Gets or sets the instance light. The node element may instance any number of light objects.
setInstanceLight(InstanceLight[] value)Gets or sets the instance light. The node element may instance any number of light objects.
getInstanceNode()Gets or sets the instance node. The node element may instance any number of node elements or hierarchies objects.
setInstanceNode(InstanceNode[] value)Gets or sets the instance node. The node element may instance any number of node elements or hierarchies objects.
getNodes()Gets or sets the nodes. The node element may be hierarchical and be the parent of any number of other node elements.
setNodes(Node[] value)Gets or sets the nodes. The node element may be hierarchical and be the parent of any number of other node elements.
getExtra()Gets or sets the extra. The extra element may appear any number of times.
setExtra(Extra[] value)Gets or sets the extra. The extra element may appear any number of times.
getId()Gets 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.
setId(String value)Gets 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.
getName()Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
setName(String value)Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
getSid()Gets 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.
setSid(String value)Gets 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.
getType()Gets or sets the node type. The type attribute indicates the type of the node element. The default value is “NODE”. Optional attribute.
setType(String value)Gets or sets the node type. The type attribute indicates the type of the node element. The default value is “NODE”. Optional attribute.
getLayer()Gets 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.
setLayer(String[] value)Gets 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.

Node()

public Node()

Initializes a new instance of the Node class.

getAsset()

public final Asset getAsset()

Gets or sets the asset. The node element may contain an asset element.

Returns: Asset

setAsset(Asset value)

public final void setAsset(Asset value)

Gets or sets the asset. The node element may contain an asset element.

getTransformItems()

public final Object[] getTransformItems()

Gets or sets the transformation items.

Returns: Object[]

setTransformItems(Object[] value)

public final void setTransformItems(Object[] value)

Gets or sets the transformation items.

getInstanceCamera()

public final InstanceCamera[] getInstanceCamera()

Gets or sets the instance camera. The node element may instance any number of camera objects.

Returns: InstanceCamera[]

setInstanceCamera(InstanceCamera[] value)

public final void setInstanceCamera(InstanceCamera[] value)

Gets or sets the instance camera. The node element may instance any number of camera objects.

getInstanceGeometry()

public final InstanceGeometry[] getInstanceGeometry()

Gets or sets the instance geometry. The node element may instance any number of geometry objects.

Returns: InstanceGeometry[]

setInstanceGeometry(InstanceGeometry[] value)

public final void setInstanceGeometry(InstanceGeometry[] value)

Gets or sets the instance geometry. The node element may instance any number of geometry objects.

getInstanceLight()

public final InstanceLight[] getInstanceLight()

Gets or sets the instance light. The node element may instance any number of light objects.

Returns: InstanceLight[]

setInstanceLight(InstanceLight[] value)

public final void setInstanceLight(InstanceLight[] value)

Gets or sets the instance light. The node element may instance any number of light objects.

getInstanceNode()

public final InstanceNode[] getInstanceNode()

Gets or sets the instance node. The node element may instance any number of node elements or hierarchies objects.

Returns: InstanceNode[]

setInstanceNode(InstanceNode[] value)

public final void setInstanceNode(InstanceNode[] value)

Gets or sets the instance node. The node element may instance any number of node elements or hierarchies objects.

getNodes()

public final Node[] getNodes()

Gets or sets the nodes. The node element may be hierarchical and be the parent of any number of other node elements.

Returns: Node[]

setNodes(Node[] value)

public final void setNodes(Node[] value)

Gets or sets the nodes. The node element may be hierarchical and be the parent of any number of other node elements.

getExtra()

public final Extra[] getExtra()

Gets or sets the extra. The extra element may appear any number of times.

Returns: Extra[]

setExtra(Extra[] value)

public final void setExtra(Extra[] value)

Gets or sets the extra. The extra element may appear any number of times.

getId()

public final String getId()

Gets 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.

Returns: String

setId(String value)

public final void setId(String value)

Gets 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.

getName()

public final String getName()

Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

Returns: String

setName(String value)

public final void setName(String value)

Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.

getSid()

public final String getSid()

Gets 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.

Returns: String

setSid(String value)

public final void setSid(String value)

Gets 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.

getType()

public final String getType()

Gets or sets the node type. The type attribute indicates the type of the node element. The default value is “NODE”. Optional attribute.

Returns: String

setType(String value)

public final void setType(String value)

Gets or sets the node type. The type attribute indicates the type of the node element. The default value is “NODE”. Optional attribute.

getLayer()

public final String[] getLayer()

Gets 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.

Returns: String[]

setLayer(String[] value)

public final void setLayer(String[] value)

Gets 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.