cee::geo::EffectColor
-
class
EffectColor
: public Effect Effect describing the color to be used when drawing the associated part data.
May be overridden by the following effects if found further up the stack:
- EffectFrontAndBackColor (Triangle based Data only)
- EffectTexture
- Any other EffectColor
Supported by the following part data:
See also
Part, Effect, and PartSettings
Public Functions
-
EffectColor
() Constructs an empty effect.
-
virtual Type
type
() const Returns Effect::COLOR.
-
float
ambientIntensity
() const Returns the ambient intensity of the color.
1.0f is max intensity 0.0f is min intensity
Note! Ignored for OpenGL Fixed Function pipeline
See also
-
void
setAmbientIntensity
(float intensity) Specifies the ambient intensity of the color.
1.0f is max intensity 0.0f is min intensity
Note! Ignored for OpenGL Fixed Function pipeline
See also
-
float
specularIntensity
() const Returns the specular intensity of the color.
1.0f is max intensity 0.0f is min intensity
Note! Ignored for OpenGL Fixed Function pipeline
See also
-
void
setSpecularIntensity
(float intensity) Specifies the specular intensity of the color.
1.0f is max intensity 0.0f is min intensity
Note! Ignored for OpenGL Fixed Function pipeline
See also