CinemachineStateDrivenCamera.Instruction Structure

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
  NameDescription
Public fieldm_ActivateAfter
How long to wait (in seconds) before activating the virtual camera. This filters out very short state durations
Public fieldm_FullHash
The full hash of the animation state
Public fieldm_MinDuration
The minimum length of time (in seconds) to keep a virtual camera active
Public fieldm_VirtualCamera
The virtual camera to activate whrn the animation state becomes active
Top
See Also