Struct CinemachinePath.Waypoint
A waypoint along the path
Inherited Members
Namespace: Unity.Cinemachine
Assembly: Unity.Cinemachine.dll
Syntax
[Serializable]
public struct CinemachinePath.Waypoint
Fields
position
Position in path-local space
Declaration
[Tooltip("Position in path-local space")]
public Vector3 position
Field 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
[Tooltip("Defines the roll of the path at this waypoint. The other orientation axes are inferred from the tangent and world up.")]
public float roll
Field Value
Type | Description |
---|---|
float |
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
[Tooltip("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.")]
public Vector3 tangent
Field Value
Type | Description |
---|---|
Vector3 |