docs.unity.cn
    Show / Hide Table of Contents

    Struct CinemachineFreeLook.Orbit

    Defines the height and radius of the Rig orbit

    Namespace: Cinemachine
    Syntax
    [Serializable]
    public struct Orbit

    Constructors

    Orbit(Single, Single)

    Constructor with specific values

    Declaration
    public Orbit(float h, float r)
    Parameters
    Type Name Description
    Single h

    Orbit height

    Single r

    Orbit radius

    Fields

    m_Height

    Height relative to target

    Declaration
    public float m_Height
    Field Value
    Type Description
    Single

    m_Radius

    Radius of orbit

    Declaration
    public float m_Radius
    Field Value
    Type Description
    Single
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, August 31, 2022
    Terms of use