Boxes2D
2D boxes with half-extents and optional center, rotations, rotations, colors etc.
Components
Required: HalfSizes2D
Recommended: Position2D
, Color
Optional: Radius
, Text
, DrawOrder
, ClassId
Links
Example
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]))
Open example recording