Color legend method
An orientation frame on a camera path: a position and the camera’s three axes there.
A read-only struct. The drawing a path page shows it in context, with code.
Names are colored by what they are: a method; values and fields keep the plain color.
Fields
Forward →
Vector3 · Read-only field. The way the camera faces there, its local −Z, as a unit vector in world space.
Position →
Vector3 · Read-only field. Where the frame is, in world coordinates.
Right →
Vector3 · Read-only field. The camera’s right there, its local +X, as a unit vector in world space.
Up →
Vector3 · Read-only field. The camera’s up there, its local +Y, as a unit vector in world space.
Methods
CameraPathGizmo() →
CameraPathGizmo(Vector3 position, Vector3 right, Vector3 up, Vector3 forward) · A frame from its position and axes, for geometry of your own.
| Parameter | Type | Description |
|---|---|---|
position |
Vector3 |
Where the frame is. |
right |
Vector3 |
Its local +X. |
up |
Vector3 |
Its local +Y. |
forward |
Vector3 |
Its local −Z, the way it faces. |