Interface IWorkspace | Unity Reflect | 1.1.0-preview.6
docs.unity.cn
    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 © 2020 Unity Technologies
    Generated by DocFX