Editar

Partilhar via


MixedRealitySceneSystemProfile Class

Definition

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
UnityEngine.ScriptableObject
MixedRealitySceneSystemProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

MixedRealitySceneSystemProfile()

Properties

ContentScenes
ContentTags
DefaultLightingScene
EditorEnforceLightingSceneTypes
EditorEnforceSceneOrder
EditorLightingCacheOutOfDate
EditorLightingCacheUpdateRequested
EditorManageBuildSettings
EditorManageLoadedScenes
LightingScenes
ManagerScene
NumContentScenes
NumLightingScenes
PermittedLightingSceneComponentTypes
UseLightingScene
UseManagerScene

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.

Applies to