Rerun C++ SDK
Loading...
Searching...
No Matches
rerun::components::OpticalDensity Struct Reference

Component: Dimensionless natural-log optical depth. More...

#include <rerun/components/optical_density.hpp>

Public Member Functions

 OpticalDensity (rerun::encodings::Float32 optical_density_)
 
OpticalDensityoperator= (rerun::encodings::Float32 optical_density_)
 
 OpticalDensity (float value_)
 
OpticalDensityoperator= (float value_)
 
 operator rerun::encodings::Float32 () const
 Cast to the underlying Float32 encoding.
 

Public Attributes

rerun::encodings::Float32 optical_density
 

Detailed Description

Component: Dimensionless natural-log optical depth.

High values lead to more opaque surfaces, lower to more transparent ones. More accurately, a value of 1 attenuates light to exp(-1) over the reference distance.


The documentation for this struct was generated from the following file: