Enum CinemachineOrbitalTransposer.Heading.HeadingDefinition | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Enum CinemachineOrbitalTransposer.Heading.HeadingDefinition

    Sets the algorithm for determining the target's heading for purposes of re-centering the camera

    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    public enum HeadingDefinition

    Fields

    Name Description
    PositionDelta

    Target heading calculated from the difference between its position on the last update and current frame.

    TargetForward

    Target heading calculated from the Target Transform's euler Y angle

    Velocity

    Target heading calculated from its Rigidbody's velocity. If no Rigidbody exists, it will fall back to HeadingDerivationMode.PositionDelta

    WorldForward

    Default heading is a constant world space heading.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023