cee::geo::EffectOpacity
-
class EffectOpacity : public Effect
Effect describing the opacity to be used when drawing the associated triangle based part data.
May be overridden by the following effects if found further up the stack:
Any other EffectOpacity
Supported by the following part data:
See also
Part, Effect, and PartSettings
Public Functions
-
EffectOpacity()
Constructs an empty effect.
-
EffectOpacity(float opacity)
Constructs an effect.
-
virtual Type type() const
Returns Effect::OPACITY.
-
float opacity() const
Returns how transparent the part is.
1.0f is opaque 0.0f is max transparency
-
void setOpacity(float opacity)
Specifies how transparent the part is.
1.0f is opaque 0.0f is max transparency