Rerun C++ SDK
|
Component: A position in 2D space. More...
#include <rerun/components/position2d.hpp>
Public Member Functions | |
Position2D (float x, float y) | |
Construct Position2D from x/y values. | |
float | x () const |
float | y () const |
Position2D (rerun::datatypes::Vec2D xy_) | |
Position2D & | operator= (rerun::datatypes::Vec2D xy_) |
Position2D (std::array< float, 2 > xy_) | |
Position2D & | operator= (std::array< float, 2 > xy_) |
operator rerun::datatypes::Vec2D () const | |
Cast to the underlying Vec2D datatype. | |
Public Attributes | |
rerun::datatypes::Vec2D | xy |
Component: A position in 2D space.