Class MixedRealitySceneSystem
The default implementation of the IMixedRealitySceneSystem
Because so much of this service's functionality is editor-only, it has been split into a partial class.
This part handles the runtime parts of the service.
Inheritance
MixedRealitySceneSystem
Implements
IDisposable
IEqualityComparer
Assembly: cs.temp.dll.dll
public class MixedRealitySceneSystem : BaseCoreSystem, IMixedRealitySceneSystem, IMixedRealityEventSystem, IMixedRealityService, IDisposable, IMixedRealityEventSource, IEqualityComparer, IMixedRealitySceneSystemEditor
Constructors
Declaration
public MixedRealitySceneSystem(IMixedRealityServiceRegistrar registrar, MixedRealitySceneSystemProfile profile)
Parameters
Declaration
public MixedRealitySceneSystem(IMixedRealityServiceRegistrar registrar, MixedRealitySceneSystemProfile profile)
Parameters
Declaration
public MixedRealitySceneSystem(MixedRealitySceneSystemProfile profile)
Parameters
Declaration
public MixedRealitySceneSystem(MixedRealitySceneSystemProfile profile)
Parameters
Properties
Declaration
public string ActiveLightingScene { get; }
Property Value
Declaration
public string ActiveLightingScene { get; }
Property Value
ContentSceneNames
Declaration
public string[] ContentSceneNames { get; }
Property Value
ContentSceneNames
Declaration
public string[] ContentSceneNames { get; }
Property Value
Declaration
public bool LightingOperationInProgress { get; }
Property Value
Declaration
public bool LightingOperationInProgress { get; }
Property Value
Declaration
public float LightingOperationProgress { get; }
Property Value
Declaration
public float LightingOperationProgress { get; }
Property Value
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
Declaration
public override string Name { get; protected set; }
Property Value
Overrides
NextContentExists
Declaration
public bool NextContentExists { get; }
Property Value
NextContentExists
Declaration
public bool NextContentExists { get; }
Property Value
OnContentLoaded
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnContentLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
OnContentLoaded
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnContentLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
OnContentUnloaded
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnContentUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
OnContentUnloaded
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnContentUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
Declaration
public BaseEventSystem.Action<string> OnLightingLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnLightingLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnLightingUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnLightingUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnSceneLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnSceneLoaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnSceneUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnSceneUnloaded { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
OnWillLoadContent
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnWillLoadContent { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
OnWillLoadContent
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnWillLoadContent { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
Declaration
public BaseEventSystem.Action<string> OnWillLoadLighting { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillLoadLighting { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillLoadScene { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillLoadScene { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
OnWillUnloadContent
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnWillUnloadContent { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
OnWillUnloadContent
Declaration
public BaseEventSystem.Action<IEnumerable<string>> OnWillUnloadContent { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<IEnumerable<String>> |
|
Declaration
public BaseEventSystem.Action<string> OnWillUnloadLighting { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillUnloadLighting { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillUnloadScene { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
Declaration
public BaseEventSystem.Action<string> OnWillUnloadScene { get; set; }
Property Value
Type |
Description |
Microsoft.MixedReality.Toolkit.BaseEventSystem.Action<String> |
|
PrevContentExists
Declaration
public bool PrevContentExists { get; }
Property Value
PrevContentExists
Declaration
public bool PrevContentExists { get; }
Property Value
Declaration
public bool SceneOperationInProgress { get; }
Property Value
Declaration
public bool SceneOperationInProgress { get; }
Property Value
Declaration
public float SceneOperationProgress { get; }
Property Value
Declaration
public float SceneOperationProgress { get; }
Property Value
Declaration
public uint SourceId { get; }
Property Value
Declaration
public uint SourceId { get; }
Property Value
Declaration
public string SourceName { get; }
Property Value
Declaration
public string SourceName { get; }
Property Value
Declaration
public bool WaitingToProceed { get; }
Property Value
Declaration
public bool WaitingToProceed { get; }
Property Value
Methods
Declaration
public override void Destroy()
Overrides
Declaration
public override void Destroy()
Overrides
Declaration
public override void Disable()
Overrides
Declaration
public override void Disable()
Overrides
Declaration
public override void Enable()
Overrides
Declaration
public override void Enable()
Overrides
Declaration
public Scene GetScene(string sceneName)
Parameters
Type |
Name |
Description |
String |
sceneName |
|
Returns
Declaration
public Scene GetScene(string sceneName)
Parameters
Type |
Name |
Description |
String |
sceneName |
|
Returns
Declaration
public IEnumerable<Scene> GetScenes(IEnumerable<string> sceneNames)
Parameters
Type |
Name |
Description |
IEnumerable<String> |
sceneNames |
|
Returns
Type |
Description |
IEnumerable<Scene> |
|
Declaration
public IEnumerable<Scene> GetScenes(IEnumerable<string> sceneNames)
Parameters
Type |
Name |
Description |
IEnumerable<String> |
sceneNames |
|
Returns
Type |
Description |
IEnumerable<Scene> |
|
Declaration
public override void Initialize()
Overrides
Declaration
public override void Initialize()
Overrides
IsContentLoaded(String)
Declaration
public bool IsContentLoaded(string sceneName)
Parameters
Type |
Name |
Description |
String |
sceneName |
|
Returns
IsContentLoaded(String)
Declaration
public bool IsContentLoaded(string sceneName)
Parameters
Type |
Name |
Description |
String |
sceneName |
|
Returns
LoadContent(IEnumerable<String>, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContent(IEnumerable<string> scenesToLoad, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadContent(IEnumerable<String>, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContent(IEnumerable<string> scenesToLoad, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadContent(String, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContent(string sceneToLoad, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadContent(String, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContent(string sceneToLoad, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadContentByTag(String, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContentByTag(string tag, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadContentByTag(String, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadContentByTag(string tag, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadNextContent(Boolean, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadNextContent(bool wrap = false, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadNextContent(Boolean, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadNextContent(bool wrap = false, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadPrevContent(Boolean, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadPrevContent(bool wrap = false, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
LoadPrevContent(Boolean, LoadSceneMode, SceneActivationToken)
Declaration
public Task LoadPrevContent(bool wrap = false, LoadSceneMode mode = null, SceneActivationToken activationToken = null)
Parameters
Returns
Declaration
public void SetLightingScene(string newLightingSceneName, LightingSceneTransitionType transitionType = null, float transitionDuration = 1F)
Parameters
Declaration
public void SetLightingScene(string newLightingSceneName, LightingSceneTransitionType transitionType = null, float transitionDuration = 1F)
Parameters
UnloadContent(IEnumerable<String>)
Declaration
public Task UnloadContent(IEnumerable<string> scenesToUnload)
Parameters
Type |
Name |
Description |
IEnumerable<String> |
scenesToUnload |
|
Returns
UnloadContent(IEnumerable<String>)
Declaration
public Task UnloadContent(IEnumerable<string> scenesToUnload)
Parameters
Type |
Name |
Description |
IEnumerable<String> |
scenesToUnload |
|
Returns
UnloadContent(String)
Declaration
public Task UnloadContent(string sceneToUnload)
Parameters
Type |
Name |
Description |
String |
sceneToUnload |
|
Returns
UnloadContent(String)
Declaration
public Task UnloadContent(string sceneToUnload)
Parameters
Type |
Name |
Description |
String |
sceneToUnload |
|
Returns
UnloadContentByTag(String)
Declaration
public Task UnloadContentByTag(string tag)
Parameters
Type |
Name |
Description |
String |
tag |
|
Returns
UnloadContentByTag(String)
Declaration
public Task UnloadContentByTag(string tag)
Parameters
Type |
Name |
Description |
String |
tag |
|
Returns
Declaration
public override void Update()
Overrides
Declaration
public override void Update()
Overrides
Implements
IDisposable
IEqualityComparer