Bases: collada.DaeObject
Class containing data coming from <sampler2D> tag in material.
Collada uses the <sampler2D> tag to map to a <surface>. The only information we store about the sampler right now is minfilter and magfilter. Theoretically, the collada spec has many more parameters here, but no one seems to be using them in the wild, so they are currently unimplemented.
Create a Sampler2D object.
Parameters: |
|
---|
Methods
__init__(id, surface[, minfilter, ...]) | Create a Sampler2D object. |
load(collada, localscope, node) | |
save() | Saves the sampler data back to xmlnode |
The string identifier for the sampler within the local scope of the material
Surface instance that this object samples from
Minification filter string id, see collada spec for details
Maximization filter string id, see collada spec for details
ElementTree representation of the sampler.