anyKode Marilou
ContentsIndexHome
PreviousUpNext
DeviceLightSource::SetIntensity

Set the current light intensity.

C++
bool SetIntensity(float Intensity, M32 * pDeviceResponse = NULL, void * pReserved = NULL);
Parameters 
Description 
float Intensity 
[in] Light intensity, from 0 to 1.0. 
M32 * pDeviceResponse = NULL 
(see Message
void * pReserved = NULL 
(see Message

true if the device received the command, false otherwise.

SetIntensity sets the current light intensity if the device is in ON state. 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!