`Camera.setDepthMaxRangeValue()` is missing. what is the substitute?

I followed the documentation about depth in both Python and C++.

The doc tells to use set_depth_max_range_value() in Python and setDepthMaxRangeValue() in C++. To no avail, both of them fails to works.

In C++ and Python, Error msg is the function api is missing.

I searched in Docs, Github, Google, this community and finds no mentions about this particular problem.

Hello @CircleOnCircles,

The website documentation is indeed deprecated. Thanks for reporting, it will be updated.
To set your depth max distance, please use the attribute sl::InitParameters::depth_maximum_distance (doc here)