Interface IWorkspace
Declares a class as a Workspace within the system
Inherited Members
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> |