ProjectSettings¶
Inherits: Object
Contiene variables globales accesibles desde cualquier lugar.
Descripción¶
Contains global variables accessible from everywhere. Use get_setting, set_setting or has_setting to access them. Variables stored in project.godot
are also loaded into ProjectSettings, making this object very useful for reading custom game configuration options.
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.
Tutoriales¶
Propiedades¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/batching/parameters/colored_vertex_format_threshold |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/limits/buffers/canvas_polygon_index_buffer_size_kb |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/quality/intended_usage/framebuffer_allocation.mobile |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
rendering/quality/reflections/texture_array_reflections.mobile |
|
|
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Métodos¶
void |
add_property_info ( Dictionary hint ) |
void |
|
get_setting ( String 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 |
|
property_can_revert ( String name ) |
|
property_get_revert ( String name ) |
|
save ( ) |
|
save_custom ( String file ) |
|
void |
set_initial_value ( String name, Variant value ) |
void |
|
void |
set_setting ( String name, Variant value ) |
Descripciones de Propiedades¶
String android/modules
Default |
|
Comma-separated list of custom Android modules (which must have been built in the Android export templates) using their Java package path, e.g. "org/godotengine/godot/MyCustomSingleton,com/example/foo/FrenchFriesFactory"
.
Note: Since Godot 3.2.2, the org/godotengine/godot/GodotPaymentV3
module was deprecated and replaced by the GodotPayment
plugin which should be enabled in the Android export preset under Plugins
section. The singleton to access in code was also renamed to GodotPayment
.
Color application/boot_splash/bg_color
Default |
|
Color de fondo para la imagen de arranque.
bool application/boot_splash/fullsize
Default |
|
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
Default |
|
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
.
bool application/boot_splash/show_image
Default |
|
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
Default |
|
If true
, applies linear filtering when scaling the image (recommended for high-resolution artwork). If false
, uses nearest-neighbor interpolation (recommended for pixel art).
String application/config/custom_user_dir_name
Default |
|
Este directorio de usuario se utiliza para almacenar datos persistentes (sistema de archivos user://
). Si se deja vacío, user://
se resuelve en una carpeta específica del proyecto en la propia carpeta de configuración de Godot (véase OS.get_user_data_dir). Si se define un nombre de directorio personalizado, este nombre se utilizará en su lugar y se añadirá al directorio de datos de usuario específico del sistema (la misma carpeta principal que la carpeta de configuración de Godot documentada en OS.get_user_data_dir).
El ajuste application/config/use_custom_user_dir debe estar activado para que esto surta efecto.
String application/config/description
Default |
|
La descripción del proyecto, que se muestra como una sugerencia en el Administrador de Proyectos cuando se pasa el cursor por encima del proyecto.
String application/config/icon
Default |
|
Icono utilizado para el proyecto, establecido cuando el proyecto se carga. Los exportadores también usarán este icono cuando sea posible.
String application/config/macos_native_icon
Default |
|
Icon set in .icns
format used on macOS to set the game's icon. This is done automatically on start by calling OS.set_native_icon.
String application/config/name
Default |
|
The project's name. It is used both by the Project Manager and by exporters. The project name can be translated by translating its value in localization files. 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.
String application/config/project_settings_override
Default |
|
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/use_custom_user_dir
Default |
|
Si true
, el proyecto guardará los datos de los usuarios en su propio directorio de usuarios (véase application/config/custom_user_dir_name). Esta configuración sólo es efectiva en las plataformas de escritorio. Se debe establecer un nombre en el parámetro application/config/custom_user_dir_name para que esto tenga efecto. Si false
, el proyecto guardará los datos del usuario en (directorio de datos de usuario del sistema operativo)/Godot/app_userdata/(nombre del proyecto)
.
Default |
|
If true
, the project will use a hidden directory (.import
) for storing project-specific data (metadata, shader cache, etc.).
If false
, a non-hidden directory (import
) 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 .import
folder.
String application/config/windows_native_icon
Default |
|
Icon set in .ico
format used on Windows to set the game's icon. This is done automatically on start by calling OS.set_native_icon.
bool application/run/delta_smoothing
Default |
|
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/use_vsync is switched on, 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/delta_sync_after_draw
Default |
|
Experimental. Shifts the measurement of delta time for each frame to just after the drawing has taken place. This may lead to more consistent deltas and a reduction in frame stutters.
bool application/run/disable_stderr
Default |
|
If true
, disables printing to standard error. If true
, this also hides error and warning messages printed by @GDScript.push_error and @GDScript.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
Default |
|
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
Default |
|
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
Default |
|
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
Default |
|
Fuerza un retardo entre fotogramas en el bucle principal (en milisegundos). Esto puede ser útil si planea deshabilitar la sincronización vertical.
bool application/run/low_processor_mode
Default |
|
Si true
, habilita el modo de uso del procesador bajo. Esta configuración sólo funciona en plataformas de escritorio. La pantalla no se redibuja si nada cambia visualmente. Esto está pensado para escribir aplicaciones y editores, pero es bastante inútil (y puede perjudicar el rendimiento) en la mayoría de los juegos.
int application/run/low_processor_mode_sleep_usec
Default |
|
Cantidad de sueño entre fotogramas cuando se activa el modo de uso del procesador bajo (en microsegundos). Valores más altos resultarán en un menor uso de la CPU.
String application/run/main_scene
Default |
|
Ruta al archivo de la escena principal que se cargará cuando se ejecute el proyecto.
float audio/channel_disable_threshold_db
Default |
|
Los buses de audio se desactivarán automáticamente cuando el sonido baje de un determinado umbral de dB durante un tiempo determinado. Esto ahorra a la CPU ya que los efectos asignados a ese bus ya no harán ningún tipo de procesamiento.
float audio/channel_disable_time
Default |
|
Los buses de audio se desactivarán automáticamente cuando el sonido baje de un determinado umbral de dB durante un tiempo determinado. Esto ahorra a la CPU ya que los efectos asignados a ese bus ya no harán ningún tipo de procesamiento.
String audio/default_bus_layout
Default |
|
Archivo de recursos AudioBusLayout por defecto para usar en el proyecto, a menos que sea sobreescrito por la escena.
String audio/driver
Especifica el controlador de audio a utilizar. Esta configuración depende de la plataforma, ya que cada plataforma admite diferentes controladores de audio. Si se deja en blanco, se utilizará el controlador de audio predeterminado.
bool audio/enable_audio_input
Default |
|
Si true
, se permitirá la entrada del micrófono. Esto requiere que se establezcan los permisos apropiados al exportar a Android o iOS.
int audio/mix_rate
Default |
|
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/mix_rate.web
Default |
|
Safer override for audio/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/output_latency
Default |
|
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.
Note: This setting is ignored on Windows.
int audio/output_latency.web
Default |
|
Sobreescritura más segura para audio/output_latency en la plataforma web, para evitar problemas de audio especialmente en los dispositivos móviles.
int audio/video_delay_compensation_ms
Default |
|
Ajustar el retardo de audio hardcode cuando se reproduce el video. Es mejor dejar esto intacto a menos que sepas lo que estás haciendo.
int compression/formats/gzip/compression_level
Default |
|
El nivel de compresión por defecto para el gzip. Afecta a las escenas y recursos comprimidos. Los niveles más altos dan como resultado archivos más pequeños a costa de la velocidad de compresión. La velocidad de descompresión no se ve afectada por el nivel de compresión. -1
utiliza el nivel de compresión predeterminado de gzip, que es idéntico al de 6
pero podría cambiar en el futuro debido a las actualizaciones subyacentes de zlib.
int compression/formats/zlib/compression_level
Default |
|
El nivel de compresión por defecto para Zlib. Afecta a las escenas y recursos comprimidos. Los niveles más altos dan como resultado archivos más pequeños a costa de la velocidad de compresión. La velocidad de descompresión no se ve afectada por el nivel de compresión. -1
utiliza el nivel de compresión predeterminado de gzip, que es idéntico al de 6
pero podría cambiar en el futuro debido a las actualizaciones subyacentes de zlib.
int compression/formats/zstd/compression_level
Default |
|
El nivel de compresión por defecto para Zstandard. Afecta a las escenas y recursos comprimidos. Los niveles más altos dan como resultado archivos más pequeños a costa de la velocidad de compresión. La velocidad de descompresión no se ve afectada por el nivel de compresión.
bool compression/formats/zstd/long_distance_matching
Default |
|
Habilita la coincidencia a larga distancia en Zstandard.
int compression/formats/zstd/window_log_size
Default |
|
Límite de tamaño más grande (en potencia de 2) permitido cuando se comprime usando la correspondencia a larga distancia con Zstandard. Valores más altos pueden resultar en una mejor compresión, pero requerirán más memoria al comprimir y descomprimir.
bool debug/gdscript/completion/autocomplete_setters_and_getters
Default |
|
Si true
, muestra los resultados de getters y setters en autocompletado en el editor de scripts. Esta configuración está pensada para ser usada cuando se portan proyectos antiguos (Godot 2), ya que el uso de variables de miembros es el estilo preferido a partir de Godot 3.
bool debug/gdscript/warnings/constant_used_as_function
Default |
|
Si true
, habilita las advertencias cuando se utiliza una constante como función.
bool debug/gdscript/warnings/deprecated_keyword
Default |
|
If true
, enables warnings when deprecated keywords such as slave
are used.
bool debug/gdscript/warnings/enable
Default |
|
Si true
, habilita advertencias específicas de GDScript (véase la configuración de debug/gdscript/warnings/*
). Si false
, desactiva todas las advertencias de GDScript.
bool debug/gdscript/warnings/exclude_addons
Default |
|
Si true
, los scripts de la carpeta res://addons
no generarán advertencias.
bool debug/gdscript/warnings/function_conflicts_constant
Default |
|
If true
, enables warnings when a function is declared with the same name as a constant.
bool debug/gdscript/warnings/function_conflicts_variable
Default |
|
If true
, enables warnings when a function is declared with the same name as a variable. This will turn into an error in a future version when first-class functions become supported in GDScript.
bool debug/gdscript/warnings/function_may_yield
Default |
|
If true
, enables warnings when a function assigned to a variable may yield and return a function state instead of a value.
bool debug/gdscript/warnings/function_used_as_property
Default |
|
Si true
, habilita las advertencias cuando se utiliza una función como si fuera una propiedad.
bool debug/gdscript/warnings/incompatible_ternary
Default |
|
Si true
, habilita advertencias cuando un operador ternario puede emitir valores con tipos incompatibles.
bool debug/gdscript/warnings/integer_division
Default |
|
Si true
, habilita las advertencias al dividir un entero por otro entero (la parte decimal será descartada).
bool debug/gdscript/warnings/narrowing_conversion
Default |
|
Si true
, habilita las advertencias al pasar un valor de real a una función que espera un número entero (se convertirá y perderá precisión).
bool debug/gdscript/warnings/property_used_as_function
Default |
|
Si true
, habilita las advertencias cuando se utiliza una propiedad como si fuera una función.
bool debug/gdscript/warnings/return_value_discarded
Default |
|
Si true
, habilita advertencias cuando se llama a una función sin utilizar su valor de retorno (asignándolo a una variable o utilizándolo como argumento de la función). Esos valores de retorno se utilizan a veces para denotar posibles errores mediante el uso de enum Error.
bool debug/gdscript/warnings/shadowed_variable
Default |
|
Si true
, habilita las advertencias al definir una variable miembro local o de subclase que ensombrecería una variable en un nivel superior (como una variable miembro).
bool debug/gdscript/warnings/standalone_expression
Default |
|
Si true
, permite advertencias cuando se llama a una expresión que no tiene efecto en el código circundante, como escribir 2 + 2
como una declaración.
bool debug/gdscript/warnings/standalone_ternary
Default |
|
Si true
, habilita advertencias cuando se llama a una expresión ternaria que no tiene efecto en el código circundante, como escribir 42 si está activo o 0
como una declaración.
bool debug/gdscript/warnings/treat_warnings_as_errors
Default |
|
Si true
, todas las advertencias serán reportadas como si fueran errores.
bool debug/gdscript/warnings/unassigned_variable
Default |
|
Si true
, habilita las advertencias cuando se utiliza una variable que no fue asignada previamente.
bool debug/gdscript/warnings/unassigned_variable_op_assign
Default |
|
Si true
, habilita advertencias cuando se asigna una variable utilizando un operador de asignación como +=
si la variable no fue asignada previamente.
bool debug/gdscript/warnings/unreachable_code
Default |
|
Si true
, activa advertencias cuando se detecta un código inalcanzable (como después de una declaración de return
que siempre se ejecutará).
bool debug/gdscript/warnings/unsafe_call_argument
Default |
|
Si true
, habilita las advertencias cuando se utiliza una expresión cuyo tipo puede no ser compatible con el parámetro de función esperado.
bool debug/gdscript/warnings/unsafe_cast
Default |
|
Si true
, habilita las advertencias cuando se realiza un lanzamiento inseguro.
bool debug/gdscript/warnings/unsafe_method_access
Default |
|
Si true
, habilita las advertencias al llamar a un método cuya presencia no está garantizada en tiempo de compilación en la clase.
bool debug/gdscript/warnings/unsafe_property_access
Default |
|
Si true
, habilita las advertencias cuando se accede a una propiedad cuya presencia no está garantizada en tiempo de compilación en la clase.
bool debug/gdscript/warnings/unused_argument
Default |
|
If true
, enables warnings when a function parameter is unused.
bool debug/gdscript/warnings/unused_class_variable
Default |
|
If true
, enables warnings when a member variable is unused.
bool debug/gdscript/warnings/unused_signal
Default |
|
Si true
, habilita las advertencias cuando una señal no es utilizada.
bool debug/gdscript/warnings/unused_variable
Default |
|
Si true
, habilita las advertencias cuando una variable local no se utiliza.
bool debug/gdscript/warnings/variable_conflicts_function
Default |
|
If true
, enables warnings when a variable is declared with the same name as a function. This will turn into an error in a future version when first-class functions become supported in GDScript.
bool debug/gdscript/warnings/void_assignment
Default |
|
Si true
, habilita las advertencias al asignar el resultado de una función que devuelve void
a una variable.
String debug/settings/crash_handler/message
Default |
|
Mensaje que se mostrará antes del retroceso cuando el motor se crashea.
int debug/settings/fps/force_fps
Default |
|
Maximum number of frames per second allowed. The actual number of frames per second may still be below this value if the game is lagging. See also physics/common/physics_fps.
If display/window/vsync/use_vsync is enabled, it takes precedence and the forced FPS number cannot exceed the monitor's refresh rate.
This setting is therefore mostly relevant for lowering the maximum FPS below VSync, e.g. to perform non-real-time rendering of static frames, or test the project under lag conditions.
Note: This property is only read when the project starts. To change the rendering FPS cap at runtime, set Engine.target_fps instead.
int debug/settings/gdscript/max_call_stack
Default |
|
Máxima pila de llamadas permitida para depurar GDScript.
int debug/settings/profiler/max_functions
Default |
|
Cantidad máxima de funciones por fotograma permitidas en la elaboración de perfiles.
bool debug/settings/stdout/print_fps
Default |
|
Imprime fotogramas por segundo a una salida estándar cada segundo.
bool debug/settings/stdout/verbose_stdout
Default |
|
Imprima más información a la salida estándar cuando esté funcionando. Muestra información como las fugas de memoria, qué escenas y recursos se están cargando, etc.
int debug/settings/visual_script/max_call_stack
Default |
|
Máxima pila de llamadas en el guión visual, para evitar la recursividad infinita.
Color debug/shapes/collision/contact_color
Default |
|
Color de los puntos de contacto entre las formas de colisión, visible cuando "Formas de colisión visibles" está activado en el menú de Depuración.
bool debug/shapes/collision/draw_2d_outlines
Default |
|
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
Default |
|
Número máximo de puntos de contacto entre las formas de colisión a mostrar cuando "Formas de colisión visibles" está activado en el menú de Depuración.
Color debug/shapes/collision/shape_color
Default |
|
Color de las formas de colisión, visible cuando "Formas de colisión visibles" está activado en el menú de Depuración.
Default |
|
Color de la geometría de navegación desactivada, visible cuando la "Navegación visible" está activada en el menú de depuración.
Default |
|
Color de la geometría de navegación, visible cuando la "Navegación visible" está activada en el menú de depuración.
String display/mouse_cursor/custom_image
Default |
|
Imagen personalizada para el cursor del ratón (limitada a 256×256).
Vector2 display/mouse_cursor/custom_image_hotspot
Default |
|
Punto donde se encuentra la imagen personalizada del cursor del ratón.
Vector2 display/mouse_cursor/tooltip_position_offset
Default |
|
Desplazamiento de la posición de las sugerencias, en relación con el punto donde se encuentra el cursor del ratón.
bool display/window/dpi/allow_hidpi
Default |
|
If true
, allows HiDPI display on Windows, macOS, and the HTML5 platform. This setting has no effect on desktop Linux, as DPI-awareness fallbacks are not supported there.
bool display/window/energy_saving/keep_screen_on
Default |
|
Si true
, mantiene la pantalla encendida (incluso en caso de inactividad), por lo que el salvapantallas no toma el control. Funciona en plataformas de escritorio y móviles.
String display/window/handheld/orientation
Default |
|
The default screen orientation to use on mobile devices.
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/width and display/window/size/height accordingly.
bool display/window/ios/hide_home_indicator
Default |
|
Si verdad
, el indicador de casa se oculta automáticamente. Esto sólo afecta a los dispositivos iOS sin un botón de inicio físico.
bool display/window/per_pixel_transparency/allowed
Default |
|
If true
, allows per-pixel transparency for the window background. This affects performance, so leave it on false
unless you need it.
See OS.window_per_pixel_transparency_enabled for more details.
Note: This feature is implemented on HTML5, Linux, macOS, Windows, and Android.
bool display/window/per_pixel_transparency/enabled
Default |
|
Sets the window background to transparent when it starts.
See OS.window_per_pixel_transparency_enabled for more details.
Note: This feature is implemented on HTML5, Linux, macOS, Windows, and Android.
bool display/window/size/always_on_top
Default |
|
Forces the main window to be always on top.
Note: This setting is ignored on iOS, Android, and HTML5.
bool display/window/size/borderless
Default |
|
Forces the main window to be borderless.
Note: This setting is ignored on iOS, Android, and HTML5.
bool display/window/size/fullscreen
Default |
|
Sets the main window to full screen when the project starts. Note that this is not exclusive fullscreen. On Windows and Linux, a borderless window is used to emulate fullscreen. On macOS, a new desktop is used to display the running project.
Regardless of the platform, enabling fullscreen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions when enabling fullscreen mode.
Note: This setting is ignored on iOS, Android, and HTML5.
int display/window/size/height
Default |
|
Establece la altura de la vista principal del juego. En las plataformas de escritorio, este es el tamaño de ventana por defecto. Los ajustes del modo de estiramiento también utilizan esto como referencia cuando está activado.
bool display/window/size/resizable
Default |
|
Allows the window to be resizable by default.
Note: This setting is ignored on iOS and Android.
int display/window/size/test_height
Default |
|
Si es mayor que cero, sobreescribe la altura de la ventana al ejecutar el juego. Es útil para probar los modos de estiramiento.
int display/window/size/test_width
Default |
|
Si es mayor que cero, anula el ancho de la ventana al ejecutar el juego. Es útil para probar los modos de estiramiento.
int display/window/size/width
Default |
|
Establece el ancho de la vista principal del juego. En las plataformas de escritorio, este es el tamaño de ventana por defecto. La configuración del modo ampliado también utiliza esto como referencia cuando está activado.
String display/window/tablet_driver
Especifica el controlador de la tableta a utilizar. Si se deja vacío, se utilizará el controlador predeterminado.
bool display/window/vsync/use_vsync
Default |
|
Si true
, permite la sincronización vertical. Esto elimina el desgarro que puede aparecer en las escenas en movimiento, a costa de una mayor latencia de entrada y el tartamudeo en los marcos inferiores. Si false
, la sincronización vertical se desactivará, sin embargo, muchas plataformas la harán cumplir independientemente (como las plataformas móviles y HTML5).
bool display/window/vsync/vsync_via_compositor
Default |
|
Si se activa Use Vsync
y este ajuste es true
, permite la sincronización vertical a través del compositor de ventanas del sistema operativo cuando está en modo de ventanas y el compositor está activado. Esto evitará el tartamudeo en ciertas situaciones. (Sólo en Windows).
Nota: Esta opción es experimental y está pensada para aliviar el tartamudeo que experimentan algunos usuarios. Sin embargo, algunos usuarios han experimentado una reducción de la mitad de la velocidad de los cuadros Vsync (por ejemplo, de 60 FPS a 30 FPS) al usarla.
String editor/main_run_args
Default |
|
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%
String editor/script_templates_search_path
Default |
|
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.
PoolStringArray editor/search_in_file_extensions
Default |
|
Extensiones de archivo basadas en texto para incluir en la función "Buscar en los archivos" del editor de scripts. Puedes añadir, por ejemplo, tscn
si deseas analizar también los archivos de la escena, especialmente si utilizas scripts incorporados que se serializan en los archivos de la escena.
int gui/common/default_scroll_deadzone
Default |
|
Valor por defecto para ScrollContainer.scroll_deadzone, que se utilizará para todos los ScrollContainers a menos que se sobrescriba.
bool gui/common/swap_ok_cancel
If true
, swaps OK and Cancel buttons in dialogs on Windows and UWP to follow interface conventions.
int gui/common/text_edit_undo_stack_max_size
Default |
|
String gui/theme/custom
Default |
|
Ruta a un archivo de recursos Theme personalizado para usar en el proyecto (theme
o genérico tres
/res
extension).
String gui/theme/custom_font
Default |
|
Ruta a un recurso Font personalizado para usar como predeterminado para todos los elementos de la interfaz gráfica de usuario del proyecto.
bool gui/theme/use_hidpi
Default |
|
Si true
, se asegura de que el tema utilizado funciona con HiDPI.
int gui/timers/incremental_search_max_interval_msec
Default |
|
Ajuste del temporizador para la búsqueda incremental en los controles de Tree, ItemList, etc. (en milisegundos).
float gui/timers/text_edit_idle_detect_sec
Default |
|
Temporizador para detectar la inactividad en TextEdit (en segundos).
float gui/timers/tooltip_delay_sec
Default |
|
Retraso predeterminado para las sugerencias (en segundos).
Dictionary input/ui_accept
InputEventAction por defecto para confirmar un botón enfocado, un menú o un elemento de la lista, o validar la entrada.
Nota: Las acciones ui_*
por defecto no pueden ser eliminadas ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_cancel
InputEventAction por defecto para descartar una entrada modal o pendiente.
Nota: Las acciones ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_down
InputEventAction por defecto para moverse hacia abajo en la UI.
Nota: Las acciones ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_end
InputEventAction por defecto para ir a la posición final de un Control (por ejemplo, el último elemento de una ItemList o de un Tree), que coincide con el comportamiento de la @GlobalScope.KEY_END en los típicos sistemas de interfaz de usuario de escritorio.
Nota: Las acciones predeterminadas de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_focus_next
InputEventAction por defecto para enfocar el siguiente Control en la escena. El comportamiento de enfoque puede ser configurado a través del Control.focus_next.
Nota: Las acciones por defecto de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_focus_prev
InputEventAction por defecto para enfocar el Control anterior en la escena. El comportamiento de enfoque puede ser configurado a través del Control.focus_previous.
Nota: Las acciones por defecto de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_home
InputEventAction por defecto para ir a la posición de inicio de un Control (por ejemplo, el primer elemento de una ItemList o de un Tree), que coincide con el comportamiento de @GlobalScope.KEY_HOME en los típicos sistemas de interfaz de usuario de escritorio.
Nota: Las acciones predeterminadas de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_left
InputEventAction por defecto para moverse a la izquierda en la UI.
Nota: Las acciones ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_page_down
InputEventAction por defecto para bajar una página en un Control (por ejemplo, en una ItemList o un Tree), coincidiendo con el comportamiento de @GlobalScope.KEY_PAGEDOWN en los típicos sistemas de interfaz de usuario de escritorio.
Nota: Las acciones predeterminadas de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_page_up
InputEventAction por defecto para subir una página en un Control (por ejemplo, en una ItemList o en un Tree), que coincida con el comportamiento de @GlobalScope.KEY_PAGEUP en los típicos sistemas de interfaz de usuario de escritorio.
Nota: Las acciones predeterminadas de ui_*
no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_right
InputEventAction por defecto para moverse a la derecha en la UI.
Nota: Las acciones ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_select
InputEventAction por defecto para seleccionar un elemento en un Control (por ejemplo, en una ItemList o en un Tree).
Nota: Las acciones de ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
Dictionary input/ui_up
InputEventAction por defecto para subir en la UI.
Nota: Las acciones ui_*
por defecto no se pueden eliminar ya que son necesarias para la lógica interna de varios Controls. Sin embargo, los eventos asignados a la acción pueden ser modificados.
bool input_devices/buffering/agile_event_flushing
Default |
|
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 idle 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 (idle) frame, because they can't run at the target frame rate.
Note: Currently implemented only in Android.
bool input_devices/pointing/emulate_mouse_from_touch
Default |
|
Si true
, envía eventos de entrada de ratón al tocar o deslizar en la pantalla táctil.
bool input_devices/pointing/emulate_touch_from_mouse
Default |
|
Si true
, envía eventos de entrada táctil al hacer clic o arrastrar el ratón.
float input_devices/pointing/ios/touch_delay
Default |
|
Default delay for touch events. This only affects iOS devices.
String layer_names/2d_physics/layer_1
Default |
|
Nombre opcional para la capa 1 de la física 2D.
String layer_names/2d_physics/layer_10
Default |
|
Nombre opcional para la capa 10 de física 2D.
String layer_names/2d_physics/layer_11
Default |
|
Nombre opcional para la capa 11 de física 2D.
String layer_names/2d_physics/layer_12
Default |
|
Nombre opcional para la capa 12 de física 2D.
String layer_names/2d_physics/layer_13
Default |
|
Nombre opcional para la capa 13 de la física 2D.
String layer_names/2d_physics/layer_14
Default |
|
Nombre opcional para la capa 14 de la física 2D.
String layer_names/2d_physics/layer_15
Default |
|
Nombre opcional para la capa 15 de física 2D.
String layer_names/2d_physics/layer_16
Default |
|
Nombre opcional para la capa 15 de la física 2D.
String layer_names/2d_physics/layer_17
Default |
|
Nombre opcional para la capa 17 de la física 2D.
String layer_names/2d_physics/layer_18
Default |
|
Nombre opcional para la capa 18 de física 2D.
String layer_names/2d_physics/layer_19
Default |
|
Nombre opcional para la capa 19 de la física 2D.
String layer_names/2d_physics/layer_2
Default |
|
Nombre opcional para la capa 2 de física 2D.
String layer_names/2d_physics/layer_20
Default |
|
Nombre opcional para la capa 20 de física 2D.
String layer_names/2d_physics/layer_21
Default |
|
Optional name for the 2D physics layer 21.
String layer_names/2d_physics/layer_22
Default |
|
Optional name for the 2D physics layer 22.
String layer_names/2d_physics/layer_23
Default |
|
Optional name for the 2D physics layer 23.
String layer_names/2d_physics/layer_24
Default |
|
Optional name for the 2D physics layer 24.
String layer_names/2d_physics/layer_25
Default |
|
Optional name for the 2D physics layer 25.
String layer_names/2d_physics/layer_26
Default |
|
Optional name for the 2D physics layer 26.
String layer_names/2d_physics/layer_27
Default |
|
Optional name for the 2D physics layer 27.
String layer_names/2d_physics/layer_28
Default |
|
Optional name for the 2D physics layer 28.
String layer_names/2d_physics/layer_29
Default |
|
Optional name for the 2D physics layer 29.
String layer_names/2d_physics/layer_3
Default |
|
Nombre opcional para la capa 3 de física 2D.
String layer_names/2d_physics/layer_30
Default |
|
Optional name for the 2D physics layer 30.
String layer_names/2d_physics/layer_31
Default |
|
Optional name for the 2D physics layer 31.
String layer_names/2d_physics/layer_32
Default |
|
Optional name for the 2D physics layer 32.
String layer_names/2d_physics/layer_4
Default |
|
Nombre opcional para la capa 4 de física 2D.
String layer_names/2d_physics/layer_5
Default |
|
Nombre opcional para la capa 5 de física 2D.
String layer_names/2d_physics/layer_6
Default |
|
Nombre opcional para la capa 6 de física 2D.
String layer_names/2d_physics/layer_7
Default |
|
Nombre opcional para la capa 7 de física 2D.
String layer_names/2d_physics/layer_8
Default |
|
Nombre opcional para la capa 8 de física 2D.
String layer_names/2d_physics/layer_9
Default |
|
Nombre opcional para la capa 9 de física 2D.
String layer_names/2d_render/layer_1
Default |
|
Nombre opcional para la capa 1 del renderizado 2D.
String layer_names/2d_render/layer_10
Default |
|
Nombre opcional para la capa 10 del renderizado 2D.
String layer_names/2d_render/layer_11
Default |
|
Nombre opcional para la capa 11 del renderizado 2D.
String layer_names/2d_render/layer_12
Default |
|
Nombre opcional para la capa 12 del renderizado 2D.
String layer_names/2d_render/layer_13
Default |
|
Nombre opcional para la capa 13 del renderizado 2D.
String layer_names/2d_render/layer_14
Default |
|
Nombre opcional para la capa 14 del renderizado 2D.
String layer_names/2d_render/layer_15
Default |
|
Nombre opcional para la capa 15 del renderizado 2D.
String layer_names/2d_render/layer_16
Default |
|
Nombre opcional para la capa 16 del renderizado 2D.
String layer_names/2d_render/layer_17
Default |
|
Nombre opcional para la capa 17 del renderizado 2D.
String layer_names/2d_render/layer_18
Default |
|
Nombre opcional para la capa 18 del renderizado 2D.
String layer_names/2d_render/layer_19
Default |
|
Nombre opcional para la capa 19 del renderizado 2D.
String layer_names/2d_render/layer_2
Default |
|
Nombre opcional para la capa 2 del renderizado 2D.
String layer_names/2d_render/layer_20
Default |
|
Nombre opcional para la capa 20 del renderizado 2D.
String layer_names/2d_render/layer_3
Default |
|
Nombre opcional para la capa 3 del renderizado 2D.
String layer_names/2d_render/layer_4
Default |
|
Nombre opcional para la capa 4 del renderizado 2D.
String layer_names/2d_render/layer_5
Default |
|
Nombre opcional para la capa 5 del renderizado 2D.
String layer_names/2d_render/layer_6
Default |
|
Nombre opcional para la capa 6 del renderizado 2D.
String layer_names/2d_render/layer_7
Default |
|
Nombre opcional para la capa 7 del renderizado 2D.
String layer_names/2d_render/layer_8
Default |
|
Nombre opcional para la capa 8 del renderizado 2D.
String layer_names/2d_render/layer_9
Default |
|
Nombre opcional para la capa 9 del renderizado 2D.
String layer_names/3d_physics/layer_1
Default |
|
Nombre opcional para la capa 1 de la física 3D.
String layer_names/3d_physics/layer_10
Default |
|
Nombre opcional para la capa 10 de física 3D.
String layer_names/3d_physics/layer_11
Default |
|
Nombre opcional para la capa 11 de la física 3D.
String layer_names/3d_physics/layer_12
Default |
|
Nombre opcional para la capa 12 de física 3D.
String layer_names/3d_physics/layer_13
Default |
|
Nombre opcional para la capa 13 de la física 3D.
String layer_names/3d_physics/layer_14
Default |
|
Nombre opcional para la capa 14 de la física 3D.
String layer_names/3d_physics/layer_15
Default |
|
Nombre opcional para la capa 15 de la física 3D.
String layer_names/3d_physics/layer_16
Default |
|
Nombre opcional para la capa 16 de la física 3D.
String layer_names/3d_physics/layer_17
Default |
|
Nombre opcional para la capa 17 de la física 3D.
String layer_names/3d_physics/layer_18
Default |
|
Nombre opcional para la capa 18 de la física 3D.
String layer_names/3d_physics/layer_19
Default |
|
Nombre opcional para la capa 19 de la física 3D.
String layer_names/3d_physics/layer_2
Default |
|
Nombre opcional para la capa 2 de la física 3D.
String layer_names/3d_physics/layer_20
Default |
|
Nombre opcional para la capa 20 de física 3D.
String layer_names/3d_physics/layer_21
Default |
|
Optional name for the 3D physics layer 21.
String layer_names/3d_physics/layer_22
Default |
|
Optional name for the 3D physics layer 22.
String layer_names/3d_physics/layer_23
Default |
|
Optional name for the 3D physics layer 23.
String layer_names/3d_physics/layer_24
Default |
|
Optional name for the 3D physics layer 24.
String layer_names/3d_physics/layer_25
Default |
|
Optional name for the 3D physics layer 25.
String layer_names/3d_physics/layer_26
Default |
|
Optional name for the 3D physics layer 26.
String layer_names/3d_physics/layer_27
Default |
|
Optional name for the 3D physics layer 27.
String layer_names/3d_physics/layer_28
Default |
|
Optional name for the 3D physics layer 28.
String layer_names/3d_physics/layer_29
Default |
|
Optional name for the 3D physics layer 29.
String layer_names/3d_physics/layer_3
Default |
|
Nombre opcional para la capa 3 de física 3D.
String layer_names/3d_physics/layer_30
Default |
|
Optional name for the 3D physics layer 30.
String layer_names/3d_physics/layer_31
Default |
|
Optional name for the 3D physics layer 31.
String layer_names/3d_physics/layer_32
Default |
|
Optional name for the 3D physics layer 32.
String layer_names/3d_physics/layer_4
Default |
|
Nombre opcional para la capa 4 de física 3D.
String layer_names/3d_physics/layer_5
Default |
|
Nombre opcional para la capa 5 de física 3D.
String layer_names/3d_physics/layer_6
Default |
|
Nombre opcional para la capa 6 de física 3D.
String layer_names/3d_physics/layer_7
Default |
|
Nombre opcional para la capa 7 de física 3D.
String layer_names/3d_physics/layer_8
Default |
|
Nombre opcional para la capa 8 de física 3D.
String layer_names/3d_physics/layer_9
Default |
|
Nombre opcional para la capa 9 de física 3D.
String layer_names/3d_render/layer_1
Default |
|
Nombre opcional para la capa 1 del renderizado 3D.
String layer_names/3d_render/layer_10
Default |
|
Nombre opcional para la capa 10 del renderizado 3D.
String layer_names/3d_render/layer_11
Default |
|
Nombre opcional para la capa 11 del renderizado 3D.
String layer_names/3d_render/layer_12
Default |
|
Nombre opcional para la capa 12 del renderizado 3D.
String layer_names/3d_render/layer_13
Default |
|
Nombre opcional para la capa 13 del renderizado 3D.
String layer_names/3d_render/layer_14
Default |
|
Nombre opcional para la capa 14 del renderizado 3D
String layer_names/3d_render/layer_15
Default |
|
Nombre opcional para la capa 15 del renderizado 3D.
String layer_names/3d_render/layer_16
Default |
|
Nombre opcional para la capa 16 del renderizado 3D.
String layer_names/3d_render/layer_17
Default |
|
Nombre opcional para la capa 17 del renderizado 3D.
String layer_names/3d_render/layer_18
Default |
|
Nombre opcional para la capa 18 del renderizado 3D.
String layer_names/3d_render/layer_19
Default |
|
Nombre opcional para la capa 19 del renderizado 3D.
String layer_names/3d_render/layer_2
Default |
|
Nombre opcional para la capa 2 del renderizado 3D.
String layer_names/3d_render/layer_20
Default |
|
Nombre opcional para la capa 20 del renderizado 3D.
String layer_names/3d_render/layer_3
Default |
|
Nombre opcional para la capa 3 del renderizado 3D.
String layer_names/3d_render/layer_4
Default |
|
Nombre opcional para la capa 4 del renderizado 3D.
String layer_names/3d_render/layer_5
Default |
|
Nombre opcional para la capa 5 del renderizado 3D.
String layer_names/3d_render/layer_6
Default |
|
Nombre opcional para la capa 6 del renderizado 3D.
String layer_names/3d_render/layer_7
Default |
|
Nombre opcional para la capa 7 del renderizado 3D.
String layer_names/3d_render/layer_8
Default |
|
Nombre opcional para la capa 8 del renderizado 3D.
String layer_names/3d_render/layer_9
Default |
|
Nombre opcional para la capa 9 del renderizado 3D.
String locale/fallback
Default |
|
El lugar al que recurrir si una traducción no está disponible en un idioma determinado. Si se deja vacío, se usará en
(inglés).
String locale/test
Default |
|
Si no está vacío, este lugar se utilizará cuando se ejecute el proyecto desde el editor.
bool logging/file_logging/enable_file_logging
Default |
|
Si true
, registra todos los resultados en archivos.
bool logging/file_logging/enable_file_logging.pc
Default |
|
Desktop override for logging/file_logging/enable_file_logging, as log files are not readily accessible on mobile/Web platforms.
String logging/file_logging/log_path
Default |
|
Camino a los registros dentro del proyecto. Se recomienda utilizar una ruta user://
.
int logging/file_logging/max_log_files
Default |
|
Especifica la cantidad máxima de archivos de registro permitidos (utilizados para la rotación).
int memory/limits/command_queue/multithreading_queue_size_kb
Default |
|
int memory/limits/message_queue/max_size_kb
Default |
|
Godot utiliza una cola de mensajes para aplazar algunas llamadas a funciones. Si te quedas sin espacio en ella (verás un error), puedes aumentar el tamaño aquí.
int memory/limits/multithreaded_server/rid_pool_prealloc
Default |
|
Esto es utilizado por los servidores cuando se usa en el modo de multi-hilo (servidores y visual). Los RIDs son preasignados para evitar que el servidor los solicite en los hilos. Si los servidores se paralizan con demasiada frecuencia al cargar recursos en un hilo, aumente este número.
int mono/debugger_agent/port
Default |
|
bool mono/debugger_agent/wait_for_debugger
Default |
|
int mono/debugger_agent/wait_timeout
Default |
|
String mono/profiler/args
Default |
|
bool mono/profiler/enabled
Default |
|
int mono/runtime/unhandled_exception_policy
Default |
|
The policy to use for unhandled Mono (C#) exceptions. The default "Terminate Application" exits the project as soon as an unhandled exception is thrown. "Log Error" logs an error message to the console instead, and will not interrupt the project execution when an unhandled exception is thrown.
Note: The unhandled exception policy is always set to "Log Error" in the editor, which also includes C# tool
scripts running within the editor as well as editor plugin code.
int network/limits/debugger_stdout/max_chars_per_second
Default |
|
Cantidad máxima de caracteres que se pueden enviar como salida del depurador. Por encima de este valor, el contenido se elimina. Esto ayuda a no detener la conexión del depurador.
int network/limits/debugger_stdout/max_errors_per_second
Default |
|
Maximum number of errors allowed to be sent as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.
int network/limits/debugger_stdout/max_messages_per_frame
Default |
|
Maximum amount of messages allowed to send as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.
int network/limits/debugger_stdout/max_warnings_per_second
Default |
|
Maximum number of warnings allowed to be sent as output from the debugger. Over this value, content is dropped. This helps not to stall the debugger connection.
int network/limits/packet_peer_stream/max_buffer_po2
Default |
|
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
Default |
|
Tiempo de espera (en segundos) para los intentos de conexión usando TCP.
int network/limits/webrtc/max_channel_in_buffer_kb
Default |
|
Tamaño máximo (en kiB) para el buffer de entrada WebRTCDataChannel.
int network/limits/websocket_client/max_in_buffer_kb
Default |
|
Maximum size (in kiB) for the WebSocketClient input buffer.
int network/limits/websocket_client/max_in_packets
Default |
|
Maximum number of concurrent input packets for WebSocketClient.
int network/limits/websocket_client/max_out_buffer_kb
Default |
|
Maximum size (in kiB) for the WebSocketClient output buffer.
int network/limits/websocket_client/max_out_packets
Default |
|
Maximum number of concurrent output packets for WebSocketClient.
int network/limits/websocket_server/max_in_buffer_kb
Default |
|
Maximum size (in kiB) for the WebSocketServer input buffer.
int network/limits/websocket_server/max_in_packets
Default |
|
Maximum number of concurrent input packets for WebSocketServer.
int network/limits/websocket_server/max_out_buffer_kb
Default |
|
Maximum size (in kiB) for the WebSocketServer output buffer.
int network/limits/websocket_server/max_out_packets
Default |
|
Maximum number of concurrent output packets for WebSocketServer.
int network/remote_fs/page_read_ahead
Default |
|
Cantidad de lectura por adelantado utilizada por el sistema de archivos remoto. Los valores más altos disminuyen los efectos de la latencia a costa de un mayor uso del ancho de banda.
int network/remote_fs/page_size
Default |
|
Tamaño de la página utilizada por el sistema de archivos remoto (en bytes).
String network/ssl/certificates
Default |
|
El paquete de certificados de CA para usar en las conexiones SSL. Si se establece en un valor no vacío, esto sobreescribira el paquete de certificados de Godot por defecto paquete de certificados de Mozilla. Si se deja vacío, se utilizará el paquete de certificados por defecto.
En caso de duda, deje este ajuste vacío.
int node/name_casing
Default |
|
Al crear los nombres de los nodos de forma automática, establezca el tipo de carcasa en este proyecto. Esto es mayormente un ajuste de editor.
int node/name_num_separator
Default |
|
Qué usar para separar el nombre del nodo del número. Esto es mayormente un ajuste de editor.
int physics/2d/bp_hash_table_size
Default |
|
Size of the hash table used for the broad-phase 2D hash grid algorithm.
Note: Not used if physics/2d/use_bvh is enabled.
float physics/2d/bvh_collision_margin
Default |
|
Additional expansion applied to object bounds in the 2D physics bounding volume hierarchy. This can reduce BVH processing at the cost of a slightly coarser broadphase, which can stress the physics more in some situations.
The default value will work well in most situations. A value of 0.0 will turn this optimization off, and larger values may work better for larger, faster moving objects.
Note: Used only if physics/2d/use_bvh is enabled.
int physics/2d/cell_size
Default |
|
Cell size used for the broad-phase 2D hash grid algorithm (in pixels).
Note: Not used if physics/2d/use_bvh is enabled.
float physics/2d/default_angular_damp
Default |
|
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_fps, 60
by default) will bring the object to a stop in one iteration.
int physics/2d/default_gravity
Default |
|
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 98.
Physics2DServer.area_set_param(get_viewport().find_world_2d().get_space(), Physics2DServer.AREA_PARAM_GRAVITY, 98)
Vector2 physics/2d/default_gravity_vector
Default |
|
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)`.
Physics2DServer.area_set_param(get_viewport().find_world_2d().get_space(), Physics2DServer.AREA_PARAM_GRAVITY_VECTOR, Vector2(0, 1))
float physics/2d/default_linear_damp
Default |
|
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_fps, 60
by default) will bring the object to a stop in one iteration.
int physics/2d/large_object_surface_threshold_in_cells
Default |
|
Threshold defining the surface size that constitutes a large object with regard to cells in the broad-phase 2D hash grid algorithm.
Note: Not used if physics/2d/use_bvh is enabled.
String physics/2d/physics_engine
Default |
|
Sets which physics engine to use for 2D physics.
"DEFAULT" and "GodotPhysics" are the same, as there is currently no alternative 2D physics server implemented.
float physics/2d/sleep_threshold_angular
Default |
|
Threshold angular velocity under which a 2D physics body will be considered inactive. See Physics2DServer.SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD.
float physics/2d/sleep_threshold_linear
Default |
|
Threshold linear velocity under which a 2D physics body will be considered inactive. See Physics2DServer.SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD.
int physics/2d/thread_model
Default |
|
Establece si la física se ejecuta en el hilo principal o en uno separado. Ejecutar el servidor en un hilo aumenta el rendimiento, pero restringe el acceso a la API sólo a los procesos de física.
Advertencia: A partir de Godot 3.2, hay informes mixtos sobre el uso de un modelo de hilo multi-hilo para la física. Asegúrate de evaluar si te da un rendimiento extra y no hay regresiones al usarlo.
float physics/2d/time_before_sleep
Default |
|
Time (in seconds) of inactivity before which a 2D physics body will put to sleep. See Physics2DServer.SPACE_PARAM_BODY_TIME_TO_SLEEP.
bool physics/2d/use_bvh
Default |
|
Enables the use of bounding volume hierarchy instead of hash grid for 2D physics spatial partitioning. This may give better performance.
bool physics/3d/active_soft_world
Default |
|
Sets whether the 3D physics world will be created with support for SoftBody physics. Only applies to the Bullet physics engine.
float physics/3d/default_angular_damp
Default |
|
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_fps, 60
by default) will bring the object to a stop in one iteration.
float physics/3d/default_gravity
Default |
|
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.
PhysicsServer.area_set_param(get_viewport().find_world().get_space(), PhysicsServer.AREA_PARAM_GRAVITY, 9.8)
Vector3 physics/3d/default_gravity_vector
Default |
|
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)`.
PhysicsServer.area_set_param(get_viewport().find_world().get_space(), PhysicsServer.AREA_PARAM_GRAVITY_VECTOR, Vector3(0, -1, 0))
float physics/3d/default_linear_damp
Default |
|
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_fps, 60
by default) will bring the object to a stop in one iteration.
float physics/3d/godot_physics/bvh_collision_margin
Default |
|
Additional expansion applied to object bounds in the 3D physics bounding volume hierarchy. This can reduce BVH processing at the cost of a slightly coarser broadphase, which can stress the physics more in some situations.
The default value will work well in most situations. A value of 0.0 will turn this optimization off, and larger values may work better for larger, faster moving objects.
Note: Used only if physics/3d/godot_physics/use_bvh is enabled.
bool physics/3d/godot_physics/use_bvh
Default |
|
Enables the use of bounding volume hierarchy instead of octree for 3D physics spatial partitioning. This may give better performance.
String physics/3d/physics_engine
Default |
|
Sets which physics engine to use for 3D physics.
"DEFAULT" is currently the Bullet physics engine. The "GodotPhysics" engine is still supported as an alternative.
bool physics/common/enable_object_picking
Default |
|
Habilita Viewport.physics_object_picking en el viewport raíz.
bool physics/common/enable_pause_aware_picking
Default |
|
If enabled, 2D and 3D physics picking behaves this way in relation to pause:
When pause is started, every collision object that is hovered or captured (3D only) is released from that condition, getting the relevant mouse-exit callback, unless its pause mode makes it immune to pause.
During pause, picking only considers collision objects immune to pause, sending input events and enter/exit callbacks to them as expected.
If disabled, the legacy behavior is used, which consists in queuing the picking input events during pause (so nodes won't get them) and flushing that queue on resume, against the state of the 2D/3D world at that point.
int physics/common/physics_fps
Default |
|
The number of fixed iterations per second. This controls how often physics simulation and Node._physics_process methods are run. See also debug/settings/fps/force_fps.
Note: This property is only read when the project starts. To change the physics FPS at runtime, set Engine.iterations_per_second instead.
Note: Only 8 physics ticks may be simulated per rendered frame at most. If more than 8 physics ticks have to be simulated per rendered frame to keep up with rendering, the game will appear to slow down (even if delta
is used consistently in physics calculations). Therefore, it is recommended not to increase physics/common/physics_fps above 240. Otherwise, the game will slow down when the rendering framerate goes below 30 FPS.
float physics/common/physics_jitter_fix
Default |
|
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 rendering/2d/opengl/batching_send_null
Default |
|
Experimental. Calls glBufferData
with NULL data prior to uploading batching data. This may not be necessary but can be used for safety.
Note: Use with care. You are advised to leave this as default for exports. A non-default setting that works better on your machine may adversely affect performance for end users.
int rendering/2d/opengl/batching_stream
Default |
|
Experimental. If set to on, uses the GL_STREAM_DRAW
flag for batching buffer uploads. If off, uses the GL_DYNAMIC_DRAW
flag.
Note: Use with care. You are advised to leave this as default for exports. A non-default setting that works better on your machine may adversely affect performance for end users.
int rendering/2d/opengl/legacy_orphan_buffers
Default |
|
Experimental. If set to on, this applies buffer orphaning - glBufferData
is called with NULL data and the full buffer size prior to uploading new data. This can be important to avoid stalling on some hardware.
Note: Use with care. You are advised to leave this as default for exports. A non-default setting that works better on your machine may adversely affect performance for end users.
int rendering/2d/opengl/legacy_stream
Default |
|
Experimental. If set to on, uses the GL_STREAM_DRAW
flag for legacy buffer uploads. If off, uses the GL_DYNAMIC_DRAW
flag.
Note: Use with care. You are advised to leave this as default for exports. A non-default setting that works better on your machine may adversely affect performance for end users.
int rendering/2d/options/ninepatch_mode
Default |
|
Choose between fixed mode where corner scalings are preserved matching the artwork, and scaling mode.
Not available in GLES3 when rendering/batching/options/use_batching is off.
bool rendering/2d/options/use_nvidia_rect_flicker_workaround
Default |
|
Some NVIDIA GPU drivers have a bug which produces flickering issues for the draw_rect
method, especially as used in TileMap. Refer to GitHub issue 9913 for details.
If true
, this option enables a "safe" code path for such NVIDIA GPUs at the cost of performance. This option affects GLES2 and GLES3 rendering, but only on desktop platforms.
bool rendering/2d/options/use_software_skinning
Default |
|
If true
, performs 2D skinning on the CPU rather than the GPU. This provides greater compatibility with a wide range of hardware, and also may be faster in some circumstances.
Currently only available when rendering/batching/options/use_batching is active.
Note: Antialiased software skinned polys are not supported, and will be rendered without antialiasing.
Note: Custom shaders that use the VERTEX
built-in operate with VERTEX
position after skinning, whereas with hardware skinning, VERTEX
is the position before skinning.
bool rendering/2d/snapping/use_gpu_pixel_snap
Default |
|
If true
, forces snapping of vertices to pixels in 2D rendering. May help in some pixel art styles.
This snapping is performed on the GPU in the vertex shader.
Consider using the project setting rendering/batching/precision/uv_contract to prevent artifacts.
bool rendering/batching/debug/diagnose_frame
Default |
|
When batching is on, this regularly prints a frame diagnosis log. Note that this will degrade performance.
bool rendering/batching/debug/flash_batching
Default |
|
Experimental. For regression testing against the old renderer. If this is switched on, and use_batching
is set, the renderer will swap alternately between using the old renderer, and the batched renderer, on each frame. This makes it easy to identify visual differences. Performance will be degraded.
int rendering/batching/lights/max_join_items
Default |
|
Lights have the potential to prevent joining items, and break many of the performance benefits of batching. This setting enables some complex logic to allow joining items if their lighting is similar, and overlap tests pass. This can significantly improve performance in some games. Set to 0 to switch off. With large values the cost of overlap tests may lead to diminishing returns.
float rendering/batching/lights/scissor_area_threshold
Default |
|
Sets the proportion of the total screen area (in pixels) that must be saved by a scissor operation in order to activate light scissoring. This can prevent parts of items being rendered outside the light area. Lower values scissor more aggressively. A value of 1 scissors none of the items, a value of 0 scissors every item. The power of 4 of the value is used, in order to emphasize the lower range, and multiplied by the total screen area in pixels to give the threshold. This can reduce fill rate requirements in scenes with a lot of lighting.
bool rendering/batching/options/single_rect_fallback
Default |
|
Enabling this setting uses the legacy method to draw batches containing only one rect. The legacy method is faster (approx twice as fast), but can cause flicker on some systems. In order to directly compare performance with the non-batching renderer you can set this to true, but it is recommended to turn this off unless you can guarantee your target hardware will work with this method.
bool rendering/batching/options/use_batching
Default |
|
Turns 2D batching on and off. Batching increases performance by reducing the amount of graphics API drawcalls.
bool rendering/batching/options/use_batching_in_editor
Default |
|
Switches on 2D batching within the editor.
int rendering/batching/parameters/batch_buffer_size
Default |
|
Size of buffer reserved for batched vertices. Larger size enables larger batches, but there are diminishing returns for the memory used. This should only have a minor effect on performance.
float rendering/batching/parameters/colored_vertex_format_threshold
Default |
|
Including color in the vertex format has a cost, however, not including color prevents batching across color changes. This threshold determines the ratio of number of vertex color changes / total number of vertices
above which vertices will be translated to colored format. A value of 0 will always use colored vertices, 1 will never use colored vertices.
int rendering/batching/parameters/item_reordering_lookahead
Default |
|
In certain circumstances, the batcher can reorder items in order to better join them. This may result in better performance. An overlap test is needed however for each item lookahead, so there is a trade off, with diminishing returns. If you are getting no benefit, setting this to 0 will switch it off.
int rendering/batching/parameters/max_join_item_commands
Default |
|
Sets the number of commands to lookahead to determine whether to batch render items. A value of 1 can join items consisting of single commands, 0 turns off joining. Higher values are in theory more likely to join, however this has diminishing returns and has a runtime cost so a small value is recommended.
bool rendering/batching/precision/uv_contract
Default |
|
On some platforms (especially mobile), precision issues in shaders can lead to reading 1 texel outside of bounds, particularly where rects are scaled. This can particularly lead to border artifacts around tiles in tilemaps.
This adjustment corrects for this by making a small contraction to the UV coordinates used. Note that this can result in a slight squashing of border texels.
int rendering/batching/precision/uv_contract_amount
Default |
|
The amount of UV contraction. This figure is divided by 1000000, and is a proportion of the total texture dimensions, where the width and height are both ranged from 0.0 to 1.0.
Use the default unless correcting for a problem on particular hardware.
int rendering/cpu_lightmapper/quality/high_quality_ray_count
Default |
|
Amount of light samples taken when using BakedLightmap.BAKE_QUALITY_HIGH.
int rendering/cpu_lightmapper/quality/low_quality_ray_count
Default |
|
Amount of light samples taken when using BakedLightmap.BAKE_QUALITY_LOW.
int rendering/cpu_lightmapper/quality/medium_quality_ray_count
Default |
|
Amount of light samples taken when using BakedLightmap.BAKE_QUALITY_MEDIUM.
int rendering/cpu_lightmapper/quality/ultra_quality_ray_count
Default |
|
Amount of light samples taken when using BakedLightmap.BAKE_QUALITY_ULTRA.
Color rendering/environment/default_clear_color
Default |
|
Color de fondo claro por defecto. Sobrescribible por el Viewport usando su Environment. Vea Environment.background_mode y Environment.background_color en particular. Para cambiar este color predeterminado de forma programada, utilice el VisualServer.set_default_clear_color.
String rendering/environment/default_environment
Default |
|
Environment que será utilizado como un medio ambiente de reserva en caso de que una escena no especifique su propio medio ambiente. El entorno por defecto se carga en el momento de la carga de la escena, independientemente de si se ha establecido un entorno o no. Si no se confía en el entorno de reserva, es mejor borrar default_env.tres
, o especificar aquí un entorno por defecto diferente.
bool rendering/gles2/compatibility/disable_half_float
Default |
|
The use of half-float vertex compression may be producing rendering errors on some platforms (especially iOS). These have been seen particularly in particles. Disabling half-float may resolve these problems.
bool rendering/gles2/compatibility/disable_half_float.iOS
Default |
|
iOS specific override for rendering/gles2/compatibility/disable_half_float, due to poor support for half-float vertex compression on many devices.
bool rendering/gles2/compatibility/enable_high_float.Android
Default |
|
If true
and available on the target Android device, enables high floating point precision for all shader computations in GLES2.
Warning: High floating point precision can be extremely slow on older devices and is often not available at all. Use with caution.
bool rendering/gles3/shaders/log_active_async_compiles_count
Default |
|
If true
, every time an asynchronous shader compilation or an asynchronous shader reconstruction from cache starts or finishes, a line will be logged telling how many of those are happening.
If the platform doesn't support parallel shader compile, but only the compile queue via a secondary GL context, what the message will tell is the number of shader compiles currently queued.
Note: This setting is only meaningful if rendering/gles3/shaders/shader_compilation_mode
is not Synchronous
.
int rendering/gles3/shaders/max_simultaneous_compiles
Default |
|
This is the maximum number of shaders that can be compiled (or reconstructed from cache) at the same time.
At runtime, while that count is reached, other shaders that can be asynchronously compiled will just use their fallback, without their setup being started until the count gets lower.
This is a way to balance the CPU work between running the game and compiling the shaders. The goal is to have as many asynchronous compiles in flight as possible without impacting the responsiveness of the game, which beyond some point would destroy the benefits of asynchronous compilation. In other words, you may be able to afford that the FPS lowers a bit, and that will already be better than the stalling that synchronous compilation could cause.
The default value is a conservative one, so you are advised to tweak it according to the hardware you are targeting.
Note: This setting is only meaningful if rendering/gles3/shaders/shader_compilation_mode
is not Synchronous
.
int rendering/gles3/shaders/max_simultaneous_compiles.mobile
Default |
|
The default is a very conservative override for rendering/gles3/shaders/max_concurrent_compiles
.
Depending on the specific devices you are targeting, you may want to raise it.
Note: This setting is only meaningful if rendering/gles3/shaders/shader_compilation_mode
is not Synchronous
.
int rendering/gles3/shaders/shader_cache_size_mb
Default |
|
The maximum size, in megabytes, that the ubershader cache can grow up to. On startup, the least recently used entries will be deleted until the total size is within bounds.
Note: This setting is only meaningful if rendering/gles3/shaders/shader_compilation_mode
is set to Asynchronous + Cache
.
int rendering/gles3/shaders/shader_cache_size_mb.mobile
Default |
|
An override for rendering/gles3/shaders/ubershader_cache_size_mb
, so a smaller maximum size can be configured for mobile platforms, where storage space is more limited.
Note: This setting is only meaningful if rendering/gles3/shaders/shader_compilation_mode
is set to Asynchronous + Cache
.
int rendering/gles3/shaders/shader_compilation_mode
Default |
|
If set to Asynchronous
and available on the target device, asynchronous compilation of shaders is enabled (in contrast to Asynchronous
).
That means that when a shader is first used under some new rendering situation, the game won't stall while such shader is being compiled. Instead, a fallback will be used and the real shader will be compiled in the background. Once the actual shader is compiled, it will be used the next times it's used to draw a frame.
Depending on the async mode configured for a given material/shader, the fallback will be an "ubershader" (the default) or just skip rendering any item it is applied to.
An ubershader is a very complex shader, slow but suited to any rendering situation, that the engine generates internally so it can be used from the beginning while the traditional conditioned, optimized version of it is being compiled.
In order to save some loading time, you can use Asynchronous + Cache
, which also causes the ubershaders to be cached into storage so they can be ready faster next time they are used (provided the platform provides support for it).
Warning: Async. compilation is currently only supported for spatial and particle materials/shaders.
int rendering/limits/buffers/blend_shape_max_buffer_size_kb
Default |
|
Max buffer size for blend shapes. Any blend shape bigger than this will not work.
int rendering/limits/buffers/canvas_polygon_buffer_size_kb
Default |
|
Max buffer size for drawing polygons. Any polygon bigger than this will not work.
int rendering/limits/buffers/canvas_polygon_index_buffer_size_kb
Default |
|
Max index buffer size for drawing polygons. Any polygon bigger than this will not work.
int rendering/limits/buffers/immediate_buffer_size_kb
Default |
|
Max buffer size for drawing immediate objects (ImmediateGeometry nodes). Nodes using more than this size will not work.
int rendering/limits/rendering/max_lights_per_object
Default |
|
Max number of lights renderable per object. This is further limited by hardware support. Most devices only support 409 lights, while many devices (especially mobile) only support 102. Setting this low will slightly reduce memory usage and may decrease shader compile times.
int rendering/limits/rendering/max_renderable_elements
Default |
|
Max amount 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.
int rendering/limits/rendering/max_renderable_lights
Default |
|
Max number of 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.
int rendering/limits/rendering/max_renderable_reflections
Default |
|
Max number of reflection probes renderable in a frame. If more reflection probes 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.
float rendering/limits/time/time_rollover_secs
Default |
|
Shaders have a time variable that constantly increases. At some point, it needs to be rolled back to zero to avoid precision errors on shader animations. This setting specifies when (in seconds).
bool rendering/misc/lossless_compression/force_png
Default |
|
If true
, the texture importer will import lossless textures using the PNG format. Otherwise, it will default to using WebP.
int rendering/misc/lossless_compression/webp_compression_level
Default |
|
The default compression level for lossless WebP. Higher levels result in smaller files at the cost of compression speed. Decompression speed is mostly unaffected by the compression level. Supported values are 0 to 9. Note that compression levels above 6 are very slow and offer very little savings.
bool rendering/misc/mesh_storage/split_stream
Default |
|
On import, mesh vertex data will be split into two streams within a single vertex buffer, one for position data and the other for interleaved attributes data. Recommended to be enabled if targeting mobile devices. Requires manual reimport of meshes after toggling.
int rendering/misc/occlusion_culling/max_active_spheres
Default |
|
Determines the maximum number of sphere occluders that will be used at any one time.
Although you can have many occluders in a scene, each frame the system will choose from these the most relevant based on a screen space metric, in order to give the best overall performance.
bool rendering/portals/advanced/flip_imported_portals
Default |
|
The default convention is for portal normals to point outward (face outward) from the source room.
If you accidentally build your level with portals facing the wrong way, this setting can fix the problem.
It will flip named portal meshes (i.e. -portal
) on the initial convertion to Portal nodes.
bool rendering/portals/debug/logging
Default |
|
Show conversion logs.
Note: This will automatically be disabled in exports.
bool rendering/portals/gameplay/use_signals
Default |
|
If true
, gameplay callbacks will be sent as signals
. If false
, they will be sent as notifications
.
bool rendering/portals/optimize/remove_danglers
Default |
|
If enabled, while merging meshes, the system will also attempt to remove Spatial nodes that no longer have any children.
Reducing the number of Nodes in the scene tree can make traversal more efficient, but can be switched off in case you wish to use empty Spatials for markers or some other purpose.
bool rendering/portals/pvs/pvs_logging
Default |
|
Show logs during PVS generation.
Note: This will automatically be disabled in exports.
bool rendering/portals/pvs/use_simple_pvs
Default |
|
Uses a simplified method of generating PVS (potentially visible set) data. The results may not be accurate where more than one portal join adjacent rooms.
Note: Generally you should only use this option if you encounter bugs when it is set to false
, i.e. there are problems with the default method.
bool rendering/quality/depth/hdr
Default |
|
If true
, allocates the main framebuffer with high dynamic range. High dynamic range allows the use of Color values greater than 1.
Note: Only available on the GLES3 backend.
bool rendering/quality/depth/hdr.mobile
Default |
|
Sobrescritura del extremo inferior para rendering/quality/depth/hdr en los dispositivos móviles, debido a problemas de rendimiento o de apoyo al driver.
String rendering/quality/depth_prepass/disable_for_vendors
Default |
|
Desactiva el paso previo de profundidad para algunos fabricantes de GPU (normalmente móviles), ya que su arquitectura ya lo hace.
bool rendering/quality/depth_prepass/enable
Default |
|
Si true
, realiza una pasada de profundidad previa antes de renderizar los materiales. Esto aumenta el rendimiento en escenas con alto sobregiro, cuando se utilizan materiales complejos e iluminación.
int rendering/quality/directional_shadow/size
Default |
|
El tamaño de la sombra direccional en píxeles. Valores más altos resultarán en sombras más nítidas, a costa del rendimiento. El valor se redondeará a la potencia más cercana de 2.
int rendering/quality/directional_shadow/size.mobile
Default |
|
Sobrescritura del extremo inferior para rendering/quality/directional_shadow/size en los dispositivos móviles, debido a problemas de rendimiento o de apoyo al driver.
String rendering/quality/driver/driver_name
Default |
|
The video driver to use ("GLES2" or "GLES3").
Note: The backend in use can be overridden at runtime via the --video-driver
command line argument, or by the rendering/quality/driver/fallback_to_gles2 option if the target system does not support GLES3 and falls back to GLES2. In such cases, this property is not updated, so use OS.get_current_video_driver to query it at run-time.
bool rendering/quality/driver/fallback_to_gles2
Default |
|
If true
, allows falling back to the GLES2 driver if the GLES3 driver is not supported.
Note: The two video drivers are not drop-in replacements for each other, so a game designed for GLES3 might not work properly when falling back to GLES2. In particular, some features of the GLES3 backend are not available in GLES2. Enabling this setting also means that both ETC and ETC2 VRAM-compressed textures will be exported on Android and iOS, increasing the data pack's size.
int rendering/quality/filters/anisotropic_filter_level
Default |
|
Maximum anisotropic filter level used for textures with anisotropy enabled. Higher values will result in sharper textures when viewed from oblique angles, at the cost of performance. Only power-of-two values are valid (2, 4, 8, 16).
int rendering/quality/filters/msaa
Default |
|
Sets the number of MSAA samples to use. 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.
Note: MSAA is not available on HTML5 export using the GLES2 backend.
float rendering/quality/filters/sharpen_intensity
Default |
|
If set to a value greater than 0.0
, contrast-adaptive sharpening will be applied to the 3D viewport. This has a low performance cost and can be used to recover some of the sharpness lost from using FXAA. Values around 0.5
generally give the best results. See also rendering/quality/filters/use_fxaa.
bool rendering/quality/filters/use_debanding
Default |
|
If true
, uses a fast post-processing filter to make banding significantly less visible. 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: Only available on the GLES3 backend. rendering/quality/depth/hdr must also be true
for debanding to be effective.
Note: There are known issues with debanding breaking rendering on mobile platforms. Due to this, it is recommended to leave this option disabled when targeting mobile platforms.
bool rendering/quality/filters/use_fxaa
Default |
|
Enables FXAA in the root Viewport. FXAA is a popular screen-space antialiasing method, which is fast but will make the image look blurry, especially at lower resolutions. It can still work relatively well at large resolutions such as 1440p and 4K. Some of the lost sharpness can be recovered by enabling contrast-adaptive sharpening (see rendering/quality/filters/sharpen_intensity).
bool rendering/quality/filters/use_nearest_mipmap_filter
Default |
|
Si true
, utiliza el filtrado de mipmaps más cercano cuando utiliza mipmaps (también llamado "filtrado bilineal"), lo que dará lugar a la aparición de vetas visibles entre las etapas del mipmap. Esto puede aumentar el rendimiento en el móvil, ya que se utiliza menos ancho de banda de memoria. Si false
, se utiliza el filtrado lineal de mipmaps (también llamado "filtrado trilíneo").
int rendering/quality/intended_usage/framebuffer_allocation
Default |
|
Estrategia utilizada para la asignación de la memoria intermedia. Cuanto más simple es, menos recursos utiliza (pero menos características soporta). Si se configura como "2D sin muestreo" o "3D sin efectos", no se asignarán buffers de muestreo. Esto significa que SCREEN_TEXTURE
y DEPTH_TEXTURE
no estarán disponibles en los shaders y los efectos de post-procesamiento no estarán disponibles en el Environment.
int rendering/quality/intended_usage/framebuffer_allocation.mobile
Default |
|
Anulación del extremo inferior para rendering/quality/intended_usage/framebuffer_allocation en los dispositivos móviles, debido a problemas de rendimiento o de compatibilidad con el controlador.
bool rendering/quality/lightmapping/use_bicubic_sampling
Default |
|
Enable usage of bicubic sampling in baked lightmaps. This results in smoother looking lighting at the expense of more bandwidth usage. On GLES2, changes to this setting will only be applied upon restarting the application.
bool rendering/quality/lightmapping/use_bicubic_sampling.mobile
Default |
|
Lower-end override for rendering/quality/lightmapping/use_bicubic_sampling on mobile devices, in order to reduce bandwidth usage.
int rendering/quality/reflections/atlas_size
Default |
|
Size of the atlas used by reflection probes. A larger size can result in higher visual quality, while a smaller size will be faster and take up less memory.
int rendering/quality/reflections/atlas_subdiv
Default |
|
Number of subdivisions to use for the reflection atlas. A higher number lowers the quality of each atlas, but allows you to use more.
bool rendering/quality/reflections/high_quality_ggx
Default |
|
If true
, uses a high amount of samples to create blurred variants of reflection probes and panorama backgrounds (sky). Those blurred variants are used by rough materials.
bool rendering/quality/reflections/high_quality_ggx.mobile
Default |
|
Lower-end override for rendering/quality/reflections/high_quality_ggx on mobile devices, due to performance concerns or driver support.
int rendering/quality/reflections/irradiance_max_size
Default |
|
Limits the size of the irradiance map which is normally determined by Sky.radiance_size. A higher size results in a higher quality irradiance map similarly to rendering/quality/reflections/high_quality_ggx. Use a higher value when using high-frequency HDRI maps, otherwise keep this as low as possible.
Note: Low and mid range hardware do not support complex irradiance maps well and may crash if this is set too high.
bool rendering/quality/reflections/texture_array_reflections
Default |
|
If true
, uses texture arrays instead of mipmaps for reflection probes and panorama backgrounds (sky). This reduces jitter noise on reflections, but costs more performance and memory.
bool rendering/quality/reflections/texture_array_reflections.mobile
Default |
|
Sobreescritura del extremo inferior para rendering/quality/reflections/texture_array_reflections en dispositivos móviles, debido a problemas de rendimiento o compatibilidad con el controlador.
bool rendering/quality/shading/force_blinn_over_ggx
Default |
|
Si true
, utiliza un modelo Blinn más rápido pero de menor calidad para generar reflejos borrosos en lugar del modelo GGX.
bool rendering/quality/shading/force_blinn_over_ggx.mobile
Default |
|
Sobreescritura del extremo inferior para rendering/quality/shading/force_blinn_over_ggx en los dispositivos móviles, debido a problemas de rendimiento o de soporte de los conductores.
bool rendering/quality/shading/force_lambert_over_burley
Default |
|
Si true
, utiliza un modelo de iluminación de material Lambert más rápido pero de menor calidad en lugar del Burley.
bool rendering/quality/shading/force_lambert_over_burley.mobile
Default |
|
Sobreescritura del extremo inferior para rendering/quality/shading/force_lambert_over_burley en los dispositivos móviles, debido a problemas de rendimiento o de apoyo al conductor.
bool rendering/quality/shading/force_vertex_shading
Default |
|
Si true
, fuerza el sombreado de vértices para todos los renderizados. Esto puede aumentar mucho el rendimiento, pero también reduce la calidad enormemente. Se puede utilizar para optimizar el rendimiento en dispositivos móviles de gama baja.
bool rendering/quality/shading/force_vertex_shading.mobile
Default |
|
Sobreescritura del extremo inferior para rendering/quality/shading/force_vertex_shading en los dispositivos móviles, debido a problemas de rendimiento o de compatibilidad con el controlador.
bool rendering/quality/shading/use_physical_light_attenuation
Default |
|
If true
, enables new physical light attenuation for OmniLights and SpotLights. This results in more realistic lighting appearance with a very small performance cost. When physical light attenuation is enabled, lights will appear to be darker as a result of the new attenuation formula. This can be compensated by adjusting the lights' energy or attenuation values.
Changes to this setting will only be applied upon restarting the application.
int rendering/quality/shadow_atlas/cubemap_size
Default |
|
Size for cubemap into which the shadow is rendered before being copied into the shadow atlas. A higher number can result in higher resolution shadows when used with a higher rendering/quality/shadow_atlas/size. Setting higher than a quarter of the rendering/quality/shadow_atlas/size will not result in a perceptible increase in visual quality.
int rendering/quality/shadow_atlas/quadrant_0_subdiv
Default |
|
Tamaño del cuadrante de subdivisión para el mapeo de sombras. Ver la documentación del mapeo de sombras.
int rendering/quality/shadow_atlas/quadrant_1_subdiv
Default |
|
Tamaño del cuadrante de subdivisión para el mapeo de sombras. Ver la documentación del mapeo de sombras.
int rendering/quality/shadow_atlas/quadrant_2_subdiv
Default |
|
Tamaño del cuadrante de subdivisión para el mapeo de sombras. Ver la documentación del mapeo de sombras.
int rendering/quality/shadow_atlas/quadrant_3_subdiv
Default |
|
Tamaño del cuadrante de subdivisión para el mapeo de sombras. Ver la documentación del mapeo de sombras.
int rendering/quality/shadow_atlas/size
Default |
|
Tamaño para el atlas de sombras (usado para OmniLights y SpotLights). Vea la documentación.
int rendering/quality/shadow_atlas/size.mobile
Default |
|
Anulación del extremo inferior para rendering/quality/shadow_atlas/size en los dispositivos móviles, debido a problemas de rendimiento o de compatibilidad con el controlador.
int rendering/quality/shadows/filter_mode
Default |
|
Shadow filter mode. Higher-quality settings result in smoother shadows that flicker less when moving. "Disabled" is the fastest option, but also has the lowest quality. "PCF5" is smoother but is also slower. "PCF13" is the smoothest option, but is also the slowest.
Note: When using the GLES2 backend, the "PCF13" option actually uses 16 samples to emulate linear filtering in the shader. This results in a shadow appearance similar to the one produced by the GLES3 backend.
int rendering/quality/shadows/filter_mode.mobile
Default |
|
Lower-end override for rendering/quality/shadows/filter_mode on mobile devices, due to performance concerns or driver support.
bool rendering/quality/skinning/force_software_skinning
Default |
|
Forces MeshInstance to always perform skinning on the CPU (applies to both GLES2 and GLES3).
See also rendering/quality/skinning/software_skinning_fallback.
bool rendering/quality/skinning/software_skinning_fallback
Default |
|
Allows MeshInstance to perform skinning on the CPU when the hardware doesn't support the default GPU skinning process with GLES2.
If false
, an alternative skinning process on the GPU is used in this case (slower in most cases).
See also rendering/quality/skinning/force_software_skinning.
Note: When the software skinning fallback is triggered, custom vertex shaders will behave in a different way, because the bone transform will be already applied to the modelview matrix.
float rendering/quality/spatial_partitioning/bvh_collision_margin
Default |
|
Additional expansion applied to object bounds in the 3D rendering bounding volume hierarchy. This can reduce BVH processing at the cost of a slightly reduced accuracy.
The default value will work well in most situations. A value of 0.0 will turn this optimization off, and larger values may work better for larger, faster moving objects.
Note: Used only if rendering/quality/spatial_partitioning/use_bvh is enabled.
float rendering/quality/spatial_partitioning/render_tree_balance
Default |
|
The rendering octree balance can be changed to favor smaller (0
), or larger (1
) branches.
Larger branches can increase performance significantly in some projects.
Note: Not used if rendering/quality/spatial_partitioning/use_bvh is enabled.
bool rendering/quality/spatial_partitioning/use_bvh
Default |
|
Enables the use of bounding volume hierarchy instead of octree for rendering spatial partitioning. This may give better performance.
bool rendering/quality/subsurface_scattering/follow_surface
Default |
|
Improves quality of subsurface scattering, but cost significantly increases.
int rendering/quality/subsurface_scattering/quality
Default |
|
Quality setting for subsurface scattering (samples taken).
int rendering/quality/subsurface_scattering/scale
Default |
|
Max radius used for subsurface scattering samples.
bool rendering/quality/subsurface_scattering/weight_samples
Default |
|
Weight subsurface scattering samples. Helps to avoid reading samples from unrelated parts of the screen.
bool rendering/quality/voxel_cone_tracing/high_quality
Default |
|
Use high-quality voxel cone tracing. This results in better-looking reflections, but is much more expensive on the GPU.
int rendering/threads/thread_model
Default |
|
Modelo de hilo para la representación. El renderizado en un hilo puede mejorar enormemente el rendimiento, pero la sincronización con el hilo principal puede causar un poco más de temblor.
bool rendering/threads/thread_safe_bvh
Default |
|
If true
, a thread safe version of BVH (bounding volume hierarchy) will be used in rendering and Godot physics.
Try enabling this option if you see any visual anomalies in 3D (such as incorrect object visibility).
bool rendering/vram_compression/import_bptc
Default |
|
If true
, the texture importer will import VRAM-compressed textures using the BPTC algorithm. This texture compression algorithm is only supported on desktop platforms, and only when using the GLES3 renderer.
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 .import/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
bool rendering/vram_compression/import_etc
Default |
|
If true
, the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression algorithm. This algorithm doesn't support alpha channels in textures.
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 .import/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
bool rendering/vram_compression/import_etc2
Default |
|
If true
, the texture importer will import VRAM-compressed textures using the Ericsson Texture Compression 2 algorithm. This texture compression algorithm is only supported when using the GLES3 renderer.
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 .import/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
bool rendering/vram_compression/import_pvrtc
Default |
|
If true
, the texture importer will import VRAM-compressed textures using the PowerVR Texture Compression algorithm. This texture compression algorithm is only supported on iOS.
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 .import/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
bool rendering/vram_compression/import_s3tc
Default |
|
If true
, the texture importer will import VRAM-compressed textures using the S3 Texture Compression algorithm. This algorithm is only supported on desktop platforms and consoles.
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 .import/
folder located inside the project folder then restart the editor (see application/config/use_hidden_project_data_directory).
int world/2d/cell_size
Default |
|
Cell size used for the 2D hash grid that VisibilityNotifier2D uses (in pixels).
Descripciones de Métodos¶
void add_property_info ( Dictionary hint )
Añade una información de propiedad personalizada a una propiedad. El diccionario debe contener:
name
: String (el nombre de la propiedad)type
: int (véase Variant.Type)opcionalmente
hint
: int (ver PropertyHint) yhint_string
: String
Ejemplo:
ProjectSettings.set("category/property_name", 0)
var property_info = {
"name": "category/property_name",
"type": TYPE_INT,
"hint": PROPERTY_HINT_ENUM,
"hint_string": "uno, dos, tres"
}
ProjectSettings.add_property_info(property_info)
void clear ( String name )
Despeja toda la configuración (no recomendado, puede romper cosas).
Devuelve el orden de un valor de configuración (influye cuando se guarda en el archivo de configuración).
Devuelve el valor de un ajuste.
Ejemplo:
print(ProjectSettings.get_setting("application/config/name"))
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().plus_file("hello.txt")
Devuelve true
si un valor de configuración está presente.
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.
Returns the localized path (starting with res://
) corresponding to the absolute, native OS path
. See also globalize_path.
Devuelve true
si la propiedad especificada existe y su valor inicial difiere del valor actual.
Devuelve el valor inicial de la propiedad especificada. Devuelve null
si la propiedad no existe.
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.
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.
Establece el valor inicial de la propiedad especificada. Este es el valor al que vuelve la propiedad.
Establece el orden de un valor de configuración (influye cuando se guarda en el archivo de configuración).
Establece el valor de un ajuste.
Ejemplo:
ProjectSettings.set_setting("application/config/name", "Ejemplo")