17 INLINE ColorScaleAttrib::
20 _has_scale(copy._has_scale),
21 _has_rgb_scale(copy._has_rgb_scale),
22 _has_alpha_scale(copy._has_alpha_scale),
44 return !_off && !_has_scale;
51 INLINE
bool ColorScaleAttrib::
62 return _has_rgb_scale;
71 return _has_alpha_scale;
77 INLINE
const LVecBase4 &ColorScaleAttrib::
bool has_alpha_scale() const
Returns true if the ColorScaleAttrib has a non-identity scale in the alpha component (ignoring RGB),...
bool is_identity() const
Returns true if the ColorScaleAttrib is an identity attrib, false if it is either an off attrib or it...
bool has_rgb_scale() const
Returns true if the ColorScaleAttrib has a non-identity scale in the RGB components (ignoring alpha),...
bool is_off() const
Returns true if the ColorScaleAttrib will ignore any color scales inherited from above,...
Applies a scale to colors in the scene graph and on vertices.