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 InstructionFields
m_ActivateAfter
How long to wait (in seconds) before activating the virtual camera. This filters out very short state durations
Declaration
public float m_ActivateAfterField Value
| Type | Description | 
|---|---|
| System.Single | 
m_FullHash
The full hash of the animation state
Declaration
public int m_FullHashField Value
| Type | Description | 
|---|---|
| System.Int32 | 
m_MinDuration
The minimum length of time (in seconds) to keep a virtual camera active
Declaration
public float m_MinDurationField Value
| Type | Description | 
|---|---|
| System.Single | 
m_VirtualCamera
The virtual camera to activate whrn the animation state becomes active
Declaration
public CinemachineVirtualCameraBase m_VirtualCameraField Value
| Type | Description | 
|---|---|
| CinemachineVirtualCameraBase |