How to use the setColorControl function from bindings
Find comprehensive JavaScript bindings.setColorControl code examples handpicked from public code repositorys.
106 107 108 109 110 111 112 113 114 115
* @param {Object} options The configuration for the color control * @param {number} options.command Color sensor control command. (eg KinectAzure. K4A_COLOR_CONTROL_EXPOSURE_TIME_ABSOLUTE, ...) * @param {number} options.mode Color sensor control mode to set. This mode represents whether the command is in automatic or manual mode. (eg KinectAzure. K4A_COLOR_CONTROL_MODE_AUTO, KinectAzure.K4A_COLOR_CONTROL_MODE_MANUAL) * @param {number} options.value Value to set the color sensor's control to. The value is only valid if mode is set to K4A_COLOR_CONTROL_MODE_MANUAL, and is otherwise ignored. */ setColorControl(options) { return kinect.setColorControl(options); } setAutoExposure() { this.setColorControl({command: KinectAzure.K4A_COLOR_CONTROL_EXPOSURE_TIME_ABSOLUTE, mode: KinectAzure.K4A_COLOR_CONTROL_MODE_AUTO, value: 0}); }
20
0
1
+ 11 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)