Packages

 

com.aspose.cad.fileformats.collada.fileparser.elements

Classes

com.aspose.cad.fileformats.collada.fileparser.elements

Class Node



  • public class Node
    extends ColladaElement

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

    • Constructor Detail

      • Node

        public Node()

        Initializes a new instance of the Node class.

    • Method Detail

      • getAsset

        public final Asset getAsset()

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

      • setAsset

        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.

      • setTransformItems

        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.

      • setInstanceCamera

        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.

      • setInstanceGeometry

        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.

      • setInstanceLight

        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.

      • setInstanceNode

        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.

      • setNodes

        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.

      • setExtra

        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.

      • setId

        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.

      • setName

        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.

      • setSid

        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.

      • setType

        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.

      • setLayer

        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.