Function rs2_get_option_range
Defined in File rs_option.h
Function Documentation
-
void rs2_get_option_range(const rs2_options *sensor, rs2_option option, float *min, float *max, float *step, float *def, rs2_error **error)
retrieve the available range of values of a supported option
- Parameters:
sensor – [in] the RealSense device
option – [in] the option whose range should be queried
min – [out] the minimum value which will be accepted for this option
max – [out] the maximum value which will be accepted for this option
step – [out] the granularity of options which accept discrete values, or zero if the option accepts continuous values
def – [out] the default value of the option
error – [out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored