Contents, API Reference, Interfaces, iTestBed, setColourRGB
iTestBed::setColourRGB()
Description
Sets the testbed's current rendering colour, specified as RGB components.
Syntax
void setColourRGB(float r, float g, float b);
|
Parameters
| r | |
The red component of the desired colour.
|
| g | |
The green component of the desired colour.
|
| b | |
The blue component of the desired colour.
|
Remarks
The components should be in the range zero to one,
where all zeros yield black and all ones yield white.
All calls to draw objects use this current colour.
See Also
iTestBed::setColour()
| Documentation for PathEngine release 5.17 - Copyright © 2002-2008 PathEngine | | next: iTestBed::setMesh() |