Bases: collada.scene.SceneNode
Represents a material being instantiated in a scene, as defined in the collada <instance_material> tag.
Creates a material node
Parameters: |
|
---|
Methods
__init__(symbol, target, inputs[, xmlnode]) | Creates a material node |
load(collada, node) | |
objects() | |
save() | Saves the material node back to xmlnode |
The symbol within a geometry this material should be bound to
An object of type collada.material.Material representing the material object being bound to
A list of tuples of the form (semantic, input_semantic, set) mapping texcoords or other inputs to material input channels, e.g. ('TEX0', 'TEXCOORD', '0') would map the effect parameter 'TEX0' to the 'TEXCOORD' semantic of the geometry, using texture coordinate set 0.
ElementTree representation of the material node.