Bases: collada.DaeObject
Class containing data coming from a <material> tag.
Right now, this just stores a reference to the effect which is instantiated in the material. The effect instance can have parameters, but this is rarely used in the wild, so it is not yet implemented.
Creates a material.
Parameters: |
|
---|
Methods
__init__(id, name, effect[, xmlnode]) | Creates a material. |
load(collada, localscope, node) | |
save() | Saves the material data back to xmlnode |
The unique string identifier for the material
The name for the material
The collada.material.Effect instantiated in this material
ElementTree representation of the surface.