編輯

共用方式為


IMixedRealitySceneSystem.UnloadContent Method

Definition

Overloads

UnloadContent(IEnumerable<String>)

Async method to unload scenes by name. If a scene is not loaded, it will be ignored. If a scene operation is in progress, no action will be taken.

UnloadContent(String)

Async method to unload a single scene by name. If the scene is not loaded, no action will be taken. If a scene operation is in progress, no action will be taken.

UnloadContent(IEnumerable<String>)

Async method to unload scenes by name. If a scene is not loaded, it will be ignored. If a scene operation is in progress, no action will be taken.

public:
 System::Threading::Tasks::Task ^ UnloadContent(System::Collections::Generic::IEnumerable<System::String ^> ^ scenesToUnload);
public System.Threading.Tasks.Task UnloadContent (System.Collections.Generic.IEnumerable<string> scenesToUnload);
abstract member UnloadContent : seq<string> -> System.Threading.Tasks.Task
Public Function UnloadContent (scenesToUnload As IEnumerable(Of String)) As Task

Parameters

scenesToUnload
IEnumerable<String>

Returns

Task

Applies to

UnloadContent(String)

Async method to unload a single scene by name. If the scene is not loaded, no action will be taken. If a scene operation is in progress, no action will be taken.

public:
 System::Threading::Tasks::Task ^ UnloadContent(System::String ^ sceneToUnload);
public System.Threading.Tasks.Task UnloadContent (string sceneToUnload);
abstract member UnloadContent : string -> System.Threading.Tasks.Task
Public Function UnloadContent (sceneToUnload As String) As Task

Parameters

sceneToUnload
String

Returns

Task

Applies to