Bases: collada.DaeObject
Abstract base class for all nodes within a scene.
x.__init__(...) initializes x; see help(type(x)) for signature
Methods
load(collada, localscope, node) | Load and return a class instance from an XML node. |
objects(tipo[, matrix]) | Iterate through all objects under this node that match tipo. |
save() | Put all the data to the internal xml node (xmlnode) so it can be serialized. |
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 |
Load and return a class instance from an XML node.
Inspect the data inside node, which must match this class tag and create an instance out of it.
Parameters: |
|
---|
Put all the data to the internal xml node (xmlnode) so it can be serialized.