Class ActivateVirtualCameraCommand
Class ActivateVirtualCameraCommand.
Inherited Members
Namespace: Unity.Industrial.Forma.Staging.Camera
Syntax
public class ActivateVirtualCameraCommand : Command
Fields
cinemachineVirtualCamera
The cinemachine virtual camera
Declaration
public CinemachineVirtualCamera cinemachineVirtualCamera
Field Value
| Type | Description |
|---|---|
| CinemachineVirtualCamera |
setActive
The set active
Declaration
public bool setActive
Field Value
| Type | Description |
|---|---|
| Boolean |
Methods
ExecuteCommand(CommandContext)
Set the SetActive State of the Gameobject of the VirtualCamera
Declaration
protected override IEnumerator ExecuteCommand(CommandContext commandContext)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | commandContext | The command context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |
Overrides
ExecuteCommandEditor(CommandContext)
Executes the command editor.
Declaration
protected override IEnumerator ExecuteCommandEditor(CommandContext commandContext)
Parameters
| Type | Name | Description |
|---|---|---|
| CommandContext | commandContext | The command context. |
Returns
| Type | Description |
|---|---|
| IEnumerator | IEnumerator. |