docs.unity.cn
    Show / Hide Table of Contents

    Struct CinemachineVirtualCameraBase.TransitionParams

    Collection of parameters that influence how this virtual camera transitions from other virtual cameras

    Namespace: Cinemachine
    Syntax
    [Serializable]
    public struct TransitionParams

    Fields

    m_BlendHint

    Hint for blending positions to and from this virtual camera

    Declaration
    [Tooltip("Hint for blending positions to and from this virtual camera")]
    [FormerlySerializedAs("m_PositionBlending")]
    public CinemachineVirtualCameraBase.BlendHint m_BlendHint
    Field Value
    Type Description
    CinemachineVirtualCameraBase.BlendHint

    m_InheritPosition

    When this virtual camera goes Live, attempt to force the position to be the same as the current position of the Unity Camera

    Declaration
    [Tooltip("When this virtual camera goes Live, attempt to force the position to be the same as the current position of the Unity Camera")]
    public bool m_InheritPosition
    Field Value
    Type Description
    Boolean

    m_OnCameraLive

    This event fires when the virtual camera goes Live

    Declaration
    [Tooltip("This event fires when the virtual camera goes Live")]
    public CinemachineBrain.VcamActivatedEvent m_OnCameraLive
    Field Value
    Type Description
    CinemachineBrain.VcamActivatedEvent
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, August 31, 2022
    Terms of use