Navigation
API > API/Plugins > API/Plugins/FileSandboxCore > API/Plugins/FileSandboxCore/ISandboxManager
Description
Puts the engine into a sandbox: This creates a new environment.
Tip: If you don't care about the specifics of potential errors, you can write if (ISandboxInstance* Instance = Manager->CreateNewSandbox(...)).
Do not keep any raw reference to ISandboxInstance as it turns stale when the sandbox is shutdown.
| Name | CreateNewSandbox |
| Type | function |
| Header File | /Engine/Plugins/Developer/Sandbox/FileSandbox/Source/FileSandboxCore/Public/ISandboxManager.h |
| Include Path | #include "ISandboxManager.h" |
FNewSandboxResult CreateNewSandbox
(
const FNewSandboxArgs & InArgs
)
See Also
-
FWeakSandboxPtr
-
GetGlobalSandboxInstance.