Boxes2D

2D boxes with half-extents and optional center, colors etc.

Components components

Required: HalfSize2D

Recommended: Position2D, Color

Optional: Radius, Text, ShowLabels, DrawOrder, ClassId

Shown in shown-in

Example example

Simple 2D boxes simple-2d-boxes

"""Log a simple 2D Box."""

import rerun as rr

rr.init("rerun_example_box2d", spawn=True)

rr.log("simple", rr.Boxes2D(mins=[-1, -1], sizes=[2, 2]))