OpenLayer Offline Manual

OpenLayer | Transforms | SetColorChannels 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::SetColorChannels( Rgba( 0.0, 1.0, 1.0 )); // Revert back to normal // Transforms::SetColorChannels( Rgba::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
ResetPlacement | Disables all the active placement transformations
SetColorChannels | Sets the coefficients of the color channels
GetColorChannels | Returns the coefficients of the color channels
PushPlacement | Pushes the placement state of Transforms in a stack
PopPlacement | Pops the most recent placement state of Transforms from the stack
Back to the main page of the manual Questions about SetColorChannels? Click here.