PathEngine home previous: iTestBed::setColour()next: iTestBed::setMesh()
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 6.00 - Copyright © 2002-2016 PathEnginenext: iTestBed::setMesh()