collada.scene.NodeNode¶
- class collada.scene.NodeNode(node, xmlnode=None)¶
Represents a node being instantiated in a scene, as defined in the collada <instande_node> tag.
- __init__(node, xmlnode=None)¶
Creates a node node
- Parameters:
node (collada.scene.Node) – A node to instantiate in the scene
xmlnode – When loaded, the xmlnode it comes from
Methods
__init__(node[, xmlnode])Creates a node node
load(collada, node, localscope)Load and return a class instance from an XML node.
objects(tipo[, matrix])Iterate through all objects under this node that match tipo.
save()Saves the node node back to
xmlnodeAttributes
childrenidmatrixxmlnodeElementTree representation of the node node.
nodeAn object of type
collada.scene.Noderepresenting the node to bind in the scenenameThe optional string node name (not required to be unique)for the node, by default set to the id value