Skip to content

ShelterWeatherSound ​

Inherits: Resource

One line of the weather sounds of a shelter: for a kind of weather (rain, snow, wind ...) the track that plays while the camera is inside and that weather is on. Written once for a kind of shelter (a wooden cabin: the rain on its roof) and used by every volume that has the profile. A kind of weather the profile has no line for does nothing: the sound of the weather goes on, muffled by the audio profile of the shelter.

Properties ​

Stringkind""
Stringambience_track""
floatvolume_db0.0

Methods ​

Stringdescribe()
PackedStringArrayvalidate()

Property descriptions ​

String kind = "" ​

The kind of weather this line is for: the words the weather lists in its sound kinds (rain, snow, sleet, wind, sand ...)

String ambience_track = "" ​

The ambience track that plays inside (an audio file: the rain on the roof). Empty = the line does nothing

float volume_db = 0.0 ​

How loud the track is (dB)

Method descriptions ​

String describe() ​

One line that says what the entry is (the title of its container in the editor)

PackedStringArray validate() ​

The warnings of this line