docs.unity3d.com
Search Results for

    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.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Cinemachine
    Assembly: Cinemachine.dll
    Syntax
    [Serializable]
    public struct CinemachineStateDrivenCamera.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
    float

    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
    int

    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
    float

    m_VirtualCamera

    The virtual camera to activate when the animation state becomes active

    Declaration
    [Tooltip("The virtual camera to activate when the animation state becomes active")]
    public CinemachineVirtualCameraBase m_VirtualCamera
    Field Value
    Type Description
    CinemachineVirtualCameraBase
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)