docs.unity3d.com
    Show / Hide Table of Contents

    Class ActivateVirtualCameraCommand

    Class ActivateVirtualCameraCommand.

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