Bases: collada.DaeObject
The root object for a scene, as defined in a collada <scene> tag
Create a scene
Parameters: |
|
---|
Methods
__init__(id, nodes[, xmlnode, collada]) | Create a scene |
load(collada, node) | |
objects(tipo) | Iterate through all objects in the scene that match tipo. |
save() | Saves the scene back to xmlnode |
The unique string identifier for the scene
A list of type collada.scene.Node representing the nodes in the scene
The collada instance this is part of
ElementTree representation of the scene node.
Iterate through all objects in the scene that match tipo. The objects will be bound and transformed via the scene transformations.
Parameters: | tipo (str) – A string for the desired object type. This can be one of ‘geometry’, ‘camera’, ‘light’, or ‘controller’. |
---|---|
Return type: | generator that yields the type specified |