Function: applySceneEnvironment()
applySceneEnvironment(
scene,renderer,environment,baseState?):SceneEnvironmentState
Defined in: packages/core/src/level/level-scene-environment.ts:54
Atomically apply scene environment fields and return the exact prior state.
A supplied base state supplies values for omitted fields, allowing a level swap to replace the active authored environment without first detaching it.
Parameters
scene
Scene
renderer
WebGLRenderer
environment
SceneEnvironment