collada.scene¶
This module contains several classes related to the scene graph.
- Supported scene nodes are:
<node> which is loaded as a Node
<instance_camera> which is loaded as a CameraNode
<instance_light> which is loaded as a LightNode
<instance_material> which is loaded as a MaterialNode
<instance_geometry> which is loaded as a GeometryNode
<instance_controller> which is loaded as a ControllerNode
<scene> which is loaded as a Scene
Functions
|
Generic scene node loading from an xml node and a collada object. |
|
Build and return a transform 4x4 matrix to rotate angle radians around (x,`y`,`z`) axis. |
Classes
|
Represents a camera being instantiated in a scene, as defined in the collada <instance_camera> tag. |
|
Represents a controller instance in a scene, as defined in the collada <instance_controller> tag. |
|
Represents extra information in a scene, as defined in a collada <extra> tag. |
|
Represents a geometry instance in a scene, as defined in the collada <instance_geometry> tag. |
|
Represents a light being instantiated in a scene, as defined in the collada <instance_light> tag. |
|
Contains a transformation for aiming a camera as defined in the collada <lookat> tag. |
|
Represents a material being instantiated in a scene, as defined in the collada <instance_material> tag. |
|
Contains a matrix transformation as defined in the collada <matrix> tag. |
|
Represents a node object, which is a point on the scene graph, as defined in the collada <node> tag. |
|
Represents a node being instantiated in a scene, as defined in the collada <instande_node> tag. |
|
Contains a rotation transformation as defined in the collada <rotate> tag. |
|
Contains a scale transformation as defined in the collada <scale> tag. |
|
The root object for a scene, as defined in a collada <scene> tag |
Abstract base class for all nodes within a scene. |
|
Base class for all transformation types |
|
|
Contains a translation transformation as defined in the collada <translate> tag. |
Exceptions
|
Raised when an instance_node refers to a node that isn't loaded yet. |