[−][src]Function realsense_sys::rs2_get_depth_scale
pub unsafe extern "C" fn rs2_get_depth_scale(
sensor: *mut rs2_sensor,
error: *mut *mut rs2_error
) -> f32
When called on a depth sensor, this method will return the number of meters represented by a single depth unit \param[in] sensor depth sensor \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return the number of meters represented by a single depth unit