Skip to content

SetSunConfigAction ​

Inherits: EventAction < Resource

Action to change the PATH of the sun at runtime: where it stands and when it rises and sets (how bright and what colour it is belongs to the Environment config) Applies through system_hub.apply_environment_configs() and world_sun

Properties ​

SunConfigsun_config

Methods ​

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

Property descriptions ​

SunConfig sun_config ​

Sun configuration to apply

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