anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceLightSource::SetColor

Changing the light source color.

C++
bool SetColor(float R, float G, float B, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float R 
[in] New red color. 
float G 
[in] New green color. 
float B 
[in] New blue color. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device received the command, false otherwise.

SetColor changes the diffuse color of the light source. RGB components are expressed in the range [0,0 .. 1.0].

4.7.13

Documentation v4.7 (18/01/2015), Copyright (c) 2015 anyKode. All rights reserved.
What do you think about this topic? Send feedback!