public class Node extends ColladaElement
The node. Nodes embody the hierarchical relationship of elements in the scene.
Constructor and Description |
---|
Node()
Initializes a new instance of the
Node class. |
Modifier and Type | Method and Description |
---|---|
Asset |
getAsset()
Gets or sets the asset.
|
Extra[] |
getExtra()
Gets or sets the extra.
|
String |
getId()
Gets or sets the id.
|
InstanceCamera[] |
getInstanceCamera()
Gets or sets the instance camera.
|
InstanceGeometry[] |
getInstanceGeometry()
Gets or sets the instance geometry.
|
InstanceLight[] |
getInstanceLight()
Gets or sets the instance light.
|
InstanceNode[] |
getInstanceNode()
Gets or sets the instance node.
|
String[] |
getLayer()
Gets or sets the layer.
|
String |
getName()
Gets or sets the name.
|
Node[] |
getNodes()
Gets or sets the nodes.
|
String |
getSid()
Gets or sets the sid.
|
Object[] |
getTransformItems()
Gets or sets the transformation items.
|
String |
getType()
Gets or sets the node type.
|
void |
setAsset(Asset value)
Gets or sets the asset.
|
void |
setExtra(Extra[] value)
Gets or sets the extra.
|
void |
setId(String value)
Gets or sets the id.
|
void |
setInstanceCamera(InstanceCamera[] value)
Gets or sets the instance camera.
|
void |
setInstanceGeometry(InstanceGeometry[] value)
Gets or sets the instance geometry.
|
void |
setInstanceLight(InstanceLight[] value)
Gets or sets the instance light.
|
void |
setInstanceNode(InstanceNode[] value)
Gets or sets the instance node.
|
void |
setLayer(String[] value)
Gets or sets the layer.
|
void |
setName(String value)
Gets or sets the name.
|
void |
setNodes(Node[] value)
Gets or sets the nodes.
|
void |
setSid(String value)
Gets or sets the sid.
|
void |
setTransformItems(Object[] value)
Gets or sets the transformation items.
|
void |
setType(String value)
Gets or sets the node type.
|
public Node()
Initializes a new instance of the Node
class.
public final Asset getAsset()
Gets or sets the asset. The node element may contain an asset element.
public final void setAsset(Asset value)
Gets or sets the asset. The node element may contain an asset element.
public final Object[] getTransformItems()
Gets or sets the transformation items.
public final void setTransformItems(Object[] value)
Gets or sets the transformation items.
public final InstanceCamera[] getInstanceCamera()
Gets or sets the instance camera. The node element may instance any number of camera objects.
public final void setInstanceCamera(InstanceCamera[] value)
Gets or sets the instance camera. The node element may instance any number of camera objects.
public final InstanceGeometry[] getInstanceGeometry()
Gets or sets the instance geometry. The node element may instance any number of geometry objects.
public final void setInstanceGeometry(InstanceGeometry[] value)
Gets or sets the instance geometry. The node element may instance any number of geometry objects.
public final InstanceLight[] getInstanceLight()
Gets or sets the instance light. The node element may instance any number of light objects.
public final void setInstanceLight(InstanceLight[] value)
Gets or sets the instance light. The node element may instance any number of light objects.
public final InstanceNode[] getInstanceNode()
Gets or sets the instance node. The node element may instance any number of node elements or hierarchies objects.
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.
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.
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.
public final Extra[] getExtra()
Gets or sets the extra. The extra element may appear any number of times.
public final void setExtra(Extra[] value)
Gets or sets the extra. The extra element may appear any number of times.
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.
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.
public final String getName()
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
public final void setName(String value)
Gets or sets the name. The name attribute is the text string name of this element. Optional attribute.
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.
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.
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.
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.
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.
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.