Class SetCameraSettingsCommand
Class SetCameraSettingsCommand.
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.Industrial.Configuring.Staging
Syntax
public class SetCameraSettingsCommand : Command
Fields
defaultFieldOfView
The default field of view
Declaration
public static float defaultFieldOfView
Field Value
Type | Description |
---|---|
Single |
sceneViewFieldOfView
The scene view field of view
Declaration
[SerializeField]
[HideInInspector]
public float sceneViewFieldOfView
Field Value
Type | Description |
---|---|
Single |
Properties
cinemachineVirtualCamera
Gets or sets the cinemachine virtual camera.
Declaration
public CinemachineVirtualCamera cinemachineVirtualCamera { get; set; }
Property Value
Type | Description |
---|---|
Cinemachine.CinemachineVirtualCamera | The cinemachine virtual camera. |
size
Gets or sets the size.
Declaration
public float size { get; set; }
Property Value
Type | Description |
---|---|
Single | The size. |
Methods
CleanUpCommandEditor()
Cleans up command editor.
Declaration
public override void CleanUpCommandEditor()
Overrides
ExecuteCommand(CommandContext)
Executes the command.
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. |