Bases: collada.DaeObject
Class containing data coming from a <surface> tag.
Collada materials use this to access to the <image> tag. The only extra information we store right now is the image format. In theory, this enables many more features according to the collada spec, but no one seems to actually use them in the wild, so for now, it’s unimplemented.
Creates a surface.
Parameters: |
|
---|
Methods
__init__(id, img[, format, xmlnode]) | Creates a surface. |
load(collada, localscope, node) | |
save() | Saves the surface data back to xmlnode |
The string identifier for the surface within the local scope of the material
collada.material.CImage object from the image library.
Format string.
ElementTree representation of the surface.