Navigation
API > API/Plugins > API/Plugins/WorkspaceEditor
Enum describing how to open a workspace.
| Name | UE::Workspace::EOpenWorkspaceMethod |
| Type | enum |
| Header File | /Engine/Plugins/Experimental/Workspace/Source/WorkspaceEditor/Public/IWorkspaceEditorModule.h |
| Include Path | #include "IWorkspaceEditorModule.h" |
Syntax
namespace UE
{
namespace Workspace
{
enum EOpenWorkspaceMethod
{
Default,
AlwaysOpenNewWorkspace,
}
}
}
Values
| Name | Remarks |
|---|---|
| Default | If the asset is already used in a workspace, open that (if not already opened) If the asset is already used in more than one workspace, let the user choose the workspace to open it in If the asset is not yet in a workspace, create a default workspace, add the asset and open the workspace |
| AlwaysOpenNewWorkspace | Always open a new workspace asset and add the asset to it. |