anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceLightSource::GetColor

Getting the light source color.

C++
bool GetColor(float & R, float & G, float & B, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float & R 
[out] Red component, 
float & G 
[out] Green component. 
float & B 
[out] Blue component. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device filled out the RGB components, false if not.

GetColor returns the light source diffuse color. Returned values are 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!