SetColorChannels

static void SetColorChannels(
Rgba cofficients );

Sets the coefficients of the red, green, blue and alpha channels.

The default is Rgba::WHITE (all channels are 1.0).

Examples

// Get rid of all red color //
Transforms::SetColorChannelsRgba0.01.01.0 ));

// Revert back to normal //
Transforms::SetColorChannelsRgba::WHITE );


Other functions of the class Transforms
SetPosition
Set the position of screen contents
SetRotation
Set the rotational angle of the screen contents
SetRotationPivot
Selects the pivot point of the screen rotation
SetStretch
Sets the stretch factor of the screen
SetTintColor
Tints the whole screen to a color
ResetTransforms
Disables all the active placement transformations
SetColorChannels
Sets the coefficients of the color channels
GetColorChannels
Returns the coefficients of the color channels


Questions about SetColorChannels? Click here.