Skip to content

SetEnvironmentConfigAction ​

Inherits: EventAction < Resource

Action to change the environment configuration at runtime Applies through system_hub.apply_environment_configs() and world_environment

Properties ​

EnvironmentConfigenvironment_config
floatblend_seconds0.0
floathold_seconds0.0

Methods ​

Stringget_function_description()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

EnvironmentConfig environment_config ​

Environment configuration to apply

float blend_seconds = 0.0 ​

Seconds the environment takes to change into it (0 = at once). Fog, ambient light, the sun's light, the colour grade, the camera and the wind slide from one environment to the other; switches change at the halfway point

float hold_seconds = 0.0 ​

Seconds the look holds before it ends and the look of the zone (or of the world) comes back, over the blend seconds above. 0 = it holds until a Clear Environment Look action or the next world

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary