Struct CinemachinePath.Waypoint
A waypoint along the path
Namespace: Cinemachine
Syntax
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[Serializable]
public struct WaypointFields
position
Position in path-local space
Declaration
public Vector3 positionField Value
| Type | Description | 
|---|---|
| Vector3 | 
roll
Defines the roll of the path at this waypoint.
The other orientation axes are inferred from the tangent and world up.
Declaration
public float rollField Value
| Type | Description | 
|---|---|
| System.Single | 
tangent
Offset from the position, which defines the tangent of the curve at the waypoint.
The length of the tangent encodes the strength of the bezier handle.
The same handle is used symmetrically on both sides of the waypoint, to ensure smoothness.
Declaration
public Vector3 tangentField Value
| Type | Description | 
|---|---|
| Vector3 |