Bases: object
This is the main class used to create and load collada documents
Load collada data from filename or file like object.
Parameters: |
|
---|
Methods
__init__([filename, ignore, ...]) | Load collada data from filename or file like object. |
handleError(error) | |
ignoreErrors(*args) | Add exceptions to the mask for ignoring or clear the mask if None given. |
save() | Saves the collada document back to xmlnode |
A list of collada.geometry.Geometry objects. Can also be indexed by id
A list of collada.controller.Controller objects. Can also be indexed by id
A list of collada.animation.Animation objects. Can also be indexed by id
A list of collada.light.Light objects. Can also be indexed by id
A list of collada.camera.Camera objects. Can also be indexed by id
A list of collada.material.CImage objects. Can also be indexed by id
A list of collada.material.Effect objects. Can also be indexed by id
A list of collada.material.Effect objects. Can also be indexed by id
A list of collada.scene.Node objects. Can also be indexed by id
A list of collada.scene.Scene objects. Can also be indexed by id
List of collada.DaeError objects representing errors encounterd while loading collada file
The default scene. This is either an instance of collada.scene.Scene or None.
Instance of collada.asset.Asset containing asset information
ElementTree representation of the collada document
Add exceptions to the mask for ignoring or clear the mask if None given.
You call c.ignoreErrors(e1, e2, ... ) if you want the loader to ignore those exceptions and continue loading whatever it can. If you want to empty the mask so all exceptions abort the load just call c.ignoreErrors(None).