Bases: collada.scene.SceneNode
Represents a node object, which is a point on the scene graph, as defined in the collada <node> tag.
Contains the list of transformations effecting the node as well as any children.
Create a node in the scene graph.
Parameters: |
|
---|
Methods
__init__(id[, children, transforms, xmlnode]) | Create a node in the scene graph. |
load(collada, node, localscope) | |
objects(tipo[, matrix]) | Iterate through all objects under this node that match tipo. |
save() | Saves the geometry back to xmlnode. |
The unique string identifier for the node
A list of child nodes of this node. This can contain any object that inherits from collada.scene.SceneNode
A numpy.array of size 4x4 containing a transformation matrix that combines all the transformations in transforms. This will only be updated after calling save().
ElementTree representation of the transform.
Iterate through all objects under this node that match tipo. The objects will be bound and transformed via the scene transformations.
Parameters: |
|
---|---|
Return type: | generator that yields the type specified |