Rerun C++ SDK
|
Component: The world->depth map scaling factor. More...
#include <rerun/components/depth_meter.hpp>
Public Member Functions | |
DepthMeter (rerun::datatypes::Float32 value_) | |
DepthMeter & | operator= (rerun::datatypes::Float32 value_) |
DepthMeter (float value_) | |
DepthMeter & | operator= (float value_) |
operator rerun::datatypes::Float32 () const | |
Cast to the underlying Float32 datatype. | |
Public Attributes | |
rerun::datatypes::Float32 | value |
Component: The world->depth map scaling factor.
This measures how many depth map units are in a world unit. For instance, if a depth map uses millimeters and the world uses meters, this value would be 1000
.
Note that the only effect on 2D views is the physical depth values shown when hovering the image. In 3D views on the other hand, this affects where the points of the point cloud are placed.
⚠ This type is unstable and may change significantly in a way that the data won't be backwards compatible.