cee::geo::EffectFrontAndBackColor
-
class EffectFrontAndBackColor : public Effect
Effect describing the colors to be used when drawing each side of the associated triangle based part data.
May be overridden by the following effects if found further up the stack:
EffectColor (Triangle based Data only)
Any other EffectFrontAndBackColor
Supported by the following part data:
See also
Part, Effect, and PartSettings
Public Functions
-
EffectFrontAndBackColor()
Constructs an empty effect.
-
virtual Type type() const
Returns Effect::FRONT_AND_BACK_COLOR.
-
void setColor(const Color3f &frontColor, const Color3f &backColor)
Specifies the front and back colors of the part.
-
float ambientIntensity() const
Returns the ambient intensity of the front and back colors.
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 front and back colors.
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 front and back colors.
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 front and back colors.
1.0f is max intensity 0.0f is min intensity
Note! Ignored for OpenGL Fixed Function pipeline
See also