PathEngine home previous: iTestBed::setColour()next: iTestBed::update()
Contents, API Reference, Interfaces, iTestBed, setColourRGB

iTestBed::setColourRGB()

Description

Sets colour for rendered elements that do not have their own colour information, such as render geometry and text.

Syntax

void setColourRGB(float r, float g, float b);

Parameters

r A value in the range 0.f to 1.f, inclusive, for the red component of the colour to set.
g A value in the range 0.f to 1.f, inclusive, for the green component of the colour to set.
b A value in the range 0.f to 1.f, inclusive, for the blue component of the colour to set.

C# Mapping

void setColourRGB(float r, float g, float b);

Java Mapping

void setColourRGB(float r, float g, float b);

Documentation for PathEngine release 6.04 - Copyright © 2002-2024 PathEnginenext: iTestBed::update()