Cinemachine
CinemachineOrbitalTransposerHeadingHeadingDefinition Enumeration |
Sets the algorithm for determining the target's heading for purposes
of re-centering the camera
Namespace: Cinemachine
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
[DocumentationSortingAttribute(6.21f, DocumentationSortingAttributeLevel.UserRef)] public enum HeadingDefinition
Cinemachine.HeadingDefinition = function(); Cinemachine.HeadingDefinition.createEnum('Cinemachine.HeadingDefinition', false);
Members
Member name | Value | Description | |
---|---|---|---|
PositionDelta | 0 | Target heading calculated from the difference between its position on the last update and current frame. | |
Velocity | 1 | Target heading calculated from its Rigidbody's velocity. If no Rigidbody exists, it will fall back to HeadingDerivationMode.PositionDelta | |
TargetForward | 2 | Target heading calculated from the Target Transform's euler Y angle | |
WorldForward | 3 | Default heading is a constant world space heading. |
See Also