anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceLightSource::SetColorRGB

Changing the light source color.

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

true if the device received the command, false otherwise.

SetColorRGB changes the diffuse color of the light source. RGB components are expressed in the range [0 .. 255].

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!