PathListField ​
Inherits: ConfigField < HBoxContainer
A list of tracks (an Array[String] property): the music or the ambient sound of a zone or a weather. The plus button opens the track dialog of the audio library (the same as the albums and the events use) and adds the tracks chosen; the paths can also be typed in the line, separated by semicolons (a file outside the library); the cross empties the list. Set Track kind in the inspector.
Properties ​
TrackSelectionDialog.Kind | track_kind | TrackSelectionDialog.Kind.ANY |
Methods ​
Array[String] | get_paths() |
Constants ​
StringSEPARATOR =";"
Property descriptions ​
TrackSelectionDialog.Kind track_kind = TrackSelectionDialog.Kind.ANY ​
Which tracks of the library the dialog shows: any, music only or ambient sound only
Method descriptions ​
Array[String] get_paths() ​
The paths in the line, without the empty ones