anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceLightSource::GetIntensity

Get the current light intensity.

C++
float GetIntensity(M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

Light intensity from 0 to 1.

GetIntensity returns the current light intensity if the device is in ON state, 0 otherwise. 0 indicates that the light if OFF. A value near 1.0 indicates the light is applying values as defined in the Marilou editor. These parameters are scaled with the 'intensity' to decrease light intensity (colors, range).

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