Class SetCameraSettingsCommand
Class SetCameraSettingsCommand.
Inherited Members
Namespace: Unity.Industrial.Forma.Staging.Camera
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
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 |
---|---|
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. |