ProjectSettingsΒΆ
Inherits: Object
Stores globally-accessible variables.
DescriptionΒΆ
Stores variables that can be accessed 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.
When naming a Project Settings property, use the full path to the setting including the category. For example, "application/config/name"
for the project name. Category and property names can be viewed in the Project Settings dialog.
Feature tags: Project settings can be overridden for specific platforms and configurations (debug, release, ...) using feature tags.
Overriding: Any project setting can be overridden by creating a file named override.cfg
in the project's root directory. This can also be used in exported projects by placing this file in the same directory as the project binary. Overriding will still take the base project settings' feature tags in account. Therefore, make sure to also override the setting with the desired feature tags if you want them to override base project settings on all platforms and configurations.
TutorialsΒΆ
PropertiesΒΆ
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
internationalization/pseudolocalization/replace_with_accents |
|
|
|
||
|
||
internationalization/pseudolocalization/use_pseudolocalization |
|
|
internationalization/rendering/force_right_to_left_layout_direction |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
navigation/avoidance/thread_model/avoidance_use_high_priority_threads |
|
|
navigation/avoidance/thread_model/avoidance_use_multiple_threads |
|
|
navigation/baking/thread_model/baking_use_high_priority_threads |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/anti_aliasing/screen_space_roughness_limiter/amount |
|
|
rendering/anti_aliasing/screen_space_roughness_limiter/enabled |
|
|
rendering/anti_aliasing/screen_space_roughness_limiter/limit |
|
|
rendering/camera/depth_of_field/depth_of_field_bokeh_quality |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/environment/screen_space_reflection/roughness_quality |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/environment/subsurface_scattering/subsurface_scattering_depth_scale |
|
|
rendering/environment/subsurface_scattering/subsurface_scattering_quality |
|
|
rendering/environment/subsurface_scattering/subsurface_scattering_scale |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/gl_compatibility/nvidia_disable_threaded_optimization |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
rendering/lightmapping/bake_performance/max_rays_per_probe_pass |
|
|
|
||
rendering/lightmapping/bake_quality/high_quality_probe_ray_count |
|
|
|
||
rendering/lightmapping/bake_quality/low_quality_probe_ray_count |
|
|
|
||
rendering/lightmapping/bake_quality/medium_quality_probe_ray_count |
|
|
rendering/lightmapping/bake_quality/medium_quality_ray_count |
|
|
rendering/lightmapping/bake_quality/ultra_quality_probe_ray_count |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality |
|
|
rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality.mobile |
|
|
rendering/lights_and_shadows/positional_shadow/atlas_16_bits |
|
|
rendering/lights_and_shadows/positional_shadow/atlas_quadrant_0_subdiv |
|
|
rendering/lights_and_shadows/positional_shadow/atlas_quadrant_1_subdiv |
|
|
rendering/lights_and_shadows/positional_shadow/atlas_quadrant_2_subdiv |
|
|
rendering/lights_and_shadows/positional_shadow/atlas_quadrant_3_subdiv |
|
|
|
||
rendering/lights_and_shadows/positional_shadow/atlas_size.mobile |
|
|
rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality |
|
|
rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality.mobile |
|
|
|
||
|
||
rendering/limits/forward_renderer/threaded_render_minimum_instances |
|
|
|
||
|
||
|
||
|
||
rendering/limits/spatial_indexer/threaded_cull_minimum_instances |
|
|
rendering/limits/spatial_indexer/update_iterations_per_frame |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/reflections/reflection_atlas/reflection_size.mobile |
|
|
rendering/reflections/sky_reflections/fast_filter_high_quality |
|
|
|
||
|
||
|
||
rendering/reflections/sky_reflections/texture_array_reflections |
|
|
rendering/reflections/sky_reflections/texture_array_reflections.mobile |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/rendering_device/pipeline_cache/save_chunk_size_mb |
|
|
|
||
|
||
rendering/rendering_device/staging_buffer/texture_upload_region_size_px |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/shading/overrides/force_lambert_over_burley.mobile |
|
|
|
||
|
||
|
||
|
||
|
||
rendering/textures/default_filters/anisotropic_filtering_level |
|
|
|
||
rendering/textures/default_filters/use_nearest_mipmap_filter |
|
|
|
||
|
||
|
||
|
||
|
||
rendering/textures/webp_compression/lossless_compression_factor |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
threading/worker_pool/use_system_threads_for_low_priority_tasks |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
MethodsΒΆ
void |
add_property_info ( Dictionary hint ) |
void |
|
get_setting ( String name, Variant default_value=null ) const |
|
get_setting_with_override ( StringName name ) const |
|
globalize_path ( String path ) const |
|
has_setting ( String name ) const |
|
load_resource_pack ( String pack, bool replace_files=true, int offset=0 ) |
|
localize_path ( String path ) const |
|
save ( ) |
|
save_custom ( String file ) |
|
void |
set_as_basic ( String name, bool basic ) |
void |
set_as_internal ( String name, bool internal ) |
void |
set_initial_value ( String name, Variant value ) |
void |
|
void |
set_restart_if_changed ( String name, bool restart ) |
void |
set_setting ( String name, Variant value ) |
SignalsΒΆ
settings_changed ( )
Emitted when any setting is changed, up to once per process frame.
Property DescriptionsΒΆ
Color application/boot_splash/bg_color = Color(0.14, 0.14, 0.14, 1)
Background color for the boot splash.
bool application/boot_splash/fullsize = true
If true
, scale the boot splash image to the full window size (preserving the aspect ratio) when the engine starts. If false
, the engine will leave it at the default pixel size.
String application/boot_splash/image = ""
Path to an image used as the boot splash. If left empty, the default Godot Engine splash will be displayed instead.
Note: Only effective if application/boot_splash/show_image is true
.
Note: The only supported format is PNG. Using another image format will result in an error.
int application/boot_splash/minimum_display_time = 0
Minimum boot splash display time (in milliseconds). It is not recommended to set too high values for this setting.
bool application/boot_splash/show_image = true
If true
, displays the image specified in application/boot_splash/image when the engine starts. If false
, only displays the plain color specified in application/boot_splash/bg_color.
bool application/boot_splash/use_filter = 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).
bool application/config/auto_accept_quit = true
If true
, the application automatically accepts quitting requests.
String application/config/custom_user_dir_name = ""
This user directory is used for storing persistent data (user://
filesystem). If a custom directory name is defined, this name will be 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/description = ""
The project's description, displayed as a tooltip in the Project Manager when hovering the project.
String application/config/icon = ""
Icon used for the project, set when project loads. Exporters will also use this icon as a fallback if necessary.
String application/config/macos_native_icon = ""
Icon set in .icns
format used on macOS to set the game's icon. This is done automatically on start by calling DisplayServer.set_native_icon.
String application/config/name = ""
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. The window title will be set to match the project name automatically on startup.
Note: Changing this value will also change the user data folder's path if application/config/use_custom_user_dir is false
. After renaming the project, you will no longer be able to access existing data in user://
unless you rename the old folder to match the new project name. See Data paths in the documentation for more information.
Dictionary application/config/name_localized = {}
Translations of the project's name. This setting is used by OS tools to translate application name on Android, iOS and macOS.
String application/config/project_settings_override = ""
Specifies a file to override project settings. For example: user://custom_settings.cfg
. See "Overriding" in the ProjectSettings class description at the top for more information.
Note: Regardless of this setting's value, res://override.cfg
will still be read to override the project settings.
bool application/config/quit_on_go_back = true
If true
, the application quits automatically when navigating back (e.g. using the system "Back" button on Android).
bool application/config/use_custom_user_dir = false
If true
, the project will save user data to its own user directory. If application/config/custom_user_dir_name is empty, <OS user data directory>/<project name>
directory will be used. If false
, the project will save user data to <OS user data directory>/Godot/app_userdata/<project name>
.
See also File paths in Godot projects. This setting is only effective on desktop platforms.
If true
, the project will use a hidden directory (.godot
) for storing project-specific data (metadata, shader cache, etc.).
If false
, a non-hidden directory (godot
) will be used instead.
Note: Restart the application after changing this setting.
Note: Changing this value can help on platforms or with third-party tools where hidden directory patterns are disallowed. Only modify this setting if you know that your environment requires it, as changing the default can impact compatibility with some external tools or plugins which expect the default .godot
folder.
String application/config/version = ""
The project's human-readable version identifier. This is used by exporters if the version identifier isn't overridden there. If application/config/version is an empty string and the version identifier isn't overridden in an exporter, the exporter will use 1.0.0
as a version identifier.
String application/config/windows_native_icon = ""
Icon set in .ico
format used on Windows to set the game's icon. This is done automatically on start by calling DisplayServer.set_native_icon.
bool application/run/delta_smoothing = true
Time samples for frame deltas are subject to random variation introduced by the platform, even when frames are displayed at regular intervals thanks to V-Sync. This can lead to jitter. Delta smoothing can often give a better result by filtering the input deltas to correct for minor fluctuations from the refresh rate.
Note: Delta smoothing is only attempted when display/window/vsync/vsync_mode is set to enabled
, as it does not work well without V-Sync.
It may take several seconds at a stable frame rate before the smoothing is initially activated. It will only be active on machines where performance is adequate to render frames at the refresh rate.
bool application/run/disable_stderr = false
If true
, disables printing to standard error. If true
, this also hides error and warning messages printed by @GlobalScope.push_error and @GlobalScope.push_warning. See also application/run/disable_stdout.
Changes to this setting will only be applied upon restarting the application.
bool application/run/disable_stdout = false
If true
, disables printing to standard output. This is equivalent to starting the editor or project with the --quiet
command line argument. See also application/run/disable_stderr.
Changes to this setting will only be applied upon restarting the application.
bool application/run/flush_stdout_on_print = false
If true
, flushes the standard output stream every time a line is printed. This affects both terminal logging and file logging.
When running a project, this setting must be enabled if you want logs to be collected by service managers such as systemd/journalctl. This setting is disabled by default on release builds, since flushing on every printed line will negatively affect performance if lots of lines are printed in a rapid succession. Also, if this setting is enabled, logged files will still be written successfully if the application crashes or is otherwise killed by the user (without being closed "normally").
Note: Regardless of this setting, the standard error stream (stderr
) is always flushed when a line is printed to it.
Changes to this setting will only be applied upon restarting the application.
bool application/run/flush_stdout_on_print.debug = true
Debug build override for application/run/flush_stdout_on_print, as performance is less important during debugging.
Changes to this setting will only be applied upon restarting the application.
int application/run/frame_delay_msec = 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 = 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 = 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_loop_type = "SceneTree"
The name of the type implementing the engine's main loop.
String application/run/main_scene = ""
Path to the main scene file that will be loaded when the project runs.
int application/run/max_fps = 0
Maximum number of frames per second allowed. A value of 0
means "no limit". The actual number of frames per second may still be below this value if the CPU or GPU cannot keep up with the project logic and rendering.
Limiting the FPS can be useful to reduce system power consumption, which reduces heat and noise emissions (and improves battery life on mobile devices).
If display/window/vsync/vsync_mode is set to Enabled
or Adaptive
, it takes precedence and the forced FPS number cannot exceed the monitor's refresh rate.
If display/window/vsync/vsync_mode is Enabled
, on monitors with variable refresh rate enabled (G-Sync/FreeSync), using a FPS limit a few frames lower than the monitor's refresh rate will reduce input lag while avoiding tearing.
If display/window/vsync/vsync_mode is Disabled
, limiting the FPS to a high value that can be consistently reached on the system can reduce input lag compared to an uncapped framerate. Since this works by ensuring the GPU load is lower than 100%, this latency reduction is only effective in GPU-bottlenecked scenarios, not CPU-bottlenecked scenarios.
See also physics/common/physics_ticks_per_second.
This setting can be overridden using the --max-fps <fps;>
command line argument (including with a value of 0
for unlimited framerate).
Note: This property is only read when the project starts. To change the rendering FPS cap at runtime, set Engine.max_fps instead.
float audio/buses/channel_disable_threshold_db = -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/buses/channel_disable_time = 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/buses/default_bus_layout = "res://default_bus_layout.tres"
Default AudioBusLayout resource file to use in the project, unless overridden by the scene.
String audio/driver/driver
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.
The Dummy
audio driver disables all audio playback and recording, which is useful for non-game applications as it reduces CPU usage. It also prevents the engine from appearing as an application playing audio in the OS' audio mixer.
Note: The driver in use can be overridden at runtime via the --audio-driver
command line argument.
bool audio/driver/enable_input = false
If true
, microphone input will be allowed. This requires appropriate permissions to be set when exporting to Android or iOS.
Note: If the operating system blocks access to audio input devices (due to the user's privacy settings), audio capture will only return silence. On Windows 10 and later, make sure that apps are allowed to access the microphone in the OS' privacy settings.
int audio/driver/mix_rate = 44100
The mixing rate used for audio (in Hz). In general, it's better to not touch this and leave it to the host operating system.
int audio/driver/mix_rate.web = 0
Safer override for audio/driver/mix_rate in the Web platform. Here 0
means "let the browser choose" (since some browsers do not like forcing the mix rate).
int audio/driver/output_latency = 15
Specifies the preferred 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.
Audio output latency may be constrained by the host operating system and audio hardware drivers. If the host can not provide the specified audio output latency then Godot will attempt to use the nearest latency allowed by the host. As such you should always use AudioServer.get_output_latency to determine the actual audio output latency.
Audio output latency can be overridden using the --audio-output-latency <ms>
command line argument.
Note: This setting is ignored on Android, and on all versions of Windows prior to Windows 10.
int audio/driver/output_latency.web = 50
Safer override for audio/driver/output_latency in the Web platform, to avoid audio issues especially on mobile devices.
float audio/general/2d_panning_strength = 0.5
The base strength of the panning effect for all AudioStreamPlayer2D nodes. The panning strength can be further scaled on each Node using AudioStreamPlayer2D.panning_strength. A value of 0.0
disables stereo panning entirely, leaving only volume attenuation in place. A value of 1.0
completely mutes one of the channels if the sound is located exactly to the left (or right) of the listener.
The default value of 0.5
is tuned for headphones. When using speakers, you may find lower values to sound better as speakers have a lower stereo separation compared to headphones.
float audio/general/3d_panning_strength = 0.5
The base strength of the panning effect for all AudioStreamPlayer3D nodes. The panning strength can be further scaled on each Node using AudioStreamPlayer3D.panning_strength. A value of 0.0
disables stereo panning entirely, leaving only volume attenuation in place. A value of 1.0
completely mutes one of the channels if the sound is located exactly to the left (or right) of the listener.
The default value of 0.5
is tuned for headphones. When using speakers, you may find lower values to sound better as speakers have a lower stereo separation compared to headphones.
bool audio/general/text_to_speech = false
If true
, text-to-speech support is enabled, see DisplayServer.tts_get_voices and DisplayServer.tts_speak.
Note: Enabling TTS can cause addition idle CPU usage and interfere with the sleep mode, so consider disabling it if TTS is not used.
int audio/video/video_delay_compensation_ms = 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 = -1
The default compression level for gzip. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. -1
uses the default gzip compression level, which is identical to 6
but could change in the future due to underlying zlib updates.
int compression/formats/zlib/compression_level = -1
The default compression level for Zlib. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. -1
uses the default gzip compression level, which is identical to 6
but could change in the future due to underlying zlib updates.
int compression/formats/zstd/compression_level = 3
The default compression level for Zstandard. Affects compressed scenes and resources. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level.
bool compression/formats/zstd/long_distance_matching = false
Enables long-distance matching in Zstandard.
int compression/formats/zstd/window_log_size = 27
Largest size limit (in power of 2) allowed when compressing using long-distance matching with Zstandard. Higher values can result in better compression, but will require more memory when compressing and decompressing.
bool debug/file_logging/enable_file_logging = false
If true
, logs all output to files.
bool debug/file_logging/enable_file_logging.pc = true
Desktop override for debug/file_logging/enable_file_logging, as log files are not readily accessible on mobile/Web platforms.
String debug/file_logging/log_path = "user://logs/godot.log"
Path at which to store log files for the project. Using a path under user://
is recommended.
int debug/file_logging/max_log_files = 5
Specifies the maximum number of log files allowed (used for rotation).
int debug/gdscript/warnings/assert_always_false = 1
When set to warn
or error
, produces a warning or an error respectively when an assert
call always evaluates to false.
int debug/gdscript/warnings/assert_always_true = 1
When set to warn
or error
, produces a warning or an error respectively when an assert
call always evaluates to true.
int debug/gdscript/warnings/confusable_identifier = 1
When set to warn
or error
, produces a warning or an error respectively when an identifier contains characters that can be confused with something else, like when mixing different alphabets.
int debug/gdscript/warnings/confusable_local_declaration = 1
When set to warn
or error
, produces a warning or an error respectively when an identifier declared in the nested block has the same name as an identifier declared below in the parent block.
int debug/gdscript/warnings/confusable_local_usage = 1
When set to warn
or error
, produces a warning or an error respectively when an identifier that will be shadowed below in the block is used.
int debug/gdscript/warnings/constant_used_as_function = 1
When set to warn
or error
, produces a warning or an error respectively when a constant is used as a function.
int debug/gdscript/warnings/deprecated_keyword = 1
When set to warn
or error
, produces a warning or an error respectively when deprecated keywords are used.
int debug/gdscript/warnings/empty_file = 1
When set to warn
or error
, produces a warning or an error respectively when an empty file is parsed.
bool debug/gdscript/warnings/enable = true
If true
, enables specific GDScript warnings (see debug/gdscript/warnings/*
settings). If false
, disables all GDScript warnings.
bool debug/gdscript/warnings/exclude_addons = true
If true
, scripts in the res://addons
folder will not generate warnings.
int debug/gdscript/warnings/function_used_as_property = 1
When set to warn
or error
, produces a warning or an error respectively when using a function as if it is a property.
int debug/gdscript/warnings/get_node_default_without_onready = 2
When set to warn
or error
, produces a warning or an error respectively when Node.get_node (or the shorthand $
) is used as default value of a class variable without the @onready
annotation.
int debug/gdscript/warnings/incompatible_ternary = 1
When set to warn
or error
, produces a warning or an error respectively when a ternary operator may emit values with incompatible types.
int debug/gdscript/warnings/inference_on_variant = 2
When set to warn
or error
, produces a warning or an error respectively when a static inferred type uses a Variant as initial value, which makes the static type to also be Variant.
int debug/gdscript/warnings/int_as_enum_without_cast = 1
When set to warn
or error
, produces a warning or an error respectively when trying to use an integer as an enum without an explicit cast.
int debug/gdscript/warnings/int_as_enum_without_match = 1
When set to warn
or error
, produces a warning or an error respectively when trying to use an integer as an enum when there is no matching enum member for that numeric value.
int debug/gdscript/warnings/integer_division = 1
When set to warn
or error
, produces a warning or an error respectively when dividing an integer by another integer (the decimal part will be discarded).
int debug/gdscript/warnings/narrowing_conversion = 1
When set to warn
or error
, produces a warning or an error respectively when passing a floating-point value to a function that expects an integer (it will be converted and lose precision).
int debug/gdscript/warnings/native_method_override = 2
When set to warn
or error
, produces a warning or an error respectively when a method in the script overrides a native method, because it may not behave as expected.
int debug/gdscript/warnings/onready_with_export = 2
When set to warn
or error
, produces a warning or an error respectively when the @onready
annotation is used together with the @export
annotation, since it may not behave as expected.
int debug/gdscript/warnings/property_used_as_function = 1
When set to warn
or error
, produces a warning or an error respectively when using a property as if it is a function.
int debug/gdscript/warnings/redundant_await = 1
When set to warn
or error
, produces a warning or an error respectively when a function that is not a coroutine is called with await.
int debug/gdscript/warnings/redundant_static_unload = 1
When set to warn
or error
, produces a warning or an error respectively when the @static_unload
annotation is used in a script without any static variables.
bool debug/gdscript/warnings/renamed_in_godot_4_hint = 1
When enabled, using a property, enum, or function that was renamed since Godot 3 will produce a hint if an error occurs.
int debug/gdscript/warnings/return_value_discarded = 0
When set to warn
or error
, produces a warning or an error respectively 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.
int debug/gdscript/warnings/shadowed_global_identifier = 1
When set to warn
or error
, produces a warning or an error respectively when defining a local or member variable, signal, or enum that would have the same name as a built-in function or global class name, thus shadowing it.
int debug/gdscript/warnings/shadowed_variable = 1
When set to warn
or error
, produces a warning or an error respectively when defining a local or member variable that would shadow a member variable that the class defines.
int debug/gdscript/warnings/shadowed_variable_base_class = 1
When set to warn
or error
, produces a warning or an error respectively when defining a local or subclass member variable that would shadow a variable that is inherited from a parent class.
int debug/gdscript/warnings/standalone_expression = 1
When set to warn
or error
, produces a warning or an error respectively when calling an expression that has no effect on the surrounding code, such as writing 2 + 2
as a statement.
int debug/gdscript/warnings/standalone_ternary = 1
When set to warn
or error
, produces a warning or an error respectively when calling a ternary expression that has no effect on the surrounding code, such as writing 42 if active else 0
as a statement.
int debug/gdscript/warnings/static_called_on_instance = 1
When set to warn
or error
, produces a warning or an error respectively when calling a static method from an instance of a class instead of from the class directly.
int debug/gdscript/warnings/unassigned_variable = 1
When set to warn
or error
, produces a warning or an error respectively when using a variable that wasn't previously assigned.
int debug/gdscript/warnings/unassigned_variable_op_assign = 1
When set to warn
or error
, produces a warning or an error respectively when assigning a variable using an assignment operator like +=
if the variable wasn't previously assigned.
int debug/gdscript/warnings/unreachable_code = 1
When set to warn
or error
, produces a warning or an error respectively when unreachable code is detected (such as after a return
statement that will always be executed).
int debug/gdscript/warnings/unreachable_pattern = 1
When set to warn
or error
, produces a warning or an error respectively when an unreachable match
pattern is detected.
int debug/gdscript/warnings/unsafe_call_argument = 0
When set to warn
or error
, produces a warning or an error respectively when using an expression whose type may not be compatible with the function parameter expected.
int debug/gdscript/warnings/unsafe_cast = 0
When set to warn
or error
, produces a warning or an error respectively when performing an unsafe cast.
int debug/gdscript/warnings/unsafe_method_access = 0
When set to warn
or error
, produces a warning or an error respectively when calling a method whose presence is not guaranteed at compile-time in the class.
int debug/gdscript/warnings/unsafe_property_access = 0
When set to warn
or error
, produces a warning or an error respectively when accessing a property whose presence is not guaranteed at compile-time in the class.
int debug/gdscript/warnings/unsafe_void_return = 1
When set to warn
or error
, produces a warning or an error respectively when returning a call from a void
function when such call cannot be guaranteed to be also void
.
int debug/gdscript/warnings/untyped_declaration = 0
When set to warn
or error
, produces a warning or an error respectively when a variable or parameter has no static type, or if a function has no static return type.
int debug/gdscript/warnings/unused_local_constant = 1
When set to warn
or error
, produces a warning or an error respectively when a local constant is never used.
int debug/gdscript/warnings/unused_parameter = 1
When set to warn
or error
, produces a warning or an error respectively when a function parameter is never used.
int debug/gdscript/warnings/unused_private_class_variable = 1
When set to warn
or error
, produces a warning or an error respectively when a private member variable is never used.
int debug/gdscript/warnings/unused_signal = 1
When set to warn
or error
, produces a warning or an error respectively when a signal is declared but never emitted.
int debug/gdscript/warnings/unused_variable = 1
When set to warn
or error
, produces a warning or an error respectively when a local variable is unused.
String debug/settings/crash_handler/message = "Please include this when reporting the bug to the project developer."
Message to be displayed before the backtrace when the engine crashes. By default, this message is only used in exported projects due to the editor-only override applied to this setting.
String debug/settings/crash_handler/message.editor = "Please include this when reporting the bug on: https://github.com/godotengine/godot/issues"
Editor-only override for debug/settings/crash_handler/message. Does not affect exported projects in debug or release mode.
int debug/settings/gdscript/max_call_stack = 1024
Maximum call stack allowed for debugging GDScript.
int debug/settings/profiler/max_functions = 16384
Maximum number of functions per frame allowed when profiling.
bool debug/settings/stdout/print_fps = false
Print frames per second to standard output every second.
bool debug/settings/stdout/print_gpu_profile = false
Print GPU profile information to standard output every second. This includes how long each frame takes the GPU to render on average, broken down into different steps of the render pipeline, such as CanvasItems, shadows, glow, etc.
bool debug/settings/stdout/verbose_stdout = false
Print more information to standard output when running. It displays information such as memory leaks, which scenes and resources are being loaded, etc. This can also be enabled using the --verbose
or -v
command line argument, even on an exported project. See also OS.is_stdout_verbose and @GlobalScope.print_verbose.
bool debug/shader_language/warnings/device_limit_exceeded = true
When set to true
, produces a warning when the shader exceeds certain device limits. Currently, the only device limit checked is the limit on uniform buffer size. More device limits will be added in the future.
bool debug/shader_language/warnings/enable = true
If true
, enables specific shader warnings (see debug/shader_language/warnings/*
settings). If false
, disables all shader warnings.
bool debug/shader_language/warnings/float_comparison = true
When set to true
, produces a warning when two floating point numbers are compared directly with the ==
operator or the !=
operator.
bool debug/shader_language/warnings/formatting_error = true
When set to true
, produces a warning upon encountering certain formatting errors. Currently this only checks for empty statements. More formatting errors may be added over time.
bool debug/shader_language/warnings/treat_warnings_as_errors = false
When set to true
, warnings are treated as errors.
bool debug/shader_language/warnings/unused_constant = true
When set to true
, produces a warning when a constant is never used.
bool debug/shader_language/warnings/unused_function = true
When set to true
, produces a warning when a function is never used.
bool debug/shader_language/warnings/unused_local_variable = true
When set to true
, produces a warning when a local variable is never used.
bool debug/shader_language/warnings/unused_struct = true
When set to true
, produces a warning when a struct is never used.
bool debug/shader_language/warnings/unused_uniform = true
When set to true
, produces a warning when a uniform is never used.
bool debug/shader_language/warnings/unused_varying = true
When set to true
, produces a warning when a varying is never used.
Color debug/shapes/avoidance/agents_radius_color = Color(1, 1, 0, 0.25)
Color of the avoidance agents radius, visible when "Visible Avoidance" is enabled in the Debug menu.
bool debug/shapes/avoidance/enable_agents_radius = true
If enabled, displays avoidance agents radius when "Visible Avoidance" is enabled in the Debug menu.
bool debug/shapes/avoidance/enable_obstacles_radius = true
If enabled, displays avoidance obstacles radius when "Visible Avoidance" is enabled in the Debug menu.
bool debug/shapes/avoidance/enable_obstacles_static = true
If enabled, displays static avoidance obstacles when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/avoidance/obstacles_radius_color = Color(1, 0.5, 0, 0.25)
Color of the avoidance obstacles radius, visible when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/avoidance/obstacles_static_edge_pushin_color = Color(1, 0, 0, 1)
Color of the static avoidance obstacles edges when their vertices are winded in order to push agents in, visible when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/avoidance/obstacles_static_edge_pushout_color = Color(1, 1, 0, 1)
Color of the static avoidance obstacles edges when their vertices are winded in order to push agents out, visible when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/avoidance/obstacles_static_face_pushin_color = Color(1, 0, 0, 0)
Color of the static avoidance obstacles faces when their vertices are winded in order to push agents in, visible when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/avoidance/obstacles_static_face_pushout_color = Color(1, 1, 0, 0.5)
Color of the static avoidance obstacles faces when their vertices are winded in order to push agents out, visible when "Visible Avoidance" is enabled in the Debug menu.
Color debug/shapes/collision/contact_color = Color(1, 0.2, 0.1, 0.8)
Color of the contact points between collision shapes, visible when "Visible Collision Shapes" is enabled in the Debug menu.
bool debug/shapes/collision/draw_2d_outlines = true
Sets whether 2D physics will display collision outlines in game when "Visible Collision Shapes" is enabled in the Debug menu.
int debug/shapes/collision/max_contacts_displayed = 10000
Maximum number of contact points between collision shapes to display when "Visible Collision Shapes" is enabled in the Debug menu.
Color debug/shapes/collision/shape_color = Color(0, 0.6, 0.7, 0.42)
Color of the collision shapes, visible when "Visible Collision Shapes" is enabled in the Debug menu.
Color to display enabled navigation agent paths when an agent has debug enabled.
Rasterized size (pixel) used to render navigation agent path points when an agent has debug enabled.
Color to display edge connections between navigation regions, visible when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays navigation agent paths when an agent has debug enabled.
If enabled, displays navigation agent paths through geometry when an agent has debug enabled.
If enabled, displays edge connections between navigation regions when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays edge connections between navigation regions through geometry when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays navigation mesh polygon edges when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays navigation mesh polygon edges through geometry when "Visible Navigation" is enabled in the Debug menu.
If enabled, colorizes each navigation mesh polygon face with a random color when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays navigation link connections when "Visible Navigation" is enabled in the Debug menu.
If enabled, displays navigation link connections through geometry when "Visible Navigation" is enabled in the Debug menu.
Color to display enabled navigation mesh polygon edges, visible when "Visible Navigation" is enabled in the Debug menu.
Color to display disabled navigation mesh polygon edges, visible when "Visible Navigation" is enabled in the Debug menu.
Color to display enabled navigation mesh polygon faces, visible when "Visible Navigation" is enabled in the Debug menu.
Color to display disabled navigation mesh polygon faces, visible when "Visible Navigation" is enabled in the Debug menu.
Color to use to display navigation link connections, visible when "Visible Navigation" is enabled in the Debug menu.
Color to use to display disabled navigation link connections, visible when "Visible Navigation" is enabled in the Debug menu.
Color debug/shapes/paths/geometry_color = Color(0.1, 1, 0.7, 0.4)
Color of the curve path geometry, visible when "Visible Paths" is enabled in the Debug menu.
float debug/shapes/paths/geometry_width = 2.0
Line width of the curve path geometry, visible when "Visible Paths" is enabled in the Debug menu.
String display/mouse_cursor/custom_image = ""
Custom image for the mouse cursor (limited to 256Γ256).
Vector2 display/mouse_cursor/custom_image_hotspot = Vector2(0, 0)
Hotspot for the custom mouse cursor image.
Vector2 display/mouse_cursor/tooltip_position_offset = Vector2(10, 10)
Position offset for tooltips, relative to the mouse cursor's hotspot.
bool display/window/dpi/allow_hidpi = true
If true
, allows HiDPI display on Windows, macOS, Android, iOS and Web. If false
, the platform's low-DPI fallback will be used on HiDPI displays, which causes the window to be displayed in a blurry or pixelated manner (and can cause various window management bugs). Therefore, it is recommended to make your project scale to multiple resolutions instead of disabling this setting.
Note: This setting has no effect on Linux as DPI-awareness fallbacks are not supported there.
bool display/window/energy_saving/keep_screen_on = 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.
bool display/window/energy_saving/keep_screen_on.editor = false
Editor-only override for display/window/energy_saving/keep_screen_on. Does not affect exported projects in debug or release mode.
int display/window/handheld/orientation = 0
The default screen orientation to use on mobile devices. See ScreenOrientation for possible values.
Note: When set to a portrait orientation, this project setting does not flip the project resolution's width and height automatically. Instead, you have to set display/window/size/viewport_width and display/window/size/viewport_height accordingly.
bool display/window/ios/allow_high_refresh_rate = true
If true
, iOS devices that support high refresh rate/"ProMotion" will be allowed to render at up to 120 frames per second.
bool display/window/ios/hide_home_indicator = true
If true
, the home indicator is hidden automatically. This only affects iOS devices without a physical home button.
bool display/window/ios/hide_status_bar = true
If true
, the status bar is hidden while the app is running.
bool display/window/ios/suppress_ui_gesture = true
If true
, it will require two swipes to access iOS UI that uses gestures.
Note: This setting has no effect on the home indicator if hide_home_indicator
is true
.
bool display/window/per_pixel_transparency/allowed = false
If true
, allows per-pixel transparency for the window background. This affects performance, so leave it on false
unless you need it. See also display/window/size/transparent and rendering/viewport/transparent_background.
bool display/window/size/always_on_top = false
Forces the main window to be always on top.
Note: This setting is ignored on iOS, Android, and Web.
bool display/window/size/borderless = false
Forces the main window to be borderless.
Note: This setting is ignored on iOS, Android, and Web.
bool display/window/size/extend_to_title = false
Main window content is expanded to the full size of the window. Unlike a borderless window, the frame is left intact and can be used to resize the window, and the title bar is transparent, but has minimize/maximize/close buttons.
Note: This setting is implemented only on macOS.
Vector2i display/window/size/initial_position = Vector2i(0, 0)
Main window initial position (in virtual desktop coordinates), this setting is used only if display/window/size/initial_position_type is set to "Absolute" (0
).
int display/window/size/initial_position_type = 1
Main window initial position.
0
- "Absolute", display/window/size/initial_position is used to set window position.
1
- "Primary Screen Center".
2
- "Other Screen Center", display/window/size/initial_screen is used to set the screen.
int display/window/size/initial_screen = 0
Main window initial screen, this setting is used only if display/window/size/initial_position_type is set to "Other Screen Center" (2
).
int display/window/size/mode = 0
Main window mode. See WindowMode for possible values and how each mode behaves.
bool display/window/size/no_focus = false
Main window can't be focused. No-focus window will ignore all input, except mouse clicks.
bool display/window/size/resizable = true
Allows the window to be resizable by default.
Note: This setting is ignored on iOS.
bool display/window/size/transparent = false
If true
, enables a window manager hint that the main window background can be transparent. This does not make the background actually transparent. For the background to be transparent, the root viewport must also be made transparent by enabling rendering/viewport/transparent_background.
Note: To use a transparent splash screen, set application/boot_splash/bg_color to Color(0, 0, 0, 0)
.
Note: This setting has no effect if display/window/per_pixel_transparency/allowed is set to false
.
int display/window/size/viewport_height = 648
Sets the game's main viewport height. On desktop platforms, this is also the initial window height, represented by an indigo-colored rectangle in the 2D editor. Stretch mode settings also use this as a reference when using the canvas_items
or viewport
stretch modes. See also display/window/size/viewport_width, display/window/size/window_width_override and display/window/size/window_height_override.
int display/window/size/viewport_width = 1152
Sets the game's main viewport width. On desktop platforms, this is also the initial window width, represented by an indigo-colored rectangle in the 2D editor. Stretch mode settings also use this as a reference when using the canvas_items
or viewport
stretch modes. See also display/window/size/viewport_height, display/window/size/window_width_override and display/window/size/window_height_override.
int display/window/size/window_height_override = 0
On desktop platforms, overrides the game's initial window height. See also display/window/size/window_width_override, display/window/size/viewport_width and display/window/size/viewport_height.
Note: By default, or when set to 0
, the initial window height is the display/window/size/viewport_height. This setting is ignored on iOS, Android, and Web.
int display/window/size/window_width_override = 0
On desktop platforms, overrides the game's initial window width. See also display/window/size/window_height_override, display/window/size/viewport_width and display/window/size/viewport_height.
Note: By default, or when set to 0
, the initial window width is the viewport display/window/size/viewport_width. This setting is ignored on iOS, Android, and Web.
String display/window/stretch/aspect = "keep"
There is currently no description for this property. Please help us by contributing one!
String display/window/stretch/mode = "disabled"
Defines how the base size is stretched to fit the resolution of the window or screen.
"disabled": No stretching happens. One unit in the scene corresponds to one pixel on the screen. In this mode, display/window/stretch/aspect has no effect. Recommended for non-game applications.
"canvas_items": The base size specified in width and height in the project settings is stretched to cover the whole screen (taking display/window/stretch/aspect into account). This means that everything is rendered directly at the target resolution. 3D is unaffected, while in 2D, there is no longer a 1:1 correspondence between sprite pixels and screen pixels, which may result in scaling artifacts. Recommended for most games that don't use a pixel art esthetic, although it is possible to use this stretch mode for pixel art games too (especially in 3D).
"viewport": The size of the root Viewport is set precisely to the base size specified in the Project Settings' Display section. The scene is rendered to this viewport first. Finally, this viewport is scaled to fit the screen (taking display/window/stretch/aspect into account). Recommended for games that use a pixel art esthetic.
float display/window/stretch/scale = 1.0
The scale factor multiplier to use for 2D elements. This multiplies the final scale factor determined by display/window/stretch/mode. If using the Disabled stretch mode, this scale factor is applied as-is. This can be adjusted to make the UI easier to read on certain displays.
String display/window/stretch/scale_mode = "fractional"
The policy to use to determine the final scale factor for 2D elements. This affects how display/window/stretch/scale is applied, in addition to the automatic scale factor determined by display/window/stretch/mode.
bool display/window/subwindows/embed_subwindows = true
If true
subwindows are embedded in the main window.
int display/window/vsync/vsync_mode = 1
Sets the V-Sync mode for the main game window.
See VSyncMode for possible values and how they affect the behavior of your application.
Depending on the platform and used renderer, the engine will fall back to Enabled if the desired mode is not supported.
Note: V-Sync modes other than Enabled are only supported in the Forward+ and Mobile rendering methods, not Compatibility.
Note: This property is only read when the project starts. To change the V-Sync mode at runtime, call DisplayServer.window_set_vsync_mode instead.
String dotnet/project/assembly_name = ""
Name of the .NET assembly. This name is used as the name of the .csproj
and .sln
files. By default, it's set to the name of the project (application/config/name) allowing to change it in the future without affecting the .NET assembly.
int dotnet/project/assembly_reload_attempts = 3
Number of times to attempt assembly reloading after rebuilding .NET assemblies. Effectively also the timeout in seconds to wait for unloading of script assemblies to finish.
String dotnet/project/solution_directory = ""
Directory that contains the .sln
file. By default, the .sln
files is in the root of the project directory, next to the project.godot
and .csproj
files.
Changing this value allows setting up a multi-project scenario where there are multiple .csproj
. Keep in mind that the Godot project is considered one of the C# projects in the workspace and it's root directory should contain the project.godot
and .csproj
next to each other.
bool editor/export/convert_text_resources_to_binary = true
If true
, text resources are converted to a binary format on export. This decreases file sizes and speeds up loading slightly.
Note: If editor/export/convert_text_resources_to_binary is true
, @GDScript.load will not be able to return the converted files in an exported project. Some file paths within the exported PCK will also change, such as project.godot
becoming project.binary
. If you rely on run-time loading of files present within the PCK, set editor/export/convert_text_resources_to_binary to false
.
bool editor/import/reimport_missing_imported_files = true
There is currently no description for this property. Please help us by contributing one!
bool editor/import/use_multiple_threads = true
If true
importing of resources is run on multiple threads.
bool editor/movie_writer/disable_vsync = false
If true
, requests V-Sync to be disabled when writing a movie (similar to setting display/window/vsync/vsync_mode to Disabled). This can speed up video writing if the hardware is fast enough to render, encode and save the video at a framerate higher than the monitor's refresh rate.
Note: editor/movie_writer/disable_vsync has no effect if the operating system or graphics driver forces V-Sync with no way for applications to disable it.
int editor/movie_writer/fps = 60
The number of frames per second to record in the video when writing a movie. Simulation speed will adjust to always match the specified framerate, which means the engine will appear to run slower at higher editor/movie_writer/fps values. Certain FPS values will require you to adjust editor/movie_writer/mix_rate to prevent audio from desynchronizing over time.
This can be specified manually on the command line using the --fixed-fps <fps>
command line argument.
int editor/movie_writer/mix_rate = 48000
The audio mix rate to use in the recorded audio when writing a movie (in Hz). This can be different from audio/driver/mix_rate, but this value must be divisible by editor/movie_writer/fps to prevent audio from desynchronizing over time.
float editor/movie_writer/mjpeg_quality = 0.75
The JPEG quality to use when writing a video to an AVI file, between 0.01
and 1.0
(inclusive). Higher quality
values result in better-looking output at the cost of larger file sizes. Recommended quality
values are between 0.75
and 0.9
. Even at quality 1.0
, JPEG compression remains lossy.
Note: This does not affect the audio quality or writing PNG image sequences.
String editor/movie_writer/movie_file = ""
The output path for the movie. The file extension determines the MovieWriter that will be used.
Godot has 2 built-in MovieWriters:
AVI container with MJPEG for video and uncompressed audio (
.avi
file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing editor/movie_writer/mjpeg_quality. The resulting file can be viewed in most video players, but it must be converted to another format for viewing on the web or by Godot with VideoStreamPlayer. MJPEG does not support transparency. AVI output is currently limited to a file of 4 GB in size at most.PNG image sequence for video and WAV for audio (
.png
file extension). Lossless compression, large file sizes, slow encoding. Designed to be encoded to a video file with another tool such as FFmpeg after recording. Transparency is currently not supported, even if the root viewport is set to be transparent.
If you need to encode to a different format or pipe a stream through third-party software, you can extend this MovieWriter class to create your own movie writers.
When using PNG output, the frame number will be appended at the end of the file name. It starts from 0 and is padded with 8 digits to ensure correct sorting and easier processing. For example, if the output path is /tmp/hello.png
, the first two frames will be /tmp/hello00000000.png
and /tmp/hello00000001.png
. The audio will be saved at /tmp/hello.wav
.
int editor/movie_writer/speaker_mode = 0
The speaker mode to use in the recorded audio when writing a movie. See SpeakerMode for possible values.
String editor/naming/default_signal_callback_name = "_on_{node_name}_{signal_name}"
The format of the default signal callback name (in the Signal Connection Dialog). The following substitutions are available: {NodeName}
, {nodeName}
, {node_name}
, {SignalName}
, {signalName}
, and {signal_name}
.
String editor/naming/default_signal_callback_to_self_name = "_on_{signal_name}"
The format of the default signal callback name when a signal connects to the same node that emits it (in the Signal Connection Dialog). The following substitutions are available: {NodeName}
, {nodeName}
, {node_name}
, {SignalName}
, {signalName}
, and {signal_name}
.
int editor/naming/node_name_casing = 0
When creating node names automatically, set the type of casing in this project. This is mostly an editor setting.
int editor/naming/node_name_num_separator = 0
What to use to separate node name from number. This is mostly an editor setting.
int editor/naming/scene_name_casing = 2
When generating file names from scene root node, set the type of casing in this project. This is mostly an editor setting.
String editor/run/main_run_args = ""
The command-line arguments to append to Godot's own command line when running the project. This doesn't affect the editor itself.
It is possible to make another executable run Godot by using the %command%
placeholder. The placeholder will be replaced with Godot's own command line. Program-specific arguments should be placed before the placeholder, whereas Godot-specific arguments should be placed after the placeholder.
For example, this can be used to force the project to run on the dedicated GPU in a NVIDIA Optimus system on Linux:
prime-run %command%
PackedStringArray editor/script/search_in_file_extensions = PackedStringArray("gd", "gdshader")
Text-based file extensions to include in the script editor's "Find in Files" feature. You can add e.g. tscn
if you wish to also parse your scene files, especially if you use built-in scripts which are serialized in the scene files.
String editor/script/templates_search_path = "res://script_templates"
Search path for project-specific script templates. Godot will search for script templates both in the editor-specific path and in this project-specific path.
bool editor/version_control/autoload_on_startup = false
There is currently no description for this property. Please help us by contributing one!
String editor/version_control/plugin_name = ""
There is currently no description for this property. Please help us by contributing one!
bool filesystem/import/blender/enabled = true
If true
, Blender 3D scene files with the .blend
extension will be imported by converting them to glTF 2.0.
This requires configuring a path to a Blender executable in the editor settings at filesystem/import/blender/blender3_path
. Blender 3.0 or later is required.
bool filesystem/import/blender/enabled.android = false
Override for filesystem/import/blender/enabled on Android where Blender can't easily be accessed from Godot.
bool filesystem/import/blender/enabled.web = false
Override for filesystem/import/blender/enabled on the Web where Blender can't easily be accessed from Godot.
bool filesystem/import/fbx/enabled = true
If true
, Autodesk FBX 3D scene files with the .fbx
extension will be imported by converting them to glTF 2.0.
This requires configuring a path to a FBX2glTF executable in the editor settings at filesystem/import/fbx/fbx2gltf_path
.
bool filesystem/import/fbx/enabled.android = false
Override for filesystem/import/fbx/enabled on Android where FBX2glTF can't easily be accessed from Godot.
bool filesystem/import/fbx/enabled.web = false
Override for filesystem/import/fbx/enabled on the Web where FBX2glTF can't easily be accessed from Godot.
int gui/common/default_scroll_deadzone = 0
Default value for ScrollContainer.scroll_deadzone, which will be used for all ScrollContainers unless overridden.
bool gui/common/snap_controls_to_pixels = true
If true
, snaps Control node vertices to the nearest pixel to ensure they remain crisp even when the camera moves or zooms.
bool gui/common/swap_cancel_ok
If true
, swaps Cancel and OK buttons in dialogs on Windows to follow interface conventions. DisplayServer.get_swap_cancel_ok can be used to query whether buttons are swapped at run-time.
Note: This doesn't affect native dialogs such as the ones spawned by DisplayServer.dialog_show.
int gui/common/text_edit_undo_stack_max_size = 1024
Maximum undo/redo history size for TextEdit fields.
bool gui/fonts/dynamic_fonts/use_oversampling = true
There is currently no description for this property. Please help us by contributing one!
String gui/theme/custom = ""
Path to a custom Theme resource file to use for the project (.theme
or generic .tres
/.res
extension).
String gui/theme/custom_font = ""
Path to a custom Font resource to use as default for all GUI elements of the project.
int gui/theme/default_font_antialiasing = 1
Font anti-aliasing mode for the default project font. See FontFile.antialiasing.
Note: This setting does not affect custom Fonts used within the project. Use the Import dock for that instead (see ResourceImporterDynamicFont.antialiasing).
bool gui/theme/default_font_generate_mipmaps = false
If set to true
, the default font will have mipmaps generated. This prevents text from looking grainy when a Control is scaled down, or when a Label3D is viewed from a long distance (if Label3D.texture_filter is set to a mode that displays mipmaps).
Enabling gui/theme/default_font_generate_mipmaps increases font generation time and memory usage. Only enable this setting if you actually need it.
Note: This setting does not affect custom Fonts used within the project. Use the Import dock for that instead (see ResourceImporterDynamicFont.generate_mipmaps).
int gui/theme/default_font_hinting = 1
Font hinting mode for the default project font. See FontFile.hinting.
Note: This setting does not affect custom Fonts used within the project. Use the Import dock for that instead (see ResourceImporterDynamicFont.hinting).
bool gui/theme/default_font_multichannel_signed_distance_field = false
If set to true
, the default font will use multichannel signed distance field (MSDF) for crisp rendering at any size. Since this approach does not rely on rasterizing the font every time its size changes, this allows for resizing the font in real-time without any performance penalty. Text will also not look grainy for Controls that are scaled down (or for Label3Ds viewed from a long distance).
MSDF font rendering can be combined with gui/theme/default_font_generate_mipmaps to further improve font rendering quality when scaled down.
Note: This setting does not affect custom Fonts used within the project. Use the Import dock for that instead (see ResourceImporterDynamicFont.multichannel_signed_distance_field).
int gui/theme/default_font_subpixel_positioning = 1
Font glyph subpixel positioning mode for the default project font. See FontFile.subpixel_positioning.
Note: This setting does not affect custom Fonts used within the project. Use the Import dock for that instead (see ResourceImporterDynamicFont.subpixel_positioning).
float gui/theme/default_theme_scale = 1.0
The default scale factor for Controls, when not overridden by a Theme.
Note: This property is only read when the project starts. To change the default scale at runtime, set ThemeDB.fallback_base_scale instead.
int gui/theme/lcd_subpixel_layout = 1
LCD subpixel layout used for font anti-aliasing. See FontLCDSubpixelLayout.
float gui/timers/button_shortcut_feedback_highlight_time = 0.2
When BaseButton.shortcut_feedback is enabled, this is the time the BaseButton will remain highlighted after a shortcut.
int gui/timers/incremental_search_max_interval_msec = 2000
Timer setting for incremental search in Tree, ItemList, etc. controls (in milliseconds).
float gui/timers/text_edit_idle_detect_sec = 3
Timer for detecting idle in TextEdit (in seconds).
float gui/timers/tooltip_delay_sec = 0.5
Default delay for tooltips (in seconds).
Dictionary input/ui_accept
Default InputEventAction to confirm a focused button, menu or list item, or validate input.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_cancel
Default InputEventAction to discard a modal or pending input.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_copy
Default InputEventAction to copy a selection to the clipboard.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_cut
Default InputEventAction to cut a selection to the clipboard.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_down
Default InputEventAction to move down in the UI.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_end
Default InputEventAction to go to the end position of a Control (e.g. last item in an ItemList or a Tree), matching the behavior of @GlobalScope.KEY_END on typical desktop UI systems.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_filedialog_refresh
Default InputEventAction to refresh the contents of the current directory of a FileDialog.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Default InputEventAction to toggle showing hidden files and directories in a FileDialog.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_filedialog_up_one_level
Default InputEventAction to go up one directory in a FileDialog.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_focus_next
Default InputEventAction to focus the next Control in the scene. The focus behavior can be configured via Control.focus_next.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_focus_prev
Default InputEventAction to focus the previous Control in the scene. The focus behavior can be configured via Control.focus_previous.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_graph_delete
Default InputEventAction to delete a GraphNode in a GraphEdit.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_graph_duplicate
Default InputEventAction to duplicate a GraphNode in a GraphEdit.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_home
Default InputEventAction to go to the start position of a Control (e.g. first item in an ItemList or a Tree), matching the behavior of @GlobalScope.KEY_HOME on typical desktop UI systems.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_left
Default InputEventAction to move left in the UI.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Default InputEventAction to open a context menu in a text field.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_page_down
Default InputEventAction to go down a page in a Control (e.g. in an ItemList or a Tree), matching the behavior of @GlobalScope.KEY_PAGEDOWN on typical desktop UI systems.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_page_up
Default InputEventAction to go up a page in a Control (e.g. in an ItemList or a Tree), matching the behavior of @GlobalScope.KEY_PAGEUP on typical desktop UI systems.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_paste
Default InputEventAction to paste from the clipboard.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_redo
Default InputEventAction to redo an undone action.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_right
Default InputEventAction to move right in the UI.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_select
Default InputEventAction to select an item in a Control (e.g. in an ItemList or a Tree).
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_swap_input_direction
Default InputEventAction to swap input direction, i.e. change between left-to-right to right-to-left modes. Affects text-editting controls (LineEdit, TextEdit).
Dictionary input/ui_text_add_selection_for_next_occurrence
If a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret and selects the next occurrence.
If no selection is currently active with the last caret in text fields, selects the word currently under the caret.
The action can be performed sequentially for all occurrences of the selection of the last caret and for all existing carets.
The viewport is adjusted to the latest newly added caret.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_backspace
Default InputEventAction to delete the character before the text cursor.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_backspace_all_to_left
Default InputEventAction to delete all text before the text cursor.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_backspace_all_to_left.macos
macOS specific override for the shortcut to delete all text before the text cursor.
Dictionary input/ui_text_backspace_word
Default InputEventAction to delete all characters before the cursor up until a whitespace or punctuation character.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_backspace_word.macos
macOS specific override for the shortcut to delete a word.
Dictionary input/ui_text_caret_add_above
Default InputEventAction to add an additional caret above every caret of a text.
Dictionary input/ui_text_caret_add_above.macos
macOS specific override for the shortcut to add a caret above every caret.
Dictionary input/ui_text_caret_add_below
Default InputEventAction to add an additional caret below every caret of a text.
Dictionary input/ui_text_caret_add_below.macos
macOS specific override for the shortcut to add a caret below every caret.
Dictionary input/ui_text_caret_document_end
Default InputEventAction to move the text cursor to the end of the text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_document_end.macos
macOS specific override for the shortcut to move the text cursor to the end of the text.
Dictionary input/ui_text_caret_document_start
Default InputEventAction to move the text cursor to the start of the text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_document_start.macos
macOS specific override for the shortcut to move the text cursor to the start of the text.
Dictionary input/ui_text_caret_down
Default InputEventAction to move the text cursor down.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_left
Default InputEventAction to move the text cursor left.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_line_end
Default InputEventAction to move the text cursor to the end of the line.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_line_end.macos
macOS specific override for the shortcut to move the text cursor to the end of the line.
Dictionary input/ui_text_caret_line_start
Default InputEventAction to move the text cursor to the start of the line.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_line_start.macos
macOS specific override for the shortcut to move the text cursor to the start of the line.
Dictionary input/ui_text_caret_page_down
Default InputEventAction to move the text cursor down one page.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_page_up
Default InputEventAction to move the text cursor up one page.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_right
Default InputEventAction to move the text cursor right.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_up
Default InputEventAction to move the text cursor up.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_word_left
Default InputEventAction to move the text cursor left to the next whitespace or punctuation.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_word_left.macos
macOS specific override for the shortcut to move the text cursor back one word.
Dictionary input/ui_text_caret_word_right
Default InputEventAction to move the text cursor right to the next whitespace or punctuation.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_caret_word_right.macos
macOS specific override for the shortcut to move the text cursor forward one word.
Dictionary input/ui_text_clear_carets_and_selection
If there's only one caret active and with a selection, clears the selection.
In case there's more than one caret active, removes the secondary carets and clears their selections.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_completion_accept
Default InputEventAction to accept an autocompetion hint.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_completion_query
Default InputEventAction to request autocompetion.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_completion_replace
Default InputEventAction to accept an autocompetion hint, replacing existing text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_dedent
Default InputEventAction to unindent text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_delete
Default InputEventAction to delete the character after the text cursor.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_delete_all_to_right
Default InputEventAction to delete all text after the text cursor.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_delete_all_to_right.macos
macOS specific override for the shortcut to delete all text after the text cursor.
Dictionary input/ui_text_delete_word
Default InputEventAction to delete all characters after the cursor up until a whitespace or punctuation character.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_delete_word.macos
macOS specific override for the shortcut to delete a word after the text cursor.
Dictionary input/ui_text_indent
Default InputEventAction to indent the current line.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_newline
Default InputEventAction to insert a new line at the position of the text cursor.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_newline_above
Default InputEventAction to insert a new line before the current one.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_newline_blank
Default InputEventAction to insert a new line after the current one.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_scroll_down
Default InputEventAction to scroll down one line of text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_scroll_down.macos
macOS specific override for the shortcut to scroll down one line.
Dictionary input/ui_text_scroll_up
Default InputEventAction to scroll up one line of text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_scroll_up.macos
macOS specific override for the shortcut to scroll up one line.
Dictionary input/ui_text_select_all
Default InputEventAction to select all text.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_select_word_under_caret
If no selection is currently active, selects the word currently under the caret in text fields. If a selection is currently active, deselects the current selection.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_select_word_under_caret.macos
macOS specific override for the shortcut to select the word currently under the caret.
Dictionary input/ui_text_submit
Default InputEventAction to submit a text field.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_text_toggle_insert_mode
Default InputEventAction to toggle insert mode in a text field. While in insert mode, inserting new text overrides the character after the cursor, unless the next character is a new line.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_undo
Default InputEventAction to undo the most recent action.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
Dictionary input/ui_up
Default InputEventAction to move up in the UI.
Note: Default ui_*
actions cannot be removed as they are necessary for the internal logic of several Controls. The events assigned to the action can however be modified.
bool input_devices/buffering/agile_event_flushing = false
If true
, key/touch/joystick events will be flushed just before every idle and physics frame.
If false
, such events will be flushed only once per process frame, between iterations of the engine.
Enabling this can greatly improve the responsiveness to input, specially in devices that need to run multiple physics frames per visible (process) frame, because they can't run at the target frame rate.
Note: Currently implemented only on Android.
bool input_devices/compatibility/legacy_just_pressed_behavior = false
If true
, Input.is_action_just_pressed and Input.is_action_just_released will only return true
if the action is still in the respective state, i.e. an action that is pressed and released on the same frame will be missed.
If false
, no input will be lost.
Note: You should in nearly all cases prefer the false
setting. The legacy behavior is to enable supporting old projects that rely on the old logic, without changes to script.
String input_devices/pen_tablet/driver
Specifies the tablet driver to use. If left empty, the default driver will be used.
Note: The driver in use can be overridden at runtime via the --tablet-driver
command line argument.
String input_devices/pen_tablet/driver.windows
Override for input_devices/pen_tablet/driver on Windows.
bool input_devices/pointing/emulate_mouse_from_touch = true
If true
, sends mouse input events when tapping or swiping on the touchscreen.
bool input_devices/pointing/emulate_touch_from_mouse = false
If true
, sends touch input events when clicking or dragging the mouse.
String internationalization/locale/fallback = "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.
bool internationalization/locale/include_text_server_data = false
If true
, text server break iteration rule sets, dictionaries and other optional data are included in the exported project.
Note: "ICU / HarfBuzz / Graphite" text server data includes dictionaries for Burmese, Chinese, Japanese, Khmer, Lao and Thai as well as Unicode Standard Annex #29 and Unicode Standard Annex #14 word and line breaking rules. Data is about 4 MB large.
Note: "Fallback" text server does not use additional data.
String internationalization/locale/test = ""
If non-empty, this locale will be used when running the project from the editor.
bool internationalization/pseudolocalization/double_vowels = false
Double vowels in strings during pseudolocalization to simulate the lengthening of text due to localization.
float internationalization/pseudolocalization/expansion_ratio = 0.0
The expansion ratio to use during pseudolocalization. A value of 0.3
is sufficient for most practical purposes, and will increase the length of each string by 30%.
bool internationalization/pseudolocalization/fake_bidi = false
If true
, emulate bidirectional (right-to-left) text when pseudolocalization is enabled. This can be used to spot issues with RTL layout and UI mirroring that will crop up if the project is localized to RTL languages such as Arabic or Hebrew.
bool internationalization/pseudolocalization/override = false
Replace all characters in the string with *
. Useful for finding non-localizable strings.
String internationalization/pseudolocalization/prefix = "["
Prefix that will be prepended to the pseudolocalized string.
bool internationalization/pseudolocalization/replace_with_accents = true
Replace all characters with their accented variants during pseudolocalization.
bool internationalization/pseudolocalization/skip_placeholders = true
Skip placeholders for string formatting like %s
or %f
during pseudolocalization. Useful to identify strings which need additional control characters to display correctly.
String internationalization/pseudolocalization/suffix = "]"
Suffix that will be appended to the pseudolocalized string.
bool internationalization/pseudolocalization/use_pseudolocalization = false
If true
, enables pseudolocalization for the project. This can be used to spot untranslatable strings or layout issues that may occur once the project is localized to languages that have longer strings than the source language.
Note: This property is only read when the project starts. To toggle pseudolocalization at run-time, use TranslationServer.pseudolocalization_enabled instead.
bool internationalization/rendering/force_right_to_left_layout_direction = false
Force layout direction and text writing direction to RTL for all controls.
int internationalization/rendering/root_node_layout_direction = 0
Root node default layout direction.
String internationalization/rendering/text_driver = ""
Specifies the TextServer to use. If left empty, the default will be used.
"ICU / HarfBuzz / Graphite" is the most advanced text driver, supporting right-to-left typesetting and complex scripts (for languages like Arabic, Hebrew, etc). The "Fallback" text driver does not support right-to-left typesetting and complex scripts.
Note: The driver in use can be overridden at runtime via the --text-driver
command line argument.
Note: There is an additional Dummy
text driver available, which disables all text rendering and font-related functionality. This driver is not listed in the project settings, but it can be enabled when running the editor or project using the --text-driver Dummy
command line argument.
Optional name for the 2D navigation layer 1. If left empty, the layer will display as "Layer 1".
Optional name for the 2D navigation layer 2. If left empty, the layer will display as "Layer 2".
Optional name for the 2D navigation layer 3. If left empty, the layer will display as "Layer 3".
Optional name for the 2D navigation layer 4. If left empty, the layer will display as "Layer 4".
Optional name for the 2D navigation layer 5. If left empty, the layer will display as "Layer 5".
Optional name for the 2D navigation layer 6. If left empty, the layer will display as "Layer 6".
Optional name for the 2D navigation layer 7. If left empty, the layer will display as "Layer 7".
Optional name for the 2D navigation layer 8. If left empty, the layer will display as "Layer 8".
Optional name for the 2D navigation layer 9. If left empty, the layer will display as "Layer 9".
Optional name for the 2D navigation layer 10. If left empty, the layer will display as "Layer 10".
Optional name for the 2D navigation layer 11. If left empty, the layer will display as "Layer 11".
Optional name for the 2D navigation layer 12. If left empty, the layer will display as "Layer 12".
Optional name for the 2D navigation layer 13. If left empty, the layer will display as "Layer 13".
Optional name for the 2D navigation layer 14. If left empty, the layer will display as "Layer 14".
Optional name for the 2D navigation layer 15. If left empty, the layer will display as "Layer 15".
Optional name for the 2D navigation layer 16. If left empty, the layer will display as "Layer 16".
Optional name for the 2D navigation layer 17. If left empty, the layer will display as "Layer 17".
Optional name for the 2D navigation layer 18. If left empty, the layer will display as "Layer 18".
Optional name for the 2D navigation layer 19. If left empty, the layer will display as "Layer 19".
Optional name for the 2D navigation layer 20. If left empty, the layer will display as "Layer 20".
Optional name for the 2D navigation layer 21. If left empty, the layer will display as "Layer 21".
Optional name for the 2D navigation layer 22. If left empty, the layer will display as "Layer 22".
Optional name for the 2D navigation layer 23. If left empty, the layer will display as "Layer 23".
Optional name for the 2D navigation layer 24. If left empty, the layer will display as "Layer 24".
Optional name for the 2D navigation layer 25. If left empty, the layer will display as "Layer 25".
Optional name for the 2D navigation layer 26. If left empty, the layer will display as "Layer 26".
Optional name for the 2D navigation layer 27. If left empty, the layer will display as "Layer 27".
Optional name for the 2D navigation layer 28. If left empty, the layer will display as "Layer 28".
Optional name for the 2D navigation layer 29. If left empty, the layer will display as "Layer 29".
Optional name for the 2D navigation layer 30. If left empty, the layer will display as "Layer 30".
Optional name for the 2D navigation layer 31. If left empty, the layer will display as "Layer 31".
Optional name for the 2D navigation layer 32. If left empty, the layer will display as "Layer 32".
String layer_names/2d_physics/layer_1 = ""
Optional name for the 2D physics layer 1. If left empty, the layer will display as "Layer 1".
String layer_names/2d_physics/layer_2 = ""
Optional name for the 2D physics layer 2. If left empty, the layer will display as "Layer 2".
String layer_names/2d_physics/layer_3 = ""
Optional name for the 2D physics layer 3. If left empty, the layer will display as "Layer 3".
String layer_names/2d_physics/layer_4 = ""
Optional name for the 2D physics layer 4. If left empty, the layer will display as "Layer 4".
String layer_names/2d_physics/layer_5 = ""
Optional name for the 2D physics layer 5. If left empty, the layer will display as "Layer 5".
String layer_names/2d_physics/layer_6 = ""
Optional name for the 2D physics layer 6. If left empty, the layer will display as "Layer 6".
String layer_names/2d_physics/layer_7 = ""
Optional name for the 2D physics layer 7. If left empty, the layer will display as "Layer 7".
String layer_names/2d_physics/layer_8 = ""
Optional name for the 2D physics layer 8. If left empty, the layer will display as "Layer 8".
String layer_names/2d_physics/layer_9 = ""
Optional name for the 2D physics layer 9. If left empty, the layer will display as "Layer 9".
String layer_names/2d_physics/layer_10 = ""
Optional name for the 2D physics layer 10. If left empty, the layer will display as "Layer 10".
String layer_names/2d_physics/layer_11 = ""
Optional name for the 2D physics layer 11. If left empty, the layer will display as "Layer 11".
String layer_names/2d_physics/layer_12 = ""
Optional name for the 2D physics layer 12. If left empty, the layer will display as "Layer 12".
String layer_names/2d_physics/layer_13 = ""
Optional name for the 2D physics layer 13. If left empty, the layer will display as "Layer 13".
String layer_names/2d_physics/layer_14 = ""
Optional name for the 2D physics layer 14. If left empty, the layer will display as "Layer 14".
String layer_names/2d_physics/layer_15 = ""
Optional name for the 2D physics layer 15. If left empty, the layer will display as "Layer 15".
String layer_names/2d_physics/layer_16 = ""
Optional name for the 2D physics layer 16. If left empty, the layer will display as "Layer 16".
String layer_names/2d_physics/layer_17 = ""
Optional name for the 2D physics layer 17. If left empty, the layer will display as "Layer 17".
String layer_names/2d_physics/layer_18 = ""
Optional name for the 2D physics layer 18. If left empty, the layer will display as "Layer 18".
String layer_names/2d_physics/layer_19 = ""
Optional name for the 2D physics layer 19. If left empty, the layer will display as "Layer 19".
String layer_names/2d_physics/layer_20 = ""
Optional name for the 2D physics layer 20. If left empty, the layer will display as "Layer 20".
String layer_names/2d_physics/layer_21 = ""
Optional name for the 2D physics layer 21. If left empty, the layer will display as "Layer 21".
String layer_names/2d_physics/layer_22 = ""
Optional name for the 2D physics layer 22. If left empty, the layer will display as "Layer 22".
String layer_names/2d_physics/layer_23 = ""
Optional name for the 2D physics layer 23. If left empty, the layer will display as "Layer 23".
String layer_names/2d_physics/layer_24 = ""
Optional name for the 2D physics layer 24. If left empty, the layer will display as "Layer 24".
String layer_names/2d_physics/layer_25 = ""
Optional name for the 2D physics layer 25. If left empty, the layer will display as "Layer 25".
String layer_names/2d_physics/layer_26 = ""
Optional name for the 2D physics layer 26. If left empty, the layer will display as "Layer 26".
String layer_names/2d_physics/layer_27 = ""
Optional name for the 2D physics layer 27. If left empty, the layer will display as "Layer 27".
String layer_names/2d_physics/layer_28 = ""
Optional name for the 2D physics layer 28. If left empty, the layer will display as "Layer 28".
String layer_names/2d_physics/layer_29 = ""
Optional name for the 2D physics layer 29. If left empty, the layer will display as "Layer 29".
String layer_names/2d_physics/layer_30 = ""
Optional name for the 2D physics layer 30. If left empty, the layer will display as "Layer 30".
String layer_names/2d_physics/layer_31 = ""
Optional name for the 2D physics layer 31. If left empty, the layer will display as "Layer 31".
String layer_names/2d_physics/layer_32 = ""
Optional name for the 2D physics layer 32. If left empty, the layer will display as "Layer 32".
String layer_names/2d_render/layer_1 = ""
Optional name for the 2D render layer 1. If left empty, the layer will display as "Layer 1".
String layer_names/2d_render/layer_2 = ""
Optional name for the 2D render layer 2. If left empty, the layer will display as "Layer 2".
String layer_names/2d_render/layer_3 = ""
Optional name for the 2D render layer 3. If left empty, the layer will display as "Layer 3".
String layer_names/2d_render/layer_4 = ""
Optional name for the 2D render layer 4. If left empty, the layer will display as "Layer 4".
String layer_names/2d_render/layer_5 = ""
Optional name for the 2D render layer 5. If left empty, the layer will display as "Layer 5".
String layer_names/2d_render/layer_6 = ""
Optional name for the 2D render layer 6. If left empty, the layer will display as "Layer 6".
String layer_names/2d_render/layer_7 = ""
Optional name for the 2D render layer 7. If left empty, the layer will display as "Layer 7".
String layer_names/2d_render/layer_8 = ""
Optional name for the 2D render layer 8. If left empty, the layer will display as "Layer 8".
String layer_names/2d_render/layer_9 = ""
Optional name for the 2D render layer 9. If left empty, the layer will display as "Layer 9".
String layer_names/2d_render/layer_10 = ""
Optional name for the 2D render layer 10. If left empty, the layer will display as "Layer 10".
String layer_names/2d_render/layer_11 = ""
Optional name for the 2D render layer 11. If left empty, the layer will display as "Layer 11".
String layer_names/2d_render/layer_12 = ""
Optional name for the 2D render layer 12. If left empty, the layer will display as "Layer 12".
String layer_names/2d_render/layer_13 = ""
Optional name for the 2D render layer 13. If left empty, the layer will display as "Layer 13".
String layer_names/2d_render/layer_14 = ""
Optional name for the 2D render layer 14. If left empty, the layer will display as "Layer 14".
String layer_names/2d_render/layer_15 = ""
Optional name for the 2D render layer 15. If left empty, the layer will display as "Layer 15".
String layer_names/2d_render/layer_16 = ""
Optional name for the 2D render layer 16. If left empty, the layer will display as "Layer 16".
String layer_names/2d_render/layer_17 = ""
Optional name for the 2D render layer 17. If left empty, the layer will display as "Layer 17".
String layer_names/2d_render/layer_18 = ""
Optional name for the 2D render layer 18. If left empty, the layer will display as "Layer 18".
String layer_names/2d_render/layer_19 = ""
Optional name for the 2D render layer 19. If left empty, the layer will display as "Layer 19".
String layer_names/2d_render/layer_20 = ""
Optional name for the 2D render layer 20. If left empty, the layer will display as "Layer 20".
Optional name for the 3D navigation layer 1. If left empty, the layer will display as "Layer 1".
Optional name for the 3D navigation layer 2. If left empty, the layer will display as "Layer 2".
Optional name for the 3D navigation layer 3. If left empty, the layer will display as "Layer 3".
Optional name for the 3D navigation layer 4. If left empty, the layer will display as "Layer 4".
Optional name for the 3D navigation layer 5. If left empty, the layer will display as "Layer 5".
Optional name for the 3D navigation layer 6. If left empty, the layer will display as "Layer 6".
Optional name for the 3D navigation layer 7. If left empty, the layer will display as "Layer 7".
Optional name for the 3D navigation layer 8. If left empty, the layer will display as "Layer 8".
Optional name for the 3D navigation layer 9. If left empty, the layer will display as "Layer 9".
Optional name for the 3D navigation layer 10. If left empty, the layer will display as "Layer 10".
Optional name for the 3D navigation layer 11. If left empty, the layer will display as "Layer 11".
Optional name for the 3D navigation layer 12. If left empty, the layer will display as "Layer 12".
Optional name for the 3D navigation layer 13. If left empty, the layer will display as "Layer 13".
Optional name for the 3D navigation layer 14. If left empty, the layer will display as "Layer 14".
Optional name for the 3D navigation layer 15. If left empty, the layer will display as "Layer 15".
Optional name for the 3D navigation layer 16. If left empty, the layer will display as "Layer 16".
Optional name for the 3D navigation layer 17. If left empty, the layer will display as "Layer 17".
Optional name for the 3D navigation layer 18. If left empty, the layer will display as "Layer 18".
Optional name for the 3D navigation layer 19. If left empty, the layer will display as "Layer 19".
Optional name for the 3D navigation layer 20. If left empty, the layer will display as "Layer 20".
Optional name for the 3D navigation layer 21. If left empty, the layer will display as "Layer 21".
Optional name for the 3D navigation layer 22. If left empty, the layer will display as "Layer 22".
Optional name for the 3D navigation layer 23. If left empty, the layer will display as "Layer 23".
Optional name for the 3D navigation layer 24. If left empty, the layer will display as "Layer 24".
Optional name for the 3D navigation layer 25. If left empty, the layer will display as "Layer 25".
Optional name for the 3D navigation layer 26. If left empty, the layer will display as "Layer 26".
Optional name for the 3D navigation layer 27. If left empty, the layer will display as "Layer 27".
Optional name for the 3D navigation layer 28. If left empty, the layer will display as "Layer 28".
Optional name for the 3D navigation layer 29. If left empty, the layer will display as "Layer 29".
Optional name for the 3D navigation layer 30. If left empty, the layer will display as "Layer 30".
Optional name for the 3D navigation layer 31. If left empty, the layer will display as "Layer 31".
Optional name for the 3D navigation layer 32. If left empty, the layer will display as "Layer 32".
String layer_names/3d_physics/layer_1 = ""
Optional name for the 3D physics layer 1. If left empty, the layer will display as "Layer 1".
String layer_names/3d_physics/layer_2 = ""
Optional name for the 3D physics layer 2. If left empty, the layer will display as "Layer 2".
String layer_names/3d_physics/layer_3 = ""
Optional name for the 3D physics layer 3. If left empty, the layer will display as "Layer 3".
String layer_names/3d_physics/layer_4 = ""
Optional name for the 3D physics layer 4. If left empty, the layer will display as "Layer 4".
String layer_names/3d_physics/layer_5 = ""
Optional name for the 3D physics layer 5. If left empty, the layer will display as "Layer 5".
String layer_names/3d_physics/layer_6 = ""
Optional name for the 3D physics layer 6. If left empty, the layer will display as "Layer 6".
String layer_names/3d_physics/layer_7 = ""
Optional name for the 3D physics layer 7. If left empty, the layer will display as "Layer 7".
String layer_names/3d_physics/layer_8 = ""
Optional name for the 3D physics layer 8. If left empty, the layer will display as "Layer 8".
String layer_names/3d_physics/layer_9 = ""
Optional name for the 3D physics layer 9. If left empty, the layer will display as "Layer 9".
String layer_names/3d_physics/layer_10 = ""
Optional name for the 3D physics layer 10. If left empty, the layer will display as "Layer 10".
String layer_names/3d_physics/layer_11 = ""
Optional name for the 3D physics layer 11. If left empty, the layer will display as "Layer 11".
String layer_names/3d_physics/layer_12 = ""
Optional name for the 3D physics layer 12. If left empty, the layer will display as "Layer 12".
String layer_names/3d_physics/layer_13 = ""
Optional name for the 3D physics layer 13. If left empty, the layer will display as "Layer 13".
String layer_names/3d_physics/layer_14 = ""
Optional name for the 3D physics layer 14. If left empty, the layer will display as "Layer 14".
String layer_names/3d_physics/layer_15 = ""
Optional name for the 3D physics layer 15. If left empty, the layer will display as "Layer 15".
String layer_names/3d_physics/layer_16 = ""
Optional name for the 3D physics layer 16. If left empty, the layer will display as "Layer 16".
String layer_names/3d_physics/layer_17 = ""
Optional name for the 3D physics layer 17. If left empty, the layer will display as "Layer 17".
String layer_names/3d_physics/layer_18 = ""
Optional name for the 3D physics layer 18. If left empty, the layer will display as "Layer 18".
String layer_names/3d_physics/layer_19 = ""
Optional name for the 3D physics layer 19. If left empty, the layer will display as "Layer 19".
String layer_names/3d_physics/layer_20 = ""
Optional name for the 3D physics layer 20. If left empty, the layer will display as "Layer 20".
String layer_names/3d_physics/layer_21 = ""
Optional name for the 3D physics layer 21. If left empty, the layer will display as "Layer 21".
String layer_names/3d_physics/layer_22 = ""
Optional name for the 3D physics layer 22. If left empty, the layer will display as "Layer 22".
String layer_names/3d_physics/layer_23 = ""
Optional name for the 3D physics layer 23. If left empty, the layer will display as "Layer 23".
String layer_names/3d_physics/layer_24 = ""
Optional name for the 3D physics layer 24. If left empty, the layer will display as "Layer 24".
String layer_names/3d_physics/layer_25 = ""
Optional name for the 3D physics layer 25. If left empty, the layer will display as "Layer 25".
String layer_names/3d_physics/layer_26 = ""
Optional name for the 3D physics layer 26. If left empty, the layer will display as "Layer 26".
String layer_names/3d_physics/layer_27 = ""
Optional name for the 3D physics layer 27. If left empty, the layer will display as "Layer 27".
String layer_names/3d_physics/layer_28 = ""
Optional name for the 3D physics layer 28. If left empty, the layer will display as "Layer 28".
String layer_names/3d_physics/layer_29 = ""
Optional name for the 3D physics layer 29. If left empty, the layer will display as "Layer 29".
String layer_names/3d_physics/layer_30 = ""
Optional name for the 3D physics layer 30. If left empty, the layer will display as "Layer 30".
String layer_names/3d_physics/layer_31 = ""
Optional name for the 3D physics layer 31. If left empty, the layer will display as "Layer 31".
String layer_names/3d_physics/layer_32 = ""
Optional name for the 3D physics layer 32. If left empty, the layer will display as "Layer 32".
String layer_names/3d_render/layer_1 = ""
Optional name for the 3D render layer 1. If left empty, the layer will display as "Layer 1".
String layer_names/3d_render/layer_2 = ""
Optional name for the 3D render layer 2. If left empty, the layer will display as "Layer 2".
String layer_names/3d_render/layer_3 = ""
Optional name for the 3D render layer 3. If left empty, the layer will display as "Layer 3".
String layer_names/3d_render/layer_4 = ""
Optional name for the 3D render layer 4. If left empty, the layer will display as "Layer 4".
String layer_names/3d_render/layer_5 = ""
Optional name for the 3D render layer 5. If left empty, the layer will display as "Layer 5".
String layer_names/3d_render/layer_6 = ""
Optional name for the 3D render layer 6. If left empty, the layer will display as "Layer 6".
String layer_names/3d_render/layer_7 = ""
Optional name for the 3D render layer 7. If left empty, the layer will display as "Layer 7".
String layer_names/3d_render/layer_8 = ""
Optional name for the 3D render layer 8. If left empty, the layer will display as "Layer 8".
String layer_names/3d_render/layer_9 = ""
Optional name for the 3D render layer 9. If left empty, the layer will display as "Layer 9".
String layer_names/3d_render/layer_10 = ""
Optional name for the 3D render layer 10. If left empty, the layer will display as "Layer 10".
String layer_names/3d_render/layer_11 = ""
Optional name for the 3D render layer 11. If left empty, the layer will display as "Layer 11".
String layer_names/3d_render/layer_12 = ""
Optional name for the 3D render layer 12. If left empty, the layer will display as "Layer 12".
String layer_names/3d_render/layer_13 = ""
Optional name for the 3D render layer 13. If left empty, the layer will display as "Layer 13".
String layer_names/3d_render/layer_14 = ""
Optional name for the 3D render layer 14. If left empty, the layer will display as "Layer 14".
String layer_names/3d_render/layer_15 = ""
Optional name for the 3D render layer 15. If left empty, the layer will display as "Layer 15".
String layer_names/3d_render/layer_16 = ""
Optional name for the 3D render layer 16. If left empty, the layer will display as "Layer 16".
String layer_names/3d_render/layer_17 = ""
Optional name for the 3D render layer 17. If left empty, the layer will display as "Layer 17".
String layer_names/3d_render/layer_18 = ""
Optional name for the 3D render layer 18. If left empty, the layer will display as "Layer 18".
String layer_names/3d_render/layer_19 = ""
Optional name for the 3D render layer 19. If left empty, the layer will display as "Layer 19".
String layer_names/3d_render/layer_20 = ""
Optional name for the 3D render layer 20. If left empty, the layer will display as "Layer 20".
String layer_names/avoidance/layer_1 = ""
Optional name for the navigation avoidance layer 1. If left empty, the layer will display as "Layer 1".
String layer_names/avoidance/layer_2 = ""
Optional name for the navigation avoidance layer 2. If left empty, the layer will display as "Layer 2".
String layer_names/avoidance/layer_3 = ""
Optional name for the navigation avoidance layer 3. If left empty, the layer will display as "Layer 3".
String layer_names/avoidance/layer_4 = ""
Optional name for the navigation avoidance layer 4. If left empty, the layer will display as "Layer 4".
String layer_names/avoidance/layer_5 = ""
Optional name for the navigation avoidance layer 5. If left empty, the layer will display as "Layer 5".
String layer_names/avoidance/layer_6 = ""
Optional name for the navigation avoidance layer 6. If left empty, the layer will display as "Layer 6".
String layer_names/avoidance/layer_7 = ""
Optional name for the navigation avoidance layer 7. If left empty, the layer will display as "Layer 7".
String layer_names/avoidance/layer_8 = ""
Optional name for the navigation avoidance layer 8. If left empty, the layer will display as "Layer 8".
String layer_names/avoidance/layer_9 = ""
Optional name for the navigation avoidance layer 9. If left empty, the layer will display as "Layer 9".
String layer_names/avoidance/layer_10 = ""
Optional name for the navigation avoidance layer 10. If left empty, the layer will display as "Layer 10".
String layer_names/avoidance/layer_11 = ""
Optional name for the navigation avoidance layer 11. If left empty, the layer will display as "Layer 11".
String layer_names/avoidance/layer_12 = ""
Optional name for the navigation avoidance layer 12. If left empty, the layer will display as "Layer 12".
String layer_names/avoidance/layer_13 = ""
Optional name for the navigation avoidance layer 13. If left empty, the layer will display as "Layer 13".
String layer_names/avoidance/layer_14 = ""
Optional name for the navigation avoidance layer 14. If left empty, the layer will display as "Layer 14".
String layer_names/avoidance/layer_15 = ""
Optional name for the navigation avoidance layer 15. If left empty, the layer will display as "Layer 15".
String layer_names/avoidance/layer_16 = ""
Optional name for the navigation avoidance layer 16. If left empty, the layer will display as "Layer 16".
String layer_names/avoidance/layer_17 = ""
Optional name for the navigation avoidance layer 17. If left empty, the layer will display as "Layer 17".
String layer_names/avoidance/layer_18 = ""
Optional name for the navigation avoidance layer 18. If left empty, the layer will display as "Layer 18".
String layer_names/avoidance/layer_19 = ""
Optional name for the navigation avoidance layer 19. If left empty, the layer will display as "Layer 19".
String layer_names/avoidance/layer_20 = ""
Optional name for the navigation avoidance layer 20. If left empty, the layer will display as "Layer 20".
String layer_names/avoidance/layer_21 = ""
Optional name for the navigation avoidance layer 21. If left empty, the layer will display as "Layer 21".
String layer_names/avoidance/layer_22 = ""
Optional name for the navigation avoidance layer 22. If left empty, the layer will display as "Layer 22".
String layer_names/avoidance/layer_23 = ""
Optional name for the navigation avoidance layer 23. If left empty, the layer will display as "Layer 23".
String layer_names/avoidance/layer_24 = ""
Optional name for the navigation avoidance layer 24. If left empty, the layer will display as "Layer 24".
String layer_names/avoidance/layer_25 = ""
Optional name for the navigation avoidance layer 25. If left empty, the layer will display as "Layer 25".
String layer_names/avoidance/layer_26 = ""
Optional name for the navigation avoidance layer 26. If left empty, the layer will display as "Layer 26".
String layer_names/avoidance/layer_27 = ""
Optional name for the navigation avoidance layer 27. If left empty, the layer will display as "Layer 27".
String layer_names/avoidance/layer_28 = ""
Optional name for the navigation avoidance layer 28. If left empty, the layer will display as "Layer 28".
String layer_names/avoidance/layer_29 = ""
Optional name for the navigation avoidance layer 29. If left empty, the layer will display as "Layer 29".
String layer_names/avoidance/layer_30 = ""
Optional name for the navigation avoidance layer 30. If left empty, the layer will display as "Layer 30".
String layer_names/avoidance/layer_31 = ""
Optional name for the navigation avoidance layer 31. If left empty, the layer will display as "Layer 31".
String layer_names/avoidance/layer_32 = ""
Optional name for the navigation avoidance layer 32. If left empty, the layer will display as "Layer 32".
int memory/limits/message_queue/max_size_mb = 32
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 = 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.
Default cell size for 2D navigation maps. See NavigationServer2D.map_set_cell_size.
Default edge connection margin for 2D navigation maps. See NavigationServer2D.map_set_edge_connection_margin.
Default link connection radius for 2D navigation maps. See NavigationServer2D.map_set_link_connection_radius.
If enabled 2D navigation regions will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin. This setting only affects World2D default navigation maps.
Default cell height for 3D navigation maps. See NavigationServer3D.map_set_cell_height.
Default cell size for 3D navigation maps. See NavigationServer3D.map_set_cell_size.
Default edge connection margin for 3D navigation maps. See NavigationServer3D.map_set_edge_connection_margin.
Default link connection radius for 3D navigation maps. See NavigationServer3D.map_set_link_connection_radius.
Default up orientation for 3D navigation maps. See NavigationServer3D.map_set_up.
If enabled 3D navigation regions will use edge connections to connect with other navigation regions within proximity of the navigation map edge connection margin. This setting only affects World3D default navigation maps.
If enabled and avoidance calculations use multiple threads the threads run with high priority.
If enabled the avoidance calculations use multiple threads.
If enabled and async navmesh baking uses multiple threads the threads run with high priority.
If enabled the async navmesh baking uses multiple threads.
int network/limits/debugger/max_chars_per_second = 32768
Maximum number 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/max_errors_per_second = 400
Maximum number of errors allowed to be sent from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.
int network/limits/debugger/max_queued_messages = 2048
Maximum number of messages in the debugger queue. Over this value, content is dropped. This helps to limit the debugger memory usage.
int network/limits/debugger/max_warnings_per_second = 400
Maximum number of warnings allowed to be sent 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 = 16
Default size of packet peer stream for deserializing Godot data (in bytes, specified as a power of two). The default value 16
is equal to 65,536 bytes. Over this size, data is dropped.
int network/limits/tcp/connect_timeout_seconds = 30
Timeout (in seconds) for connection attempts using TCP.
int network/limits/webrtc/max_channel_in_buffer_kb = 64
Maximum size (in kiB) for the WebRTCDataChannel input buffer.
String network/tls/certificate_bundle_override = ""
The CA certificates bundle to use for TLS connections. If this is set to a non-empty value, this will override Godot's default Mozilla certificate bundle. If left empty, the default certificate bundle will be used.
If in doubt, leave this setting empty.
float physics/2d/default_angular_damp = 1.0
The default angular damp in 2D.
Note: Good values are in the range 0
to 1
. At value 0
objects will keep moving with the same velocity. Values greater than 1
will aim to reduce the velocity to 0
in less than a second e.g. a value of 2
will aim to reduce the velocity to 0
in half a second. A value equal to or greater than the physics frame rate (physics/common/physics_ticks_per_second, 60
by default) will bring the object to a stop in one iteration.
float physics/2d/default_gravity = 980.0
The default gravity strength in 2D (in pixels per second squared).
Note: This property is only read when the project starts. To change the default gravity at runtime, use the following code sample:
# Set the default gravity strength to 980.
PhysicsServer2D.area_set_param(get_viewport().find_world_2d().space, PhysicsServer2D.AREA_PARAM_GRAVITY, 980)
// Set the default gravity strength to 980.
PhysicsServer2D.AreaSetParam(GetViewport().FindWorld2D().Space, PhysicsServer2D.AreaParameter.Gravity, 980);
Vector2 physics/2d/default_gravity_vector = Vector2(0, 1)
The default gravity direction in 2D.
Note: This property is only read when the project starts. To change the default gravity vector at runtime, use the following code sample:
# Set the default gravity direction to `Vector2(0, 1)`.
PhysicsServer2D.area_set_param(get_viewport().find_world_2d().space, PhysicsServer2D.AREA_PARAM_GRAVITY_VECTOR, Vector2.DOWN)
// Set the default gravity direction to `Vector2(0, 1)`.
PhysicsServer2D.AreaSetParam(GetViewport().FindWorld2D().Space, PhysicsServer2D.AreaParameter.GravityVector, Vector2.Down)
float physics/2d/default_linear_damp = 0.1
The default linear damp in 2D.
Note: Good values are in the range 0
to 1
. At value 0
objects will keep moving with the same velocity. Values greater than 1
will aim to reduce the velocity to 0
in less than a second e.g. a value of 2
will aim to reduce the velocity to 0
in half a second. A value equal to or greater than the physics frame rate (physics/common/physics_ticks_per_second, 60
by default) will bring the object to a stop in one iteration.
String physics/2d/physics_engine = "DEFAULT"
Sets which physics engine to use for 2D physics.
"DEFAULT" and "GodotPhysics2D" are the same, as there is currently no alternative 2D physics server implemented.
bool physics/2d/run_on_separate_thread = false
If true
, the 2D physics server runs on a separate thread, making better use of multi-core CPUs. If false
, the 2D physics server runs on the main thread. Running the physics server on a separate thread can increase performance, but restricts API access to only physics process.
float physics/2d/sleep_threshold_angular = 0.139626
Threshold angular velocity under which a 2D physics body will be considered inactive. See PhysicsServer2D.SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD.
float physics/2d/sleep_threshold_linear = 2.0
Threshold linear velocity under which a 2D physics body will be considered inactive. See PhysicsServer2D.SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD.
float physics/2d/solver/contact_max_allowed_penetration = 0.3
Maximum distance a shape can penetrate another shape before it is considered a collision. See PhysicsServer2D.SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION.
float physics/2d/solver/contact_max_separation = 1.5
Maximum distance a shape can be from another before they are considered separated and the contact is discarded. See PhysicsServer2D.SPACE_PARAM_CONTACT_MAX_SEPARATION.
float physics/2d/solver/contact_recycle_radius = 1.0
Maximum distance a pair of bodies has to move before their collision status has to be recalculated. See PhysicsServer2D.SPACE_PARAM_CONTACT_RECYCLE_RADIUS.
float physics/2d/solver/default_constraint_bias = 0.2
Default solver bias for all physics constraints. Defines how much bodies react to enforce constraints. See PhysicsServer2D.SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS.
Individual constraints can have a specific bias value (see Joint2D.bias).
float physics/2d/solver/default_contact_bias = 0.8
Default solver bias for all physics contacts. Defines how much bodies react to enforce contact separation. See PhysicsServer2D.SPACE_PARAM_CONTACT_DEFAULT_BIAS.
Individual shapes can have a specific bias value (see Shape2D.custom_solver_bias).
int physics/2d/solver/solver_iterations = 16
Number of solver iterations for all contacts and constraints. The greater the number of iterations, the more accurate the collisions will be. However, a greater number of iterations requires more CPU power, which can decrease performance. See PhysicsServer2D.SPACE_PARAM_SOLVER_ITERATIONS.
float physics/2d/time_before_sleep = 0.5
Time (in seconds) of inactivity before which a 2D physics body will put to sleep. See PhysicsServer2D.SPACE_PARAM_BODY_TIME_TO_SLEEP.
float physics/3d/default_angular_damp = 0.1
The default angular damp in 3D.
Note: Good values are in the range 0
to 1
. At value 0
objects will keep moving with the same velocity. Values greater than 1
will aim to reduce the velocity to 0
in less than a second e.g. a value of 2
will aim to reduce the velocity to 0
in half a second. A value equal to or greater than the physics frame rate (physics/common/physics_ticks_per_second, 60
by default) will bring the object to a stop in one iteration.
float physics/3d/default_gravity = 9.8
The default gravity strength in 3D (in meters per second squared).
Note: This property is only read when the project starts. To change the default gravity at runtime, use the following code sample:
# Set the default gravity strength to 9.8.
PhysicsServer3D.area_set_param(get_viewport().find_world().space, PhysicsServer3D.AREA_PARAM_GRAVITY, 9.8)
// Set the default gravity strength to 9.8.
PhysicsServer3D.AreaSetParam(GetViewport().FindWorld().Space, PhysicsServer3D.AreaParameter.Gravity, 9.8);
Vector3 physics/3d/default_gravity_vector = Vector3(0, -1, 0)
The default gravity direction in 3D.
Note: This property is only read when the project starts. To change the default gravity vector at runtime, use the following code sample:
# Set the default gravity direction to `Vector3(0, -1, 0)`.
PhysicsServer3D.area_set_param(get_viewport().find_world().get_space(), PhysicsServer3D.AREA_PARAM_GRAVITY_VECTOR, Vector3.DOWN)
// Set the default gravity direction to `Vector3(0, -1, 0)`.
PhysicsServer3D.AreaSetParam(GetViewport().FindWorld().Space, PhysicsServer3D.AreaParameter.GravityVector, Vector3.Down)
float physics/3d/default_linear_damp = 0.1
The default linear damp in 3D.
Note: Good values are in the range 0
to 1
. At value 0
objects will keep moving with the same velocity. Values greater than 1
will aim to reduce the velocity to 0
in less than a second e.g. a value of 2
will aim to reduce the velocity to 0
in half a second. A value equal to or greater than the physics frame rate (physics/common/physics_ticks_per_second, 60
by default) will bring the object to a stop in one iteration.
String physics/3d/physics_engine = "DEFAULT"
Sets which physics engine to use for 3D physics.
"DEFAULT" and "GodotPhysics3D" are the same, as there is currently no alternative 3D physics server implemented.
bool physics/3d/run_on_separate_thread = false
If true
, the 3D physics server runs on a separate thread, making better use of multi-core CPUs. If false
, the 3D physics server runs on the main thread. Running the physics server on a separate thread can increase performance, but restricts API access to only physics process.
float physics/3d/sleep_threshold_angular = 0.139626
Threshold angular velocity under which a 3D physics body will be considered inactive. See PhysicsServer3D.SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD.
float physics/3d/sleep_threshold_linear = 0.1
Threshold linear velocity under which a 3D physics body will be considered inactive. See PhysicsServer3D.SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD.
float physics/3d/solver/contact_max_allowed_penetration = 0.01
Maximum distance a shape can penetrate another shape before it is considered a collision. See PhysicsServer3D.SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION.
float physics/3d/solver/contact_max_separation = 0.05
Maximum distance a shape can be from another before they are considered separated and the contact is discarded. See PhysicsServer3D.SPACE_PARAM_CONTACT_MAX_SEPARATION.
float physics/3d/solver/contact_recycle_radius = 0.01
Maximum distance a pair of bodies has to move before their collision status has to be recalculated. See PhysicsServer3D.SPACE_PARAM_CONTACT_RECYCLE_RADIUS.
float physics/3d/solver/default_contact_bias = 0.8
Default solver bias for all physics contacts. Defines how much bodies react to enforce contact separation. See PhysicsServer3D.SPACE_PARAM_CONTACT_DEFAULT_BIAS.
Individual shapes can have a specific bias value (see Shape3D.custom_solver_bias).
int physics/3d/solver/solver_iterations = 16
Number of solver iterations for all contacts and constraints. The greater the number of iterations, the more accurate the collisions will be. However, a greater number of iterations requires more CPU power, which can decrease performance. See PhysicsServer3D.SPACE_PARAM_SOLVER_ITERATIONS.
float physics/3d/time_before_sleep = 0.5
Time (in seconds) of inactivity before which a 3D physics body will put to sleep. See PhysicsServer3D.SPACE_PARAM_BODY_TIME_TO_SLEEP.
bool physics/common/enable_object_picking = true
Enables Viewport.physics_object_picking on the root viewport.
int physics/common/max_physics_steps_per_frame = 8
Controls the maximum number of physics steps that can be simulated each rendered frame. The default value is tuned to avoid "spiral of death" situations where expensive physics simulations trigger more expensive simulations indefinitely. However, the game will appear to slow down if the rendering FPS is less than 1 / max_physics_steps_per_frame
of physics/common/physics_ticks_per_second. This occurs even if delta
is consistently used in physics calculations. To avoid this, increase physics/common/max_physics_steps_per_frame if you have increased physics/common/physics_ticks_per_second significantly above its default value.
Note: This property is only read when the project starts. To change the maximum number of simulated physics steps per frame at runtime, set Engine.max_physics_steps_per_frame instead.
float physics/common/physics_jitter_fix = 0.5
Controls how much physics ticks are synchronized with real time. For 0 or less, the ticks are synchronized. Such values are recommended for network games, where clock synchronization matters. Higher values cause higher deviation of in-game clock and real clock, but allows smoothing out framerate jitters. The default value of 0.5 should be fine for most; values above 2 could cause the game to react to dropped frames with a noticeable delay and are not recommended.
Note: For best results, when using a custom physics interpolation solution, the physics jitter fix should be disabled by setting physics/common/physics_jitter_fix to 0
.
Note: This property is only read when the project starts. To change the physics FPS at runtime, set Engine.physics_jitter_fix instead.
int physics/common/physics_ticks_per_second = 60
The number of fixed iterations per second. This controls how often physics simulation and Node._physics_process methods are run. See also application/run/max_fps.
Note: This property is only read when the project starts. To change the physics FPS at runtime, set Engine.physics_ticks_per_second instead.
Note: Only physics/common/max_physics_steps_per_frame physics ticks may be simulated per rendered frame at most. If more physics ticks have to be simulated per rendered frame to keep up with rendering, the project will appear to slow down (even if delta
is used consistently in physics calculations). Therefore, it is recommended to also increase physics/common/max_physics_steps_per_frame if increasing physics/common/physics_ticks_per_second significantly above its default value.
int rendering/2d/sdf/oversize = 1
Controls how much of the original viewport size should be covered by the 2D signed distance field. This SDF can be sampled in CanvasItem shaders and is used for GPUParticles2D collision. Higher values allow portions of occluders located outside the viewport to still be taken into account in the generated signed distance field, at the cost of performance. If you notice particles falling through LightOccluder2Ds as the occluders leave the viewport, increase this setting.
The percentage specified is added on each axis and on both sides. For example, with the default setting of 120%, the signed distance field will cover 20% of the viewport's size outside the viewport on each side (top, right, bottom, left).
Note: This property is only read when the project starts. To change the 2D SDF oversizing percentage at runtime, use RenderingServer.viewport_set_sdf_oversize_and_scale instead.
int rendering/2d/sdf/scale = 1
The resolution scale to use for the 2D signed distance field. Higher values lead to a more precise and more stable signed distance field as the camera moves, at the cost of performance. The default value (50%) renders at half the resolution of the viewport size on each axis, which means the SDF is generated with 25% of the viewport's pixel count.
Note: This property is only read when the project starts. To change the 2D SDF resolution scale at runtime, use RenderingServer.viewport_set_sdf_oversize_and_scale instead.
int rendering/2d/shadow_atlas/size = 2048
The size of the 2D shadow atlas in pixels. Higher values result in more precise Light2D shadows, at the cost of performance and video memory usage. The specified value is rounded up to the nearest power of 2.
Note: This property is only read when the project starts. To change the 2D shadow atlas size at runtime, use RenderingServer.canvas_set_shadow_texture_size instead.
bool rendering/2d/snap/snap_2d_transforms_to_pixel = false
If true
, CanvasItem nodes will internally snap to full pixels. Their position can still be sub-pixel, but the decimals will not have effect. This can lead to a crisper appearance at the cost of less smooth movement, especially when Camera2D smoothing is enabled.
Note: This property is only read when the project starts. To toggle 2D transform snapping at runtime, use RenderingServer.viewport_set_snap_2d_transforms_to_pixel on the root Viewport instead.
Note: Control nodes are snapped to the nearest pixel by default. This is controlled by gui/common/snap_controls_to_pixels.
bool rendering/2d/snap/snap_2d_vertices_to_pixel = false
If true
, vertices of CanvasItem nodes will snap to full pixels. Only affects the final vertex positions, not the transforms. This can lead to a crisper appearance at the cost of less smooth movement, especially when Camera2D smoothing is enabled.
Note: This property is only read when the project starts. To toggle 2D vertex snapping at runtime, use RenderingServer.viewport_set_snap_2d_vertices_to_pixel on the root Viewport instead.
Note: Control nodes are snapped to the nearest pixel by default. This is controlled by gui/common/snap_controls_to_pixels.
int rendering/anti_aliasing/quality/msaa_2d = 0
Sets the number of MSAA samples to use for 2D/Canvas rendering (as a power of two). MSAA is used to reduce aliasing around the edges of polygons. A higher MSAA value results in smoother edges but can be significantly slower on some hardware, especially integrated graphics due to their limited memory bandwidth. This has no effect on shader-induced aliasing or texture aliasing.
Note: MSAA is only supported in the Forward+ and Mobile rendering methods, not Compatibility.
int rendering/anti_aliasing/quality/msaa_3d = 0
Sets the number of MSAA samples to use for 3D rendering (as a power of two). MSAA is used to reduce aliasing around the edges of polygons. A higher MSAA value results in smoother edges but can be significantly slower on some hardware, especially integrated graphics due to their limited memory bandwidth. See also rendering/scaling_3d/mode for supersampling, which provides higher quality but is much more expensive. This has no effect on shader-induced aliasing or texture aliasing.
Note: MSAA is only supported in the Forward+ and Mobile rendering methods, not Compatibility.
int rendering/anti_aliasing/quality/screen_space_aa = 0
Sets the screen-space antialiasing mode for the default screen Viewport. Screen-space antialiasing works by selectively blurring edges in a post-process shader. It differs from MSAA which takes multiple coverage samples while rendering objects. Screen-space AA methods are typically faster than MSAA and will smooth out specular aliasing, but tend to make scenes appear blurry. The blurriness is partially counteracted by automatically using a negative mipmap LOD bias (see rendering/textures/default_filters/texture_mipmap_bias).
Another way to combat specular aliasing is to enable rendering/anti_aliasing/screen_space_roughness_limiter/enabled.
Note: Screen-space antialiasing is only supported in the Forward+ and Mobile rendering methods, not Compatibility.
bool rendering/anti_aliasing/quality/use_debanding = false
If true
, uses a fast post-processing filter to make banding significantly less visible in 3D. 2D rendering is not affected by debanding unless the Environment.background_mode is Environment.BG_CANVAS.
In some cases, debanding may introduce a slightly noticeable dithering pattern. It's recommended to enable debanding only when actually needed since the dithering pattern will make lossless-compressed screenshots larger.
Note: This property is only read when the project starts. To set debanding at run-time, set Viewport.use_debanding on the root Viewport instead.
bool rendering/anti_aliasing/quality/use_taa = false
Enables Temporal Anti-Aliasing for the default screen Viewport. TAA works by jittering the camera and accumulating the images of the last rendered frames, motion vector rendering is used to account for camera and object motion. Enabling TAA can make the image blurrier, which is partially counteracted by automatically using a negative mipmap LOD bias (see rendering/textures/default_filters/texture_mipmap_bias).
Note: The implementation is not complete yet. Some visual instances such as particles and skinned meshes may show ghosting artifacts in motion.
Note: TAA is only supported in the Forward+ rendering method, not Mobile or Compatibility.
float rendering/anti_aliasing/screen_space_roughness_limiter/amount = 0.25
Note: This property is only read when the project starts. To control the screen-space roughness limiter at runtime, call RenderingServer.screen_space_roughness_limiter_set_active instead.
bool rendering/anti_aliasing/screen_space_roughness_limiter/enabled = true
If true
, enables a spatial filter to limit roughness in areas with high-frequency detail. This can help reduce specular aliasing to an extent, though not as much as enabling rendering/anti_aliasing/quality/use_taa. This filter has a small performance cost, so consider disabling it if it doesn't benefit your scene noticeably.
Note: The screen-space roughness limiter is only supported in the Forward+ and Mobile rendering methods, not Compatibility.
Note: This property is only read when the project starts. To control the screen-space roughness limiter at runtime, call RenderingServer.screen_space_roughness_limiter_set_active instead.
float rendering/anti_aliasing/screen_space_roughness_limiter/limit = 0.18
Note: This property is only read when the project starts. To control the screen-space roughness limiter at runtime, call RenderingServer.screen_space_roughness_limiter_set_active instead.
int rendering/camera/depth_of_field/depth_of_field_bokeh_quality = 1
Sets the quality of the depth of field effect. Higher quality takes more samples, which is slower but looks smoother.
int rendering/camera/depth_of_field/depth_of_field_bokeh_shape = 1
Sets the depth of field shape. Can be Box, Hexagon, or Circle. Box is the fastest. Circle is the most realistic, but also the most expensive to compute.
bool rendering/camera/depth_of_field/depth_of_field_use_jitter = false
If true
, jitters DOF samples to make effect slightly blurrier and hide lines created from low sample rates. This can result in a slightly grainy appearance when used with a low number of samples.
String rendering/driver/depth_prepass/disable_for_vendors = "PowerVR,Mali,Adreno,Apple"
Disables rendering/driver/depth_prepass/enable conditionally for certain vendors. By default, disables the depth prepass for mobile devices as mobile devices do not benefit from the depth prepass due to their unique architecture.
bool rendering/driver/depth_prepass/enable = true
If true
, performs a previous depth pass before rendering 3D materials. This increases performance significantly in scenes with high overdraw, when complex materials and lighting are used. However, in scenes with few occluded surfaces, the depth prepass may reduce performance. If your game is viewed from a fixed angle that makes it easy to avoid overdraw (such as top-down or side-scrolling perspective), consider disabling the depth prepass to improve performance. This setting can be changed at run-time to optimize performance depending on the scene currently being viewed.
Note: Depth prepass is only supported when using the Forward+ or Compatibility rendering method. When using the Mobile rendering method, there is no depth prepass performed.
int rendering/driver/threads/thread_model = 1
The thread model to use for rendering. Rendering on a thread may improve performance, but synchronizing to the main thread can cause a bit more jitter.
Note: The Multi-Threaded option is experimental, and has several known bugs which can lead to crashing, especially when using particles or resizing the window. Not recommended for use in production at this stage.
Color rendering/environment/defaults/default_clear_color = Color(0.3, 0.3, 0.3, 1)
Default background clear color. Overridable per Viewport using its Environment. See Environment.background_mode and Environment.background_color in particular. To change this default color programmatically, use RenderingServer.set_default_clear_color.
String rendering/environment/defaults/default_environment = ""
Environment that will be used as a fallback environment in case a scene does not specify its own environment. The default environment is loaded in at scene load time regardless of whether you have set an environment or not. If you do not rely on the fallback environment, you do not need to set this property.
int rendering/environment/glow/upscale_mode = 1
Sets how the glow effect is upscaled before being copied onto the screen. Linear is faster, but looks blocky. Bicubic is slower but looks smooth.
int rendering/environment/glow/upscale_mode.mobile = 0
Lower-end override for rendering/environment/glow/upscale_mode on mobile devices, due to performance concerns or driver support.
int rendering/environment/screen_space_reflection/roughness_quality = 1
Sets the quality for rough screen-space reflections. Turning off will make all screen space reflections sharp, while higher values make rough reflections look better.
float rendering/environment/ssao/adaptive_target = 0.5
Quality target to use when rendering/environment/ssao/quality is set to Ultra
. A value of 0.0
provides a quality and speed similar to Medium
while a value of 1.0
provides much higher quality than any of the other settings at the cost of performance.
int rendering/environment/ssao/blur_passes = 2
Number of blur passes to use when computing screen-space ambient occlusion. A higher number will result in a smoother look, but will be slower to compute and will have less high-frequency detail.
float rendering/environment/ssao/fadeout_from = 50.0
Distance at which the screen-space ambient occlusion effect starts to fade out. Use this hide ambient occlusion at great distances.
float rendering/environment/ssao/fadeout_to = 300.0
Distance at which the screen-space ambient occlusion is fully faded out. Use this hide ambient occlusion at great distances.
bool rendering/environment/ssao/half_size = true
If true
, screen-space ambient occlusion will be rendered at half size and then upscaled before being added to the scene. This is significantly faster but may miss small details. If false
, screen-space ambient occlusion will be rendered at full size.
int rendering/environment/ssao/quality = 2
Sets the quality of the screen-space ambient occlusion effect. Higher values take more samples and so will result in better quality, at the cost of performance. Setting to Ultra
will use the rendering/environment/ssao/adaptive_target setting.
float rendering/environment/ssil/adaptive_target = 0.5
Quality target to use when rendering/environment/ssil/quality is set to Ultra
. A value of 0.0
provides a quality and speed similar to Medium
while a value of 1.0
provides much higher quality than any of the other settings at the cost of performance. When using the adaptive target, the performance cost scales with the complexity of the scene.
int rendering/environment/ssil/blur_passes = 4
Number of blur passes to use when computing screen-space indirect lighting. A higher number will result in a smoother look, but will be slower to compute and will have less high-frequency detail.
float rendering/environment/ssil/fadeout_from = 50.0
Distance at which the screen-space indirect lighting effect starts to fade out. Use this hide screen-space indirect lighting at great distances.
float rendering/environment/ssil/fadeout_to = 300.0
Distance at which the screen-space indirect lighting is fully faded out. Use this hide screen-space indirect lighting at great distances.
bool rendering/environment/ssil/half_size = true
If true
, screen-space indirect lighting will be rendered at half size and then upscaled before being added to the scene. This is significantly faster but may miss small details and may result in some objects appearing to glow at their edges.
int rendering/environment/ssil/quality = 2
Sets the quality of the screen-space indirect lighting effect. Higher values take more samples and so will result in better quality, at the cost of performance. Setting to Ultra
will use the rendering/environment/ssil/adaptive_target setting.
float rendering/environment/subsurface_scattering/subsurface_scattering_depth_scale = 0.01
Scales the depth over which the subsurface scattering effect is applied. A high value may allow light to scatter into a part of the mesh or another mesh that is close in screen space but far in depth. See also rendering/environment/subsurface_scattering/subsurface_scattering_scale.
Note: This property is only read when the project starts. To set the subsurface scattering depth scale at runtime, call RenderingServer.sub_surface_scattering_set_scale instead.
int rendering/environment/subsurface_scattering/subsurface_scattering_quality = 1
Sets the quality of the subsurface scattering effect. Higher values are slower but look nicer. This affects the rendering of materials that have BaseMaterial3D.subsurf_scatter_enabled set to true
, along with ShaderMaterials that set SSS_STRENGTH
.
Note: This property is only read when the project starts. To set the subsurface scattering quality at runtime, call RenderingServer.sub_surface_scattering_set_quality instead.
float rendering/environment/subsurface_scattering/subsurface_scattering_scale = 0.05
Scales the distance over which samples are taken for subsurface scattering effect. Changing this does not impact performance, but higher values will result in significant artifacts as the samples will become obviously spread out. A lower value results in a smaller spread of scattered light. See also rendering/environment/subsurface_scattering/subsurface_scattering_depth_scale.
Note: This property is only read when the project starts. To set the subsurface scattering scale at runtime, call RenderingServer.sub_surface_scattering_set_scale instead.
int rendering/environment/volumetric_fog/use_filter = 1
Enables filtering of the volumetric fog effect prior to integration. This substantially blurs the fog which reduces fine details but also smooths out harsh edges and aliasing artifacts. Disable when more detail is required.
int rendering/environment/volumetric_fog/volume_depth = 64
Number of slices to use along the depth of the froxel buffer for volumetric fog. A lower number will be more efficient but may result in artifacts appearing during camera movement. See also Environment.volumetric_fog_length.
int rendering/environment/volumetric_fog/volume_size = 64
Base size used to determine size of froxel buffer in the camera X-axis and Y-axis. The final size is scaled by the aspect ratio of the screen, so actual values may differ from what is set. Set a larger size for more detailed fog, set a smaller size for better performance.
String rendering/gl_compatibility/driver = "opengl3"
Sets the driver to be used by the renderer when using the Compatibility renderer. This property can not be edited directly, instead, set the driver using the platform-specific overrides.
String rendering/gl_compatibility/driver.android = "opengl3"
Android override for rendering/gl_compatibility/driver.
String rendering/gl_compatibility/driver.ios = "opengl3"
iOS override for rendering/gl_compatibility/driver.
String rendering/gl_compatibility/driver.linuxbsd = "opengl3"
LinuxBSD override for rendering/gl_compatibility/driver.
String rendering/gl_compatibility/driver.macos = "opengl3"
macOS override for rendering/gl_compatibility/driver.
String rendering/gl_compatibility/driver.web = "opengl3"
Web override for rendering/gl_compatibility/driver.
String rendering/gl_compatibility/driver.windows = "opengl3"
Windows override for rendering/gl_compatibility/driver.
int rendering/gl_compatibility/item_buffer_size = 16384
Maximum number of canvas items commands that can be drawn in a single viewport update. If more render commands are issued they will be ignored. Decreasing this limit may improve performance on bandwidth limited devices. Increase this limit if you find that not all objects are being drawn in a frame.
bool rendering/gl_compatibility/nvidia_disable_threaded_optimization = true
If true
, disables the threaded optimization feature from the NVIDIA drivers, which are known to cause stuttering in most OpenGL applications.
Note: This setting only works on Windows, as threaded optimization is disabled by default on other platforms.
bool rendering/global_illumination/gi/use_half_resolution = false
If true
, renders VoxelGI and SDFGI (Environment.sdfgi_enabled) buffers at halved resolution (e.g. 960Γ540 when the viewport size is 1920Γ1080). This improves performance significantly when VoxelGI or SDFGI is enabled, at the cost of artifacts that may be visible on polygon edges. The loss in quality becomes less noticeable as the viewport resolution increases. LightmapGI rendering is not affected by this setting.
Note: This property is only read when the project starts. To set half-resolution GI at run-time, call RenderingServer.gi_set_use_half_resolution instead.
int rendering/global_illumination/sdfgi/frames_to_converge = 5
The number of frames to use for converging signed distance field global illumination. Higher values lead to a less noisy result, at the cost of taking a longer time to fully converge. This means the scene's global illumination will be too dark for a longer period of time, especially when the camera moves fast. The actual convergence speed depends on rendered framerate. For example, with the default setting of 30 frames, rendering at 60 FPS will make SDFGI fully converge after 0.5 seconds. See also rendering/global_illumination/sdfgi/frames_to_update_lights and rendering/global_illumination/sdfgi/probe_ray_count.
Note: This property is only read when the project starts. To control SDFGI convergence speed at runtime, call RenderingServer.environment_set_sdfgi_frames_to_converge instead.
int rendering/global_illumination/sdfgi/frames_to_update_lights = 2
The number of frames over which dynamic lights should be updated in signed distance field global illumination. Higher values take more time to update indirect lighting coming from dynamic lights, but result in better performance when many dynamic lights are present. See also rendering/global_illumination/sdfgi/frames_to_converge and rendering/global_illumination/sdfgi/probe_ray_count.
Note: This only affects Light3D nodes whose Light3D.light_bake_mode is Light3D.BAKE_DYNAMIC (which is the default). Consider making non-moving lights use the Light3D.BAKE_STATIC bake mode to improve performance.
Note: This property is only read when the project starts. To control SDFGI light update speed at runtime, call RenderingServer.environment_set_sdfgi_frames_to_update_light instead.
int rendering/global_illumination/sdfgi/probe_ray_count = 1
The number of rays to throw per frame when computing signed distance field global illumination. Higher values lead to a less noisy result, at the cost of performance. See also rendering/global_illumination/sdfgi/frames_to_converge and rendering/global_illumination/sdfgi/frames_to_update_lights.
Note: This property is only read when the project starts. To control SDFGI quality at runtime, call RenderingServer.environment_set_sdfgi_ray_count instead.
int rendering/global_illumination/voxel_gi/quality = 0
The VoxelGI quality to use. High quality leads to more precise lighting and better reflections, but is slower to render. This setting does not affect the baked data and doesn't require baking the VoxelGI again to apply.
Note: This property is only read when the project starts. To control VoxelGI quality at runtime, call RenderingServer.voxel_gi_set_quality instead.
int rendering/lightmapping/bake_performance/max_rays_per_pass = 32
The maximum number of rays that can be thrown per pass when baking lightmaps with LightmapGI. Depending on the scene, adjusting this value may result in higher GPU utilization when baking lightmaps, leading to faster bake times.
int rendering/lightmapping/bake_performance/max_rays_per_probe_pass = 64
The maximum number of rays that can be thrown per pass when baking dynamic object lighting in LightmapProbes with LightmapGI. Depending on the scene, adjusting this value may result in higher GPU utilization when baking lightmaps, leading to faster bake times.
int rendering/lightmapping/bake_performance/region_size = 512
The region size to use when baking lightmaps with LightmapGI.
int rendering/lightmapping/bake_quality/high_quality_probe_ray_count = 512
The number of rays to use for baking dynamic object lighting in LightmapProbes when LightmapGI.quality is LightmapGI.BAKE_QUALITY_HIGH.
int rendering/lightmapping/bake_quality/high_quality_ray_count = 256
The number of rays to use for baking lightmaps with LightmapGI when LightmapGI.quality is LightmapGI.BAKE_QUALITY_HIGH.
int rendering/lightmapping/bake_quality/low_quality_probe_ray_count = 64
The number of rays to use for baking dynamic object lighting in LightmapProbes when LightmapGI.quality is LightmapGI.BAKE_QUALITY_LOW.
int rendering/lightmapping/bake_quality/low_quality_ray_count = 16
The number of rays to use for baking lightmaps with LightmapGI when LightmapGI.quality is LightmapGI.BAKE_QUALITY_LOW.
int rendering/lightmapping/bake_quality/medium_quality_probe_ray_count = 256
The number of rays to use for baking dynamic object lighting in LightmapProbes when LightmapGI.quality is LightmapGI.BAKE_QUALITY_MEDIUM.
int rendering/lightmapping/bake_quality/medium_quality_ray_count = 64
The number of rays to use for baking lightmaps with LightmapGI when LightmapGI.quality is LightmapGI.BAKE_QUALITY_MEDIUM.
int rendering/lightmapping/bake_quality/ultra_quality_probe_ray_count = 2048
The number of rays to use for baking dynamic object lighting in LightmapProbes when LightmapGI.quality is LightmapGI.BAKE_QUALITY_ULTRA.
int rendering/lightmapping/bake_quality/ultra_quality_ray_count = 1024
The number of rays to use for baking lightmaps with LightmapGI when LightmapGI.quality is LightmapGI.BAKE_QUALITY_ULTRA.
float rendering/lightmapping/primitive_meshes/texel_size = 0.2
The texel_size that is used to calculate the Mesh.lightmap_size_hint on PrimitiveMesh resources if PrimitiveMesh.add_uv2 is enabled.
float rendering/lightmapping/probe_capture/update_speed = 15
The framerate-independent update speed when representing dynamic object lighting from LightmapProbes. Higher values make dynamic object lighting update faster. Higher values can prevent fast-moving objects from having "outdated" indirect lighting displayed on them, at the cost of possible flickering when an object moves from a bright area to a shaded area.
bool rendering/lights_and_shadows/directional_shadow/16_bits = true
Use 16 bits for the directional shadow depth map. Enabling this results in shadows having less precision and may result in shadow acne, but can lead to performance improvements on some devices.
int rendering/lights_and_shadows/directional_shadow/size = 4096
The directional shadow's size in pixels. Higher values will result in sharper shadows, at the cost of performance. The value is rounded up to the nearest power of 2.
int rendering/lights_and_shadows/directional_shadow/size.mobile = 2048
Lower-end override for rendering/lights_and_shadows/directional_shadow/size on mobile devices, due to performance concerns or driver support.
int rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality = 2
Quality setting for shadows cast by DirectionalLight3Ds. Higher quality settings use more samples when reading from shadow maps and are thus slower. Low quality settings may result in shadows looking grainy.
Note: The Soft Very Low setting will automatically multiply constant shadow blur by 0.75x to reduce the amount of noise visible. This automatic blur change only affects the constant blur factor defined in Light3D.shadow_blur, not the variable blur performed by DirectionalLight3Ds' Light3D.light_angular_distance.
Note: The Soft High and Soft Ultra settings will automatically multiply constant shadow blur by 1.5Γ and 2Γ respectively to make better use of the increased sample count. This increased blur also improves stability of dynamic object shadows.
int rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality.mobile = 0
Lower-end override for rendering/lights_and_shadows/directional_shadow/soft_shadow_filter_quality on mobile devices, due to performance concerns or driver support.
bool rendering/lights_and_shadows/positional_shadow/atlas_16_bits = true
Use 16 bits for the omni/spot shadow depth map. Enabling this results in shadows having less precision and may result in shadow acne, but can lead to performance improvements on some devices.
int rendering/lights_and_shadows/positional_shadow/atlas_quadrant_0_subdiv = 2
Subdivision quadrant size for shadow mapping. See shadow mapping documentation.
int rendering/lights_and_shadows/positional_shadow/atlas_quadrant_1_subdiv = 2
Subdivision quadrant size for shadow mapping. See shadow mapping documentation.
int rendering/lights_and_shadows/positional_shadow/atlas_quadrant_2_subdiv = 3
Subdivision quadrant size for shadow mapping. See shadow mapping documentation.
int rendering/lights_and_shadows/positional_shadow/atlas_quadrant_3_subdiv = 4
Subdivision quadrant size for shadow mapping. See shadow mapping documentation.
int rendering/lights_and_shadows/positional_shadow/atlas_size = 4096
Size for shadow atlas (used for OmniLights and SpotLights). See documentation.
int rendering/lights_and_shadows/positional_shadow/atlas_size.mobile = 2048
Lower-end override for rendering/lights_and_shadows/positional_shadow/atlas_size on mobile devices, due to performance concerns or driver support.
int rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality = 2
Quality setting for shadows cast by OmniLight3Ds and SpotLight3Ds. Higher quality settings use more samples when reading from shadow maps and are thus slower. Low quality settings may result in shadows looking grainy.
Note: The Soft Very Low setting will automatically multiply constant shadow blur by 0.75x to reduce the amount of noise visible. This automatic blur change only affects the constant blur factor defined in Light3D.shadow_blur, not the variable blur performed by DirectionalLight3Ds' Light3D.light_angular_distance.
Note: The Soft High and Soft Ultra settings will automatically multiply shadow blur by 1.5Γ and 2Γ respectively to make better use of the increased sample count. This increased blur also improves stability of dynamic object shadows.
int rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality.mobile = 0
Lower-end override for rendering/lights_and_shadows/positional_shadow/soft_shadow_filter_quality on mobile devices, due to performance concerns or driver support.
bool rendering/lights_and_shadows/use_physical_light_units = false
Enables the use of physically based units for light sources. Physically based units tend to be much larger than the arbitrary units used by Godot, but they can be used to match lighting within Godot to real-world lighting. Due to the large dynamic range of lighting conditions present in nature, Godot bakes exposure into the various lighting quantities before rendering. Most light sources bake exposure automatically at run time based on the active CameraAttributes resource, but LightmapGI and VoxelGI require a CameraAttributes resource to be set at bake time to reduce the dynamic range. At run time, Godot will automatically reconcile the baked exposure with the active exposure to ensure lighting remains consistent.
float rendering/limits/cluster_builder/max_clustered_elements = 512
The maximum number of clustered elements (OmniLight3D + SpotLight3D + Decal + ReflectionProbe) that can be rendered at once in the camera view. If there are more clustered elements present in the camera view, some of them will not be rendered (leading to pop-in during camera movement). Enabling distance fade on lights and decals (Light3D.distance_fade_enabled, Decal.distance_fade_enabled) can help avoid reaching this limit.
Decreasing this value may improve GPU performance on certain setups, even if the maximum number of clustered elements is never reached in the project.
Note: This setting is only effective when using the Forward+ rendering method, not Mobile and Compatibility.
int rendering/limits/forward_renderer/threaded_render_minimum_instances = 500
There is currently no description for this property. Please help us by contributing one!
int rendering/limits/global_shader_variables/buffer_size = 65536
There is currently no description for this property. Please help us by contributing one!
int rendering/limits/opengl/max_lights_per_object = 8
Max number of omnilights and spotlights renderable per object. At the default value of 8, this means that each surface can be affected by up to 8 omnilights and 8 spotlights. This is further limited by hardware support and rendering/limits/opengl/max_renderable_lights. Setting this low will slightly reduce memory usage, may decrease shader compile times, and may result in faster rendering on low-end, mobile, or web devices.
Note: This setting is only effective when using the Compatibility rendering method, not Forward+ and Mobile.
int rendering/limits/opengl/max_renderable_elements = 65536
Max number of elements renderable in a frame. If more elements than this are visible per frame, they will not be drawn. Keep in mind elements refer to mesh surfaces and not meshes themselves. Setting this low will slightly reduce memory usage and may decrease shader compile times, particularly on web. For most uses, the default value is suitable, but consider lowering as much as possible on web export.
Note: This setting is only effective when using the Compatibility rendering method, not Forward+ and Mobile.
int rendering/limits/opengl/max_renderable_lights = 32
Max number of positional lights renderable in a frame. If more lights than this number are used, they will be ignored. Setting this low will slightly reduce memory usage and may decrease shader compile times, particularly on web. For most uses, the default value is suitable, but consider lowering as much as possible on web export.
Note: This setting is only effective when using the Compatibility rendering method, not Forward+ and Mobile.
int rendering/limits/spatial_indexer/threaded_cull_minimum_instances = 1000
There is currently no description for this property. Please help us by contributing one!
int rendering/limits/spatial_indexer/update_iterations_per_frame = 10
There is currently no description for this property. Please help us by contributing one!
float rendering/limits/time/time_rollover_secs = 3600
There is currently no description for this property. Please help us by contributing one!
float rendering/mesh_lod/lod_change/threshold_pixels = 1.0
The automatic LOD bias to use for meshes rendered within the ReflectionProbe. Higher values will use less detailed versions of meshes that have LOD variations generated. If set to 0.0
, automatic LOD is disabled. Increase rendering/mesh_lod/lod_change/threshold_pixels to improve performance at the cost of geometry detail.
Note: rendering/mesh_lod/lod_change/threshold_pixels does not affect GeometryInstance3D visibility ranges (also known as "manual" LOD or hierarchical LOD).
Note: This property is only read when the project starts. To adjust the automatic LOD threshold at runtime, set Viewport.mesh_lod_threshold on the root Viewport.
int rendering/occlusion_culling/bvh_build_quality = 2
The Bounding Volume Hierarchy quality to use when rendering the occlusion culling buffer. Higher values will result in more accurate occlusion culling, at the cost of higher CPU usage. See also rendering/occlusion_culling/occlusion_rays_per_thread.
Note: This property is only read when the project starts. To adjust the BVH build quality at runtime, use RenderingServer.viewport_set_occlusion_culling_build_quality.
int rendering/occlusion_culling/occlusion_rays_per_thread = 512
The number of occlusion rays traced per CPU thread. Higher values will result in more accurate occlusion culling, at the cost of higher CPU usage. The occlusion culling buffer's pixel count is roughly equal to occlusion_rays_per_thread * number_of_logical_cpu_cores
, so it will depend on the system's CPU. Therefore, CPUs with fewer cores will use a lower resolution to attempt keeping performance costs even across devices. See also rendering/occlusion_culling/bvh_build_quality.
Note: This property is only read when the project starts. To adjust the number of occlusion rays traced per thread at runtime, use RenderingServer.viewport_set_occlusion_rays_per_thread.
bool rendering/occlusion_culling/use_occlusion_culling = false
If true
, OccluderInstance3D nodes will be usable for occlusion culling in 3D in the root viewport. In custom viewports, Viewport.use_occlusion_culling must be set to true
instead.
Note: Enabling occlusion culling has a cost on the CPU. Only enable occlusion culling if you actually plan to use it. Large open scenes with few or no objects blocking the view will generally not benefit much from occlusion culling. Large open scenes generally benefit more from mesh LOD and visibility ranges (GeometryInstance3D.visibility_range_begin and GeometryInstance3D.visibility_range_end) compared to occlusion culling.
int rendering/reflections/reflection_atlas/reflection_count = 64
Number of cubemaps to store in the reflection atlas. The number of ReflectionProbes in a scene will be limited by this amount. A higher number requires more VRAM.
int rendering/reflections/reflection_atlas/reflection_size = 256
Size of cubemap faces for ReflectionProbes. A higher number requires more VRAM and may make reflection probe updating slower.
int rendering/reflections/reflection_atlas/reflection_size.mobile = 128
Lower-end override for rendering/reflections/reflection_atlas/reflection_size on mobile devices, due to performance concerns or driver support.
bool rendering/reflections/sky_reflections/fast_filter_high_quality = false
Use a higher quality variant of the fast filtering algorithm. Significantly slower than using default quality, but results in smoother reflections. Should only be used when the scene is especially detailed.
int rendering/reflections/sky_reflections/ggx_samples = 32
Sets the number of samples to take when using importance sampling for Skys and ReflectionProbes. A higher value will result in smoother, higher quality reflections, but increases time to calculate radiance maps. In general, fewer samples are needed for simpler, low dynamic range environments while more samples are needed for HDR environments and environments with a high level of detail.
int rendering/reflections/sky_reflections/ggx_samples.mobile = 16
Lower-end override for rendering/reflections/sky_reflections/ggx_samples on mobile devices, due to performance concerns or driver support.
int rendering/reflections/sky_reflections/roughness_layers = 8
Limits the number of layers to use in radiance maps when using importance sampling. A lower number will be slightly faster and take up less VRAM.
bool rendering/reflections/sky_reflections/texture_array_reflections = true
If true
, uses texture arrays instead of mipmaps for reflection probes and panorama backgrounds (sky). This reduces jitter noise and upscaling artifacts on reflections, but is significantly slower to compute and uses rendering/reflections/sky_reflections/roughness_layers times more memory.
bool rendering/reflections/sky_reflections/texture_array_reflections.mobile = false
Lower-end override for rendering/reflections/sky_reflections/texture_array_reflections on mobile devices, due to performance concerns or driver support.
String rendering/renderer/rendering_method = "forward_plus"
Sets the renderer that will be used by the project. Options are:
Forward Plus: High-end renderer designed for Desktop devices. Has a higher base overhead, but scales well with complex scenes. Not suitable for older devices or mobile.
Mobile: Modern renderer designed for mobile devices. Has a lower base overhead than Forward Plus, but does not scale as well to large scenes with many elements.
GL Compatibility: Low-end renderer designed for older devices. Based on the limitations of the OpenGL 3.3/ OpenGL ES 3.0 / WebGL 2 APIs.
String rendering/renderer/rendering_method.mobile = "mobile"
Override for rendering/renderer/rendering_method on mobile devices.
String rendering/renderer/rendering_method.web = "gl_compatibility"
Override for rendering/renderer/rendering_method on web.
String rendering/rendering_device/driver = "vulkan"
Sets the driver to be used by the renderer when using a RenderingDevice-based renderer like the clustered renderer or the mobile renderer. This property can not be edited directly, instead, set the driver using the platform-specific overrides.
String rendering/rendering_device/driver.android = "vulkan"
Android override for rendering/rendering_device/driver.
String rendering/rendering_device/driver.ios = "vulkan"
iOS override for rendering/rendering_device/driver.
String rendering/rendering_device/driver.linuxbsd = "vulkan"
LinuxBSD override for rendering/rendering_device/driver.
String rendering/rendering_device/driver.macos = "vulkan"
macOS override for rendering/rendering_device/driver.
String rendering/rendering_device/driver.windows = "vulkan"
Windows override for rendering/rendering_device/driver.
float rendering/rendering_device/pipeline_cache/save_chunk_size_mb = 3.0
Determines at which interval pipeline cache is saved to disk. The lower the value, the more often it is saved.
int rendering/rendering_device/staging_buffer/block_size_kb = 256
There is currently no description for this property. Please help us by contributing one!
int rendering/rendering_device/staging_buffer/max_size_mb = 128
There is currently no description for this property. Please help us by contributing one!
int rendering/rendering_device/staging_buffer/texture_upload_region_size_px = 64
There is currently no description for this property. Please help us by contributing one!
int rendering/rendering_device/vulkan/max_descriptors_per_pool = 64
There is currently no description for this property. Please help us by contributing one!
float rendering/scaling_3d/fsr_sharpness = 0.2
Determines how sharp the upscaled image will be when using the FSR upscaling mode. Sharpness halves with every whole number. Values go from 0.0 (sharpest) to 2.0. Values above 2.0 won't make a visible difference.
int rendering/scaling_3d/mode = 0
Sets the scaling 3D mode. Bilinear scaling renders at different resolution to either undersample or supersample the viewport. FidelityFX Super Resolution 1.0, abbreviated to FSR, is an upscaling technology that produces high quality images at fast framerates by using a spatially-aware upscaling algorithm. FSR is slightly more expensive than bilinear, but it produces significantly higher image quality. On particularly low-end GPUs, the added cost of FSR may not be worth it (compared to using bilinear scaling with a slightly higher resolution scale to match performance).
Note: FSR is only effective when using the Forward+ rendering method, not Mobile or Compatibility. If using an incompatible rendering method, FSR will fall back to bilinear scaling.
float rendering/scaling_3d/scale = 1.0
Scales the 3D render buffer based on the viewport size uses an image filter specified in rendering/scaling_3d/mode to scale the output image to the full viewport size. Values lower than 1.0
can be used to speed up 3D rendering at the cost of quality (undersampling). Values greater than 1.0
are only valid for bilinear mode and can be used to improve 3D rendering quality at a high performance cost (supersampling). See also rendering/anti_aliasing/quality/msaa_3d for multi-sample antialiasing, which is significantly cheaper but only smooths the edges of polygons.
bool rendering/shader_compiler/shader_cache/compress = true
There is currently no description for this property. Please help us by contributing one!
bool rendering/shader_compiler/shader_cache/enabled = true
Enable the shader cache, which stores compiled shaders to disk to prevent stuttering from shader compilation the next time the shader is needed.
bool rendering/shader_compiler/shader_cache/strip_debug = false
There is currently no description for this property. Please help us by contributing one!
bool rendering/shader_compiler/shader_cache/strip_debug.release = true
There is currently no description for this property. Please help us by contributing one!
bool rendering/shader_compiler/shader_cache/use_zstd_compression = true
There is currently no description for this property. Please help us by contributing one!
bool rendering/shading/overrides/force_lambert_over_burley = false
If true
, uses faster but lower-quality Lambert material lighting model instead of Burley.
bool rendering/shading/overrides/force_lambert_over_burley.mobile = true
Lower-end override for rendering/shading/overrides/force_lambert_over_burley on mobile devices, due to performance concerns or driver support.
bool rendering/shading/overrides/force_vertex_shading = 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.
Note: This setting currently has no effect, as vertex shading is not implemented yet.
bool rendering/shading/overrides/force_vertex_shading.mobile = true
Lower-end override for rendering/shading/overrides/force_vertex_shading on mobile devices, due to performance concerns or driver support.
Note: This setting currently has no effect, as vertex shading is not implemented yet.
int rendering/textures/canvas_textures/default_texture_filter = 1
The default texture filtering mode to use on CanvasItems.
int rendering/textures/canvas_textures/default_texture_repeat = 0
The default texture repeating mode to use on CanvasItems.
int rendering/textures/decals/filter = 3
The filtering quality to use for Decal nodes. When using one of the anisotropic filtering modes, the anisotropic filtering level is controlled by rendering/textures/default_filters/anisotropic_filtering_level.
int rendering/textures/default_filters/anisotropic_filtering_level = 2
Sets the maximum number of samples to take when using anisotropic filtering on textures (as a power of two). A higher sample count will result in sharper textures at oblique angles, but is more expensive to compute. A value of 0
forcibly disables anisotropic filtering, even on materials where it is enabled.
The anisotropic filtering level also affects decals and light projectors if they are configured to use anisotropic filtering. See rendering/textures/decals/filter and rendering/textures/light_projectors/filter.
Note: For performance reasons, anisotropic filtering is not enabled by default on 2D and 3D materials. For this setting to have an effect in 3D, set BaseMaterial3D.texture_filter to BaseMaterial3D.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC or BaseMaterial3D.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC on materials. For this setting to have an effect in 2D, set CanvasItem.texture_filter to CanvasItem.TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC or CanvasItem.TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC on the CanvasItem node displaying the texture (or in CanvasTexture). However, anisotropic filtering is rarely useful in 2D, so only enable it for textures in 2D if it makes a meaningful visual difference.
Note: This property is only read when the project starts. There is currently no way to change this setting at run-time.
float rendering/textures/default_filters/texture_mipmap_bias = 0.0
Affects the final texture sharpness by reading from a lower or higher mipmap (also called "texture LOD bias"). Negative values make mipmapped textures sharper but grainier when viewed at a distance, while positive values make mipmapped textures blurrier (even when up close).
Enabling temporal antialiasing (rendering/anti_aliasing/quality/use_taa) will automatically apply a -0.5
offset to this value, while enabling FXAA (rendering/anti_aliasing/quality/screen_space_aa) will automatically apply a -0.25
offset to this value. If both TAA and FXAA are enabled at the same time, an offset of -0.75
is applied to this value.
Note: If rendering/scaling_3d/scale is lower than 1.0
(exclusive), rendering/textures/default_filters/texture_mipmap_bias is used to adjust the automatic mipmap bias which is calculated internally based on the scale factor. The formula for this is log2(scaling_3d_scale) + mipmap_bias
.
Note: This property is only read when the project starts. To change the mipmap LOD bias at run-time, set Viewport.texture_mipmap_bias instead.
bool rendering/textures/default_filters/use_nearest_mipmap_filter = 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.
Note: This property is only read when the project starts. There is currently no way to change this setting at run-time.
int rendering/textures/light_projectors/filter = 3
The filtering quality to use for OmniLight3D and SpotLight3D projectors. When using one of the anisotropic filtering modes, the anisotropic filtering level is controlled by rendering/textures/default_filters/anisotropic_filtering_level.
bool rendering/textures/lossless_compression/force_png = false
If true
, the texture importer will import lossless textures using the PNG format. Otherwise, it will default to using WebP.
bool rendering/textures/vram_compression/import_etc2_astc = false
If true
, the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression 2 algorithm for lower quality textures and normal maps and Adaptable Scalable Texture Compression algorithm for high quality textures (in 4x4 block size).
Note: This setting is an override. The texture importer will always import the format the host platform needs, even if this is set to false
.
Note: Changing this setting does not impact textures that were already imported before. To make this setting apply to textures that were already imported, exit the editor, remove the .godot/imported/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
bool rendering/textures/vram_compression/import_s3tc_bptc = false
If true
, the texture importer will import VRAM-compressed textures using the S3 Texture Compression algorithm (DXT1-5) for lower quality textures and the BPTC algorithm (BC6H and BC7) for high quality textures. This algorithm is only supported on PC desktop platforms and consoles.
Note: This setting is an override. The texture importer will always import the format the host platform needs, even if this is set to false
.
Note: Changing this setting does not impact textures that were already imported before. To make this setting apply to textures that were already imported, exit the editor, remove the .godot/imported/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
int rendering/textures/webp_compression/compression_method = 2
The default compression method for WebP. Affects both lossy and lossless WebP. A higher value results in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression method. Supported values are 0 to 6. Note that compression methods above 4 are very slow and offer very little savings.
float rendering/textures/webp_compression/lossless_compression_factor = 25
The default compression factor for lossless WebP. Decompression speed is mostly unaffected by the compression factor. Supported values are 0 to 100.
bool rendering/viewport/hdr_2d = false
If true
, enables Viewport.use_hdr_2d on the root viewport. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow).
bool rendering/viewport/transparent_background = false
If true
, enables Viewport.transparent_bg on the root viewport. This allows per-pixel transparency to be effective after also enabling display/window/size/transparent and display/window/per_pixel_transparency/allowed.
int rendering/vrs/mode = 0
Set the default Variable Rate Shading (VRS) mode for the main viewport. See Viewport.vrs_mode to change this at runtime, and VRSMode for possible values.
String rendering/vrs/texture = ""
If rendering/vrs/mode is set to Texture, this is the path to default texture loaded as the VRS image.
The texture must use a lossless compression format so that colors can be matched precisely. The following VRS densities are mapped to various colors, with brighter colors representing a lower level of shading precision:
- 1x1 = rgb(0, 0, 0) - #000000
- 1x2 = rgb(0, 85, 0) - #005500
- 2x1 = rgb(85, 0, 0) - #550000
- 2x2 = rgb(85, 85, 0) - #555500
- 2x4 = rgb(85, 170, 0) - #55aa00
- 4x2 = rgb(170, 85, 0) - #aa5500
- 4x4 = rgb(170, 170, 0) - #aaaa00
- 4x8 = rgb(170, 255, 0) - #aaff00 - Not supported on most hardware
- 8x4 = rgb(255, 170, 0) - #ffaa00 - Not supported on most hardware
- 8x8 = rgb(255, 255, 0) - #ffff00 - Not supported on most hardware
float threading/worker_pool/low_priority_thread_ratio = 0.3
There is currently no description for this property. Please help us by contributing one!
int threading/worker_pool/max_threads = -1
Maximum number of threads to be used by WorkerThreadPool. Value of -1
means no limit.
bool threading/worker_pool/use_system_threads_for_low_priority_tasks = true
There is currently no description for this property. Please help us by contributing one!
String xr/openxr/default_action_map = "res://openxr_action_map.tres"
Action map configuration to load by default.
bool xr/openxr/enabled = false
If true
Godot will setup and initialize OpenXR on startup.
int xr/openxr/environment_blend_mode = "0"
Specify how OpenXR should blend in the environment. This is specific to certain AR and passthrough devices where camera images are blended in by the XR compositor.
int xr/openxr/form_factor = "0"
Specify whether OpenXR should be configured for an HMD or a hand held device.
int xr/openxr/reference_space = "1"
Specify the default reference space.
bool xr/openxr/startup_alert = true
If true
, Godot will display an alert modal when OpenXR initialization fails on startup.
bool xr/openxr/submit_depth_buffer = false
If true
, OpenXR will manage the depth buffer and use the depth buffer for advanced reprojection provided this is supported by the XR runtime. Note that some rendering features in Godot can't be used with this feature.
int xr/openxr/view_configuration = "1"
Specify the view configuration with which to configure OpenXR setting up either Mono or Stereo rendering.
bool xr/shaders/enabled = false
If true
, Godot will compile shaders required for XR.
Method DescriptionsΒΆ
void add_property_info ( Dictionary hint )
Adds a custom property info to a property. The dictionary must contain:
"name"
: String (the property's name)"type"
: int (see Variant.Type)optionally
"hint"
: int (see PropertyHint) and"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)
ProjectSettings.Singleton.Set("category/property_name", 0);
var propertyInfo = new Godot.Collections.Dictionary
{
{"name", "category/propertyName"},
{"type", (int)Variant.Type.Int},
{"hint", (int)PropertyHint.Enum},
{"hint_string", "one,two,three"},
};
ProjectSettings.AddPropertyInfo(propertyInfo);
void clear ( String name )
Clears the whole configuration (not recommended, may break things).
Dictionary[] get_global_class_list ( )
Returns an Array of registered global classes. Each global class is represented as a Dictionary that contains the following entries:
base
is a name of the base class;class
is a name of the registered global class;icon
is a path to a custom icon of the global class, if it has any;language
is a name of a programming language in which the global class is written;path
is a path to a file containing the global class.
Note: Both the script and the icon paths are local to the project filesystem, i.e. they start with res://
.
int get_order ( String name ) const
Returns the order of a configuration value (influences when saved to the config file).
Variant get_setting ( String name, Variant default_value=null ) const
Returns the value of the setting identified by name
. If the setting doesn't exist and default_value
is specified, the value of default_value
is returned. Otherwise, null
is returned.
Example:
print(ProjectSettings.get_setting("application/config/name"))
print(ProjectSettings.get_setting("application/config/custom_description", "No description specified."))
GD.Print(ProjectSettings.GetSetting("application/config/name"));
GD.Print(ProjectSettings.GetSetting("application/config/custom_description", "No description specified."));
Note: This method doesn't take potential feature overrides into account automatically. Use get_setting_with_override to handle seamlessly.
Variant get_setting_with_override ( StringName name ) const
Similar to get_setting, but applies feature tag overrides if any exists and is valid.
Example:
If the following setting override exists "application/config/name.windows", and the following code is executed:
print(ProjectSettings.get_setting_with_override("application/config/name"))
GD.Print(ProjectSettings.GetSettingWithOverride("application/config/name"));
Then the overridden setting will be returned instead if the project is running on the Windows operating system.
String globalize_path ( String path ) const
Returns the absolute, native OS path corresponding to the localized path
(starting with res://
or user://
). The returned path will vary depending on the operating system and user preferences. See File paths in Godot projects to see what those paths convert to. See also localize_path.
Note: globalize_path with res://
will not work in an exported project. Instead, prepend the executable's base directory to the path when running from an exported project:
var path = ""
if OS.has_feature("editor"):
# Running from an editor binary.
# `path` will contain the absolute path to `hello.txt` located in the project root.
path = ProjectSettings.globalize_path("res://hello.txt")
else:
# Running from an exported project.
# `path` will contain the absolute path to `hello.txt` next to the executable.
# This is *not* identical to using `ProjectSettings.globalize_path()` with a `res://` path,
# but is close enough in spirit.
path = OS.get_executable_path().get_base_dir().path_join("hello.txt")
bool has_setting ( String name ) const
Returns true
if a configuration value is present.
bool load_resource_pack ( String pack, bool replace_files=true, int offset=0 )
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
unless replace_files
is set to false
.
Note: The optional offset
parameter can be used to specify the offset in bytes to the start of the resource pack. This is only supported for .pck files.
String localize_path ( String path ) const
Returns the localized path (starting with res://
) corresponding to the absolute, native OS path
. See also globalize_path.
Error save ( )
Saves the configuration to the project.godot
file.
Note: This method is intended to be used by editor plugins, as modified ProjectSettings can't be loaded back in the running app. If you want to change project settings in exported projects, use save_custom to save override.cfg
file.
Error save_custom ( String file )
Saves the configuration to a custom file. The file extension must be .godot
(to save in text-based ConfigFile format) or .binary
(to save in binary format). You can also save override.cfg
file, which is also text, but can be used in exported projects unlike other formats.
void set_as_basic ( String name, bool basic )
Defines if the specified setting is considered basic or advanced. Basic settings will always be shown in the project settings. Advanced settings will only be shown if the user enables the "Advanced Settings" option.
void set_as_internal ( String name, bool internal )
Defines if the specified setting is considered internal. An internal setting won't show up in the Project Settings dialog. This is mostly useful for addons that need to store their own internal settings without exposing them directly to the user.
void set_initial_value ( String name, Variant value )
Sets the specified setting's initial value. This is the value the setting reverts to.
void set_order ( String name, int position )
Sets the order of a configuration value (influences when saved to the config file).
void set_restart_if_changed ( String name, bool restart )
Sets whether a setting requires restarting the editor to properly take effect.
Note: This is just a hint to display to the user that the editor must be restarted for changes to take effect. Enabling set_restart_if_changed does not delay the setting being set when changed.
void set_setting ( String name, Variant value )
Sets the value of a setting.
Example:
ProjectSettings.set_setting("application/config/name", "Example")
ProjectSettings.SetSetting("application/config/name", "Example");
This can also be used to erase custom project settings. To do this change the setting value to null
.