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