You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Attach an arrow head to the end of a [`VelloBezPath`] or [`VelloLine`].#[derive(Component,Clone,Copy)]pubstructArrowHead{pubshape:ArrowShape,/// Size of the arrow.pubsize:f32,/// Offset of the arrow from the origin point (0 - 1 to stay within the path).puboffset:f32,/// Rotation offset of the arrow from the original tangent direction of the path.pubrotation_offset:f32,}pubenumArrowShape{Triangle,Line,Point,}
Goal
Ability to create an arrow shape that is appended on the ends of
VelloLine
orVelloBezPath
.Example: https://motioncanvas.io/api/2d/components/Ray
Proposed Solution
We also need a sensible default for these arrows:
The text was updated successfully, but these errors were encountered: