Arrow3D represents a singular arrow in three-dimensional space. The
arrow3d component is defined by an origin, and a
vector relative to that origin. The arrow tip will be drawn at the end of the vector, pointing away from the origin.
Additionally, arrows can be drawn with color, radius, and labels. The radius controls the thickness of the arrow.
- In the python APIs
radiusis currently derived from
- Arrow APIs do not currently support batching
Python APIs: log_arrow
Rust API: Arrow3D
"""Log a single arrow.""" import rerun as rr rr.init("rerun_example_arrow3d", spawn=True) rr.log_arrow("simple", origin=[0, 0, 0], vector=[0, 1, 0], width_scale=0.05)