CinemachineOrbitalTransposer.Heading.HeadingDefinition Enumeration

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 nameValueDescription
PositionDelta0 Target heading calculated from the difference between its position on the last update and current frame.
Velocity1 Target heading calculated from its Rigidbody's velocity. If no Rigidbody exists, it will fall back to HeadingDerivationMode.PositionDelta
TargetForward2 Target heading calculated from the Target Transform's euler Y angle
WorldForward3 Default heading is a constant world space heading.
See Also