- addPropertyInfo
void addPropertyInfo(Dictionary info)
Add a custom property info to a property. The dictionary must contain: name:String(the name of the property) and type:long(see TYPE_* in @GlobalScope), and optionally hint:long(see PROPERTY_HINT_* in @GlobalScope), hint_string:String.
- erase
void erase(StringArg0 property)
Erase a given setting (pass full property path).
- getFavorites
PoolStringArray getFavorites()
Get the list of favorite files and directories for this project.
- getProjectMetadata
Variant getProjectMetadata(StringArg0 section, StringArg1 key, VariantArg2 _default)
- getProjectSettingsDir
String getProjectSettingsDir()
Get the specific project settings path. Projects all have a unique sub-directory inside the settings path where project specific settings are saved.
- getRecentDirs
PoolStringArray getRecentDirs()
Get the list of recently visited folders in the file dialog for this project.
- getSetting
Variant getSetting(StringArg0 name)
- getSettingsDir
String getSettingsDir()
Get the global settings path for the engine. Inside this path you can find some standard paths such as:
settings/tmp - used for temporary storage of files
settings/templates - where export templates are located
- hasSetting
bool hasSetting(StringArg0 name)
- opAssign
EditorSettings opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(EditorSettings other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- propertyCanRevert
bool propertyCanRevert(StringArg0 name)
- propertyGetRevert
Variant propertyGetRevert(StringArg0 name)
- setFavorites
void setFavorites(PoolStringArray dirs)
Set the list of favorite files and directories for this project.
- setInitialValue
void setInitialValue(StringArg0 name, VariantArg1 value, bool update_current)
- setProjectMetadata
void setProjectMetadata(StringArg0 section, StringArg1 key, VariantArg2 data)
- setRecentDirs
void setRecentDirs(PoolStringArray dirs)
Set the list of recently visited folders in the file dialog for this project.
- setSetting
void setSetting(StringArg0 name, VariantArg1 value)
Object that holds the project-independent editor settings.
These settings are generally visible in the Editor Settings menu. Accessing the settings is done by using the regular GodotObject API, such as: