Rerun C++ SDK
|
Component: The radius of something, e.g. More...
#include <rerun/components/radius.hpp>
Public Member Functions | |
Radius (rerun::datatypes::Float32 value_) | |
Radius & | operator= (rerun::datatypes::Float32 value_) |
Radius (float value_) | |
Radius & | operator= (float value_) |
operator rerun::datatypes::Float32 () const | |
Cast to the underlying Float32 datatype. | |
Static Public Member Functions | |
static Radius | scene_units (float radius_in_scene_units) |
Creates a new radius in scene units. | |
static Radius | ui_points (float radius_in_ui_points) |
Creates a new radius in ui points. | |
Public Attributes | |
rerun::datatypes::Float32 | value |
Component: The radius of something, e.g.
a point.
Internally, positive values indicate scene units, whereas negative values are interpreted as UI points.
UI points are independent of zooming in Views, but are sensitive to the application UI scaling. at 100% UI scaling, UI points are equal to pixels The Viewer's UI scaling defaults to the OS scaling which typically is 100% for full HD screens and 200% for 4k screens.
|
inlinestatic |
Creates a new radius in scene units.
Values passed must be finite positive.
|
inlinestatic |
Creates a new radius in ui points.
Values passed must be finite positive.