Struct CinemachineStateDrivenCamera.Instruction | Package Manager UI website
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.

    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
    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
    public float m_ActivateAfter
    Field Value
    Type Description
    System.Single

    m_FullHash

    The full hash of the animation state

    Declaration
    public int m_FullHash
    Field Value
    Type Description
    System.Int32

    m_MinDuration

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

    Declaration
    public float m_MinDuration
    Field Value
    Type Description
    System.Single

    m_VirtualCamera

    The virtual camera to activate whrn the animation state becomes active

    Declaration
    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