Прочитај на енглеском Уреди

Делите путем


MixedRealitySceneSystemProfile Class

Definition

Configuration profile settings for setting up scene system.

C++
public ref class MixedRealitySceneSystemProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
MixedRealitySceneSystemProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute UnityEngine.HelpURLAttribute

Constructors

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.

Applies to

Производ Верзије
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0