ArrowPrimitive

Represents a visual arrow used to indicate direction or orientation in 3D space.

Panel support

ArrowPrimitive can be displayed in the following panels: 3D.

Schema

FieldTypeDescription
posePoseDefines the tail position and direction of the arrow. A neutral rotation points it along the +X axis.
shaft_lengthfloat64Total length of the arrow's shaft segment.
shaft_diameterfloat64Diameter of the cylindrical shaft section.
head_lengthfloat64Length of the arrowhead portion.
head_diameterfloat64Diameter of the arrowhead base.
colorColorSingle color applied to the entire arrow, including shaft and head.

Reference implementations

Foxglove schemas are designed to be cross-platform and are compatible with multiple encoding formats. Use the exact schema names listed below to ensure compatibility: