Cinemachine
![]() | CinemachinePathWaypoint Structure |
A waypoint along the path
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)

[SerializableAttribute] [DocumentationSortingAttribute(18.2f, DocumentationSortingAttributeLevel.UserRef)] public struct Waypoint
JavaScript supports the use of structures, but not the declaration of new ones.
The CinemachinePathWaypoint type exposes the following members.

Name | Description | |
---|---|---|
![]() | position | Position in path-local space |
![]() | roll | Defines the roll of the path at this waypoint.
The other orientation axes are inferred from the tangent and world up. |
![]() | 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. |
