OpenLayer Offline Manual

OpenLayer | Transforms | SetTintColor SetTintColor
static void SetTintColor( | Rgba color );
Tint the whole screen to a color. The alpha value of the color tells the intensity of the tinting. If the alpha value is zero the screen won't be tinted at all and if the alpha value is 1.0 the screen will be filled with the specified color. Examples // Tint the whole screen 30% to red // Transforms::SetTintColor( Rgba( 1.0, 0.0, 0.0, 0.30 )); // Disable tinting // Transforms::SetTintColor( Rgba::INVISIBLE ); 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 SetTintColor? Click here.