Interface IWorkspace | Unity Reflect | 1.1.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IWorkspace

    Declares a class as a Workspace within the system

    Inherited Members
    IVacuumable.vacuumBounds
    IVacuumable.transform
    ICustomActionMap.actionMap
    ICustomActionMap.ignoreActionMapInputLocking
    IProcessInput.ProcessInput(ActionMapInput, ConsumeControlDelegate)
    Namespace: Unity.Labs.EditorXR.Interfaces
    Syntax
    public interface IWorkspace : IVacuumable, ICustomActionMap, IProcessInput

    Properties

    contentBounds

    Bounding box for workspace content (ignores value.center)

    Declaration
    Bounds contentBounds { get; set; }
    Property Value
    Type Description
    Bounds

    outerBounds

    Bounding box for entire workspace, including UI handles

    Declaration
    Bounds outerBounds { get; }
    Property Value
    Type Description
    Bounds

    Methods

    Close()

    Close the workspace

    Declaration
    void Close()

    Setup()

    First-time setup; will be called after Awake and ConnectInterfaces

    Declaration
    void Setup()

    Events

    destroyed

    Call this in OnDestroy to inform the system

    Declaration
    event Action<IWorkspace> destroyed
    Event Type
    Type Description
    Action<IWorkspace>
    Back to top
    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