Arrow3D

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.

Notes:

Components and APIs

Primary component: arrow3d

Secondary components: colorrgba, radius, label

Python APIs: log_arrow

Rust API: Arrow3D

Simple Example

"""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)