Function rs2_get_max_usable_depth_range

Function Documentation

float rs2_get_max_usable_depth_range(rs2_sensor const *sensor, rs2_error **error)

When called on a depth sensor, this method will return the maximum range of the camera given the amount of ambient light in the scene

Parameters:
  • sensor[in] depth sensor

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

the max usable range in meters