docs.unity3d.com
    Show / Hide Table of Contents

    Class SetCameraSettingsCommand

    Class SetCameraSettingsCommand.

    Inheritance
    Object
    Command
    SetCameraSettingsCommand
    Inherited Members
    Command.Execution
    Command.Execute(CommandContext)
    Command.GetExportSettings()
    Command.Cancel()
    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
    Command.CleanUpCommandEditor()

    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
    Command.ExecuteCommand(CommandContext)

    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.

    Overrides
    Command.ExecuteCommandEditor(CommandContext)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023