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
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 |