API Reference › Globals › DynamicEnvironmentSettingLoader
# Class: DynamicEnvironmentSettingLoader
# Hierarchy
- DynamicEnvironmentSettingLoader
# Index
# Methods
# Methods
# load
▸ load(scene
: Scene, canvas
: HTMLCanvasElement, oldEnvironment
: Environment, jsonObject
: SceneSettings): Promise‹Environment›
Defined in packages/common-core/src/environment/dynamic-environment-setting-loader.ts:107
Parameters:
Name | Type |
---|---|
scene | Scene |
canvas | HTMLCanvasElement |
oldEnvironment | Environment |
jsonObject | SceneSettings |
Returns: Promise‹Environment›
# parse
▸ parse(scene
: Scene, canvas
: HTMLCanvasElement, oldEnvironment
: Environment, json
: string): Promise‹Environment›
Defined in packages/common-core/src/environment/dynamic-environment-setting-loader.ts:98
Parameters:
Name | Type |
---|---|
scene | Scene |
canvas | HTMLCanvasElement |
oldEnvironment | Environment |
json | string |
Returns: Promise‹Environment›