MixedRealitySceneSystemProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configuration profile settings for setting up scene system.
public ref class MixedRealitySceneSystemProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SceneSystem.IMixedRealitySceneSystem), null)]
[UnityEngine.CreateAssetMenu(fileName="MixedRealitySceneSystemProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Scene System Profile", order=20)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/scene-system/scene-system-getting-started")]
public class MixedRealitySceneSystemProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SceneSystem.IMixedRealitySceneSystem), null)]
[UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/scene-system/scene-system-getting-started")]
[UnityEngine.CreateAssetMenu(fileName="MixedRealitySceneSystemProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Scene System Profile", order=20)]
public class MixedRealitySceneSystemProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SceneSystem.IMixedRealitySceneSystem), null)>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealitySceneSystemProfile", menuName="Mixed Reality Toolkit/Profiles/Mixed Reality Scene System Profile", order=20)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/scene-system/scene-system-getting-started")>]
type MixedRealitySceneSystemProfile = class
inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.SceneSystem.IMixedRealitySceneSystem), null)>]
[<UnityEngine.HelpURL("https://docs.microsoft.com/windows/mixed-reality/mrtk-unity/features/scene-system/scene-system-getting-started")>]
[<UnityEngine.CreateAssetMenu(fileName="MixedRealitySceneSystemProfile", menuName="Mixed Reality/Toolkit/Profiles/Mixed Reality Scene System Profile", order=20)>]
type MixedRealitySceneSystemProfile = class
inherit BaseMixedRealityProfile
Public Class MixedRealitySceneSystemProfile
Inherits BaseMixedRealityProfile
- Inheritance
- Attributes
-
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute
Constructors
MixedRealitySceneSystemProfile() |
Properties
Methods
ClearLightingCache() |
Clears cached lighting settings. Used to ensure we don't end up with 'dead' cached data. |
GetContentSceneNamesByTag(String) | |
GetEarliestLightingCacheTimestamp() | |
GetLightingSceneSettings(String, SceneInfo, RuntimeLightingSettings, RuntimeRenderSettings, RuntimeSunlightSettings) | |
SetLightingCache(SceneInfo, RuntimeLightingSettings, RuntimeRenderSettings, RuntimeSunlightSettings) |
Used to update the cached lighting / render settings. Since extracting them is complex and requires scene loading, I thought it best to avoid having the profile do it. |
SetLightingCacheDirty() |
Sets editorLightingCacheOutOfDate to true and saves the profile. |