ProjectSettings

Inherits: Object

Category: Core

Brief Description

Contains global variables accessible from everywhere.

Properties

String android/modules “”
Color application/boot_splash/bg_color Color( 0.14, 0.14, 0.14, 1 )
bool application/boot_splash/fullsize true
String application/boot_splash/image “”
bool application/boot_splash/use_filter true
String application/config/custom_user_dir_name “”
String application/config/icon “”
String application/config/macos_native_icon “”
String application/config/name “”
String application/config/project_settings_override “”
bool application/config/use_custom_user_dir false
String application/config/windows_native_icon “”
bool application/run/disable_stderr false
bool application/run/disable_stdout false
int application/run/frame_delay_msec 0
bool application/run/low_processor_mode false
int application/run/low_processor_mode_sleep_usec 6900
String application/run/main_scene “”
float audio/channel_disable_threshold_db -60.0
float audio/channel_disable_time 2.0
String audio/default_bus_layout res://default_bus_layout.tres
String audio/driver “PulseAudio”
bool audio/enable_audio_input false
int audio/mix_rate 44100
int audio/output_latency 15
int audio/video_delay_compensation_ms 0
int compression/formats/gzip/compression_level -1
int compression/formats/zlib/compression_level -1
int compression/formats/zstd/compression_level 3
bool compression/formats/zstd/long_distance_matching false
int compression/formats/zstd/window_log_size 27
bool debug/gdscript/completion/autocomplete_setters_and_getters false
bool debug/gdscript/warnings/constant_used_as_function true
bool debug/gdscript/warnings/deprecated_keyword true
bool debug/gdscript/warnings/enable true
bool debug/gdscript/warnings/function_conflicts_constant true
bool debug/gdscript/warnings/function_conflicts_variable true
bool debug/gdscript/warnings/function_may_yield true
bool debug/gdscript/warnings/function_used_as_property true
bool debug/gdscript/warnings/incompatible_ternary true
bool debug/gdscript/warnings/integer_division true
bool debug/gdscript/warnings/narrowing_conversion true
bool debug/gdscript/warnings/property_used_as_function true
bool debug/gdscript/warnings/return_value_discarded true
bool debug/gdscript/warnings/shadowed_variable true
bool debug/gdscript/warnings/standalone_expression true
bool debug/gdscript/warnings/treat_warnings_as_errors false
bool debug/gdscript/warnings/unassigned_variable true
bool debug/gdscript/warnings/unassigned_variable_op_assign true
bool debug/gdscript/warnings/unreachable_code true
bool debug/gdscript/warnings/unsafe_call_argument false
bool debug/gdscript/warnings/unsafe_cast false
bool debug/gdscript/warnings/unsafe_method_access false
bool debug/gdscript/warnings/unsafe_property_access false
bool debug/gdscript/warnings/unused_argument true
bool debug/gdscript/warnings/unused_class_variable true
bool debug/gdscript/warnings/unused_signal true
bool debug/gdscript/warnings/unused_variable true
bool debug/gdscript/warnings/variable_conflicts_function true
bool debug/gdscript/warnings/void_assignment true
String debug/settings/crash_handler/message “Please include this when reporting the bug on https://github.com/godotengine/godot/issues
int debug/settings/fps/force_fps 0
int debug/settings/gdscript/max_call_stack 1024
int debug/settings/profiler/max_functions 16384
bool debug/settings/stdout/print_fps false
bool debug/settings/stdout/verbose_stdout false
int debug/settings/visual_script/max_call_stack 1024
String display/mouse_cursor/custom_image “”
Vector2 display/mouse_cursor/custom_image_hotspot Vector2( 0, 0 )
Vector2 display/mouse_cursor/tooltip_position_offset Vector2( 10, 10 )
bool display/window/dpi/allow_hidpi false
bool display/window/energy_saving/keep_screen_on true
String display/window/handheld/orientation “landscape”
bool display/window/per_pixel_transparency/allowed false
bool display/window/per_pixel_transparency/enabled false
bool display/window/size/always_on_top false
bool display/window/size/borderless false
bool display/window/size/fullscreen false
int display/window/size/height 600
bool display/window/size/resizable true
int display/window/size/test_height 0
int display/window/size/test_width 0
int display/window/size/width 1024
bool display/window/vsync/use_vsync true
bool editor/active false
PoolStringArray editor/search_in_file_extensions PoolStringArray( “gd”, “shader” )
int gui/common/default_scroll_deadzone 0
bool gui/common/swap_ok_cancel false
String gui/theme/custom “”
String gui/theme/custom_font “”
bool gui/theme/use_hidpi false
int gui/timers/incremental_search_max_interval_msec 2000
float gui/timers/text_edit_idle_detect_sec 3
Dictionary input/ui_accept {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777221,”unicode”:0,”echo”:false,”script”:null), Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777222,”unicode”:0,”echo”:false,”script”:null), Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:32,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:0,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_cancel {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777217,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:1,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_down {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777234,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:13,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_end {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777230,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_focus_next {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777218,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_focus_prev {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:true,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777218,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_home {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777229,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_left {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777231,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:14,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_page_down {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777236,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_page_up {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777235,”unicode”:0,”echo”:false,”script”:null) ]}
Dictionary input/ui_right {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777233,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:15,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_select {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:32,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:3,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Dictionary input/ui_up {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777232,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:12,”pressure”:0.0,”pressed”:false,”script”:null) ]}
bool input_devices/pointing/emulate_mouse_from_touch true
bool input_devices/pointing/emulate_touch_from_mouse false
String layer_names/2d_physics/layer_1 “”
String layer_names/2d_physics/layer_10 “”
String layer_names/2d_physics/layer_11 “”
String layer_names/2d_physics/layer_12 “”
String layer_names/2d_physics/layer_13 “”
String layer_names/2d_physics/layer_14 “”
String layer_names/2d_physics/layer_15 “”
String layer_names/2d_physics/layer_16 “”
String layer_names/2d_physics/layer_17 “”
String layer_names/2d_physics/layer_18 “”
String layer_names/2d_physics/layer_19 “”
String layer_names/2d_physics/layer_2 “”
String layer_names/2d_physics/layer_20 “”
String layer_names/2d_physics/layer_3 “”
String layer_names/2d_physics/layer_4 “”
String layer_names/2d_physics/layer_5 “”
String layer_names/2d_physics/layer_6 “”
String layer_names/2d_physics/layer_7 “”
String layer_names/2d_physics/layer_8 “”
String layer_names/2d_physics/layer_9 “”
String layer_names/2d_render/layer_1 “”
String layer_names/2d_render/layer_10 “”
String layer_names/2d_render/layer_11 “”
String layer_names/2d_render/layer_12 “”
String layer_names/2d_render/layer_13 “”
String layer_names/2d_render/layer_14 “”
String layer_names/2d_render/layer_15 “”
String layer_names/2d_render/layer_16 “”
String layer_names/2d_render/layer_17 “”
String layer_names/2d_render/layer_18 “”
String layer_names/2d_render/layer_19 “”
String layer_names/2d_render/layer_2 “”
String layer_names/2d_render/layer_20 “”
String layer_names/2d_render/layer_3 “”
String layer_names/2d_render/layer_4 “”
String layer_names/2d_render/layer_5 “”
String layer_names/2d_render/layer_6 “”
String layer_names/2d_render/layer_7 “”
String layer_names/2d_render/layer_8 “”
String layer_names/2d_render/layer_9 “”
String layer_names/3d_physics/layer_1 “”
String layer_names/3d_physics/layer_10 “”
String layer_names/3d_physics/layer_11 “”
String layer_names/3d_physics/layer_12 “”
String layer_names/3d_physics/layer_13 “”
String layer_names/3d_physics/layer_14 “”
String layer_names/3d_physics/layer_15 “”
String layer_names/3d_physics/layer_16 “”
String layer_names/3d_physics/layer_17 “”
String layer_names/3d_physics/layer_18 “”
String layer_names/3d_physics/layer_19 “”
String layer_names/3d_physics/layer_2 “”
String layer_names/3d_physics/layer_20 “”
String layer_names/3d_physics/layer_3 “”
String layer_names/3d_physics/layer_4 “”
String layer_names/3d_physics/layer_5 “”
String layer_names/3d_physics/layer_6 “”
String layer_names/3d_physics/layer_7 “”
String layer_names/3d_physics/layer_8 “”
String layer_names/3d_physics/layer_9 “”
String layer_names/3d_render/layer_1 “”
String layer_names/3d_render/layer_10 “”
String layer_names/3d_render/layer_11 “”
String layer_names/3d_render/layer_12 “”
String layer_names/3d_render/layer_13 “”
String layer_names/3d_render/layer_14 “”
String layer_names/3d_render/layer_15 “”
String layer_names/3d_render/layer_16 “”
String layer_names/3d_render/layer_17 “”
String layer_names/3d_render/layer_18 “”
String layer_names/3d_render/layer_19 “”
String layer_names/3d_render/layer_2 “”
String layer_names/3d_render/layer_20 “”
String layer_names/3d_render/layer_3 “”
String layer_names/3d_render/layer_4 “”
String layer_names/3d_render/layer_5 “”
String layer_names/3d_render/layer_6 “”
String layer_names/3d_render/layer_7 “”
String layer_names/3d_render/layer_8 “”
String layer_names/3d_render/layer_9 “”
String locale/fallback “en”
String locale/test “”
bool logging/file_logging/enable_file_logging false
String logging/file_logging/log_path “user://logs/log.txt”
int logging/file_logging/max_log_files 10
int memory/limits/message_queue/max_size_kb 1024
int memory/limits/multithreaded_server/rid_pool_prealloc 60
int network/limits/debugger_stdout/max_chars_per_second 2048
int network/limits/debugger_stdout/max_errors_per_frame 10
int network/limits/debugger_stdout/max_messages_per_frame 10
int network/limits/packet_peer_stream/max_buffer_po2 16
int network/limits/tcp/connect_timeout_seconds 30
int network/limits/websocket_client/max_in_buffer_kb 64
int network/limits/websocket_client/max_in_packets 1024
int network/limits/websocket_client/max_out_buffer_kb 64
int network/limits/websocket_client/max_out_packets 1024
int network/limits/websocket_server/max_in_buffer_kb 64
int network/limits/websocket_server/max_in_packets 1024
int network/limits/websocket_server/max_out_buffer_kb 64
int network/limits/websocket_server/max_out_packets 1024
int network/remote_fs/page_read_ahead 4
int network/remote_fs/page_size 65536
int node/name_casing 0
int node/name_num_separator 0
int physics/2d/default_gravity 98
String physics/2d/physics_engine “DEFAULT”
int physics/2d/thread_model 1
bool physics/3d/active_soft_world true
float physics/3d/default_gravity 9.8
String physics/3d/physics_engine “DEFAULT”
int physics/common/physics_fps 60
float physics/common/physics_jitter_fix 0.5
Color rendering/environment/default_clear_color Color( 0.3, 0.3, 0.3, 1 )
int rendering/limits/buffers/blend_shape_max_buffer_size_kb 4096
int rendering/limits/buffers/canvas_polygon_buffer_size_kb 128
int rendering/limits/buffers/canvas_polygon_index_buffer_size_kb 128
int rendering/limits/buffers/immediate_buffer_size_kb 2048
int rendering/limits/rendering/max_renderable_elements 65536
int rendering/limits/rendering/max_renderable_lights 4096
int rendering/limits/rendering/max_renderable_reflections 1024
float rendering/limits/time/time_rollover_secs 3600
bool rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround false
bool rendering/quality/2d/use_pixel_snap false
String rendering/quality/depth_prepass/disable_for_vendors “PowerVR,Mali,Adreno,Apple”
bool rendering/quality/depth_prepass/enable true
int rendering/quality/directional_shadow/size 4096
int rendering/quality/directional_shadow/size.mobile 2048
String rendering/quality/driver/driver_name “GLES3”
bool rendering/quality/driver/fallback_to_gles2 false
int rendering/quality/filters/anisotropic_filter_level 4
bool rendering/quality/filters/use_nearest_mipmap_filter false
int rendering/quality/intended_usage/framebuffer_allocation 2
int rendering/quality/intended_usage/framebuffer_allocation.mobile 3
bool rendering/quality/reflections/high_quality_ggx true
bool rendering/quality/reflections/high_quality_ggx.mobile false
bool rendering/quality/reflections/texture_array_reflections true
bool rendering/quality/reflections/texture_array_reflections.mobile false
bool rendering/quality/shading/force_blinn_over_ggx false
bool rendering/quality/shading/force_blinn_over_ggx.mobile true
bool rendering/quality/shading/force_lambert_over_burley false
bool rendering/quality/shading/force_lambert_over_burley.mobile true
bool rendering/quality/shading/force_vertex_shading false
bool rendering/quality/shading/force_vertex_shading.mobile true
int rendering/quality/shadow_atlas/quadrant_0_subdiv 1
int rendering/quality/shadow_atlas/quadrant_1_subdiv 2
int rendering/quality/shadow_atlas/quadrant_2_subdiv 3
int rendering/quality/shadow_atlas/quadrant_3_subdiv 4
int rendering/quality/shadow_atlas/size 4096
int rendering/quality/shadow_atlas/size.mobile 2048
int rendering/quality/shadows/filter_mode 1
int rendering/quality/shadows/filter_mode.mobile 0
bool rendering/quality/subsurface_scattering/follow_surface false
int rendering/quality/subsurface_scattering/quality 1
int rendering/quality/subsurface_scattering/scale 1.0
bool rendering/quality/subsurface_scattering/weight_samples true
bool rendering/quality/voxel_cone_tracing/high_quality false
int rendering/threads/thread_model 1
bool rendering/vram_compression/import_bptc false
bool rendering/vram_compression/import_etc false
bool rendering/vram_compression/import_etc2 true
bool rendering/vram_compression/import_pvrtc false
bool rendering/vram_compression/import_s3tc true
Script script  

Methods

void add_property_info ( Dictionary hint )
void clear ( String name )
int get_order ( String name ) const
Variant get_setting ( String name ) const
String globalize_path ( String path ) const
bool has_setting ( String name ) const
bool load_resource_pack ( String pack )
String localize_path ( String path ) const
bool property_can_revert ( String name )
Variant property_get_revert ( String name )
Error save ( )
Error save_custom ( String file )
void set_initial_value ( String name, Variant value )
void set_order ( String name, int position )
void set_setting ( String name, Variant value )

Description

Contains global variables accessible from everywhere. Use get_setting, set_setting or has_setting to access them. Variables stored in project.godot are also loaded into ProjectSettings, making this object very useful for reading custom game configuration options.

Property Descriptions

Default “”

Comma-separated list of custom Android modules (which must have been built in the Android export templates) using their Java package path, e.g. org/godotengine/org/GodotPaymentV3,org/godotengine/godot/MyCustomSingleton".

  • Color application/boot_splash/bg_color
Default Color( 0.14, 0.14, 0.14, 1 )

Background color for the boot splash.

  • bool application/boot_splash/fullsize
Default true

If true, scale the boot splash image to the full window length when engine starts. If false, the engine will leave it at the default pixel size.

  • String application/boot_splash/image
Default “”

Path to an image used as the boot splash.

  • bool application/boot_splash/use_filter
Default true

If true, applies linear filtering when scaling the image (recommended for high resolution artwork). If false, uses nearest-neighbor interpolation (recommended for pixel art).

  • String application/config/custom_user_dir_name
Default “”

This user directory is used for storing persistent data (user:// filesystem). If left empty, user:// resolves to a project-specific folder in Godot’s own configuration folder (see OS.get_user_data_dir). If a custom directory name is defined, this name will be used instead and appended to the system-specific user data directory (same parent folder as the Godot configuration folder documented in OS.get_user_data_dir).

The application/config/use_custom_user_dir setting must be enabled for this to take effect.

  • String application/config/icon
Default “”

Icon used for the project, set when project loads. Exporters will also use this icon when possible.

  • String application/config/macos_native_icon
Default “”
  • String application/config/name
Default “”

The project’s name. It is used both by the Project Manager and by exporters. The project name can be translated by translating its value in localization files.

  • String application/config/project_settings_override
Default “”

Specifies a file to override project settings. For example: user://custom_settings.cfg.

  • bool application/config/use_custom_user_dir
Default false

If true, the project will save user data to its own user directory (see application/config/custom_user_dir_name). This setting is only effective on desktop platforms. A name must be set in the application/config/custom_user_dir_name setting for this to take effect. If false, the project will save user data to (OS user data directory)/Godot/app_userdata/(project name).

  • String application/config/windows_native_icon
Default “”
  • bool application/run/disable_stderr
Default false

If true, disables printing to standard error in an exported build.

  • bool application/run/disable_stdout
Default false

If true, disables printing to standard output in an exported build.

  • int application/run/frame_delay_msec
Default 0

Forces a delay between frames in the main loop (in milliseconds). This may be useful if you plan to disable vertical synchronization.

  • bool application/run/low_processor_mode
Default false

If true, enables low-processor usage mode. This setting only works on desktop platforms. The screen is not redrawn if nothing changes visually. This is meant for writing applications and editors, but is pretty useless (and can hurt performance) in most games.

  • int application/run/low_processor_mode_sleep_usec
Default 6900

Amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU usage.

  • String application/run/main_scene
Default “”

Path to the main scene file that will be loaded when the project runs.

  • float audio/channel_disable_threshold_db
Default -60.0

Audio buses will disable automatically when sound goes below a given dB threshold for a given time. This saves CPU as effects assigned to that bus will no longer do any processing.

  • float audio/channel_disable_time
Default 2.0

Audio buses will disable automatically when sound goes below a given dB threshold for a given time. This saves CPU as effects assigned to that bus will no longer do any processing.

  • String audio/default_bus_layout
Default res://default_bus_layout.tres
Default “PulseAudio”

Specifies the audio driver to use. This setting is platform-dependent as each platform supports different audio drivers. If left empty, the default audio driver will be used.

  • bool audio/enable_audio_input
Default false

If true, microphone input will be allowed. This requires appropriate permissions to be set when exporting to Android or iOS.

  • int audio/mix_rate
Default 44100

Mixing rate used for audio. In general, it’s better to not touch this and leave it to the host operating system.

  • int audio/output_latency
Default 15

Output latency in milliseconds for audio. Lower values will result in lower audio latency at the cost of increased CPU usage. Low values may result in audible cracking on slower hardware.

  • int audio/video_delay_compensation_ms
Default 0

Setting to hardcode audio delay when playing video. Best to leave this untouched unless you know what you are doing.

  • int compression/formats/gzip/compression_level
Default -1

Default compression level for gzip. Affects compressed scenes and resources.

  • int compression/formats/zlib/compression_level
Default -1

Default compression level for Zlib. Affects compressed scenes and resources.

  • int compression/formats/zstd/compression_level
Default 3

Default compression level for Zstandard. Affects compressed scenes and resources.

  • bool compression/formats/zstd/long_distance_matching
Default false

Enables long-distance matching in Zstandard.

  • int compression/formats/zstd/window_log_size
Default 27
  • bool debug/gdscript/completion/autocomplete_setters_and_getters
Default false

If true, displays getters and setters in autocompletion results in the script editor. This setting is meant to be used when porting old projects (Godot 2), as using member variables is the preferred style from Godot 3 onwards.

  • bool debug/gdscript/warnings/constant_used_as_function
Default true

If true, enables warnings when a constant is used as a function.

  • bool debug/gdscript/warnings/deprecated_keyword
Default true

If true, enables warnings when deprecated keywords such as slave are used.

  • bool debug/gdscript/warnings/enable
Default true

If true, enables specific GDScript warnings (see debug/gdscript/warnings/* settings). If false, disables all GDScript warnings.

  • bool debug/gdscript/warnings/function_conflicts_constant
Default true

If true, enables warnings when a function is declared with the same name as a constant.

  • bool debug/gdscript/warnings/function_conflicts_variable
Default true

If true, enables warnings when a function is declared with the same name as a variable. This will turn into an error in a future version when first-class functions become supported in GDScript.

  • bool debug/gdscript/warnings/function_may_yield
Default true

If true, enables warnings when a function assigned to a variable may yield and return a function state instead of a value.

  • bool debug/gdscript/warnings/function_used_as_property
Default true

If true, enables warnings when using a function as if it was a property.

  • bool debug/gdscript/warnings/incompatible_ternary
Default true

If true, enables warnings when a ternary operator may emit values with incompatible types.

  • bool debug/gdscript/warnings/integer_division
Default true

If true, enables warnings when dividing an integer by another integer (the decimal part will be discarded).

  • bool debug/gdscript/warnings/narrowing_conversion
Default true

If true, enables warnings when passing a floating-point value to a function that expects an integer (it will be converted and lose precision).

  • bool debug/gdscript/warnings/property_used_as_function
Default true

If true, enables warnings when using a property as if it was a function.

  • bool debug/gdscript/warnings/return_value_discarded
Default true

If true, enables warnings when calling a function without using its return value (by assigning it to a variable or using it as a function argument). Such return values are sometimes used to denote possible errors using the Error enum.

  • bool debug/gdscript/warnings/shadowed_variable
Default true

If true, enables warnings when defining a local or subclass member variable that would shadow a variable at an upper level (such as a member variable).

  • bool debug/gdscript/warnings/standalone_expression
Default true

If true, enables warnings when calling an expression that has no effect on the surrounding code, such as writing 2 + 2 as a statement.

  • bool debug/gdscript/warnings/treat_warnings_as_errors
Default false

If true, all warnings will be reported as if they were errors.

  • bool debug/gdscript/warnings/unassigned_variable
Default true

If true, enables warnings when using a variable that wasn’t previously assigned.

  • bool debug/gdscript/warnings/unassigned_variable_op_assign
Default true

If true, enables warnings when assigning a variable using an assignment operator like += if the variable wasn’t previously assigned.

  • bool debug/gdscript/warnings/unreachable_code
Default true

If true, enables warnings when unreachable code is detected (such as after a return statement that will always be executed).

  • bool debug/gdscript/warnings/unsafe_call_argument
Default false

If true, enables warnings when using an expression whose type may not be compatible with the function parameter expected.

  • bool debug/gdscript/warnings/unsafe_cast
Default false

If true, enables warnings when performing an unsafe cast.

  • bool debug/gdscript/warnings/unsafe_method_access
Default false

If true, enables warnings when calling a method whose presence is not guaranteed at compile-time in the class.

  • bool debug/gdscript/warnings/unsafe_property_access
Default false

If true, enables warnings when accessing a property whose presence is not guaranteed at compile-time in the class.

  • bool debug/gdscript/warnings/unused_argument
Default true

If true, enables warnings when a function parameter is unused.

  • bool debug/gdscript/warnings/unused_class_variable
Default true

If true, enables warnings when a member variable is unused.

  • bool debug/gdscript/warnings/unused_signal
Default true

If true, enables warnings when a signal is unused.

  • bool debug/gdscript/warnings/unused_variable
Default true

If true, enables warnings when a local variable is unused.

  • bool debug/gdscript/warnings/variable_conflicts_function
Default true

If true, enables warnings when a variable is declared with the same name as a function. This will turn into an error in a future version when first-class functions become supported in GDScript.

  • bool debug/gdscript/warnings/void_assignment
Default true

If true, enables warnings when assigning the result of a function that returns void to a variable.

  • String debug/settings/crash_handler/message
Default “Please include this when reporting the bug on https://github.com/godotengine/godot/issues

Message to be displayed before the backtrace when the engine crashes.

  • int debug/settings/fps/force_fps
Default 0
  • int debug/settings/gdscript/max_call_stack
Default 1024

Maximum call stack allowed for debugging GDScript.

  • int debug/settings/profiler/max_functions
Default 16384

Maximum amount of functions per frame allowed when profiling.

  • bool debug/settings/stdout/print_fps
Default false

Print frames per second to standard output every second.

  • bool debug/settings/stdout/verbose_stdout
Default false

Print more information to standard output when running. It displays information such as memory leaks, which scenes and resources are being loaded, etc.

  • int debug/settings/visual_script/max_call_stack
Default 1024

Maximum call stack in visual scripting, to avoid infinite recursion.

  • String display/mouse_cursor/custom_image
Default “”

Custom image for the mouse cursor (limited to 256×256).

  • Vector2 display/mouse_cursor/custom_image_hotspot
Default Vector2( 0, 0 )

Hotspot for the custom mouse cursor image.

  • Vector2 display/mouse_cursor/tooltip_position_offset
Default Vector2( 10, 10 )

Position offset for tooltips, relative to the mouse cursor’s hotspot.

  • bool display/window/dpi/allow_hidpi
Default false

If true, allows HiDPI display on Windows and macOS. This setting has no effect on desktop Linux, as DPI-awareness fallbacks are not supported there.

  • bool display/window/energy_saving/keep_screen_on
Default true

If true, keeps the screen on (even in case of inactivity), so the screensaver does not take over. Works on desktop and mobile platforms.

  • String display/window/handheld/orientation
Default “landscape”

Default orientation on mobile devices.

  • bool display/window/per_pixel_transparency/allowed
Default false

If true, allows per-pixel transparency in a desktop window. This affects performance, so leave it on false unless you need it.

  • bool display/window/per_pixel_transparency/enabled
Default false

Sets the window background to transparent when it starts.

  • bool display/window/size/always_on_top
Default false

Force the window to be always on top.

  • bool display/window/size/borderless
Default false

Force the window to be borderless.

  • bool display/window/size/fullscreen
Default false

Sets the window to full screen when it starts.

  • int display/window/size/height
Default 600

Sets the main window height. On desktop, this is the default window size. Stretch mode settings use this also as a reference when enabled.

  • bool display/window/size/resizable
Default true

Allows the window to be resizable by default.

  • int display/window/size/test_height
Default 0

If greater than zero, uses a different height for the window when running from the editor. The main use for this is to test with stretch modes.

  • int display/window/size/test_width
Default 0

If greater than zero, uses a different width for the window when running from the editor. The main use for this is to test with stretch modes.

  • int display/window/size/width
Default 1024

Sets the main window width. On desktop platforms, this is the default window size. Stretch mode settings use this also as a reference when enabled.

  • bool display/window/vsync/use_vsync
Default true

If true, enables vertical synchronization. This eliminates tearing that may appear in moving scenes, at the cost of higher input latency and stuttering at lower framerates. If false, vertical synchronization will be disabled, however, many platforms will enforce it regardless (such as mobile platforms and HTML5).

  • bool editor/active
Default false

Internal editor setting, don’t touch.

Default PoolStringArray( “gd”, “shader” )
  • int gui/common/default_scroll_deadzone
Default 0
  • bool gui/common/swap_ok_cancel
Default false

If true, swaps OK and Cancel buttons in dialogs on Windows and UWP to follow interface conventions.

Default “”

Use a custom theme resource, set a path to it here.

  • String gui/theme/custom_font
Default “”

Use a custom default font resource, set a path to it here.

  • bool gui/theme/use_hidpi
Default false

If true, makes sure the theme used works with HiDPI.

  • int gui/timers/incremental_search_max_interval_msec
Default 2000

Timer setting for incremental search in Tree, IntemList, etc. controls (in milliseconds).

  • float gui/timers/text_edit_idle_detect_sec
Default 3

Timer for detecting idle in the editor (in seconds).

Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777221,”unicode”:0,”echo”:false,”script”:null), Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777222,”unicode”:0,”echo”:false,”script”:null), Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:32,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:0,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777217,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:1,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777234,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:13,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777230,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777218,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:true,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777218,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777229,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777231,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:14,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777236,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777235,”unicode”:0,”echo”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777233,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:15,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:32,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:3,”pressure”:0.0,”pressed”:false,”script”:null) ]}
Default {“deadzone”: 0.5,”events”: [ Object(InputEventKey,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”alt”:false,”shift”:false,”control”:false,”meta”:false,”command”:false,”pressed”:false,”scancode”:16777232,”unicode”:0,”echo”:false,”script”:null), Object(InputEventJoypadButton,”resource_local_to_scene”:false,”resource_name”:”“,”device”:0,”button_index”:12,”pressure”:0.0,”pressed”:false,”script”:null) ]}
  • bool input_devices/pointing/emulate_mouse_from_touch
Default true

If true, sends mouse input events when tapping or swiping on the touchscreen.

  • bool input_devices/pointing/emulate_touch_from_mouse
Default false

If true, sends touch input events when clicking or dragging the mouse.

  • String layer_names/2d_physics/layer_1
Default “”
  • String layer_names/2d_physics/layer_10
Default “”
  • String layer_names/2d_physics/layer_11
Default “”
  • String layer_names/2d_physics/layer_12
Default “”
  • String layer_names/2d_physics/layer_13
Default “”
  • String layer_names/2d_physics/layer_14
Default “”
  • String layer_names/2d_physics/layer_15
Default “”
  • String layer_names/2d_physics/layer_16
Default “”
  • String layer_names/2d_physics/layer_17
Default “”
  • String layer_names/2d_physics/layer_18
Default “”
  • String layer_names/2d_physics/layer_19
Default “”
  • String layer_names/2d_physics/layer_2
Default “”
  • String layer_names/2d_physics/layer_20
Default “”
  • String layer_names/2d_physics/layer_3
Default “”
  • String layer_names/2d_physics/layer_4
Default “”
  • String layer_names/2d_physics/layer_5
Default “”
  • String layer_names/2d_physics/layer_6
Default “”
  • String layer_names/2d_physics/layer_7
Default “”
  • String layer_names/2d_physics/layer_8
Default “”
  • String layer_names/2d_physics/layer_9
Default “”
  • String layer_names/2d_render/layer_1
Default “”
  • String layer_names/2d_render/layer_10
Default “”
  • String layer_names/2d_render/layer_11
Default “”
  • String layer_names/2d_render/layer_12
Default “”
  • String layer_names/2d_render/layer_13
Default “”
  • String layer_names/2d_render/layer_14
Default “”
  • String layer_names/2d_render/layer_15
Default “”
  • String layer_names/2d_render/layer_16
Default “”
  • String layer_names/2d_render/layer_17
Default “”
  • String layer_names/2d_render/layer_18
Default “”
  • String layer_names/2d_render/layer_19
Default “”
  • String layer_names/2d_render/layer_2
Default “”
  • String layer_names/2d_render/layer_20
Default “”
  • String layer_names/2d_render/layer_3
Default “”
  • String layer_names/2d_render/layer_4
Default “”
  • String layer_names/2d_render/layer_5
Default “”
  • String layer_names/2d_render/layer_6
Default “”
  • String layer_names/2d_render/layer_7
Default “”
  • String layer_names/2d_render/layer_8
Default “”
  • String layer_names/2d_render/layer_9
Default “”
  • String layer_names/3d_physics/layer_1
Default “”
  • String layer_names/3d_physics/layer_10
Default “”
  • String layer_names/3d_physics/layer_11
Default “”
  • String layer_names/3d_physics/layer_12
Default “”
  • String layer_names/3d_physics/layer_13
Default “”
  • String layer_names/3d_physics/layer_14
Default “”
  • String layer_names/3d_physics/layer_15
Default “”
  • String layer_names/3d_physics/layer_16
Default “”
  • String layer_names/3d_physics/layer_17
Default “”
  • String layer_names/3d_physics/layer_18
Default “”
  • String layer_names/3d_physics/layer_19
Default “”
  • String layer_names/3d_physics/layer_2
Default “”
  • String layer_names/3d_physics/layer_20
Default “”
  • String layer_names/3d_physics/layer_3
Default “”
  • String layer_names/3d_physics/layer_4
Default “”
  • String layer_names/3d_physics/layer_5
Default “”
  • String layer_names/3d_physics/layer_6
Default “”
  • String layer_names/3d_physics/layer_7
Default “”
  • String layer_names/3d_physics/layer_8
Default “”
  • String layer_names/3d_physics/layer_9
Default “”
  • String layer_names/3d_render/layer_1
Default “”
  • String layer_names/3d_render/layer_10
Default “”
  • String layer_names/3d_render/layer_11
Default “”
  • String layer_names/3d_render/layer_12
Default “”
  • String layer_names/3d_render/layer_13
Default “”
  • String layer_names/3d_render/layer_14
Default “”
  • String layer_names/3d_render/layer_15
Default “”
  • String layer_names/3d_render/layer_16
Default “”
  • String layer_names/3d_render/layer_17
Default “”
  • String layer_names/3d_render/layer_18
Default “”
  • String layer_names/3d_render/layer_19
Default “”
  • String layer_names/3d_render/layer_2
Default “”
  • String layer_names/3d_render/layer_20
Default “”
  • String layer_names/3d_render/layer_3
Default “”
  • String layer_names/3d_render/layer_4
Default “”
  • String layer_names/3d_render/layer_5
Default “”
  • String layer_names/3d_render/layer_6
Default “”
  • String layer_names/3d_render/layer_7
Default “”
  • String layer_names/3d_render/layer_8
Default “”
  • String layer_names/3d_render/layer_9
Default “”
Default “en”

The locale to fall back to if a translation isn’t available in a given language. If left empty, en (English) will be used.

Default “”

If non-empty, this locale will be used when running the project from the editor.

  • bool logging/file_logging/enable_file_logging
Default false

If true, logs all output to files.

  • String logging/file_logging/log_path
Default “user://logs/log.txt”

Path to logs within the project. Using an user:// path is recommended.

  • int logging/file_logging/max_log_files
Default 10

Specifies the maximum amount of log files allowed (used for rotation).

  • int memory/limits/message_queue/max_size_kb
Default 1024

Godot uses a message queue to defer some function calls. If you run out of space on it (you will see an error), you can increase the size here.

  • int memory/limits/multithreaded_server/rid_pool_prealloc
Default 60

This is used by servers when used in multi-threading mode (servers and visual). RIDs are preallocated to avoid stalling the server requesting them on threads. If servers get stalled too often when loading resources in a thread, increase this number.

  • int network/limits/debugger_stdout/max_chars_per_second
Default 2048

Maximum amount of characters allowed to send as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.

  • int network/limits/debugger_stdout/max_errors_per_frame
Default 10

Maximum amount of errors allowed to send as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.

  • int network/limits/debugger_stdout/max_messages_per_frame
Default 10

Maximum amount of messages allowed to send as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.

  • int network/limits/packet_peer_stream/max_buffer_po2
Default 16

Default size of packet peer stream for deserializing Godot data. Over this size, data is dropped.

  • int network/limits/tcp/connect_timeout_seconds
Default 30
  • int network/limits/websocket_client/max_in_buffer_kb
Default 64
  • int network/limits/websocket_client/max_in_packets
Default 1024
  • int network/limits/websocket_client/max_out_buffer_kb
Default 64
  • int network/limits/websocket_client/max_out_packets
Default 1024
  • int network/limits/websocket_server/max_in_buffer_kb
Default 64
  • int network/limits/websocket_server/max_in_packets
Default 1024
  • int network/limits/websocket_server/max_out_buffer_kb
Default 64
  • int network/limits/websocket_server/max_out_packets
Default 1024
  • int network/remote_fs/page_read_ahead
Default 4

Amount of read ahead used by remote filesystem. Higher values decrease the effects of latency at the cost of higher bandwidth usage.

  • int network/remote_fs/page_size
Default 65536

Page size used by remote filesystem (in bytes).

  • int node/name_casing
Default 0

When creating node names automatically, set the type of casing in this project. This is mostly an editor setting.

  • int node/name_num_separator
Default 0

What to use to separate node name from number. This is mostly an editor setting.

  • int physics/2d/default_gravity
Default 98
  • String physics/2d/physics_engine
Default “DEFAULT”
  • int physics/2d/thread_model
Default 1

Sets whether physics is run on the main thread or a separate one. Running the server on a thread increases performance, but restricts API access to only physics process.

  • bool physics/3d/active_soft_world
Default true
  • float physics/3d/default_gravity
Default 9.8
  • String physics/3d/physics_engine
Default “DEFAULT”

Sets which physics engine to use.

  • int physics/common/physics_fps
Default 60

Frames per second used in the physics. Physics always needs a fixed amount of frames per second.

  • float physics/common/physics_jitter_fix
Default 0.5

Fix to improve physics jitter, specially on monitors where refresh rate is different than the physics FPS.

  • Color rendering/environment/default_clear_color
Default Color( 0.3, 0.3, 0.3, 1 )

Default background clear color. Overriddable per Viewport using its Environment. See Environment.background_mode and Environment.background_color in particular. To change this default color programmatically, use VisualServer.set_default_clear_color.

  • int rendering/limits/buffers/blend_shape_max_buffer_size_kb
Default 4096

Max buffer size for blend shapes. Any blend shape bigger than this will not work.

  • int rendering/limits/buffers/canvas_polygon_buffer_size_kb
Default 128

Max buffer size for drawing polygons. Any polygon bigger than this will not work.

  • int rendering/limits/buffers/canvas_polygon_index_buffer_size_kb
Default 128

Max index buffer size for drawing polygons. Any polygon bigger than this will not work.

  • int rendering/limits/buffers/immediate_buffer_size_kb
Default 2048

Max buffer size for drawing immediate objects (ImmediateGeometry nodes). Nodes using more than this size will not work.

  • int rendering/limits/rendering/max_renderable_elements
Default 65536

Max amount of elements renderable in a frame. If more than this are visible per frame, they will be dropped. Keep in mind elements refer to mesh surfaces and not meshes themselves.

  • int rendering/limits/rendering/max_renderable_lights
Default 4096

Max number of lights renderable in a frame. If more than this number are used, they will be ignored. On some systems (particularly web) setting this number as low as possible can increase the speed of shader compilation.

  • int rendering/limits/rendering/max_renderable_reflections
Default 1024

Max number of reflection probes renderable in a frame. If more than this number are used, they will be ignored. On some systems (particularly web) setting this number as low as possible can increase the speed of shader compilation.

  • float rendering/limits/time/time_rollover_secs
Default 3600

Shaders have a time variable that constantly increases. At some point, it needs to be rolled back to zero to avoid precision errors on shader animations. This setting specifies when (in seconds).

  • bool rendering/quality/2d/gles2_use_nvidia_rect_flicker_workaround
Default false

Some NVIDIA GPU drivers have a bug which produces flickering issues for the draw_rect method, especially as used in TileMap. Refer to GitHub issue 9913 for details.

If true, this option enables a “safe” code path for such NVIDIA GPUs at the cost of performance. This option only impacts the GLES2 rendering backend (so the bug stays if you use GLES3), and only desktop platforms.

  • bool rendering/quality/2d/use_pixel_snap
Default false

If true, forces snapping of polygons to pixels in 2D rendering. May help in some pixel art styles.

  • String rendering/quality/depth_prepass/disable_for_vendors
Default “PowerVR,Mali,Adreno,Apple”

Disables depth pre-pass for some GPU vendors (usually mobile), as their architecture already does this.

  • bool rendering/quality/depth_prepass/enable
Default true

If true, performs a previous depth pass before rendering materials. This increases performance in scenes with high overdraw, when complex materials and lighting are used.

  • int rendering/quality/directional_shadow/size
Default 4096

The directional shadow’s size in pixels. Higher values will result in sharper shadows, at the cost of performance.

  • int rendering/quality/directional_shadow/size.mobile
Default 2048
  • String rendering/quality/driver/driver_name
Default “GLES3”

The video driver to use (“GLES2” or “GLES3”).

Note: The backend in use can be overridden at runtime via the --video-driver command line argument, or by the rendering/quality/driver/fallback_to_gles2 option if the target system does not support GLES3 and falls back to GLES2. In such cases, this property is not updated, so use OS.get_current_video_driver to query it at run-time.

  • bool rendering/quality/driver/fallback_to_gles2
Default false

If true, allows falling back to the GLES2 driver if the GLES3 driver is not supported.

Note: The two video drivers are not drop-in replacements for each other, so a game designed for GLES3 might not work properly when falling back to GLES2. In particular, some features of the GLES3 backend are not available in GLES2. Enabling this setting also means that both ETC and ETC2 VRAM-compressed textures will be exported on Android and iOS, increasing the data pack’s size.

  • int rendering/quality/filters/anisotropic_filter_level
Default 4

Maximum anisotropic filter level used for textures with anisotropy enabled. Higher values will result in sharper textures when viewed from oblique angles, at the cost of performance. Only power-of-two values are valid (2, 4, 8, 16).

  • bool rendering/quality/filters/use_nearest_mipmap_filter
Default false

If true, uses nearest-neighbor mipmap filtering when using mipmaps (also called “bilinear filtering”), which will result in visible seams appearing between mipmap stages. This may increase performance in mobile as less memory bandwidth is used. If false, linear mipmap filtering (also called “trilinear filtering”) is used.

  • int rendering/quality/intended_usage/framebuffer_allocation
Default 2

Strategy used for framebuffer allocation. The simpler it is, the less resources it uses (but the less features it supports).

  • int rendering/quality/intended_usage/framebuffer_allocation.mobile
Default 3
  • bool rendering/quality/reflections/high_quality_ggx
Default true

If true, uses a high amount of samples to create blurred variants of reflection probes and panorama backgrounds (sky). Those blurred variants are used by rough materials.

  • bool rendering/quality/reflections/high_quality_ggx.mobile
Default false
  • bool rendering/quality/reflections/texture_array_reflections
Default true

If true, uses texture arrays instead of mipmaps for reflection probes and panorama backgrounds (sky). This reduces jitter noise on reflections, but costs more performance and memory.

  • bool rendering/quality/reflections/texture_array_reflections.mobile
Default false
  • bool rendering/quality/shading/force_blinn_over_ggx
Default false

If true, uses faster but lower-quality Blinn model to generate blurred reflections instead of the GGX model.

  • bool rendering/quality/shading/force_blinn_over_ggx.mobile
Default true
  • bool rendering/quality/shading/force_lambert_over_burley
Default false

If true, uses faster but lower-quality Lambert material lighting model instead of Burley.

  • bool rendering/quality/shading/force_lambert_over_burley.mobile
Default true
  • bool rendering/quality/shading/force_vertex_shading
Default false

If true, forces vertex shading for all rendering. This can increase performance a lot, but also reduces quality immensely. Can be used to optimize performance on low-end mobile devices.

  • bool rendering/quality/shading/force_vertex_shading.mobile
Default true
  • int rendering/quality/shadow_atlas/quadrant_0_subdiv
Default 1

Subdivision quadrant size for shadow mapping. See shadow mapping documentation.

  • int rendering/quality/shadow_atlas/quadrant_1_subdiv
Default 2

Subdivision quadrant size for shadow mapping. See shadow mapping documentation.

  • int rendering/quality/shadow_atlas/quadrant_2_subdiv
Default 3

Subdivision quadrant size for shadow mapping. See shadow mapping documentation.

  • int rendering/quality/shadow_atlas/quadrant_3_subdiv
Default 4

Subdivision quadrant size for shadow mapping. See shadow mapping documentation.

  • int rendering/quality/shadow_atlas/size
Default 4096

Size for shadow atlas (used for OmniLights and SpotLights). See documentation.

  • int rendering/quality/shadow_atlas/size.mobile
Default 2048
  • int rendering/quality/shadows/filter_mode
Default 1

Shadow filter mode. Higher-quality settings result in smoother shadows that flicker less when moving. “Disabled” is the fastest option, but also has the lowest quality. “PCF5” is smoother but is also slower. “PCF13” is the smoothest option, but is also the slowest.

  • int rendering/quality/shadows/filter_mode.mobile
Default 0
  • bool rendering/quality/subsurface_scattering/follow_surface
Default false

Improves quality of subsurface scattering, but cost significantly increases.

  • int rendering/quality/subsurface_scattering/quality
Default 1

Quality setting for subsurface scaterring (samples taken).

  • int rendering/quality/subsurface_scattering/scale
Default 1.0
  • bool rendering/quality/subsurface_scattering/weight_samples
Default true

Weight subsurface scattering samples. Helps to avoid reading samples from unrelated parts of the screen.

  • bool rendering/quality/voxel_cone_tracing/high_quality
Default false

Use high-quality voxel cone tracing. This results in better-looking reflections, but is much more expensive on the GPU.

  • int rendering/threads/thread_model
Default 1

Thread model for rendering. Rendering on a thread can vastly improve performance, but synchronizing to the main thread can cause a bit more jitter.

  • bool rendering/vram_compression/import_bptc
Default false

If true, the texture importer will import VRAM-compressed textures using the BPTC algorithm. This texture compression algorithm is only supported on desktop platforms, and only when using the GLES3 renderer.

  • bool rendering/vram_compression/import_etc
Default false

If true, the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression algorithm. This algorithm doesn’t support alpha channels in textures.

  • bool rendering/vram_compression/import_etc2
Default true

If true, the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression 2 algorithm. This texture compression algorithm is only supported when using the GLES3 renderer.

  • bool rendering/vram_compression/import_pvrtc
Default false

If true, the texture importer will import VRAM-compressed textures using the PowerVR Texture Compression algorithm. This texture compression algorithm is only supported on iOS.

  • bool rendering/vram_compression/import_s3tc
Default true

If true, the texture importer will import VRAM-compressed textures using the S3 Texture Compression algorithm. This algorithm is only supported on desktop platforms and consoles.

Method Descriptions

Adds a custom property info to a property. The dictionary must contain: name:String(the property’s name) and type:int(see TYPE_* in @GlobalScope), and optionally hint:int(see PROPERTY_HINT_* in @GlobalScope), hint_string:String.

Example:

ProjectSettings.set("category/property_name", 0)

var property_info = {
    "name": "category/property_name",
    "type": TYPE_INT,
    "hint": PROPERTY_HINT_ENUM,
    "hint_string": "one,two,three"
}

ProjectSettings.add_property_info(property_info)

Clears the whole configuration (not recommended, may break things).

Returns the order of a configuration value (influences when saved to the config file).

Converts a localized path (res://) to a full native OS path.

Returns true if a configuration value is present.

Loads the contents of the .pck or .zip file specified by pack into the resource filesystem (res://). Returns true on success.

Note: If a file from pack shares the same path as a file already in the resource filesystem, any attempts to load that file will use the file from pack.

Convert a path to a localized path (res:// path).

Returns true if the specified property exists and its initial value differs from the current value.

Returns the specified property’s initial value. Returns null if the property does not exist.

Saves the configuration to the project.godot file.

Saves the configuration to a custom file.

  • void set_order ( String name, int position )

Sets the order of a configuration value (influences when saved to the config file).