Cinemachine
CinemachineStateDrivenCameraInstruction Structure |
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
Assembly: Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
[SerializableAttribute] public struct Instruction
JavaScript supports the use of structures, but not the declaration of new ones.
The CinemachineStateDrivenCameraInstruction type exposes the following members.
Fields
Name | Description | |
---|---|---|
m_ActivateAfter | How long to wait (in seconds) before activating the virtual camera.
This filters out very short state durations | |
m_FullHash | The full hash of the animation state | |
m_MinDuration | The minimum length of time (in seconds) to keep a virtual camera active | |
m_VirtualCamera | The virtual camera to activate whrn the animation state becomes active |
See Also