Color legend method
The geometry to draw a camera path: a line along the curve, the waypoints and orientation frames, as lists in world coordinates.
A sealed class. The drawing a path page shows it in context, with code. A path keeps one in VisualGeometryBuffers; create your own for Build.
Names are colored by what they are: a method; values and fields keep the plain color.
Fields
Gizmos →
List<CameraPathGizmo> · Read-only field. Orientation frames at even steps of distance, GizmoCount of them: on an open path from the start to the end, on a closed one evenly round.
Polyline →
List<Vector3> · Read-only field. Points along the curve, in order; on a closed path the last is the first again. Empty with fewer than two waypoints.
WaypointGizmos →
List<CameraPathGizmo> · Read-only field. One orientation frame at each waypoint, with the orientation it resolves to.
Waypoints →
List<Vector3> · Read-only field. The position of each waypoint, in order.
Methods
CameraPathGeometryBuffers() →
CameraPathGeometryBuffers() · Empty buffers, for Build.
Clear() →
Clear() · Empties the four lists.