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

    Struct CinemachineOrbitalTransposer.Heading

    How the "forward" direction is defined. Orbital offset is in relation to the forward direction.

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Cinemachine
    Syntax
    [DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
    public struct Heading

    Constructors

    Heading(CinemachineOrbitalTransposer.Heading.HeadingDefinition, Int32, Single)

    Constructor

    Declaration
    public Heading(CinemachineOrbitalTransposer.Heading.HeadingDefinition def, int filterStrength, float bias)
    Parameters
    Type Name Description
    CinemachineOrbitalTransposer.Heading.HeadingDefinition def
    System.Int32 filterStrength
    System.Single bias

    Fields

    m_Bias

    Additional Y rotation applied to the target heading. When this value is 0, the camera will be placed behind the target

    Declaration
    public float m_Bias
    Field Value
    Type Description
    System.Single

    m_Definition

    The method by which the 'default heading' is calculated if recentering to target heading is enabled

    Declaration
    public CinemachineOrbitalTransposer.Heading.HeadingDefinition m_Definition
    Field Value
    Type Description
    CinemachineOrbitalTransposer.Heading.HeadingDefinition

    m_VelocityFilterStrength

    Size of the velocity sampling window for target heading filter. Used only if deriving heading from target's movement

    Declaration
    public int m_VelocityFilterStrength
    Field Value
    Type Description
    System.Int32
    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