Bases: collada.DaeObject
Class containing data coming from <texture> tag inside material.
When a material defines its properties like diffuse, it can give you a color or a texture. In the latter, the texture is mapped with a sampler and a texture coordinate channel. If a material defined a texture for one of its properties, you’ll find an object of this class in the corresponding attribute.
Create a map instance to a sampler using a texcoord channel.
Parameters: |
|
---|
Methods
__init__(sampler, texcoord[, xmlnode]) | Create a map instance to a sampler using a texcoord channel. |
load(collada, localscope, node) | |
save() | Saves the map back to xmlnode |
collada.material.Sampler2D object to map
Texture coordinate channel symbol to use
ElementTree representation of the map