MixedRealitySceneSystemProfile.SetLightingCache Method
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.
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.
public:
void SetLightingCache(Microsoft::MixedReality::Toolkit::SceneSystem::SceneInfo sceneInfo, Microsoft::MixedReality::Toolkit::SceneSystem::RuntimeLightingSettings lightingSettings, Microsoft::MixedReality::Toolkit::SceneSystem::RuntimeRenderSettings renderSettings, Microsoft::MixedReality::Toolkit::SceneSystem::RuntimeSunlightSettings sunlightSettings);
public void SetLightingCache (Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo sceneInfo, Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeLightingSettings lightingSettings, Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeRenderSettings renderSettings, Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeSunlightSettings sunlightSettings);
member this.SetLightingCache : Microsoft.MixedReality.Toolkit.SceneSystem.SceneInfo * Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeLightingSettings * Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeRenderSettings * Microsoft.MixedReality.Toolkit.SceneSystem.RuntimeSunlightSettings -> unit
Public Sub SetLightingCache (sceneInfo As SceneInfo, lightingSettings As RuntimeLightingSettings, renderSettings As RuntimeRenderSettings, sunlightSettings As RuntimeSunlightSettings)
Parameters
- sceneInfo
- SceneInfo
The scene these settings belong to.
- lightingSettings
- RuntimeLightingSettings
- renderSettings
- RuntimeRenderSettings
- sunlightSettings
- RuntimeSunlightSettings