Bases: collada.DaeObject
Class containing data coming from an <effect> tag.
Create an effect instance out of properties.
Parameters: |
|
---|
Methods
__init__(id, params, shadingtype, 0, 0, 0, ...) | Create an effect instance out of properties. |
load(collada, localscope, node) | |
save() | Saves the effect back to xmlnode |
Supported material properties list.
Supported shader list.
The string identifier for the effect
A list containing elements of type collada.material.Sampler2D and collada.material.Surface
String with the type of the shading.
Either the bump map of the effect of type collada.material.Map or None if there is none.
A boolean indicating whether or not the material should be rendered double sided
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either a single float or an instance of collada.material.Map
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either a single float or an instance of collada.material.Map
Either an RGB-format tuple of three floats or an instance of collada.material.Map
Either a single float or an instance of collada.material.Map
ElementTree representation of the effect
Checks if this effect is almost equal (within float precision) to the given effect.
Parameters: | other (collada.material.Effect) – Effect to compare to |
---|---|
Return type: | bool |