FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kLight_SetIntensity ( kLight  light,
k64f  intensity 
)

Sets intensity associated with this light.

By default, light intensity is set to 1.0 (100%). In this case, intensity is set to the maximum safe value (consistent with manufacturing-time calibration, if any).

This feature requires intensity adjustment support in underlying light hardware, which may not be available for all light devices.

Parameters
lightLight object.
intensityDesired light intensity (normalized).
Returns
Operation status.