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

Component: Draw order of 2D elements. More...

#include <rerun/components/draw_order.hpp>

Public Member Functions

 DrawOrder (rerun::encodings::Float32 value_)
 
DrawOrder & operator= (rerun::encodings::Float32 value_)
 
 DrawOrder (float value_)
 
DrawOrder & operator= (float value_)
 
 operator rerun::encodings::Float32 () const
 Cast to the underlying Float32 encoding.
 

Public Attributes

rerun::encodings::Float32 value
 

Detailed Description

Component: Draw order of 2D elements.

Higher values are drawn on top of lower values.

An entity can have only a single draw order component. Within an entity draw order is governed by the order of the components.

Draw order for entities with the same draw order is generally undefined.

If no draw order is set, the viewer uses these defaults:

For example, to draw an image on top of a segmentation image, give the image a draw order above 0.


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