편집

다음을 통해 공유


MixedRealitySceneSystemProfile.SetLightingCache Method

Definition

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

Applies to