Skip to content

WorldGroundSection ​

Inherits: FoldableContainer

The Ground weather section of the Worlds editor: how fast the ground of this world gets wet and dries, how fast the snow builds and melts, and the tint of the ground (a season). The weather itself (rain, snow) is chosen above, in the Weather section; this says how the terrain follows it. See docs: World > Ground weather.

Variables ​

WorldDataworldnull
SpinBoxwet_spin
SpinBoxdry_spin
SpinBoxsnow_spin
SpinBoxmelt_spin
ColorPickerButtontint_button
HSlidertint_strength_slider

Methods ​

voidsetup( panel_style: StyleBox = null )
voidshow_world( new_world: WorldData )

Signals ​

world_changed() ​

Something of the world changed: the editor saves the world.

Variable descriptions ​

WorldData world = null ​

No description yet.

SpinBox wet_spin ​

No description yet.

SpinBox dry_spin ​

No description yet.

SpinBox snow_spin ​

No description yet.

SpinBox melt_spin ​

No description yet.

ColorPickerButton tint_button ​

No description yet.

HSlider tint_strength_slider ​

No description yet.

Method descriptions ​

void setup( panel_style: StyleBox = null ) ​

Builds the section. panel_style is the style of the other sections of the editor.

void show_world( new_world: WorldData ) ​

Shows the world (null: nothing is shown and nothing can be changed).