/** @brief Set the min & max limits of the z units. @param[in] value The setting value @return PXCM_STATUS_NO_ERROR successful execution. @return PXCM_STATUS_ITEM_UNAVAILABLE the device property is not supported. */ public pxcmStatus SetDSMinMaxZ(PXCMRangeF32 value) { pxcmStatus sts = SetProperty(Property.PROPERTY_DS_MIN_MAX_Z, (Single)value.min); if (sts != pxcmStatus.PXCM_STATUS_NO_ERROR) sts = SetProperty((Property)(Property.PROPERTY_DS_MIN_MAX_Z + 1), (Single)value.max); return sts; }
/** @brief Get the depth stream sensor range. @return The depth-sensor, sensing distance parameters, in millimeters. */ public PXCMRangeF32 QueryDepthSensorRange() { PXCMRangeF32 value = new PXCMRangeF32(); QueryProperty(Property.PROPERTY_DEPTH_SENSOR_RANGE, out value.min); QueryProperty((Property)(Property.PROPERTY_DEPTH_SENSOR_RANGE + 1), out value.max); return value; }