Struct CinemachineStateDrivenCamera.Instruction | Cinemachine | 2.5.0
docs.unity3d.com
    Show / Hide Table of Contents

    Struct CinemachineStateDrivenCamera.Instruction

    This represents a single instrunction to the StateDrivenCamera. It associates an state from the state machine with a child Virtual Camera, and also holds activation tuning parameters.

    Namespace: Cinemachine
    Syntax
    [Serializable]
    public struct Instruction

    Fields

    m_ActivateAfter

    How long to wait (in seconds) before activating the virtual camera. This filters out very short state durations

    Declaration
    [Tooltip("How long to wait (in seconds) before activating the virtual camera. This filters out very short state durations")]
    public float m_ActivateAfter
    Field Value
    Type Description
    Single

    m_FullHash

    The full hash of the animation state

    Declaration
    [Tooltip("The full hash of the animation state")]
    public int m_FullHash
    Field Value
    Type Description
    Int32

    m_MinDuration

    The minimum length of time (in seconds) to keep a virtual camera active

    Declaration
    [Tooltip("The minimum length of time (in seconds) to keep a virtual camera active")]
    public float m_MinDuration
    Field Value
    Type Description
    Single

    m_VirtualCamera

    The virtual camera to activate whrn the animation state becomes active

    Declaration
    [Tooltip("The virtual camera to activate whrn the animation state becomes active")]
    public CinemachineVirtualCameraBase m_VirtualCamera
    Field Value
    Type Description
    CinemachineVirtualCameraBase
    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