diff --git a/classes/es/class_@gdscript.rst b/classes/es/class_@gdscript.rst index 460014a02b..d9d816b7af 100644 --- a/classes/es/class_@gdscript.rst +++ b/classes/es/class_@gdscript.rst @@ -340,11 +340,11 @@ Véase además :ref:`@GlobalScope.PROPERTY_HINT_EXP_EASING` = "", ...\ ) |vararg| :ref:`🔗` -Exporta una propiedad :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \] o :ref:`PackedStringArray` como una ruta a un archivo. La ruta se limitará a la carpeta del proyecto y sus subcarpetas. Consulte :ref:`@export_global_file` para permitir la selección de todo el sistema de archivos. +Exporta una propiedad :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \] o :ref:`PackedStringArray` como una ruta a un archivo. La ruta se limitará a la carpeta del proyecto y sus subcarpetas. Consulta :ref:`@export_global_file` para permitir la selección de todo el sistema de archivos. Si se proporciona ``filter``, solo estarán disponibles para la selección los archivos coincidentes. -Consulte también :ref:`@GlobalScope.PROPERTY_HINT_FILE`. +Véase también :ref:`@GlobalScope.PROPERTY_HINT_FILE`. :: @@ -364,7 +364,7 @@ Consulte también :ref:`@GlobalScope.PROPERTY_HINT_FILE` = "", ...\ ) |vararg| :ref:`🔗` -Igual que :ref:`@export_file`, excepto que el archivo se guardará como una ruta sin procesar. Esto significa que puede volverse inválida cuando se mueva el archivo. Si está exportando una ruta de :ref:`Resource`, considere usar :ref:`@export_file` en su lugar. +Igual que :ref:`@export_file`, excepto que el archivo se guardará como una ruta sin procesar. Esto significa que puede volverse inválida cuando se mueva el archivo. Si está exportando una ruta de :ref:`Resource`, considera usar :ref:`@export_file` en su lugar. .. rst-class:: classref-item-separator @@ -595,9 +595,9 @@ Véase también :ref:`@GlobalScope.PROPERTY_HINT_GLOBAL_FILE`, prefix\: :ref:`String` = ""\ ) :ref:`🔗` -Define un nuevo grupo para las siguientes propiedades exportadas. Esto ayuda a organizar las propiedades en el panel Inspector. Los grupos pueden ser agregados con un ``prefijo de parameteo`` opcional, que podría hacer un grupo para solo considerar las propiedades que tenga este prefijo. El agrupamiento se romperá con la primera propiedad que no tenga un prefijo. El prefijo también sera removido del nombre de la propiedad en el panel Inspector. +Define un nuevo grupo para las siguientes propiedades exportadas. Esto ayuda a organizar las propiedades en el panel Inspector. Los grupos pueden ser agregados con un ``prefix`` opcional, que podría hacer un grupo para solo considerar las propiedades que tenga este prefijo. El agrupamiento se romperá con la primera propiedad que no tenga un prefijo. El prefijo también sera removido del nombre de la propiedad en el panel Inspector. -Si no se proporciona un ``prefix``, entonces cada propiedad siguiente sera agregada al grupo. El grupo se disuelve para cuando el grupo o categoría siguiente es definida. Tambien puedes forzar la disolución de un grupo usando esta anotación con cadenas vacías como parámetros, ``@export_group("", "")``. +Si no se proporciona un ``prefix``, entonces cada propiedad siguiente sera agregada al grupo. El grupo se disuelve para cuando el grupo o categoría siguiente es definida. Tambien puedes forzar la disolución de un grupo usando esta anotación con strings vacías como parámetros, ``@export_group("", "")``. Los grupos no pueden ser anidados, usa :ref:`@export_subgroup` para añadir subgrupos dentro de grupos. @@ -735,9 +735,9 @@ Exporta una propiedad con la bandera :ref:`@GlobalScope.PROPERTY_USAGE_STORAGE`, prefix\: :ref:`String` = ""\ ) :ref:`🔗` -Define un nuevo subgrupo para las siguientes propiedades exportadas. Esto ayuda a organizar las propiedades en el dock Inspector. Los subgrupos funcionan exactamente como los grupos, excepto que necesitan que exista un grupo padre. Ver :ref:`@export_group`. +Define un nuevo subgrupo para las siguientes propiedades exportadas. Esto ayuda a organizar las propiedades en el dock Inspector. Los subgrupos funcionan exactamente como los grupos, excepto que necesitan que exista un grupo padre. Véase :ref:`@export_group`. -Ver también :ref:`@GlobalScope.PROPERTY_USAGE_SUBGROUP`. +Véase también :ref:`@GlobalScope.PROPERTY_USAGE_SUBGROUP`. :: @@ -780,7 +780,7 @@ Si se especifica ``icon``, este se utiliza para obtener un icono para el botón Considera usar :ref:`EditorUndoRedoManager` para permitir que la acción pueda revertirse de manera segura. -Consulta también :ref:`@GlobalScope.PROPERTY_HINT_TOOL_BUTTON`. +Véase también :ref:`@GlobalScope.PROPERTY_HINT_TOOL_BUTTON`. :: @@ -809,7 +809,7 @@ Consulta también :ref:`@GlobalScope.PROPERTY_HINT_TOOL_BUTTON` tipo lambda en variables miembro de clases basadas en :ref:`RefCounted` (por ejemplo, recursos), ya que esto podría provocar fugas de memoria. Usa únicamente :ref:`Callable` de métodos y, si es necesario, utiliza los métodos ``Callable.bind`` o ``Callable.unbind``. +\ **Nota:** Evita almacenar :ref:`Callable` tipo lambda en variables miembro de clases basadas en :ref:`RefCounted` (por ejemplo, recursos), ya que esto podría provocar fugas de memoria. Usa únicamente :ref:`Callable` de métodos y, si es necesario, utiliza los métodos :ref:`Callable.bind()` o :ref:`Callable.unbind()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_@globalscope.rst b/classes/es/class_@globalscope.rst index 10f0b265b9..4477ba917b 100644 --- a/classes/es/class_@globalscope.rst +++ b/classes/es/class_@globalscope.rst @@ -804,7 +804,7 @@ Tecla Shift + Tab. :ref:`Key` **KEY_BACKSPACE** = ``4194308`` -Tecla retorno. +Backspace key. .. _class_@GlobalScope_constant_KEY_ENTER: @@ -828,7 +828,7 @@ Pulsa la tecla en el teclado numerico. :ref:`Key` **KEY_INSERT** = ``4194311`` -Tecla Insert. +Insert key. .. _class_@GlobalScope_constant_KEY_DELETE: @@ -1476,7 +1476,7 @@ Tecla Subir Volumen. :ref:`Key` **KEY_MEDIAPLAY** = ``4194388`` -Tecla reproduccion play. +Media play key. .. _class_@GlobalScope_constant_KEY_MEDIASTOP: @@ -1492,7 +1492,7 @@ Tecla reproduccion parar. :ref:`Key` **KEY_MEDIAPREVIOUS** = ``4194390`` -Tecla cancion previa. +Previous song key. .. _class_@GlobalScope_constant_KEY_MEDIANEXT: @@ -1500,7 +1500,7 @@ Tecla cancion previa. :ref:`Key` **KEY_MEDIANEXT** = ``4194391`` -Tecla siguiente cancion. +Next song key. .. _class_@GlobalScope_constant_KEY_MEDIARECORD: @@ -1508,7 +1508,7 @@ Tecla siguiente cancion. :ref:`Key` **KEY_MEDIARECORD** = ``4194392`` -Tecla grabar. +Media record key. .. _class_@GlobalScope_constant_KEY_HOMEPAGE: @@ -1516,7 +1516,7 @@ Tecla grabar. :ref:`Key` **KEY_HOMEPAGE** = ``4194393`` -Tecla pagina inicio. +Home page key. .. _class_@GlobalScope_constant_KEY_FAVORITES: @@ -2318,7 +2318,7 @@ flags **KeyModifierMask**: :ref:`🔗` :ref:`KeyModifierMask` **KEY_CODE_MASK** = ``8388607`` -Tecla máscara codigo. +Key Code mask. .. _class_@GlobalScope_constant_KEY_MODIFIER_MASK: @@ -2326,7 +2326,7 @@ Tecla máscara codigo. :ref:`KeyModifierMask` **KEY_MODIFIER_MASK** = ``2130706432`` -Tecla modificar máscara. +Modifier key mask. .. _class_@GlobalScope_constant_KEY_MASK_CMD_OR_CTRL: @@ -2342,7 +2342,7 @@ Es automáticamente redirigido a :ref:`KEY_META` **KEY_MASK_SHIFT** = ``33554432`` -Tecla desplazamiento de la máscara. +Máscara de la tecla Shift. .. _class_@GlobalScope_constant_KEY_MASK_ALT: @@ -2366,7 +2366,7 @@ Máscara de la tecla Command (en macOS) o Meta/Windows. :ref:`KeyModifierMask` **KEY_MASK_CTRL** = ``268435456`` -Control key mask. +Máscara de la tecla Control. .. _class_@GlobalScope_constant_KEY_MASK_KPAD: @@ -2374,7 +2374,7 @@ Control key mask. :ref:`KeyModifierMask` **KEY_MASK_KPAD** = ``536870912`` -Tecla máscara keypad. +Keypad key mask. .. _class_@GlobalScope_constant_KEY_MASK_GROUP_SWITCH: @@ -2382,7 +2382,7 @@ Tecla máscara keypad. :ref:`KeyModifierMask` **KEY_MASK_GROUP_SWITCH** = ``1073741824`` -Tecla máscara intercambio grupo. +Group Switch key mask. .. rst-class:: classref-item-separator @@ -3204,7 +3204,7 @@ Archivo: Error Fin de fichero (EOF). :ref:`Error` **ERR_CANT_OPEN** = ``19`` -Error no se puede abrir. +Can't open error. .. _class_@GlobalScope_constant_ERR_CANT_CREATE: @@ -3212,7 +3212,7 @@ Error no se puede abrir. :ref:`Error` **ERR_CANT_CREATE** = ``20`` -Error no se puede crear. +Can't create error. .. _class_@GlobalScope_constant_ERR_QUERY_FAILED: @@ -3220,7 +3220,7 @@ Error no se puede crear. :ref:`Error` **ERR_QUERY_FAILED** = ``21`` -Error fallo la consulta. +Query failed error. .. _class_@GlobalScope_constant_ERR_ALREADY_IN_USE: @@ -3228,7 +3228,7 @@ Error fallo la consulta. :ref:`Error` **ERR_ALREADY_IN_USE** = ``22`` -Error ya se esta usando. +Already in use error. .. _class_@GlobalScope_constant_ERR_LOCKED: @@ -3244,7 +3244,7 @@ Error Bloqueado (Locked error). :ref:`Error` **ERR_TIMEOUT** = ``24`` -Error tiempo sobrepasado. +Timeout error. .. _class_@GlobalScope_constant_ERR_CANT_CONNECT: @@ -3252,7 +3252,7 @@ Error tiempo sobrepasado. :ref:`Error` **ERR_CANT_CONNECT** = ``25`` -Error no se puede conectar. +Can't connect error. .. _class_@GlobalScope_constant_ERR_CANT_RESOLVE: @@ -3260,7 +3260,7 @@ Error no se puede conectar. :ref:`Error` **ERR_CANT_RESOLVE** = ``26`` -Error no se puede resolver. +Can't resolve error. .. _class_@GlobalScope_constant_ERR_CONNECTION_ERROR: @@ -3276,7 +3276,7 @@ Error de conexión. :ref:`Error` **ERR_CANT_ACQUIRE_RESOURCE** = ``28`` -Error, no se pudo adquirir el recurso. +Can't acquire resource error. .. _class_@GlobalScope_constant_ERR_CANT_FORK: @@ -3284,7 +3284,7 @@ Error, no se pudo adquirir el recurso. :ref:`Error` **ERR_CANT_FORK** = ``29`` -Error, no se pudo dividir el proceso. +Can't fork process error. .. _class_@GlobalScope_constant_ERR_INVALID_DATA: @@ -3308,7 +3308,7 @@ Error de parámetro inválido. :ref:`Error` **ERR_ALREADY_EXISTS** = ``32`` -Error, ya existe. +Already exists error. .. _class_@GlobalScope_constant_ERR_DOES_NOT_EXIST: @@ -3316,7 +3316,7 @@ Error, ya existe. :ref:`Error` **ERR_DOES_NOT_EXIST** = ``33`` -Error, no existe. +Does not exist error. .. _class_@GlobalScope_constant_ERR_DATABASE_CANT_READ: @@ -3348,7 +3348,7 @@ Error de compilación fallida. :ref:`Error` **ERR_METHOD_NOT_FOUND** = ``37`` -Error, método no encontrado. +Method not found error. .. _class_@GlobalScope_constant_ERR_LINK_FAILED: @@ -3396,7 +3396,7 @@ Error de símbolo duplicado. :ref:`Error` **ERR_PARSE_ERROR** = ``43`` -Error de parseo. +Parse error. .. _class_@GlobalScope_constant_ERR_BUSY: @@ -3412,7 +3412,7 @@ Error recurso ocupado. :ref:`Error` **ERR_SKIP** = ``45`` -Error de salto(Skip error). +Skip error. .. _class_@GlobalScope_constant_ERR_HELP: @@ -3630,7 +3630,7 @@ Sugiere que una propiedad de tipo :ref:`String` es texto con salto :ref:`PropertyHint` **PROPERTY_HINT_EXPRESSION** = ``19`` -Indica que una propiedad :ref:`String` es una ``Expresión``. +Indica que una propiedad :ref:`String` es una :ref:`Expression`. .. _class_@GlobalScope_constant_PROPERTY_HINT_PLACEHOLDER_TEXT: @@ -3662,76 +3662,76 @@ Indica que el valor de la propiedad es un objeto codificado como ID de objeto, c :ref:`PropertyHint` **PROPERTY_HINT_TYPE_STRING** = ``23`` -If a property is :ref:`String`, hints that the property represents a particular type (class). This allows to select a type from the create dialog. The property will store the selected type as a string. +Si una propiedad es :ref:`String`, indica que la propiedad representa un tipo particular (clase). Esto permite seleccionar un tipo desde el diálogo de creación. La propiedad almacenará el tipo seleccionado como una string. -If a property is :ref:`Array`, hints the editor how to show elements. The ``hint_string`` must encode nested types using ``":"`` and ``"/"``. +Si una propiedad es :ref:`Array`, indica al editor cómo mostrar los elementos. ``hint_string`` debe codificar tipos anidados usando ``":"`` y ``"/"``. -If a property is :ref:`Dictionary`, hints the editor how to show elements. The ``hint_string`` is the same as :ref:`Array`, with a ``";"`` separating the key and value. +Si una propiedad es :ref:`Dictionary`, indica al editor cómo mostrar los elementos. ``hint_string`` es lo mismo que :ref:`Array`, con un ``";"`` separando la clave y el valor. .. tabs:: .. code-tab:: gdscript - # Array of elem_type. + # Array de elem_type. hint_string = "%d:" % [elem_type] hint_string = "%d/%d:%s" % [elem_type, elem_hint, elem_hint_string] - # Two-dimensional array of elem_type (array of arrays of elem_type). + # Array bidimensional de elem_type (array de arrays de elem_type). hint_string = "%d:%d:" % [TYPE_ARRAY, elem_type] hint_string = "%d:%d/%d:%s" % [TYPE_ARRAY, elem_type, elem_hint, elem_hint_string] - # Three-dimensional array of elem_type (array of arrays of arrays of elem_type). + # Array tridimensional de elem_type (array de arrays de arrays de elem_type). hint_string = "%d:%d:%d:" % [TYPE_ARRAY, TYPE_ARRAY, elem_type] hint_string = "%d:%d:%d/%d:%s" % [TYPE_ARRAY, TYPE_ARRAY, elem_type, elem_hint, elem_hint_string] .. code-tab:: csharp - // Array of elemType. + // Array de elemType. hintString = $"{elemType:D}:"; hintString = $"{elemType:}/{elemHint:D}:{elemHintString}"; - // Two-dimensional array of elemType (array of arrays of elemType). + // Array bidimensional de elemType (array de arrays de elemType). hintString = $"{Variant.Type.Array:D}:{elemType:D}:"; hintString = $"{Variant.Type.Array:D}:{elemType:D}/{elemHint:D}:{elemHintString}"; - // Three-dimensional array of elemType (array of arrays of arrays of elemType). + // Array tridimensional de elemType (array de arrays de arrays de elemType). hintString = $"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}:"; hintString = $"{Variant.Type.Array:D}:{Variant.Type.Array:D}:{elemType:D}/{elemHint:D}:{elemHintString}"; -\ **Examples:**\ +\ **Ejemplos:**\ .. tabs:: .. code-tab:: gdscript - hint_string = "%d:" % [TYPE_INT] # Array of integers. - hint_string = "%d/%d:1,10,1" % [TYPE_INT, PROPERTY_HINT_RANGE] # Array of integers (in range from 1 to 10). - hint_string = "%d/%d:Zero,One,Two" % [TYPE_INT, PROPERTY_HINT_ENUM] # Array of integers (an enum). - hint_string = "%d/%d:Zero,One,Three:3,Six:6" % [TYPE_INT, PROPERTY_HINT_ENUM] # Array of integers (an enum). - hint_string = "%d/%d:*.png" % [TYPE_STRING, PROPERTY_HINT_FILE] # Array of strings (file paths). - hint_string = "%d/%d:Texture2D" % [TYPE_OBJECT, PROPERTY_HINT_RESOURCE_TYPE] # Array of textures. + hint_string = "%d:" % [TYPE_INT] # Array de enteros. + hint_string = "%d/%d:1,10,1" % [TYPE_INT, PROPERTY_HINT_RANGE] # Array de enteros (en el rango de 1 a 10). + hint_string = "%d/%d:Zero,One,Two" % [TYPE_INT, PROPERTY_HINT_ENUM] # Array de enteros (un enum). + hint_string = "%d/%d:Zero,One,Three:3,Six:6" % [TYPE_INT, PROPERTY_HINT_ENUM] # Array de enteros (un enum). + hint_string = "%d/%d:*.png" % [TYPE_STRING, PROPERTY_HINT_FILE] # Array de strings (rutas de archivos). + hint_string = "%d/%d:Texture2D" % [TYPE_OBJECT, PROPERTY_HINT_RESOURCE_TYPE] # Array de texturas. - hint_string = "%d:%d:" % [TYPE_ARRAY, TYPE_FLOAT] # Two-dimensional array of floats. - hint_string = "%d:%d/%d:" % [TYPE_ARRAY, TYPE_STRING, PROPERTY_HINT_MULTILINE_TEXT] # Two-dimensional array of multiline strings. - hint_string = "%d:%d/%d:-1,1,0.1" % [TYPE_ARRAY, TYPE_FLOAT, PROPERTY_HINT_RANGE] # Two-dimensional array of floats (in range from -1 to 1). - hint_string = "%d:%d/%d:Texture2D" % [TYPE_ARRAY, TYPE_OBJECT, PROPERTY_HINT_RESOURCE_TYPE] # Two-dimensional array of textures. + hint_string = "%d:%d:" % [TYPE_ARRAY, TYPE_FLOAT] # Array bidimensional de floats. + hint_string = "%d:%d/%d:" % [TYPE_ARRAY, TYPE_STRING, PROPERTY_HINT_MULTILINE_TEXT] # Array bidimensional de strings multilínea. + hint_string = "%d:%d/%d:-1,1,0.1" % [TYPE_ARRAY, TYPE_FLOAT, PROPERTY_HINT_RANGE] # Array bidimensional de floats (en rango de -1 a 1). + hint_string = "%d:%d/%d:Texture2D" % [TYPE_ARRAY, TYPE_OBJECT, PROPERTY_HINT_RESOURCE_TYPE] # Array bidimensional de texturas. .. code-tab:: csharp - hintString = $"{Variant.Type.Int:D}/{PropertyHint.Range:D}:1,10,1"; // Array of integers (in range from 1 to 10). - hintString = $"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Two"; // Array of integers (an enum). - hintString = $"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Three:3,Six:6"; // Array of integers (an enum). - hintString = $"{Variant.Type.String:D}/{PropertyHint.File:D}:*.png"; // Array of strings (file paths). - hintString = $"{Variant.Type.Object:D}/{PropertyHint.ResourceType:D}:Texture2D"; // Array of textures. + hintString = $"{Variant.Type.Int:D}/{PropertyHint.Range:D}:1,10,1"; // Array de enteros (en rango de 1 a 10). + hintString = $"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Two"; // Array de enteros (un enum). + hintString = $"{Variant.Type.Int:D}/{PropertyHint.Enum:D}:Zero,One,Three:3,Six:6"; // Array de enteros (un enum). + hintString = $"{Variant.Type.String:D}/{PropertyHint.File:D}:*.png"; // Array de strings (rutas de archivos). + hintString = $"{Variant.Type.Object:D}/{PropertyHint.ResourceType:D}:Texture2D"; // Array de texturas. - hintString = $"{Variant.Type.Array:D}:{Variant.Type.Float:D}:"; // Two-dimensional array of floats. - hintString = $"{Variant.Type.Array:D}:{Variant.Type.String:D}/{PropertyHint.MultilineText:D}:"; // Two-dimensional array of multiline strings. - hintString = $"{Variant.Type.Array:D}:{Variant.Type.Float:D}/{PropertyHint.Range:D}:-1,1,0.1"; // Two-dimensional array of floats (in range from -1 to 1). - hintString = $"{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.ResourceType:D}:Texture2D"; // Two-dimensional array of textures. + hintString = $"{Variant.Type.Array:D}:{Variant.Type.Float:D}:"; // Array bidimensional de floats. + hintString = $"{Variant.Type.Array:D}:{Variant.Type.String:D}/{PropertyHint.MultilineText:D}:"; // Array bidimensional de strings multilínea. + hintString = $"{Variant.Type.Array:D}:{Variant.Type.Float:D}/{PropertyHint.Range:D}:-1,1,0.1"; // Array bidimensional de floats (en rango de -1 a 1). + hintString = $"{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.ResourceType:D}:Texture2D"; // Array bidimensional de texturas. -\ **Note:** The trailing colon is required for properly detecting built-in types. +\ **Nota:** Los dos puntos finales son necesarios para detectar correctamente los tipos integrados. .. _class_@GlobalScope_constant_PROPERTY_HINT_NODE_PATH_TO_EDITED_NODE: @@ -3765,7 +3765,7 @@ Indica que la cadena de indicación especifica tipos de nodos válidos para una :ref:`PropertyHint` **PROPERTY_HINT_SAVE_FILE** = ``27`` -Sugiere que una propiedad de tipo :ref:`String` es una ruta a un archivo. Al editarla, se mostrará un diálogo de archivo para seleccionar la ruta del archivo que se guardará. El diálogo tiene acceso al directorio del proyecto. La string de sugerencia puede ser un conjunto de filtros con comodines como ``"*.png,*.jpg"``. Ver también :ref:`FileDialog.filters`. +Sugiere que una propiedad de tipo :ref:`String` es una ruta a un archivo. Al editarla, se mostrará un diálogo de archivo para seleccionar la ruta del archivo que se guardará. El diálogo tiene acceso al directorio del proyecto. La string de sugerencia puede ser un conjunto de filtros con comodines como ``"*.png,*.jpg"``. Véase también :ref:`FileDialog.filters`. .. _class_@GlobalScope_constant_PROPERTY_HINT_GLOBAL_SAVE_FILE: @@ -3773,7 +3773,7 @@ Sugiere que una propiedad de tipo :ref:`String` es una ruta a un a :ref:`PropertyHint` **PROPERTY_HINT_GLOBAL_SAVE_FILE** = ``28`` -Sugiere que una propiedad de tipo :ref:`String` es una ruta a un archivo. Al editarla, se mostrará un diálogo de archivo para seleccionar la ruta del archivo que se guardará. El diálogo tiene acceso a todo el sistema de archivos. La string de sugerencia puede ser un conjunto de filtros con comodines como ``"*.png,*.jpg"``. Ver también :ref:`FileDialog.filters`. +Sugiere que una propiedad de tipo :ref:`String` es una ruta a un archivo. Al editarla, se mostrará un diálogo de archivo para seleccionar la ruta del archivo que se guardará. El diálogo tiene acceso a todo el sistema de archivos. La string de sugerencia puede ser un conjunto de filtros con comodines como ``"*.png,*.jpg"``. Véase también :ref:`FileDialog.filters`. .. _class_@GlobalScope_constant_PROPERTY_HINT_INT_IS_OBJECTID: @@ -3827,7 +3827,7 @@ Sugiere que una propiedad de tipo string es un código de configuración regiona :ref:`PropertyHint` **PROPERTY_HINT_LOCALIZABLE_STRING** = ``33`` -Indica que una propiedad tipo diccionario es un mapa de traducción de cadenas. Las claves del diccionario son códigos de idioma y los valores son las cadenas traducidas. +Indica que una propiedad tipo diccionario es un mapa de traducción de strings. Las claves del diccionario son códigos de idioma y los valores son las strings traducidas. .. _class_@GlobalScope_constant_PROPERTY_HINT_NODE_TYPE: @@ -4200,7 +4200,7 @@ flags **MethodFlags**: :ref:`🔗` :ref:`MethodFlags` **METHOD_FLAG_NORMAL** = ``1`` -Flag para un método normal. +Bandera para un método normal. .. _class_@GlobalScope_constant_METHOD_FLAG_EDITOR: @@ -4208,7 +4208,7 @@ Flag para un método normal. :ref:`MethodFlags` **METHOD_FLAG_EDITOR** = ``2`` -Flag para un método editor. +Bandera para un método editor. .. _class_@GlobalScope_constant_METHOD_FLAG_CONST: @@ -4216,7 +4216,7 @@ Flag para un método editor. :ref:`MethodFlags` **METHOD_FLAG_CONST** = ``4`` -Flag para un método constante. +Bandera para un método constante. .. _class_@GlobalScope_constant_METHOD_FLAG_VIRTUAL: @@ -4224,7 +4224,7 @@ Flag para un método constante. :ref:`MethodFlags` **METHOD_FLAG_VIRTUAL** = ``8`` -Flag para un método virtual. +Bandera para un método virtual. .. _class_@GlobalScope_constant_METHOD_FLAG_VARARG: @@ -5354,7 +5354,7 @@ Devuelve el valor absoluto del parámetro int ``x`` (es decir, un valor positivo :ref:`float` **acos**\ (\ x\: :ref:`float`\ ) :ref:`🔗` -Devuelve el arco coseno de ``x`` en radianes. Se usa para obtener el ángulo del coseno de ``x``. ``x`` debe estar entre ``-1.0`` y ``1.0`` (incluyéndolos); en otro caso, :ref:`acos()` devolverá :ref:`@GDScript.NAN`. +Devuelve el arco coseno de ``x`` en radianes. Se usa para obtener el ángulo del coseno de ``x``. ``x`` debe estar entre ``-1.0`` y ``1.0`` (inclusivo); en otro caso, :ref:`acos()` devolverá :ref:`@GDScript.NAN`. :: @@ -5390,7 +5390,7 @@ Devuelve el arco coseno hiperbólico (también llamado inverso) de ``x``, devolv :ref:`float` **angle_difference**\ (\ from\: :ref:`float`, to\: :ref:`float`\ ) :ref:`🔗` -Devuelve la diferencia entre dos ángulos (en radianes), en el rango ``[-PI, +PI]``. Cuando ``desde`` y ``hasta`` son opuestos, devuelve ``-PI`` si ``desde`` es menor que ``hasta``, o ``PI`` en caso contrario. +Devuelve la diferencia entre dos ángulos (en radianes), en el rango ``[-PI, +PI]``. Cuando ``from`` y ``to`` son opuestos, devuelve ``-PI`` si ``from`` es menor que ``to``, o ``PI`` en caso contrario. .. rst-class:: classref-item-separator @@ -5861,7 +5861,7 @@ Véase también: :ref:`ceil()`, :ref:`round()` **floorf**\ (\ x\: :ref:`float`\ ) :ref:`🔗` -Redondea a ``params x`` hacia abajo (hacia el negativo infinito), devolviendo el numero entero de mayor tamaño que no sea superior a ``x``. +Redondea a ``x`` hacia abajo (hacia el negativo infinito), devolviendo el numero entero de mayor tamaño que no sea superior a ``x``. Una version con tipado seguro de :ref:`floor()`, que devuelve un :ref:`float`. @@ -5875,7 +5875,7 @@ Una version con tipado seguro de :ref:`floor()` :ref:`int` **floori**\ (\ x\: :ref:`float`\ ) :ref:`🔗` -Redondea a ``params x`` hacia abajo (hacia el negativo infinito), devolviendo el numero entero de mayor tamaño que no sea superior a ``x``. +Redondea a ``x`` hacia abajo (hacia el negativo infinito), devolviendo el numero entero de mayor tamaño que no sea superior a ``x``. Una version con tipado seguro de :ref:`floor()`, que devuelve un :ref:`int`. @@ -5943,14 +5943,18 @@ Imprime: Devuelve el hash de tipo integer de la variable ``variable`` pasada. -:: - [gdscript] +.. tabs:: + + .. code-tab:: gdscript + print(hash("a")) # Imprime 177670 - [/gdscript] - [csharp] + + .. code-tab:: csharp + GD.Print(GD.Hash("a")); // Imprime 177670 - [/csharp] + + .. rst-class:: classref-item-separator @@ -6002,7 +6006,7 @@ Devuelve el :ref:`Object` que corresponde a ``instance_id``. Todos :ref:`float` **inverse_lerp**\ (\ from\: :ref:`float`, to\: :ref:`float`, weight\: :ref:`float`\ ) :ref:`🔗` -Devuelve un factor de interpolación o extrapolación, considerando el rango especificado en ``from y [param to``, y el valor interpolado especificado en ``weight``. El valor devuelto estará entre ``0.0`` y ``1.0`` si ``weight`` está entre ``from`` y ``to`` (incluyéndolos). Si ``weight`` está ubicado fuera de este rango, se devolverá un factor de extrapolación (valor de retorno menor que ``0.0`` o mayor que ``1.0``). Utiliza :ref:`clamp()` sobre el resultado de :ref:`inverse_lerp()` si este no es el comportamiento deseado. +Devuelve un factor de interpolación o extrapolación, considerando el rango especificado en ``from`` y ``to``, y el valor interpolado especificado en ``weight``. El valor devuelto estará entre ``0.0`` y ``1.0`` si ``weight`` está entre ``from`` y ``to`` (inclusivo). Si ``weight`` está ubicado fuera de este rango, se devolverá un factor de extrapolación (valor de retorno menor que ``0.0`` o mayor que ``1.0``). Utiliza :ref:`clamp()` sobre el resultado de :ref:`inverse_lerp()` si este no es el comportamiento deseado. :: @@ -6539,7 +6543,7 @@ Al imprimir en la salida estándar, el subconjunto compatible de BBCode se convi |void| **print_verbose**\ (\ ...\ ) |vararg| :ref:`🔗` -Si el modo detallado (verbose mode) está habilitado (:ref:`OF.is_stdout_verbose()` devolverá ``true``), convierte uno o más argumentos de cualquier tipo en una cadena de la mejor manera posible y los imprime en la consola. +Si el modo detallado (verbose mode) está habilitado (:ref:`OS.is_stdout_verbose()` devolverá ``true``), convierte uno o más argumentos de cualquier tipo en una cadena de la mejor manera posible y los imprime en la consola. .. rst-class:: classref-item-separator @@ -6611,14 +6615,18 @@ Imprime uno o más argumentos como strings de la mejor manera posible en la term Imprime uno o más argumentos en la consola con un espacio entre cada argumento. -:: - [gdscript] +.. tabs:: + + .. code-tab:: gdscript + prints("A", "B", "C") # Imprime "A B C" - [/gdscript] - [csharp] + + .. code-tab:: csharp + GD.PrintS("A","B","C"); // Imprime "A B C" - [/csharp][/codeblocks] + + .. rst-class:: classref-item-separator @@ -6814,20 +6822,24 @@ Genera un número pseudoaleatorio `distribuido normalmente ` **type_convert**\ (\ variant\: :ref:`Variant`, type\: :ref:`int`\ ) :ref:`🔗` -Convierte un ``variant`` dado a ``type``, usando los valores de :ref:`Variant.Type`. Este método es amigable con como maneja los tipos, puede convertir automáticamente entre tipos de array, convertir :ref:`String`\ s numéricos a ``Int`` y convertir la gran mayoría de cosas a :ref:`String`. +Convierte un ``variant`` dado a ``type``, usando los valores de :ref:`Variant.Type`. Este método es amigable con como maneja los tipos, puede convertir automáticamente entre tipos de array, convertir :ref:`String`\ s numéricos a :ref:`int` y convertir la gran mayoría de cosas a :ref:`String`. Si no se puede pasar de un tipo a otro, este método devolverá el valor por defecto de ese tipo, por ejemplo, convertir un :ref:`Rect2` a :ref:`Vector2` siempre devolverá :ref:`Vector2.ZERO`. Este método no muestra mensajes de error siempre que ``type`` sea un tipo valido. @@ -7466,9 +7482,9 @@ Imprime: :ref:`Variant` **weakref**\ (\ obj\: :ref:`Variant`\ ) :ref:`🔗` -Returns a :ref:`WeakRef` instance holding a weak reference to ``obj``. Returns an empty :ref:`WeakRef` instance if ``obj`` is ``null``. Prints an error and returns ``null`` if ``obj`` is neither :ref:`Object`-derived nor ``null``. +Devuelve una instancia :ref:`WeakRef` que contiene una referencia débil a ``obj``. Devuelve una instancia :ref:`WeakRef` vacía si ``obj`` es ``null``. Imprime un error y devuelve ``null`` si ``obj`` no es derivado de :ref:`Object` ni ``null``. -A weak reference to an object is not enough to keep the object alive: when the only remaining references to a referent are weak references, garbage collection is free to destroy the referent and reuse its memory for something else. However, until the object is actually destroyed the weak reference may return the object even if there are no strong references to it. +Una referencia débil a un objeto no es suficiente para mantenerlo activo: cuando las únicas referencias restantes a un referente son débiles, la recolección de elementos no utilizados puede destruir el referente y reutilizar su memoria para otra cosa. Sin embargo, hasta que el objeto se destruya, la referencia débil puede devolverlo incluso si no existen referencias fuertes a él. .. rst-class:: classref-item-separator diff --git a/classes/es/class_aabb.rst b/classes/es/class_aabb.rst index 1ad912eddc..f67753105b 100644 --- a/classes/es/class_aabb.rst +++ b/classes/es/class_aabb.rst @@ -12,13 +12,13 @@ Un cuadro delimitador 3D alineado con los ejes. Descripción ---------------------- -El tipo :ref:`Variant` integrado **AABB** representa un cuadro delimitador alineado con el eje en un espacio 3D. Se define por su ``posición del miembro`` y ``tamaño del miembro``, que son :ref:`Vector3`. Se utiliza con frecuencia para pruebas rápidas de superposición (véase :ref:`intersects()`). Aunque **AABB** está alineado con el eje, puede combinarse con :ref:`Transform3D` para representar un cuadro delimitador rotado o sesgado. +El tipo :ref:`Variant` integrado **AABB** representa un cuadro delimitador alineado con el eje en un espacio 3D. Se define por su :ref:`position` y :ref:`size`, que son :ref:`Vector3`. Se utiliza con frecuencia para pruebas rápidas de superposición (véase :ref:`intersects()`). Aunque **AABB** está alineado con el eje, puede combinarse con :ref:`Transform3D` para representar un cuadro delimitador rotado o sesgado. Utiliza coordenadas de punto flotante. La contraparte 2D de **AABB** es :ref:`Rect2`. No existe ninguna versión de **AABB** que utilice coordenadas enteras. \ **Nota:** No se admiten valores negativos para :ref:`size`. Con un tamaño negativo, la mayoría de los métodos **AABB** no funcionan correctamente. Utiliza :ref:`abs()` para obtener un **AABB** equivalente con un tamaño no negativo. -\ **Nota:** En un contexto booleano, una **AABB** se evalúa como ``false`` si tanto la ``posición del miembro`` como :ref:`size` son cero (igual a :ref:`Vector3.ZERO`). De lo contrario, siempre se evalúa como ``true``. +\ **Nota:** En un contexto booleano, una **AABB** se evalúa como ``false`` si tanto la :ref:`position` como :ref:`size` son cero (igual a :ref:`Vector3.ZERO`). De lo contrario, siempre se evalúa como ``true``. .. note:: @@ -396,7 +396,7 @@ Devuelve el eje normalizado más largo del :ref:`size` -Ver también :ref:`get_longest_axis_index()` y :ref:`get_longest_axis_size()`. +Véase también :ref:`get_longest_axis_index()` y :ref:`get_longest_axis_size()`. .. rst-class:: classref-item-separator @@ -459,7 +459,7 @@ Devuelve el eje normalizado más corto del :ref:`size` -Ver también :ref:`get_shortest_axis_index()` y :ref:`get_shortest_axis_size()`. +Véase también :ref:`get_shortest_axis_index()` y :ref:`get_shortest_axis_size()`. .. rst-class:: classref-item-separator @@ -511,7 +511,7 @@ Devuelve la posición del vértice de este cuadro delimitador que está más lej :ref:`float` **get_volume**\ (\ ) |const| :ref:`🔗` -Devuelve el volumen del cuadro delimitador. Esto es equivalente a ``size.x * size.y * size.z``. Ver también :ref:`has_volume()`. +Devuelve el volumen del cuadro delimitador. Esto es equivalente a ``size.x * size.y * size.z``. Véase también :ref:`has_volume()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_aescontext.rst b/classes/es/class_aescontext.rst index 0179ca2652..7d3a84d593 100644 --- a/classes/es/class_aescontext.rst +++ b/classes/es/class_aescontext.rst @@ -130,7 +130,7 @@ enum **Mode**: :ref:`🔗` :ref:`Mode` **MODE_ECB_ENCRYPT** = ``0`` -Modo encripción AES electronic codebook(ECB). +AES electronic codebook encryption mode. .. _class_AESContext_constant_MODE_ECB_DECRYPT: @@ -138,7 +138,7 @@ Modo encripción AES electronic codebook(ECB). :ref:`Mode` **MODE_ECB_DECRYPT** = ``1`` -Modo desencripción AES electronic codebook(ECB). +Modo de desencripción AES electronic codebook(ECB). .. _class_AESContext_constant_MODE_CBC_ENCRYPT: @@ -146,7 +146,7 @@ Modo desencripción AES electronic codebook(ECB). :ref:`Mode` **MODE_CBC_ENCRYPT** = ``2`` -Modo encripción AES cipher blocker chaining (CBC). +Modo de encripción AES cipher blocker chaining (CBC). .. _class_AESContext_constant_MODE_CBC_DECRYPT: @@ -154,7 +154,7 @@ Modo encripción AES cipher blocker chaining (CBC). :ref:`Mode` **MODE_CBC_DECRYPT** = ``3`` -Modo desencripción AES cipher blocker chaining (CBC). +Modo de desencripción AES cipher blocker chaining (CBC). .. _class_AESContext_constant_MODE_MAX: diff --git a/classes/es/class_animation.rst b/classes/es/class_animation.rst index 7c199cc0c6..ce3d21583d 100644 --- a/classes/es/class_animation.rst +++ b/classes/es/class_animation.rst @@ -888,7 +888,7 @@ Inserta una clave en una pista de la "blend shape" dada. Devuelve el índice de :ref:`float` **blend_shape_track_interpolate**\ (\ track_idx\: :ref:`int`, time_sec\: :ref:`float`, backward\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve el valor interpolado de la "blend shape" en el ``time`` dado (en segundos). El ``track_idx`` debe ser el índice de una pista de "blend shape". +Devuelve el valor interpolado de la "blend shape" en el time dado (en segundos). El ``track_idx`` debe ser el índice de una pista de "blend shape". .. rst-class:: classref-item-separator @@ -1070,7 +1070,7 @@ Devuelve los valores de los argumentos que se llamarán en una pista del método |void| **optimize**\ (\ allowed_velocity_err\: :ref:`float` = 0.01, allowed_angular_err\: :ref:`float` = 0.01, precision\: :ref:`int` = 3\ ) :ref:`🔗` -Optimize the animation and all its tracks in-place. This will preserve only as many keys as are necessary to keep the animation within the specified bounds. +Optimiza la animación y todas sus pistas en el lugar. Esto conservará solo las claves necesarias para mantener la animación dentro de los límites especificados. .. rst-class:: classref-item-separator @@ -1082,7 +1082,7 @@ Optimize the animation and all its tracks in-place. This will preserve only as m :ref:`int` **position_track_insert_key**\ (\ track_idx\: :ref:`int`, time\: :ref:`float`, position\: :ref:`Vector3`\ ) :ref:`🔗` -Inserts a key in a given 3D position track. Returns the key index. +Inserta una clave en una posición de la pista 3D dada. Devuelve el índice de la clave. .. rst-class:: classref-item-separator @@ -1130,7 +1130,7 @@ Elimina una pista especificando el índice de la pista. :ref:`int` **rotation_track_insert_key**\ (\ track_idx\: :ref:`int`, time\: :ref:`float`, rotation\: :ref:`Quaternion`\ ) :ref:`🔗` -Inserts a key in a given 3D rotation track. Returns the key index. +Inserta una clave en una pista de rotación 3D determinada. Devuelve el índice de la clave. .. rst-class:: classref-item-separator @@ -1154,7 +1154,7 @@ Returns the interpolated rotation value at the given time (in seconds). The ``tr :ref:`int` **scale_track_insert_key**\ (\ track_idx\: :ref:`int`, time\: :ref:`float`, scale\: :ref:`Vector3`\ ) :ref:`🔗` -Inserts a key in a given 3D scale track. Returns the key index. +Inserta una clave en una pista de escala 3D determinada. Devuelve el índice de la clave. .. rst-class:: classref-item-separator @@ -1472,7 +1472,7 @@ Establece la hora de una clave existente. |void| **track_set_key_transition**\ (\ track_idx\: :ref:`int`, key_idx\: :ref:`int`, transition\: :ref:`float`\ ) :ref:`🔗` -Establece la curva de transición (easing) para una clave específica (véase la función matemática incorporada :ref:`@GDScript.ease()`). +Establece la curva de transición (easing) para una clave específica (véase la función matemática incorporada :ref:`@GlobalScope.ease()`). .. rst-class:: classref-item-separator diff --git a/classes/es/class_animationnodeanimation.rst b/classes/es/class_animationnodeanimation.rst index 431c4835cf..c7066ab6df 100644 --- a/classes/es/class_animationnodeanimation.rst +++ b/classes/es/class_animationnodeanimation.rst @@ -106,7 +106,7 @@ Descripciones de Propiedades Si es ``true``, al recibir una solicitud para reproducir una animación desde el principio, el primer fotograma no se dibuja, sino que solo se procesa, y la reproducción comienza desde el siguiente fotograma. -Consulta también las notas de :ref:`AnimationPlayer.play()`. +Véase también las notas de :ref:`AnimationPlayer.play()`. .. rst-class:: classref-item-separator @@ -140,7 +140,7 @@ Animación para usar como salida. Es una de las animaciones proporcionadas por : - |void| **set_loop_mode**\ (\ value\: :ref:`LoopMode`\ ) - :ref:`LoopMode` **get_loop_mode**\ (\ ) -Si :ref:`use_custom_timeline` es ``true``, sobreescribe los ajustes de bucle del recurso :ref:`Animation` original con el valor. +Si :ref:`use_custom_timeline` es ``true``, sobrescribe los ajustes de bucle del recurso :ref:`Animation` original con el valor. \ **Nota:** Si el :ref:`Animation.loop_mode` no está configurado para bucle, la opción :ref:`Animation.track_set_interpolation_loop_wrap()` no se respetará. Si no puedes obtener el comportamiento esperado, considera duplicar el recurso :ref:`Animation` y cambiar los ajustes de bucle. diff --git a/classes/es/class_area2d.rst b/classes/es/class_area2d.rst index 1f2ec6b184..5e6fcc23ee 100644 --- a/classes/es/class_area2d.rst +++ b/classes/es/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/es/class_area3d.rst b/classes/es/class_area3d.rst index c28c901d15..ed9b6ce387 100644 --- a/classes/es/class_area3d.rst +++ b/classes/es/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/es/class_array.rst b/classes/es/class_array.rst index bf6cfc2ae6..4bfeb330d5 100644 --- a/classes/es/class_array.rst +++ b/classes/es/class_array.rst @@ -12,7 +12,7 @@ Una estructura de datos incorporada que contiene una secuencia de elementos. Descripción ---------------------- -An array data structure that can contain a sequence of elements of any :ref:`Variant` type. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). .. tabs:: @@ -28,6 +28,10 @@ An array data structure that can contain a sequence of elements of any :ref:`Var print(array[1]) # Prints "Second" print(array[-3]) # Prints "Second" + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] + .. code-tab:: csharp Godot.Collections.Array array = ["First", 2, 3, "Last"]; @@ -39,6 +43,10 @@ An array data structure that can contain a sequence of elements of any :ref:`Var GD.Print(array[1]); // Prints "Second" GD.Print(array[^3]); // Prints "Second" + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; + \ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. diff --git a/classes/es/class_audiolistener2d.rst b/classes/es/class_audiolistener2d.rst index c5c76ce83b..61c00dc165 100644 --- a/classes/es/class_audiolistener2d.rst +++ b/classes/es/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/es/class_audiolistener3d.rst b/classes/es/class_audiolistener3d.rst index 3ad0af5840..6db7ac0d80 100644 --- a/classes/es/class_audiolistener3d.rst +++ b/classes/es/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/es/class_audiostreaminteractive.rst b/classes/es/class_audiostreaminteractive.rst index d28d4112a8..91b1e37deb 100644 --- a/classes/es/class_audiostreaminteractive.rst +++ b/classes/es/class_audiostreaminteractive.rst @@ -14,7 +14,7 @@ Transmisión de audio que puede reproducir música de forma interactiva, combina Descripción ---------------------- -Este flujo de audio permite reproducir música interactivamente, combinando clips y una tabla de transiciones. Primero se deben agregar los clips y, a continuación, las reglas de transición mediante el método ``add_transition``. Además, este flujo exporta un parámetro de propiedad para controlar la reproducción mediante :ref:`AudioStreamPlayer`, :ref:`AudioStreamPlayer2D` o :ref:`AudioStreamPlayer3D`. +Este flujo de audio permite reproducir música interactivamente, combinando clips y una tabla de transiciones. Primero se deben agregar los clips y, a continuación, las reglas de transición mediante el método :ref:`add_transition()`. Además, este flujo exporta un parámetro de propiedad para controlar la reproducción mediante :ref:`AudioStreamPlayer`, :ref:`AudioStreamPlayer2D` o :ref:`AudioStreamPlayer3D`. Para ello, se completan varios clips y luego se configura la tabla de transiciones. A partir de ahí, se seleccionan los clips para su reproducción y la música se reproduce fluidamente del actual al nuevo, utilizando la regla de transición correspondiente definida en la tabla. diff --git a/classes/es/class_audiostreamplayer.rst b/classes/es/class_audiostreamplayer.rst index 862d4f1240..d0b3d6fd33 100644 --- a/classes/es/class_audiostreamplayer.rst +++ b/classes/es/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/es/class_audiostreamplayer2d.rst b/classes/es/class_audiostreamplayer2d.rst index 2daab12b2f..e92350e6d3 100644 --- a/classes/es/class_audiostreamplayer2d.rst +++ b/classes/es/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/es/class_audiostreamplayer3d.rst b/classes/es/class_audiostreamplayer3d.rst index 9aa34fa3b3..d9c602cc89 100644 --- a/classes/es/class_audiostreamplayer3d.rst +++ b/classes/es/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/es/class_basis.rst b/classes/es/class_basis.rst index a614265248..89311f74bb 100644 --- a/classes/es/class_basis.rst +++ b/classes/es/class_basis.rst @@ -372,7 +372,7 @@ Returns the `determinant `__ of this - If the determinant is a negative number, the basis represents a negative scale. -\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 2. +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator diff --git a/classes/es/class_boneattachment3d.rst b/classes/es/class_boneattachment3d.rst index 7c7e4f9d7f..0b0909cb90 100644 --- a/classes/es/class_boneattachment3d.rst +++ b/classes/es/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/es/class_buttongroup.rst b/classes/es/class_buttongroup.rst index 534f80fdac..0da8e0cae0 100644 --- a/classes/es/class_buttongroup.rst +++ b/classes/es/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/es/class_cameraserver.rst b/classes/es/class_cameraserver.rst index 703c627d06..41e2cb488f 100644 --- a/classes/es/class_cameraserver.rst +++ b/classes/es/class_cameraserver.rst @@ -220,7 +220,7 @@ Agrega la cámara ``feed`` al servidor de cámara. :ref:`Array`\[:ref:`CameraFeed`\] **feeds**\ (\ ) :ref:`🔗` -Devuelve una array de :ref:`CameraFeed`\ s. +Devuelve un array de :ref:`CameraFeed`\ s. .. rst-class:: classref-item-separator diff --git a/classes/es/class_canvasitem.rst b/classes/es/class_canvasitem.rst index e700d87373..1e776b15dc 100644 --- a/classes/es/class_canvasitem.rst +++ b/classes/es/class_canvasitem.rst @@ -33,7 +33,7 @@ Tutoriales - :doc:`Viewport and canvas transforms <../tutorials/2d/2d_transforms>` -- :doc:`Custom drawing in 2D <../tutorials/2d/custom_drawing_in_2d>` +- :doc:`Dibujo personalizado en 2D <../tutorials/2d/custom_drawing_in_2d>` - `Demo de Visualizador de Espectro de Audio `__ diff --git a/classes/es/class_canvasmodulate.rst b/classes/es/class_canvasmodulate.rst index 0d5621bf4e..7f29d31511 100644 --- a/classes/es/class_canvasmodulate.rst +++ b/classes/es/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/es/class_characterbody2d.rst b/classes/es/class_characterbody2d.rst index 290a47d490..910e43611b 100644 --- a/classes/es/class_characterbody2d.rst +++ b/classes/es/class_characterbody2d.rst @@ -441,6 +441,8 @@ Vector pointing upwards, used to determine what is a wall and what is a floor (o Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. + .. rst-class:: classref-item-separator ---- @@ -704,6 +706,8 @@ Returns ``true`` if the body collided only with a wall on the last call of :ref: Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. + Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. diff --git a/classes/es/class_characterbody3d.rst b/classes/es/class_characterbody3d.rst index c45f2d4c9c..823217bf8f 100644 --- a/classes/es/class_characterbody3d.rst +++ b/classes/es/class_characterbody3d.rst @@ -445,6 +445,8 @@ Vector pointing upwards, used to determine what is a wall and what is a floor (o Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. + .. rst-class:: classref-item-separator ---- @@ -699,6 +701,8 @@ Returns ``true`` if the body collided only with a wall on the last call of :ref: Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. + Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. diff --git a/classes/es/class_charfxtransform.rst b/classes/es/class_charfxtransform.rst index b5cf941298..cdaecf87f3 100644 --- a/classes/es/class_charfxtransform.rst +++ b/classes/es/class_charfxtransform.rst @@ -115,7 +115,7 @@ The time elapsed since the :ref:`RichTextLabel` was added t - |void| **set_environment**\ (\ value\: :ref:`Dictionary`\ ) - :ref:`Dictionary` **get_environment**\ (\ ) -Contiene los argumentos pasados en la etiqueta de apertura de BBCode. Por defecto, los argumentos son cadenas; si su contenido coincide con un tipo como :ref:`bool`, :ref:`int` o :ref:`float`, se convertirán automáticamente. Los códigos de color en la forma ``#rrggbb`` o ``#rgb`` se convertirán en un :ref:`Color` opaco. Los argumentos de string pueden no contener espacios, incluso si son citados. Si están presentes, las comillas también estarán presentes en la string final. +Contiene los argumentos pasados en la etiqueta de apertura de BBCode. Por defecto, los argumentos son strings; si su contenido coincide con un tipo como :ref:`bool`, :ref:`int` o :ref:`float`, se convertirán automáticamente. Los códigos de color en la forma ``#rrggbb`` o ``#rgb`` se convertirán en un :ref:`Color` opaco. Los argumentos de string pueden no contener espacios, incluso si son citados. Si están presentes, las comillas también estarán presentes en la string final. Por ejemplo, la etiqueta de apertura de BBCode ``[example foo=hello bar=true baz=42 color=#ffffff]`` se asignará al siguiente :ref:`Dictionary`: diff --git a/classes/es/class_checkbutton.rst b/classes/es/class_checkbutton.rst index 11d66f41b5..8e67f4bc26 100644 --- a/classes/es/class_checkbutton.rst +++ b/classes/es/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/es/class_classdb.rst b/classes/es/class_classdb.rst index 4872ff6c81..82fd57d216 100644 --- a/classes/es/class_classdb.rst +++ b/classes/es/class_classdb.rst @@ -254,7 +254,7 @@ Devuelve a qué enum pertenece la constante de tipo integer ``name`` de ``class` :ref:`PackedStringArray` **class_get_integer_constant_list**\ (\ class\: :ref:`StringName`, no_inheritance\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve un array con los nombres de todas las constantes de tipo integer de ``clase`` o su ascendencia. +Devuelve un array con los nombres de todas las constantes de tipo integer de ``class`` o su ascendencia. .. rst-class:: classref-item-separator @@ -266,7 +266,7 @@ Devuelve un array con los nombres de todas las constantes de tipo integer de ``c :ref:`int` **class_get_method_argument_count**\ (\ class\: :ref:`StringName`, method\: :ref:`StringName`, no_inheritance\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve el número de argumentos del método ``metodo`` de ``clase`` o su ascendencia si ``no_inheritance`` es ``false``. +Devuelve el número de argumentos del método ``method`` de ``class`` o su ascendencia si ``no_inheritance`` es ``false``. .. rst-class:: classref-item-separator @@ -278,7 +278,7 @@ Devuelve el número de argumentos del método ``metodo`` de ``clase`` o su ascen :ref:`Array`\[:ref:`Dictionary`\] **class_get_method_list**\ (\ class\: :ref:`StringName`, no_inheritance\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve un array con todos los métodos de ``clase`` o su ascendencia si ``no_inheritance`` es ``false``. Cada elemento del array es un :ref:`Dictionary` con las siguientes claves: ``args``, ``default_args``, ``flags``, ``id``, ``name``, ``return: (class_name, hint, hint_string, name, type, usage)``. +Devuelve un array con todos los métodos de ``class`` o su ascendencia si ``no_inheritance`` es ``false``. Cada elemento del array es un :ref:`Dictionary` con las siguientes claves: ``args``, ``default_args``, ``flags``, ``id``, ``name``, ``return: (class_name, hint, hint_string, name, type, usage)``. \ **Nota:** En las compilaciones de lanzamiento exportadas, la información de depuración no está disponible, por lo que los diccionarios devueltos solo contendrán los nombres de métodos. @@ -292,7 +292,7 @@ Devuelve un array con todos los métodos de ``clase`` o su ascendencia si ``no_i :ref:`Variant` **class_get_property**\ (\ object\: :ref:`Object`, property\: :ref:`StringName`\ ) |const| :ref:`🔗` -Devuelve el valor de ``propiedad`` de ``objeto`` o su ascendencia. +Devuelve el valor de ``property`` de ``object`` o su ascendencia. .. rst-class:: classref-item-separator @@ -304,7 +304,7 @@ Devuelve el valor de ``propiedad`` de ``objeto`` o su ascendencia. :ref:`Variant` **class_get_property_default_value**\ (\ class\: :ref:`StringName`, property\: :ref:`StringName`\ ) |const| :ref:`🔗` -Devuelve el valor por defecto de ``propiedad`` de ``clase`` o sus clases ascendentes. +Devuelve el valor por defecto de ``property`` de ``class`` o sus clases ascendentes. .. rst-class:: classref-item-separator @@ -316,7 +316,7 @@ Devuelve el valor por defecto de ``propiedad`` de ``clase`` o sus clases ascende :ref:`StringName` **class_get_property_getter**\ (\ class\: :ref:`StringName`, property\: :ref:`StringName`\ ) :ref:`🔗` -Devuelve el nombre del método getter de ``propiedad`` de ``clase``. +Devuelve el nombre del método getter de ``property`` de ``class``. .. rst-class:: classref-item-separator @@ -328,7 +328,7 @@ Devuelve el nombre del método getter de ``propiedad`` de ``clase``. :ref:`Array`\[:ref:`Dictionary`\] **class_get_property_list**\ (\ class\: :ref:`StringName`, no_inheritance\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve un array con todas las propiedades de ``clase`` o su ascendencia si ``no_inheritance`` es ``false``. +Devuelve un array con todas las propiedades de ``class`` o su ascendencia si ``no_inheritance`` es ``false``. .. rst-class:: classref-item-separator @@ -340,7 +340,7 @@ Devuelve un array con todas las propiedades de ``clase`` o su ascendencia si ``n :ref:`StringName` **class_get_property_setter**\ (\ class\: :ref:`StringName`, property\: :ref:`StringName`\ ) :ref:`🔗` -Devuelve el nombre del método setter de ``propiedad`` de ``clase``. +Devuelve el nombre del método setter de ``property`` de ``class``. .. rst-class:: classref-item-separator @@ -352,7 +352,7 @@ Devuelve el nombre del método setter de ``propiedad`` de ``clase``. :ref:`Dictionary` **class_get_signal**\ (\ class\: :ref:`StringName`, signal\: :ref:`StringName`\ ) |const| :ref:`🔗` -Devuelve los datos de la señal ``senal`` de ``clase`` o su ascendencia. El valor devuelto es un :ref:`Dictionary` con las siguientes claves: ``args``, ``default_args``, ``flags``, ``id``, ``name``, ``return: (class_name, hint, hint_string, name, type, usage)``. +Devuelve los datos de la señal ``signal`` de ``class`` o su ascendencia. El valor devuelto es un :ref:`Dictionary` con las siguientes claves: ``args``, ``default_args``, ``flags``, ``id``, ``name``, ``return: (class_name, hint, hint_string, name, type, usage)``. .. rst-class:: classref-item-separator @@ -364,7 +364,7 @@ Devuelve los datos de la señal ``senal`` de ``clase`` o su ascendencia. El valo :ref:`Array`\[:ref:`Dictionary`\] **class_get_signal_list**\ (\ class\: :ref:`StringName`, no_inheritance\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Devuelve un array con todas las señales de ``clase`` o su ascendencia si ``no_inheritance`` es ``false``. Cada elemento del array es un :ref:`Dictionary` como se describe en :ref:`class_get_signal()`. +Devuelve un array con todas las señales de ``class`` o su ascendencia si ``no_inheritance`` es ``false``. Cada elemento del array es un :ref:`Dictionary` como se describe en :ref:`class_get_signal()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_codeedit.rst b/classes/es/class_codeedit.rst index 2c84158ce9..3f5aa8b67f 100644 --- a/classes/es/class_codeedit.rst +++ b/classes/es/class_codeedit.rst @@ -14,7 +14,7 @@ Un editor de texto multilínea diseñado para editar código. Descripción ---------------------- -CodeEdit es un :ref:`TextEdit` especializado, diseñado para editar archivos de código de texto plano. Cuenta con muchas características comunes en los editores de código, como números de línea, plegado de líneas, autocompletado de código, gestión de la sangría y gestión de cadenas/comentarios. +CodeEdit es un :ref:`TextEdit` especializado, diseñado para editar archivos de código de texto plano. Cuenta con muchas características comunes en los editores de código, como números de línea, plegado de líneas, autocompletado de código, gestión de la sangría y gestión de strings/comentarios. \ **Nota:** Independientemente de la configuración regional, **CodeEdit** por defecto siempre usará la dirección de texto de izquierda a derecha para mostrar correctamente el código fuente. @@ -1181,7 +1181,7 @@ Gets the matching auto brace close key for ``open_key``. :ref:`PackedInt32Array` **get_bookmarked_lines**\ (\ ) |const| :ref:`🔗` -Gets all bookmarked lines. +Obtiene todas las líneas con marcadores. .. rst-class:: classref-item-separator diff --git a/classes/es/class_codehighlighter.rst b/classes/es/class_codehighlighter.rst index 5005bcb971..14af6076dd 100644 --- a/classes/es/class_codehighlighter.rst +++ b/classes/es/class_codehighlighter.rst @@ -14,7 +14,7 @@ Un resaltador de sintaxis destinado al código. Descripción ---------------------- -Ajustando varias propiedades de este recurso, puedes cambiar los colores de las cadenas de texto, comentarios, números y otros patrones de texto dentro de un control :ref:`TextEdit`. +Ajustando varias propiedades de este recurso, puedes cambiar los colores de las strings, comentarios, números y otros patrones de texto dentro de un control :ref:`TextEdit`. .. rst-class:: classref-reftable-group @@ -217,7 +217,7 @@ Descripciones de Métodos |void| **add_color_region**\ (\ start_key\: :ref:`String`, end_key\: :ref:`String`, color\: :ref:`Color`, line_only\: :ref:`bool` = false\ ) :ref:`🔗` -Añade una región de color (como para comentarios o cadenas de texto) desde ``start_key`` hasta ``end_key``. Ambas claves deben ser símbolos, y ``start_key`` no debe ser compartida con otros delimitadores. +Añade una región de color (como para comentarios o strings) desde ``start_key`` hasta ``end_key``. Ambas claves deben ser símbolos, y ``start_key`` no debe ser compartida con otros delimitadores. Si ``line_only`` es ``true`` o ``end_key`` es una :ref:`String` vacía, la región no se extiende a la siguiente línea. diff --git a/classes/es/class_collisionobject2d.rst b/classes/es/class_collisionobject2d.rst index f07d8ac22f..8b5c2675c0 100644 --- a/classes/es/class_collisionobject2d.rst +++ b/classes/es/class_collisionobject2d.rst @@ -259,7 +259,7 @@ Las capas de físicas en las que se encuentra este CollisionObject2D. Los objeto - |void| **set_collision_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_mask**\ (\ ) -Las capas de físicas que este CollisionObject2D escanea. Los objetos de colisión pueden escanear una o más de 32 capas diferentes. Ver también :ref:`collision_layer`. +Las capas de físicas que este CollisionObject2D escanea. Los objetos de colisión pueden escanear una o más de 32 capas diferentes. Véase también :ref:`collision_layer`. \ **Nota:** Un objeto A puede detectar un contacto con un objeto B solo si el objeto B está en alguna de las capas que el objeto A escanea. Para más información, Véase `Capas y máscaras de colisión <../tutorials/physics/physics_introduction.html#collision-layers-and-masks>`__ en la documentación. diff --git a/classes/es/class_collisionobject3d.rst b/classes/es/class_collisionobject3d.rst index 48fde1730f..83eec326c5 100644 --- a/classes/es/class_collisionobject3d.rst +++ b/classes/es/class_collisionobject3d.rst @@ -225,7 +225,7 @@ Las capas de física en las que **está** este **CollisionObject3D**. Los objeto - |void| **set_collision_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_mask**\ (\ ) -Las capas de física que **escanea** este **CollisionObject3D**. Los objetos de colisión pueden escanear una o más de 32 capas diferentes. Ver también :ref:`collision_layer`. +Las capas de física que **escanea** este **CollisionObject3D**. Los objetos de colisión pueden escanear una o más de 32 capas diferentes. Véase también :ref:`collision_layer`. \ **Nota:** Un objeto A puede detectar un contacto con un objeto B solo si el objeto B está en cualquiera de las capas que el objeto A escanea. Véase `Capas y máscaras de colisión <../tutorials/physics/physics_introduction.html#collision-layers-and-masks>`__ en la documentación para más información. diff --git a/classes/es/class_control.rst b/classes/es/class_control.rst index 175b655e20..8db747a513 100644 --- a/classes/es/class_control.rst +++ b/classes/es/class_control.rst @@ -45,7 +45,7 @@ Tutoriales - :doc:`Índice de documentación de GUI <../tutorials/ui/index>` -- :doc:`Custom drawing in 2D <../tutorials/2d/custom_drawing_in_2d>` +- :doc:`Dibujo personalizado en 2D <../tutorials/2d/custom_drawing_in_2d>` - :doc:`Galería de nodos de Control <../tutorials/ui/control_node_gallery>` @@ -1352,7 +1352,7 @@ Descripciones de Propiedades - |void| **set_accessibility_controls_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_controls_nodes**\ (\ ) -The paths to the nodes which are controlled by this node. +Las rutas a los nodos que están controlados por este nodo. .. rst-class:: classref-item-separator @@ -1369,7 +1369,7 @@ The paths to the nodes which are controlled by this node. - |void| **set_accessibility_described_by_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_described_by_nodes**\ (\ ) -The paths to the nodes which are describing this node. +Las rutas a los nodos que describen este nodo. .. rst-class:: classref-item-separator @@ -1386,7 +1386,7 @@ The paths to the nodes which are describing this node. - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La descripción del nodo legible por humanos que se reporta a las aplicaciones de asistencia. .. rst-class:: classref-item-separator @@ -1403,7 +1403,7 @@ The human-readable node description that is reported to assistive apps. - |void| **set_accessibility_flow_to_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_flow_to_nodes**\ (\ ) -The paths to the nodes which this node flows into. +Las rutas a los nodos a los que fluye este nodo. .. rst-class:: classref-item-separator @@ -1420,7 +1420,7 @@ The paths to the nodes which this node flows into. - |void| **set_accessibility_labeled_by_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_labeled_by_nodes**\ (\ ) -The paths to the nodes which label this node. +Las rutas a los nodos que etiquetan este nodo. .. rst-class:: classref-item-separator @@ -3068,9 +3068,9 @@ See :ref:`get_theme_color()` for details. :ref:`float` **get_theme_default_base_scale**\ (\ ) |const| :ref:`🔗` -Returns the default base scale value from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_base_scale` value. +Devuelve el valor de escala base predeterminado del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un valor :ref:`Theme.default_base_scale` válido. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -3082,9 +3082,9 @@ See :ref:`get_theme_color()` for details. :ref:`Font` **get_theme_default_font**\ (\ ) |const| :ref:`🔗` -Returns the default font from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_font` value. +Devuelve la fuente predeterminada del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un valor :ref:`Theme.default_font` válido. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -3096,9 +3096,9 @@ See :ref:`get_theme_color()` for details. :ref:`int` **get_theme_default_font_size**\ (\ ) |const| :ref:`🔗` -Returns the default font size value from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_font_size` value. +Devuelve el tamaño de fuente predeterminado del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un valor :ref:`Theme.default_font_size` válido. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -3110,9 +3110,9 @@ See :ref:`get_theme_color()` for details. :ref:`Font` **get_theme_font**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a :ref:`Font` from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a font item with the specified ``name`` and ``theme_type``. +Devuelve una :ref:`Font` del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un elemento de fuente con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -3124,9 +3124,9 @@ See :ref:`get_theme_color()` for details. :ref:`int` **get_theme_font_size**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a font size from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a font size item with the specified ``name`` and ``theme_type``. +Devuelve un tamaño de fuente del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un elemento de tamaño de fuente con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -3237,9 +3237,9 @@ Devuelve ``true`` si este es el control enfocado actual. Ver :ref:`focus_mode` **has_theme_color**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a color item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de color con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3251,9 +3251,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_color_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`Color` with the specified ``name`` in this **Control** node. +Devuelve ``true`` si hay una sobreescritura local para un :ref:`Color` de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_color_override()`. +Véase :ref:`add_theme_color_override()`. .. rst-class:: classref-item-separator @@ -3265,9 +3265,9 @@ See :ref:`add_theme_color_override()` **has_theme_constant**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a constant item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento constante con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3279,9 +3279,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_constant_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme constant with the specified ``name`` in this **Control** node. +Devuelve ``true`` si existe una sobreescritura local para una constante de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_constant_override()`. +Véase :ref:`add_theme_constant_override()`. .. rst-class:: classref-item-separator @@ -3293,9 +3293,9 @@ See :ref:`add_theme_constant_override()` **has_theme_font**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a font item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de fuente con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3307,9 +3307,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_font_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`Font` with the specified ``name`` in this **Control** node. +Devuelve ``true`` si hay una sobreescritura local para una :ref:`Font` de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_font_override()`. +Véase :ref:`add_theme_font_override()`. .. rst-class:: classref-item-separator @@ -3321,9 +3321,9 @@ See :ref:`add_theme_font_override()` **has_theme_font_size**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a font size item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de tamaño de fuente con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3335,9 +3335,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme font size with the specified ``name`` in this **Control** node. +Devuelve ``true`` si hay una sobreescritura local para un tamaño de fuente de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_font_size_override()`. +Véase :ref:`add_theme_font_size_override()`. .. rst-class:: classref-item-separator @@ -3349,9 +3349,9 @@ See :ref:`add_theme_font_size_override()` **has_theme_icon**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has an icon item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de icono con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3363,9 +3363,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme icon with the specified ``name`` in this **Control** node. +Devuelve ``true`` si hay una sobreescritura local para un icono de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_icon_override()`. +Véase :ref:`add_theme_icon_override()`. .. rst-class:: classref-item-separator @@ -3377,9 +3377,9 @@ See :ref:`add_theme_icon_override()` **has_theme_stylebox**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a stylebox item with the specified ``name`` and ``theme_type``. +Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de stylebox con el ``name`` y el ``theme_type`` especificados. -See :ref:`get_theme_color()` for details. +Véase :ref:`get_theme_color()` para más detalles. .. rst-class:: classref-item-separator @@ -3391,9 +3391,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`StyleBox` with the specified ``name`` in this **Control** node. +Devuelve ``true`` si hay una sobreescritura local para un :ref:`StyleBox` de tema con el ``name`` especificado en este nodo **Control**. -See :ref:`add_theme_stylebox_override()`. +Véase :ref:`add_theme_stylebox_override()`. .. rst-class:: classref-item-separator @@ -3405,9 +3405,9 @@ See :ref:`add_theme_stylebox_override()` **is_drag_successful**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if a drag operation is successful. Alternative to :ref:`Viewport.gui_is_drag_successful()`. +Devuelve ``true`` si una operación de arrastre es exitosa. Alternativa a :ref:`Viewport.gui_is_drag_successful()`. -Best used with :ref:`Node.NOTIFICATION_DRAG_END`. +Mejor usado con :ref:`Node.NOTIFICATION_DRAG_END`. .. rst-class:: classref-item-separator @@ -3419,7 +3419,7 @@ Best used with :ref:`Node.NOTIFICATION_DRAG_END` **is_layout_rtl**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the layout is right-to-left. See also :ref:`layout_direction`. +Devuelve ``true`` si el diseño es de derecha a izquierda. Véase también :ref:`layout_direction`. .. rst-class:: classref-item-separator @@ -3515,7 +3515,7 @@ Removes a local override for a theme :ref:`StyleBox` with the sp |void| **reset_size**\ (\ ) :ref:`🔗` -Resets the size to :ref:`get_combined_minimum_size()`. This is equivalent to calling ``set_size(Vector2())`` (or any size below the minimum). +Restablece el tamaño a :ref:`get_combined_minimum_size()`. Esto equivale a llamar a ``set_size(Vector2())`` (o cualquier tamaño por debajo del mínimo). .. rst-class:: classref-item-separator @@ -3543,7 +3543,7 @@ Si ``push_opposite_anchor`` es ``true`` y el anclaje opuesto se superpone a este |void| **set_anchor_and_offset**\ (\ side\: :ref:`Side`, anchor\: :ref:`float`, offset\: :ref:`float`, push_opposite_anchor\: :ref:`bool` = false\ ) :ref:`🔗` -Works the same as :ref:`set_anchor()`, but instead of ``keep_offset`` argument and automatic update of offset, it allows to set the offset yourself (see :ref:`set_offset()`). +Funciona igual que :ref:`set_anchor()`, pero en lugar del argumento ``keep_offset`` y la actualización automática del dessplazamiento, te permite establecer el desplazamiento tú mismo (véase :ref:`set_offset()`). .. rst-class:: classref-item-separator @@ -3555,7 +3555,7 @@ Works the same as :ref:`set_anchor()`, but inst |void| **set_anchors_and_offsets_preset**\ (\ preset\: :ref:`LayoutPreset`, resize_mode\: :ref:`LayoutPresetMode` = 0, margin\: :ref:`int` = 0\ ) :ref:`🔗` -Sets both anchor preset and offset preset. See :ref:`set_anchors_preset()` and :ref:`set_offsets_preset()`. +Establece tanto el preset del ancla como el preset del desplazamiento. Véase :ref:`set_anchors_preset()` y :ref:`set_offsets_preset()`. .. rst-class:: classref-item-separator @@ -3581,7 +3581,7 @@ Si ``keep_offsets`` es ``true``, la posición del control también se actualizar |void| **set_begin**\ (\ position\: :ref:`Vector2`\ ) :ref:`🔗` -Sets :ref:`offset_left` and :ref:`offset_top` at the same time. Equivalent of changing :ref:`position`. +Establece :ref:`offset_left` y :ref:`offset_top` al mismo tiempo. Equivale a cambiar :ref:`position`. .. rst-class:: classref-item-separator @@ -3593,15 +3593,15 @@ Sets :ref:`offset_left` and :ref:`offset_top |void| **set_drag_forwarding**\ (\ drag_func\: :ref:`Callable`, can_drop_func\: :ref:`Callable`, drop_func\: :ref:`Callable`\ ) :ref:`🔗` -Sets the given callables to be used instead of the control's own drag-and-drop virtual methods. If a callable is empty, its respective virtual method is used as normal. +Establece los callables dados para ser usados en lugar de los métodos virtuales de arrastrar y soltar propios del control. Si un callable está vacío, su respectivo método virtual se usa de forma normal. -The arguments for each callable should be exactly the same as their respective virtual methods, which would be: +Los argumentos para cada callable deben ser exactamente los mismos que sus respectivos métodos virtuales, que serían: -- ``drag_func`` corresponds to :ref:`_get_drag_data()` and requires a :ref:`Vector2`; +- ``drag_func`` corresponde a :ref:`_get_drag_data()` y requiere un :ref:`Vector2`; -- ``can_drop_func`` corresponds to :ref:`_can_drop_data()` and requires both a :ref:`Vector2` and a :ref:`Variant`; +- ``can_drop_func`` corresponde a :ref:`_can_drop_data()` y requiere tanto un :ref:`Vector2` como un :ref:`Variant`; -- ``drop_func`` corresponds to :ref:`_drop_data()` and requires both a :ref:`Vector2` and a :ref:`Variant`. +- ``drop_func`` corresponde a :ref:`_drop_data()` y requiere tanto un :ref:`Vector2` como un :ref:`Variant`. .. rst-class:: classref-item-separator @@ -3657,7 +3657,7 @@ Shows the given control at the mouse pointer. A good time to call this method is |void| **set_end**\ (\ position\: :ref:`Vector2`\ ) :ref:`🔗` -Sets :ref:`offset_right` and :ref:`offset_bottom` at the same time. +Establece :ref:`offset_right` y :ref:`offset_bottom` al mismo tiempo. .. rst-class:: classref-item-separator @@ -3681,9 +3681,9 @@ Sets the focus neighbor for the specified :ref:`Side` to |void| **set_global_position**\ (\ position\: :ref:`Vector2`, keep_offsets\: :ref:`bool` = false\ ) :ref:`🔗` -Sets the :ref:`global_position` to given ``position``. +Establece la :ref:`global_position` a la ``position`` dada. -If ``keep_offsets`` is ``true``, control's anchors will be updated instead of offsets. +Si ``keep_offsets`` es ``true``, los anclajes del control se actualizarán en lugar de los desplazamientos. .. rst-class:: classref-item-separator @@ -3723,9 +3723,9 @@ Usa el parámetro ``margin`` para determinar el espacio entre el **Control** y l |void| **set_position**\ (\ position\: :ref:`Vector2`, keep_offsets\: :ref:`bool` = false\ ) :ref:`🔗` -Sets the :ref:`position` to given ``position``. +Establece la :ref:`position` a la ``position`` dada. -If ``keep_offsets`` is ``true``, control's anchors will be updated instead of offsets. +Si ``keep_offsets`` es ``true``, los anclajes del control se actualizarán en lugar de los desplazamientos. .. rst-class:: classref-item-separator @@ -3737,9 +3737,9 @@ If ``keep_offsets`` is ``true``, control's anchors will be updated instead of of |void| **set_size**\ (\ size\: :ref:`Vector2`, keep_offsets\: :ref:`bool` = false\ ) :ref:`🔗` -Sets the size (see :ref:`size`). +Establece el tamaño (véase :ref:`size`). -If ``keep_offsets`` is ``true``, control's anchors will be updated instead of offsets. +Si ``keep_offsets`` es ``true``, los anclajes del control se actualizarán en lugar de los desplazamientos. .. rst-class:: classref-item-separator @@ -3763,9 +3763,9 @@ Invalidates the size cache in this node and in parent nodes up to top level. Int |void| **warp_mouse**\ (\ position\: :ref:`Vector2`\ ) :ref:`🔗` -Moves the mouse cursor to ``position``, relative to :ref:`position` of this **Control**. +Mueve el cursor del ratón a ``position``, relativo a :ref:`position` de este **Control**. -\ **Note:** :ref:`warp_mouse()` is only supported on Windows, macOS and Linux. It has no effect on Android, iOS and Web. +\ **Nota:** :ref:`warp_mouse()` solo es compatible con Windows, macOS y Linux. No tiene ningún efecto en Android, iOS y Web. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_cpuparticles2d.rst b/classes/es/class_cpuparticles2d.rst index c0e69bbfce..6216e20485 100644 --- a/classes/es/class_cpuparticles2d.rst +++ b/classes/es/class_cpuparticles2d.rst @@ -733,7 +733,7 @@ El color inicial de cada partícula. Si se define :ref:`texture`\ ) - :ref:`Gradient` **get_color_initial_ramp**\ (\ ) -El color inicial de cada partícula variará a lo largo de este :ref:`Gradient` (multiplicado por ``color del miembro``). +El color inicial de cada partícula variará a lo largo de este :ref:`Gradient` (multiplicado por :ref:`color`). .. rst-class:: classref-item-separator diff --git a/classes/es/class_cpuparticles3d.rst b/classes/es/class_cpuparticles3d.rst index 87212a3735..7f6c9ddb84 100644 --- a/classes/es/class_cpuparticles3d.rst +++ b/classes/es/class_cpuparticles3d.rst @@ -417,7 +417,7 @@ Utilizar con :ref:`set_particle_flag()` **PARTICLE_FLAG_ROTATE_Y** = ``1`` -Utilizar con :ref:`set_particle_flag()` para establecer :ref:`flag_rotate_y`. +Utilizar con :ref:`set_particle_flag()` para establecer :ref:`particle_flag_rotate_y`. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_DISABLE_Z: @@ -425,7 +425,7 @@ Utilizar con :ref:`set_particle_flag()` **PARTICLE_FLAG_DISABLE_Z** = ``2`` -Utiliza con :ref:`set_particle_flag()` para establecer :ref:`flag_disable_z`. +Utiliza con :ref:`set_particle_flag()` para establecer :ref:`particle_flag_disable_z`. .. _class_CPUParticles3D_constant_PARTICLE_FLAG_MAX: diff --git a/classes/es/class_curve2d.rst b/classes/es/class_curve2d.rst index 9efe8bfa41..3bbdf32308 100644 --- a/classes/es/class_curve2d.rst +++ b/classes/es/class_curve2d.rst @@ -100,7 +100,7 @@ Descripciones de Propiedades - |void| **set_bake_interval**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_bake_interval**\ (\ ) -La distancia en píxeles entre dos puntos cacheados adyacentes. Cambiarlo obliga a recomponer la caché la próxima vez que se llame a la función :ref:`get_baked_points()` o :ref:`get_baked_length()`. Cuanto menor sea la distancia, más puntos en el caché y más memoria consumirá, así que úsala con cuidado. +La distancia en píxeles entre dos puntos cacheados adyacentes. Cambiarlo obliga a recomponer la caché la próxima vez que se llame a la función :ref:`get_baked_points()` o :ref:`get_baked_length()`. Cuanto menor sea la distancia, más puntos en la caché y más memoria consumirá, así que úsala con cuidado. .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ Devuelve la longitud total de la curva, basada en los puntos cacheados. Si se le :ref:`PackedVector2Array` **get_baked_points**\ (\ ) |const| :ref:`🔗` -Devuelve el caché de puntos como un :ref:`PackedVector2Array`. +Devuelve la caché de puntos como un :ref:`PackedVector2Array`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_curve3d.rst b/classes/es/class_curve3d.rst index f526f97521..9a513f9327 100644 --- a/classes/es/class_curve3d.rst +++ b/classes/es/class_curve3d.rst @@ -114,7 +114,7 @@ Descripciones de Propiedades - |void| **set_bake_interval**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_bake_interval**\ (\ ) -La distancia en metros entre dos puntos cacheados adyacentes. Cambiarlo obliga a recomponer la caché la próxima vez que se llame a la función :ref:`get_baked_points()` o :ref:`get_baked_length()`. Cuanto más pequeña sea la distancia, más puntos en el caché y más memoria consumirá, así que úsala con cuidado. +La distancia en metros entre dos puntos cacheados adyacentes. Cambiarlo obliga a recomponer la caché la próxima vez que se llame a la función :ref:`get_baked_points()` o :ref:`get_baked_length()`. Cuanto más pequeña sea la distancia, más puntos en la caché y más memoria consumirá, así que úsala con cuidado. .. rst-class:: classref-item-separator diff --git a/classes/es/class_decal.rst b/classes/es/class_decal.rst index c4e44f6a6b..3433da6305 100644 --- a/classes/es/class_decal.rst +++ b/classes/es/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/es/class_dictionary.rst b/classes/es/class_dictionary.rst index 8f76542406..c2c186e39a 100644 --- a/classes/es/class_dictionary.rst +++ b/classes/es/class_dictionary.rst @@ -129,7 +129,7 @@ To add a key to an existing dictionary, access it like an existing key and assig -Finally, dictionaries can contain different types of keys and values in the same dictionary: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: @@ -180,6 +180,45 @@ The keys of a dictionary can be iterated with the ``for`` keyword: +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: + + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + \ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. \ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. diff --git a/classes/es/class_diraccess.rst b/classes/es/class_diraccess.rst index 7691863553..bc9239d986 100644 --- a/classes/es/class_diraccess.rst +++ b/classes/es/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/es/class_directionallight2d.rst b/classes/es/class_directionallight2d.rst index ff4bfc1df6..aea2f14158 100644 --- a/classes/es/class_directionallight2d.rst +++ b/classes/es/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/es/class_directionallight3d.rst b/classes/es/class_directionallight3d.rst index c0ccc7fd70..861b278e8d 100644 --- a/classes/es/class_directionallight3d.rst +++ b/classes/es/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/es/class_editordebuggersession.rst b/classes/es/class_editordebuggersession.rst index 0ba9fb5e52..bba12cd3e9 100644 --- a/classes/es/class_editordebuggersession.rst +++ b/classes/es/class_editordebuggersession.rst @@ -172,7 +172,7 @@ Elimina el ``control`` dado de la IU de la sesión de depuración en el panel in |void| **send_message**\ (\ message\: :ref:`String`, data\: :ref:`Array` = []\ ) :ref:`🔗` -Envía el ``message`` dado a la instancia remota adjunta, opcionalmente pasando además ``data``. Consulta :ref:`EngineDebugger` para saber cómo recuperar esos mensajes. +Envía el ``message`` dado a la instancia remota adjunta, opcionalmente pasando además ``data``. Véase :ref:`EngineDebugger` para saber cómo recuperar esos mensajes. .. rst-class:: classref-item-separator @@ -196,7 +196,7 @@ Activa o desactiva un punto de interrupción específico basado en ``enabled``, |void| **toggle_profiler**\ (\ profiler\: :ref:`String`, enable\: :ref:`bool`, data\: :ref:`Array` = []\ ) :ref:`🔗` -Activa o desactiva el ``profiler`` dado en la instancia remota adjunta, opcionalmente pasando además ``data``. Consulta :ref:`EngineProfiler` para obtener más detalles. +Activa o desactiva el ``profiler`` dado en la instancia remota adjunta, opcionalmente pasando además ``data``. Véase :ref:`EngineProfiler` para obtener más detalles. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorexportplatform.rst b/classes/es/class_editorexportplatform.rst index a3186cfa65..f042311d45 100644 --- a/classes/es/class_editorexportplatform.rst +++ b/classes/es/class_editorexportplatform.rst @@ -112,7 +112,7 @@ enum **ExportMessageType**: :ref:`🔗` **EXPORT_MESSAGE_NONE** = ``0`` -Invalid message type used as the default value when no type is specified. +Tipo de mensaje inválido utilizado como valor por defecto cuando no se especifica un tipo. .. _class_EditorExportPlatform_constant_EXPORT_MESSAGE_INFO: @@ -120,7 +120,7 @@ Invalid message type used as the default value when no type is specified. :ref:`ExportMessageType` **EXPORT_MESSAGE_INFO** = ``1`` -Message type for informational messages that have no effect on the export. +Tipo de mensaje para mensajes informativos que no tienen ningún efecto en la exportación. .. _class_EditorExportPlatform_constant_EXPORT_MESSAGE_WARNING: @@ -128,7 +128,7 @@ Message type for informational messages that have no effect on the export. :ref:`ExportMessageType` **EXPORT_MESSAGE_WARNING** = ``2`` -Message type for warning messages that should be addressed but still allow to complete the export. +Tipo de mensaje para mensajes de advertencia que deben abordarse pero que aún permiten completar la exportación. .. _class_EditorExportPlatform_constant_EXPORT_MESSAGE_ERROR: @@ -136,7 +136,7 @@ Message type for warning messages that should be addressed but still allow to co :ref:`ExportMessageType` **EXPORT_MESSAGE_ERROR** = ``3`` -Message type for error messages that must be addressed and fail the export. +Tipo de mensaje para mensajes de error que deben abordarse y fallan en la exportación. .. rst-class:: classref-item-separator @@ -491,7 +491,7 @@ Saves ZIP archive and returns :ref:`Dictionary` with the follo :ref:`Dictionary` **save_zip_patch**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`\ ) :ref:`🔗` -Saves patch ZIP archive and returns :ref:`Dictionary` with the following keys: ``result: Error``, ``so_files: Array`` (array of the shared/static objects which contains dictionaries with the following keys: ``path: String``, ``tags: PackedStringArray``, and ``target_folder: String``). +Guarda el archivo ZIP del parche y devuelve un :ref:`Dictionary` con las siguientes claves: ``result: Error``, ``so_files: Array`` (array de objetos compartidos/estáticos que contiene diccionarios con las siguientes claves: ``path: String``, ``tags: PackedStringArray`` y ``target_folder: String``). .. rst-class:: classref-item-separator @@ -503,7 +503,7 @@ Saves patch ZIP archive and returns :ref:`Dictionary` with the :ref:`Error` **ssh_push_to_remote**\ (\ host\: :ref:`String`, port\: :ref:`String`, scp_args\: :ref:`PackedStringArray`, src_file\: :ref:`String`, dst_file\: :ref:`String`\ ) |const| :ref:`🔗` -Uploads specified file over SCP protocol to the remote host. +Sube el archivo especificado a través del protocolo SCP al host remoto. .. rst-class:: classref-item-separator @@ -515,7 +515,7 @@ Uploads specified file over SCP protocol to the remote host. :ref:`Error` **ssh_run_on_remote**\ (\ host\: :ref:`String`, port\: :ref:`String`, ssh_arg\: :ref:`PackedStringArray`, cmd_args\: :ref:`String`, output\: :ref:`Array` = [], port_fwd\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Executes specified command on the remote host via SSH protocol and returns command output in the ``output``. +Ejecuta el comando especificado en el host remoto a través del protocolo SSH y devuelve la salida del comando en ``output``. .. rst-class:: classref-item-separator @@ -527,7 +527,7 @@ Executes specified command on the remote host via SSH protocol and returns comma :ref:`int` **ssh_run_on_remote_no_wait**\ (\ host\: :ref:`String`, port\: :ref:`String`, ssh_args\: :ref:`PackedStringArray`, cmd_args\: :ref:`String`, port_fwd\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Executes specified command on the remote host via SSH protocol and returns process ID (on the remote host) without waiting for command to finish. +Ejecuta el comando especificado en el host remoto a través del protocolo SSH y devuelve el ID del proceso (en el host remoto) sin esperar a que el comando finalice. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorexportplatformandroid.rst b/classes/es/class_editorexportplatformandroid.rst index 3b82698390..e5ab9fad8a 100644 --- a/classes/es/class_editorexportplatformandroid.rst +++ b/classes/es/class_editorexportplatformandroid.rst @@ -14,7 +14,7 @@ Exporter for Android. Tutoriales -------------------- -- :doc:`Exporting for Android <../tutorials/export/exporting_for_android>` +- :doc:`Exportar a Android <../tutorials/export/exporting_for_android>` - :doc:`Compilaciones de Gradle para Android <../tutorials/export/android_gradle_build>` @@ -527,7 +527,7 @@ If ``true``, ``x86_32`` binaries are included into exported project. :ref:`bool` **architectures/x86_64** :ref:`🔗` -If ``true``, ``x86_64`` binaries are included into exported project. +Si es ``true``, los binarios ``x86_64`` se incluirán en el proyecto exportado. .. rst-class:: classref-item-separator @@ -539,7 +539,7 @@ If ``true``, ``x86_64`` binaries are included into exported project. :ref:`String` **command_line/extra_args** :ref:`🔗` -A list of additional command line arguments, separated by space, which the exported project will receive when started. +Una lista de argumentos de línea de comandos adicionales, separados por espacios, que el proyecto exportado recibirá cuando se inicie. .. rst-class:: classref-item-separator @@ -551,9 +551,9 @@ A list of additional command line arguments, separated by space, which the expor :ref:`String` **custom_template/debug** :ref:`🔗` -Path to an APK file to use as a custom export template for debug exports. If left empty, default template is used. +Ruta a un archivo APK para usar como plantilla de exportación personalizada para exportaciones de depuración. Si se deja vacío, se utiliza la plantilla predeterminada. -\ **Note:** This is only used if :ref:`gradle_build/use_gradle_build` is disabled. +\ **Nota:** Esto solo se usa si :ref:`gradle_build/use_gradle_build` está deshabilitado. .. rst-class:: classref-item-separator @@ -565,9 +565,9 @@ Path to an APK file to use as a custom export template for debug exports. If lef :ref:`String` **custom_template/release** :ref:`🔗` -Path to an APK file to use as a custom export template for release exports. If left empty, default template is used. +Ruta a un archivo APK para usar como plantilla de exportación personalizada para exportaciones de lanzamiento. Si se deja vacío, se utiliza la plantilla predeterminada. -\ **Note:** This is only used if :ref:`gradle_build/use_gradle_build` is disabled. +\ **Nota:** Esto solo se usa si :ref:`gradle_build/use_gradle_build` está deshabilitado. .. rst-class:: classref-item-separator @@ -579,11 +579,11 @@ Path to an APK file to use as a custom export template for release exports. If l :ref:`bool` **gesture/swipe_to_dismiss** :ref:`🔗` -If ``true``, `Swipe to dismiss `__ will be enabled. +Si es ``true``, `Deslizar para descartar `__ se habilitará. -This functionality is intended for smartwatches and is generally ignored on standard Android devices. However, some devices may not ignore it. Therefore, it is recommended to keep this feature disabled for standard Android apps to avoid unexpected behavior. +Esta funcionalidad está pensada para relojes inteligentes y generalmente se ignora en dispositivos Android estándar. Sin embargo, algunos dispositivos pueden no ignorarlo. Por lo tanto, se recomienda mantener esta función desactivada para las aplicaciones estándar de Android para evitar un comportamiento inesperado. -\ **Note:** This is ``false`` by default. To enable this behavior, :ref:`gradle_build/use_gradle_build` is required. +\ **Nota:** Esto es ``false`` por defecto. Para habilitar este comportamiento, se requiere :ref:`gradle_build/use_gradle_build`. .. rst-class:: classref-item-separator @@ -595,7 +595,7 @@ This functionality is intended for smartwatches and is generally ignored on stan :ref:`String` **gradle_build/android_source_template** :ref:`🔗` -Path to a ZIP file holding the source for the export template used in a Gradle build. If left empty, the default template is used. +Ruta a un archivo ZIP que contiene la fuente para la plantilla de exportación utilizada en una compilación de Gradle. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -607,11 +607,11 @@ Path to a ZIP file holding the source for the export template used in a Gradle b :ref:`bool` **gradle_build/compress_native_libraries** :ref:`🔗` -If ``true``, native libraries are compressed when performing a Gradle build. +Si es ``true``, las librerías nativas se comprimen cuando se realiza una compilación de Gradle. -\ **Note:** While enabling compression can reduce the size of the binary, it may result in slower application startup because the native libraries must be extracted before use, rather than being loaded directly. +\ **Nota:** Si bien habilitar la compresión puede reducir el tamaño del binario, puede resultar en un inicio de aplicación más lento porque las librerías nativas deben extraerse antes de usarse, en lugar de cargarse directamente. -If you're distributing your app via the Play Store, it's generally recommended to keep this option ``false``, see `official documentation `__. +Si estás distribuyendo tu aplicación a través de Play Store, generalmente se recomienda mantener esta opción ``false``, consulta `documentación oficial `__. .. rst-class:: classref-item-separator @@ -623,13 +623,13 @@ If you're distributing your app via the Play Store, it's generally recommended t :ref:`Dictionary` **gradle_build/custom_theme_attributes** :ref:`🔗` -A dictionary of custom theme attributes to include in the exported Android project. Each entry defines a theme attribute name and its value, and will be added to the **GodotAppMainTheme**. +Un diccionario de atributos de tema personalizados para incluir en el proyecto Android exportado. Cada entrada define un nombre de atributo de tema y su valor, y se agregará a **GodotAppMainTheme**. -For example, the key ``android:windowSwipeToDismiss`` with the value ``false`` is resolved to ``false``. +Por ejemplo, la clave ``android:windowSwipeToDismiss`` con el valor ``false`` se resuelve a ``false``. -\ **Note:** To add a custom attribute to the **GodotAppSplashTheme**, prefix the attribute name with ``[splash]``. +\ **Nota:** Para agregar un atributo personalizado a **GodotAppSplashTheme**, prefija el nombre del atributo con ``[splash]``. -\ **Note:** Reserved attributes configured via other export options or project settings cannot be overridden by ``custom_theme_attributes`` and are skipped during export. +\ **Nota:** Los atributos reservados configurados a través de otras opciones de exportación o la configuración del proyecto no pueden ser anulados por ``custom_theme_attributes`` y se omiten durante la exportación. .. rst-class:: classref-item-separator @@ -641,7 +641,7 @@ For example, the key ``android:windowSwipeToDismiss`` with the value ``false`` i :ref:`int` **gradle_build/export_format** :ref:`🔗` -Application export format (\*.apk or \*.aab). +Formato de exportación de la aplicación (\*.apk o \*.aab). .. rst-class:: classref-item-separator @@ -653,7 +653,7 @@ Application export format (\*.apk or \*.aab). :ref:`String` **gradle_build/gradle_build_directory** :ref:`🔗` -Path to the Gradle build directory. If left empty, then ``res://android`` will be used. +Ruta al directorio de compilación de Gradle. Si se deja vacío, se utilizará ``res://android``. .. rst-class:: classref-item-separator @@ -665,7 +665,7 @@ Path to the Gradle build directory. If left empty, then ``res://android`` will b :ref:`String` **gradle_build/min_sdk** :ref:`🔗` -Minimum Android API level required for the application to run (used during Gradle build). See `android:minSdkVersion `__. +Nivel mínimo de API de Android requerido para que la aplicación se ejecute (utilizado durante la compilación de Gradle). Véase `android:minSdkVersion `__. .. rst-class:: classref-item-separator @@ -677,7 +677,7 @@ Minimum Android API level required for the application to run (used during Gradl :ref:`String` **gradle_build/target_sdk** :ref:`🔗` -The Android API level on which the application is designed to run (used during Gradle build). See `android:targetSdkVersion `__. +El nivel de API de Android en el que la aplicación está diseñada para ejecutarse (utilizado durante la compilación de Gradle). Véase `android:targetSdkVersion `__. .. rst-class:: classref-item-separator @@ -689,7 +689,7 @@ The Android API level on which the application is designed to run (used during G :ref:`bool` **gradle_build/use_gradle_build** :ref:`🔗` -If ``true``, Gradle build is used instead of pre-built APK. +Si es ``true``, se utiliza la compilación de Gradle en lugar de APK precompilado. .. rst-class:: classref-item-separator @@ -701,7 +701,7 @@ If ``true``, Gradle build is used instead of pre-built APK. :ref:`bool` **graphics/opengl_debug** :ref:`🔗` -If ``true``, OpenGL ES debug context will be created (additional runtime checking, validation, and logging). +Si es ``true``, se creará un contexto de depuración OpenGL ES (verificación, validación y registro adicionales en tiempo de ejecución). .. rst-class:: classref-item-separator @@ -713,11 +713,11 @@ If ``true``, OpenGL ES debug context will be created (additional runtime checkin :ref:`String` **keystore/debug** :ref:`🔗` -Path of the debug keystore file. +Ruta del archivo keystore de depuración. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_DEBUG_PATH``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_DEBUG_PATH``. -Fallbacks to ``EditorSettings.export/android/debug_keystore`` if empty. +Si está vacío, recurre a ``EditorSettings.export/android/debug_keystore``. .. rst-class:: classref-item-separator @@ -729,11 +729,11 @@ Fallbacks to ``EditorSettings.export/android/debug_keystore`` if empty. :ref:`String` **keystore/debug_password** :ref:`🔗` -Password for the debug keystore file. +Contraseña para el archivo keystore de depuración. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_DEBUG_PASSWORD``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_DEBUG_PASSWORD``. -Fallbacks to ``EditorSettings.export/android/debug_keystore_pass`` if both it and :ref:`keystore/debug` are empty. +Si tanto esta como :ref:`keystore/debug` están vacías, recurre a ``EditorSettings.export/android/debug_keystore_pass``. .. rst-class:: classref-item-separator @@ -745,11 +745,11 @@ Fallbacks to ``EditorSettings.export/android/debug_keystore_pass`` if both it an :ref:`String` **keystore/debug_user** :ref:`🔗` -User name for the debug keystore file. +Nombre de usuario para el archivo keystore de depuración. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_DEBUG_USER``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_DEBUG_USER``. -Fallbacks to ``EditorSettings.export/android/debug_keystore_user`` if both it and :ref:`keystore/debug` are empty. +Si tanto esta como :ref:`keystore/debug` están vacías, recurre a ``EditorSettings.export/android/debug_keystore_user``. .. rst-class:: classref-item-separator @@ -761,9 +761,9 @@ Fallbacks to ``EditorSettings.export/android/debug_keystore_user`` if both it an :ref:`String` **keystore/release** :ref:`🔗` -Path of the release keystore file. +Ruta del archivo keystore de lanzamiento. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE_PATH``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_RELEASE_PATH``. .. rst-class:: classref-item-separator @@ -775,9 +775,9 @@ Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE :ref:`String` **keystore/release_password** :ref:`🔗` -Password for the release keystore file. +Contraseña para el archivo keystore de lanzamiento. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_RELEASE_PASSWORD``. .. rst-class:: classref-item-separator @@ -789,9 +789,9 @@ Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE :ref:`String` **keystore/release_user** :ref:`🔗` -User name for the release keystore file. +Nombre de usuario para el archivo keystore de lanzamiento. -Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE_USER``. +Se puede anular con la variable de entorno ``GODOT_ANDROID_KEYSTORE_RELEASE_USER``. .. rst-class:: classref-item-separator @@ -803,7 +803,7 @@ Can be overridden with the environment variable ``GODOT_ANDROID_KEYSTORE_RELEASE :ref:`String` **launcher_icons/adaptive_background_432x432** :ref:`🔗` -Background layer of the application adaptive icon file. See `Design adaptive icons `__. +Capa de fondo del archivo de icono adaptativo de la aplicación. Véase `Diseñar iconos adaptativos `__. .. rst-class:: classref-item-separator @@ -815,7 +815,7 @@ Background layer of the application adaptive icon file. See `Design adaptive ico :ref:`String` **launcher_icons/adaptive_foreground_432x432** :ref:`🔗` -Foreground layer of the application adaptive icon file. See `Design adaptive icons `__. +Capa de primer plano del archivo de icono adaptativo de la aplicación. Véase `Diseñar iconos adaptativos `__. .. rst-class:: classref-item-separator @@ -827,7 +827,7 @@ Foreground layer of the application adaptive icon file. See `Design adaptive ico :ref:`String` **launcher_icons/adaptive_monochrome_432x432** :ref:`🔗` -Monochrome layer of the application adaptive icon file. See `Design adaptive icons `__. +Capa monocromática del archivo de icono adaptativo de la aplicación. Véase `Diseñar iconos adaptativos `__. .. rst-class:: classref-item-separator @@ -839,7 +839,7 @@ Monochrome layer of the application adaptive icon file. See `Design adaptive ico :ref:`String` **launcher_icons/main_192x192** :ref:`🔗` -Application icon file. If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. +Archivo de icono de la aplicación. Si se deja vacío, recurrirá a :ref:`ProjectSettings.application/config/icon`. .. rst-class:: classref-item-separator @@ -851,7 +851,7 @@ Application icon file. If left empty, it will fallback to :ref:`ProjectSettings. :ref:`int` **package/app_category** :ref:`🔗` -Application category for the Google Play Store. Only define this if your application fits one of the categories well. See `android:appCategory `__. +Categoría de la aplicación para Google Play Store. Solo define esto si tu aplicación se ajusta bien a una de las categorías. Véase `android:appCategory `__. .. rst-class:: classref-item-separator @@ -863,7 +863,7 @@ Application category for the Google Play Store. Only define this if your applica :ref:`bool` **package/exclude_from_recents** :ref:`🔗` -If ``true``, task initiated by main activity will be excluded from the list of recently used applications. See `android:excludeFromRecents `__. +Si es ``true``, la tarea iniciada por la actividad principal se excluirá de la lista de aplicaciones utilizadas recientemente. Véase `android:excludeFromRecents `__. .. rst-class:: classref-item-separator @@ -887,7 +887,7 @@ El nombre de la aplicación. :ref:`bool` **package/retain_data_on_uninstall** :ref:`🔗` -If ``true``, when the user uninstalls an app, a prompt to keep the app's data will be shown. See `android:hasFragileUserData `__. +Si es ``true``, cuando el usuario desinstala una aplicación, se mostrará un aviso para conservar los datos de la aplicación. Véase `android:hasFragileUserData `__. .. rst-class:: classref-item-separator @@ -899,7 +899,7 @@ If ``true``, when the user uninstalls an app, a prompt to keep the app's data wi :ref:`bool` **package/show_as_launcher_app** :ref:`🔗` -If ``true``, the user will be able to set this app as the system launcher in Android preferences. +Si es ``true``, el usuario podrá establecer esta aplicación como el launcher del sistema en las preferencias de Android. .. rst-class:: classref-item-separator @@ -911,7 +911,7 @@ If ``true``, the user will be able to set this app as the system launcher in And :ref:`bool` **package/show_in_android_tv** :ref:`🔗` -If ``true``, this app will show in Android TV launcher UI. +Si es ``true``, esta aplicación se mostrará en la interfaz de inicio de Android TV. .. rst-class:: classref-item-separator @@ -923,9 +923,9 @@ If ``true``, this app will show in Android TV launcher UI. :ref:`bool` **package/show_in_app_library** :ref:`🔗` -If ``true``, this app will show in the device's app library. +Si es ``true``, esta aplicación se mostrará en la biblioteca de aplicaciones del dispositivo. -\ **Note:** This is ``true`` by default. +\ **Nota:** Esto es ``true`` por defecto. .. rst-class:: classref-item-separator @@ -937,7 +937,7 @@ If ``true``, this app will show in the device's app library. :ref:`bool` **package/signed** :ref:`🔗` -If ``true``, package signing is enabled. +Si es ``true``, la firma del paquete está habilitada. .. rst-class:: classref-item-separator @@ -949,13 +949,13 @@ If ``true``, package signing is enabled. :ref:`String` **package/unique_name** :ref:`🔗` -Unique application identifier in a reverse-DNS format. The reverse DNS format should preferably match a domain name you control, but this is not strictly required. For instance, if you own ``example.com``, your package unique name should preferably be of the form ``com.example.mygame``. This identifier can only contain lowercase alphanumeric characters (``a-z``, and ``0-9``), underscores (``_``), and periods (``.``). Each component of the reverse DNS format must start with a letter: for instance, ``com.example.8game`` is not valid. +Identificador único de la aplicación en un formato de DNS inverso. El formato de DNS inverso debe coincidir preferiblemente con un nombre de dominio que controles, pero esto no es estrictamente obligatorio. Por ejemplo, si eres dueño de ``example.com``, el nombre único de tu paquete debería ser preferiblemente de la forma ``com.example.mygame``. Este identificador solo puede contener caracteres alfanuméricos en minúsculas (``a-z`` y ``0-9``), guiones bajos (``_``) y puntos (``.``). Cada componente del formato de DNS inverso debe comenzar con una letra: por ejemplo, ``com.example.8game`` no es válido. -If ``$genname`` is present in the value, it will be replaced by the project name converted to lowercase. If there are invalid characters in the project name, they will be stripped. If all characters in the project name are stripped, ``$genname`` is replaced by ``noname``. +Si ``$genname`` está presente en el valor, se reemplazará por el nombre del proyecto convertido a minúsculas. Si hay caracteres no válidos en el nombre del proyecto, se eliminarán. Si todos los caracteres en el nombre del proyecto se eliminan, ``$genname`` se reemplaza por ``noname``. -\ **Note:** Changing the package name will cause the package to be considered as a new package, with its own installation and data paths. The new package won't be usable to update existing installations. +\ **Nota:** Cambiar el nombre del paquete hará que el paquete se considere como un nuevo paquete, con su propia instalación y rutas de datos. El nuevo paquete no se podrá utilizar para actualizar las instalaciones existentes. -\ **Note:** When publishing to Google Play, the package name must be *globally* unique. This means no other apps published on Google Play must be using the same package name as yours. Otherwise, you'll be prevented from publishing your app on Google Play. +\ **Nota:** Al publicar en Google Play, el nombre del paquete debe ser *globalmente* único. Esto significa que ninguna otra aplicación publicada en Google Play debe estar utilizando el mismo nombre de paquete que la tuya. De lo contrario, se te impedirá publicar tu aplicación en Google Play. .. rst-class:: classref-item-separator @@ -967,7 +967,7 @@ If ``$genname`` is present in the value, it will be replaced by the project name :ref:`bool` **permissions/access_checkin_properties** :ref:`🔗` -Allows read/write access to the "properties" table in the checkin database. See `ACCESS_CHECKIN_PROPERTIES `__. +Permite el acceso de lectura/escritura a la tabla de "propiedades" en la base de datos de registro. Véase `ACCESS_CHECKIN_PROPERTIES `__. .. rst-class:: classref-item-separator @@ -979,7 +979,7 @@ Allows read/write access to the "properties" table in the checkin database. See :ref:`bool` **permissions/access_coarse_location** :ref:`🔗` -Allows access to the approximate location information. See `ACCESS_COARSE_LOCATION `__. +Permite acceder a la información de ubicación aproximada. Véase `ACCESS_COARSE_LOCATION `__. .. rst-class:: classref-item-separator @@ -991,7 +991,7 @@ Allows access to the approximate location information. See `ACCESS_COARSE_LOCATI :ref:`bool` **permissions/access_fine_location** :ref:`🔗` -Allows access to the precise location information. See `ACCESS_FINE_LOCATION `__. +Permite acceder a la información de ubicación precisa. Véase `ACCESS_FINE_LOCATION `__. .. rst-class:: classref-item-separator @@ -1003,7 +1003,7 @@ Allows access to the precise location information. See `ACCESS_FINE_LOCATION ` **permissions/access_location_extra_commands** :ref:`🔗` -Allows access to the extra location provider commands. See `ACCESS_LOCATION_EXTRA_COMMANDS `__. +Permite acceder a los comandos adicionales del proveedor de ubicación. Véase `ACCESS_LOCATION_EXTRA_COMMANDS `__. .. rst-class:: classref-item-separator @@ -1015,7 +1015,7 @@ Allows access to the extra location provider commands. See `ACCESS_LOCATION_EXTR :ref:`bool` **permissions/access_media_location** :ref:`🔗` -Allows an application to access any geographic locations persisted in the user's shared collection. See `ACCESS_MEDIA_LOCATION `__. +Permite que una aplicación acceda a cualquier ubicación geográfica persistente en la colección compartida del usuario. Véase `ACCESS_MEDIA_LOCATION `__. .. rst-class:: classref-item-separator @@ -1027,7 +1027,7 @@ Allows an application to access any geographic locations persisted in the user's :ref:`bool` **permissions/access_mock_location** :ref:`🔗` -Allows an application to create mock location providers for testing. +Permite que una aplicación cree proveedores de ubicación simulados para realizar pruebas. .. rst-class:: classref-item-separator @@ -1039,7 +1039,7 @@ Allows an application to create mock location providers for testing. :ref:`bool` **permissions/access_network_state** :ref:`🔗` -Allows access to the information about networks. See `ACCESS_NETWORK_STATE `__. +Permite acceder a la información sobre las redes. Véase `ACCESS_NETWORK_STATE `__. .. rst-class:: classref-item-separator @@ -1051,7 +1051,7 @@ Allows access to the information about networks. See `ACCESS_NETWORK_STATE ` **permissions/access_surface_flinger** :ref:`🔗` -Allows an application to use SurfaceFlinger's low level features. +Permite que una aplicación utilice las características de bajo nivel de SurfaceFlinger. .. rst-class:: classref-item-separator @@ -1063,7 +1063,7 @@ Allows an application to use SurfaceFlinger's low level features. :ref:`bool` **permissions/access_wifi_state** :ref:`🔗` -Allows access to the information about Wi-Fi networks. See `ACCESS_WIFI_STATE `__. +Permite acceder a la información sobre las redes Wi-Fi. Véase `ACCESS_WIFI_STATE `__. .. rst-class:: classref-item-separator @@ -1075,7 +1075,7 @@ Allows access to the information about Wi-Fi networks. See `ACCESS_WIFI_STATE ` **permissions/account_manager** :ref:`🔗` -Allows applications to call into AccountAuthenticators. See `ACCOUNT_MANAGER `__. +Permite que las aplicaciones llamen a AccountAuthenticators. Véase `ACCOUNT_MANAGER `__. .. rst-class:: classref-item-separator @@ -1087,7 +1087,7 @@ Allows applications to call into AccountAuthenticators. See `ACCOUNT_MANAGER ` **permissions/add_voicemail** :ref:`🔗` -Allows an application to add voicemails into the system. See `ADD_VOICEMAIL `__. +Permite que una aplicación agregue mensajes de voz al sistema. Véase `ADD_VOICEMAIL `__. .. rst-class:: classref-item-separator @@ -1099,7 +1099,7 @@ Allows an application to add voicemails into the system. See `ADD_VOICEMAIL ` **permissions/authenticate_accounts** :ref:`🔗` -Allows an application to act as an AccountAuthenticator for the AccountManager. +Permite que una aplicación actúe como un AccountAuthenticator para el AccountManager. .. rst-class:: classref-item-separator @@ -1111,7 +1111,7 @@ Allows an application to act as an AccountAuthenticator for the AccountManager. :ref:`bool` **permissions/battery_stats** :ref:`🔗` -Allows an application to collect battery statistics. See `BATTERY_STATS `__. +Permite que una aplicación recopile estadísticas de batería. Véase `BATTERY_STATS `__. .. rst-class:: classref-item-separator @@ -1123,7 +1123,7 @@ Allows an application to collect battery statistics. See `BATTERY_STATS ` **permissions/bind_accessibility_service** :ref:`🔗` -Must be required by an AccessibilityService, to ensure that only the system can bind to it. See `BIND_ACCESSIBILITY_SERVICE `__. +Debe ser requerido por un AccessibilityService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_ACCESSIBILITY_SERVICE `__. .. rst-class:: classref-item-separator @@ -1135,7 +1135,7 @@ Must be required by an AccessibilityService, to ensure that only the system can :ref:`bool` **permissions/bind_appwidget** :ref:`🔗` -Allows an application to tell the AppWidget service which application can access AppWidget's data. See `BIND_APPWIDGET `__. +Permite que una aplicación le diga al servicio AppWidget qué aplicación puede acceder a los datos de AppWidget. Véase `BIND_APPWIDGET `__. .. rst-class:: classref-item-separator @@ -1147,7 +1147,7 @@ Allows an application to tell the AppWidget service which application can access :ref:`bool` **permissions/bind_device_admin** :ref:`🔗` -Must be required by device administration receiver, to ensure that only the system can interact with it. See `BIND_DEVICE_ADMIN `__. +Debe ser requerido por el receptor de administración de dispositivos, para garantizar que solo el sistema pueda interactuar con él. Véase `BIND_DEVICE_ADMIN `__. .. rst-class:: classref-item-separator @@ -1159,7 +1159,7 @@ Must be required by device administration receiver, to ensure that only the syst :ref:`bool` **permissions/bind_input_method** :ref:`🔗` -Must be required by an InputMethodService, to ensure that only the system can bind to it. See `BIND_INPUT_METHOD `__. +Debe ser requerido por un InputMethodService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_INPUT_METHOD `__. .. rst-class:: classref-item-separator @@ -1171,7 +1171,7 @@ Must be required by an InputMethodService, to ensure that only the system can bi :ref:`bool` **permissions/bind_nfc_service** :ref:`🔗` -Must be required by a HostApduService or OffHostApduService to ensure that only the system can bind to it. See `BIND_NFC_SERVICE `__. +Debe ser requerido por un HostApduService u OffHostApduService para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_NFC_SERVICE `__. .. rst-class:: classref-item-separator @@ -1183,7 +1183,7 @@ Must be required by a HostApduService or OffHostApduService to ensure that only :ref:`bool` **permissions/bind_notification_listener_service** :ref:`🔗` -Must be required by a NotificationListenerService, to ensure that only the system can bind to it. See `BIND_NOTIFICATION_LISTENER_SERVICE `__. +Debe ser requerido por un NotificationListenerService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_NOTIFICATION_LISTENER_SERVICE `__. .. rst-class:: classref-item-separator @@ -1195,7 +1195,7 @@ Must be required by a NotificationListenerService, to ensure that only the syste :ref:`bool` **permissions/bind_print_service** :ref:`🔗` -Must be required by a PrintService, to ensure that only the system can bind to it. See `BIND_PRINT_SERVICE `__. +Debe ser requerido por un PrintService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_PRINT_SERVICE `__. .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ Must be required by a PrintService, to ensure that only the system can bind to i :ref:`bool` **permissions/bind_remoteviews** :ref:`🔗` -Must be required by a RemoteViewsService, to ensure that only the system can bind to it. See `BIND_REMOTEVIEWS `__. +Debe ser requerido por un RemoteViewsService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_REMOTEVIEWS `__. .. rst-class:: classref-item-separator @@ -1219,7 +1219,7 @@ Must be required by a RemoteViewsService, to ensure that only the system can bin :ref:`bool` **permissions/bind_text_service** :ref:`🔗` -Must be required by a TextService (e.g. SpellCheckerService) to ensure that only the system can bind to it. See `BIND_TEXT_SERVICE `__. +Debe ser requerido por un TextService (ej. SpellCheckerService) para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_TEXT_SERVICE `__. .. rst-class:: classref-item-separator @@ -1231,7 +1231,7 @@ Must be required by a TextService (e.g. SpellCheckerService) to ensure that only :ref:`bool` **permissions/bind_vpn_service** :ref:`🔗` -Must be required by a VpnService, to ensure that only the system can bind to it. See `BIND_VPN_SERVICE `__. +Debe ser requerido por un VpnService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_VPN_SERVICE `__. .. rst-class:: classref-item-separator @@ -1243,7 +1243,7 @@ Must be required by a VpnService, to ensure that only the system can bind to it. :ref:`bool` **permissions/bind_wallpaper** :ref:`🔗` -Must be required by a WallpaperService, to ensure that only the system can bind to it. See `BIND_WALLPAPER `__. +Debe ser requerido por un WallpaperService, para garantizar que solo el sistema pueda vincularse a él. Véase `BIND_WALLPAPER `__. .. rst-class:: classref-item-separator @@ -1519,7 +1519,7 @@ Permite activar/desactivar las notificaciones de actualización de la ubicación :ref:`PackedStringArray` **permissions/custom_permissions** :ref:`🔗` -Array de cadenas de permisos personalizados. +Array de strings de permisos personalizados. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. @@ -2487,7 +2487,7 @@ Permite a las aplicaciones establecer el fondo de pantalla. Véase `SET_WALLPAPE :ref:`bool` **permissions/set_wallpaper_hints** :ref:`🔗` -Allows applications to set the wallpaper hints. See `SET_WALLPAPER_HINTS `__. +Permite que las aplicaciones establezcan las sugerencias del fondo de pantalla. Véase `SET_WALLPAPER_HINTS `__. .. rst-class:: classref-item-separator @@ -2499,7 +2499,7 @@ Allows applications to set the wallpaper hints. See `SET_WALLPAPER_HINTS ` **permissions/signal_persistent_processes** :ref:`🔗` -Allow an application to request that a signal be sent to all persistent processes. See `SIGNAL_PERSISTENT_PROCESSES `__. +Permite que una aplicación solicite que se envíe una señal a todos los procesos persistentes. Véase `SIGNAL_PERSISTENT_PROCESSES `__. .. rst-class:: classref-item-separator @@ -2511,7 +2511,7 @@ Allow an application to request that a signal be sent to all persistent processe :ref:`bool` **permissions/status_bar** :ref:`🔗` -Allows an application to open, close, or disable the status bar and its icons. See `STATUS_BAR `__. +Permite que una aplicación abra, cierre o desactive la barra de estado y sus iconos. Véase `STATUS_BAR `__. .. rst-class:: classref-item-separator @@ -2523,7 +2523,7 @@ Allows an application to open, close, or disable the status bar and its icons. S :ref:`bool` **permissions/subscribed_feeds_read** :ref:`🔗` -Allows an application to allow access the subscribed feeds ContentProvider. +Permite que una aplicación permita el acceso al ContentProvider de fuentes suscritas. .. rst-class:: classref-item-separator @@ -2547,7 +2547,7 @@ Allows an application to allow access the subscribed feeds ContentProvider. :ref:`bool` **permissions/system_alert_window** :ref:`🔗` -Allows an app to create windows using the type WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, shown on top of all other apps. See `SYSTEM_ALERT_WINDOW `__. +Permite que una aplicación cree ventanas usando el tipo WindowManager.LayoutParams.TYPE_APPLICATION_OVERLAY, que se muestra encima de todas las demás aplicaciones. Véase `SYSTEM_ALERT_WINDOW `__. .. rst-class:: classref-item-separator @@ -2559,7 +2559,7 @@ Allows an app to create windows using the type WindowManager.LayoutParams.TYPE_A :ref:`bool` **permissions/transmit_ir** :ref:`🔗` -Allows using the device's IR transmitter, if available. See `TRANSMIT_IR `__. +Permite usar el transmisor de infrarrojos del dispositivo, si está disponible. Véase `TRANSMIT_IR `__. .. rst-class:: classref-item-separator @@ -2583,7 +2583,7 @@ Allows using the device's IR transmitter, if available. See `TRANSMIT_IR ` **permissions/update_device_stats** :ref:`🔗` -Allows an application to update device statistics. See `UPDATE_DEVICE_STATS `__. +Permite que una aplicación actualice las estadísticas del dispositivo. Véase `UPDATE_DEVICE_STATS `__. .. rst-class:: classref-item-separator @@ -2595,7 +2595,7 @@ Allows an application to update device statistics. See `UPDATE_DEVICE_STATS ` **permissions/use_credentials** :ref:`🔗` -Allows an application to request authtokens from the AccountManager. +Permite que una aplicación solicite authtokens del AccountManager. .. rst-class:: classref-item-separator @@ -2607,7 +2607,7 @@ Allows an application to request authtokens from the AccountManager. :ref:`bool` **permissions/use_sip** :ref:`🔗` -Allows an application to use SIP service. See `USE_SIP `__. +Permite que una aplicación utilice el servicio SIP. Véase `USE_SIP `__. .. rst-class:: classref-item-separator @@ -2619,7 +2619,7 @@ Allows an application to use SIP service. See `USE_SIP ` **permissions/vibrate** :ref:`🔗` -Allows access to the vibrator. See `VIBRATE `__. +Permite acceder al vibrador. Véase `VIBRATE `__. .. rst-class:: classref-item-separator @@ -2631,7 +2631,7 @@ Allows access to the vibrator. See `VIBRATE ` **permissions/wake_lock** :ref:`🔗` -Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming. See `WAKE_LOCK `__. +Permite usar PowerManager WakeLocks para evitar que el procesador se suspenda o que la pantalla se atenúe. Véase `WAKE_LOCK `__. .. rst-class:: classref-item-separator @@ -2643,7 +2643,7 @@ Allows using PowerManager WakeLocks to keep processor from sleeping or screen fr :ref:`bool` **permissions/write_apn_settings** :ref:`🔗` -Allows applications to write the apn settings and read sensitive fields of an existing apn settings like user and password. See `WRITE_APN_SETTINGS `__. +Permite que las aplicaciones escriban la configuración apn y lean campos confidenciales de una configuración apn existente, como el usuario y la contraseña. Véase `WRITE_APN_SETTINGS `__. .. rst-class:: classref-item-separator @@ -2655,7 +2655,7 @@ Allows applications to write the apn settings and read sensitive fields of an ex :ref:`bool` **permissions/write_calendar** :ref:`🔗` -Allows an application to write the user's calendar data. See `WRITE_CALENDAR `__. +Permite que una aplicación escriba los datos del calendario del usuario. Véase `WRITE_CALENDAR `__. .. rst-class:: classref-item-separator @@ -2667,7 +2667,7 @@ Allows an application to write the user's calendar data. See `WRITE_CALENDAR ` **permissions/write_call_log** :ref:`🔗` -Allows an application to write (but not read) the user's call log data. See `WRITE_CALL_LOG `__. +Permite que una aplicación escriba (pero no lea) los datos del registro de llamadas del usuario. Véase `WRITE_CALL_LOG `__. .. rst-class:: classref-item-separator @@ -2679,7 +2679,7 @@ Allows an application to write (but not read) the user's call log data. See `WRI :ref:`bool` **permissions/write_contacts** :ref:`🔗` -Allows an application to write the user's contacts data. See `WRITE_CONTACTS `__. +Permite que una aplicación escriba los datos de los contactos del usuario. Véase `WRITE_CONTACTS `__. .. rst-class:: classref-item-separator @@ -2691,7 +2691,7 @@ Allows an application to write the user's contacts data. See `WRITE_CONTACTS ` **permissions/write_external_storage** :ref:`🔗` -Allows an application to write to external storage. See `WRITE_EXTERNAL_STORAGE `__. +Permite que una aplicación escriba en el almacenamiento externo. Véase `WRITE_EXTERNAL_STORAGE `__. .. rst-class:: classref-item-separator @@ -2703,7 +2703,7 @@ Allows an application to write to external storage. See `WRITE_EXTERNAL_STORAGE :ref:`bool` **permissions/write_gservices** :ref:`🔗` -Allows an application to modify the Google service map. See `WRITE_GSERVICES `__. +Permite que una aplicación modifique el mapa de servicios de Google. Véase `WRITE_GSERVICES `__. .. rst-class:: classref-item-separator @@ -2727,7 +2727,7 @@ Permite que una aplicación escriba (pero no lea) el historial de navegación y :ref:`bool` **permissions/write_profile** :ref:`🔗` -Allows an application to write (but not read) the user's personal profile data. +Permite que una aplicación escriba (pero no lea) los datos del perfil personal del usuario. .. rst-class:: classref-item-separator @@ -2739,7 +2739,7 @@ Allows an application to write (but not read) the user's personal profile data. :ref:`bool` **permissions/write_secure_settings** :ref:`🔗` -Allows an application to read or write the secure system settings. See `WRITE_SECURE_SETTINGS `__. +Permite que una aplicación lea o escriba la configuración segura del sistema. Véase `WRITE_SECURE_SETTINGS `__. .. rst-class:: classref-item-separator @@ -2751,7 +2751,7 @@ Allows an application to read or write the secure system settings. See `WRITE_SE :ref:`bool` **permissions/write_settings** :ref:`🔗` -Allows an application to read or write the system settings. See `WRITE_SETTINGS `__. +Permite que una aplicación lea o escriba la configuración del sistema. Véase `WRITE_SETTINGS `__. .. rst-class:: classref-item-separator @@ -2787,7 +2787,7 @@ Allows an application to write (but not read) the user's social stream data. :ref:`bool` **permissions/write_sync_settings** :ref:`🔗` -Allows applications to write the sync settings. See `WRITE_SYNC_SETTINGS `__. +Permite que las aplicaciones escriban la configuración de sincronización. Véase `WRITE_SYNC_SETTINGS `__. .. rst-class:: classref-item-separator @@ -2799,7 +2799,7 @@ Allows applications to write the sync settings. See `WRITE_SYNC_SETTINGS ` **permissions/write_user_dictionary** :ref:`🔗` -Allows an application to write to the user dictionary. +Permite que una aplicación escriba en el diccionario del usuario. .. rst-class:: classref-item-separator @@ -2811,7 +2811,7 @@ Allows an application to write to the user dictionary. :ref:`Color` **screen/background_color** :ref:`🔗` -The background color used for the root window. Default is ``black``. +El color de fondo utilizado para la ventana raíz. El valor predeterminado es ``black``. .. rst-class:: classref-item-separator @@ -2823,9 +2823,9 @@ The background color used for the root window. Default is ``black``. :ref:`bool` **screen/edge_to_edge** :ref:`🔗` -If ``true``, this makes the navigation and status bars translucent and allows the application content to extend edge to edge. +Si es ``true``, esto hace que las barras de navegación y de estado sean translúcidas y permite que el contenido de la aplicación se extienda de borde a borde. -\ **Note:** You should ensure that none of the application content is occluded by system elements by using the :ref:`DisplayServer.get_display_safe_area()` and :ref:`DisplayServer.get_display_cutouts()` methods. +\ **Nota:** Debes asegurarte de que ningún elemento del sistema ocluya el contenido de la aplicación utilizando los métodos :ref:`DisplayServer.get_display_safe_area()` y :ref:`DisplayServer.get_display_cutouts()`. .. rst-class:: classref-item-separator @@ -2837,7 +2837,7 @@ If ``true``, this makes the navigation and status bars translucent and allows th :ref:`bool` **screen/immersive_mode** :ref:`🔗` -If ``true``, hides the navigation and status bar. Set :ref:`DisplayServer.window_set_mode()` to change this at runtime. +Si es ``true``, oculta la barra de navegación y la de estado. Establece :ref:`DisplayServer.window_set_mode()` para cambiar esto en tiempo de ejecución. .. rst-class:: classref-item-separator @@ -2849,7 +2849,7 @@ If ``true``, hides the navigation and status bar. Set :ref:`DisplayServer.window :ref:`bool` **screen/support_large** :ref:`🔗` -Indicates whether the application supports larger screen form-factors. +Indica si la aplicación soporta factores de forma de pantalla más grandes. .. rst-class:: classref-item-separator @@ -2861,7 +2861,7 @@ Indicates whether the application supports larger screen form-factors. :ref:`bool` **screen/support_normal** :ref:`🔗` -Indicates whether an application supports the "normal" screen form-factors. +Indica si una aplicación soporta los factores de forma de pantalla "normales". .. rst-class:: classref-item-separator @@ -2897,7 +2897,7 @@ Indica si la aplicación admite factores de formato de pantalla extra grandes. :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Si es ``true``, los shaders se compilarán e integrarán en la aplicación. Esta opción solo es compatible cuando se utilizan los renderizadores Forward+ o Mobile. .. rst-class:: classref-item-separator @@ -2909,7 +2909,7 @@ If ``true``, shaders will be compiled and embedded in the application. This opti :ref:`bool` **user_data_backup/allow** :ref:`🔗` -If ``true``, allows the application to participate in the backup and restore infrastructure. +Si es ``true``, permite que la aplicación participe en la infraestructura de copia de seguridad y restauración. .. rst-class:: classref-item-separator @@ -2921,7 +2921,7 @@ If ``true``, allows the application to participate in the backup and restore inf :ref:`int` **version/code** :ref:`🔗` -Machine-readable application version. This must be incremented for every new release pushed to the Play Store. +Versión de la aplicación legible por máquina. Debe incrementarse con cada nuevo lanzamiento enviado a Play Store. .. rst-class:: classref-item-separator @@ -2933,7 +2933,7 @@ Machine-readable application version. This must be incremented for every new rel :ref:`String` **version/name** :ref:`🔗` -Application version visible to the user. Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +Versión de la aplicación visible para el usuario. Si se deja vacía, se recurre a :ref:`ProjectSettings.application/config/version`. .. rst-class:: classref-item-separator @@ -2945,7 +2945,7 @@ Application version visible to the user. Falls back to :ref:`ProjectSettings.app :ref:`int` **xr_features/xr_mode** :ref:`🔗` -The extended reality (XR) mode for this application. +El modo de realidad extendida (XR) para esta aplicación. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorexportplatformappleembedded.rst b/classes/es/class_editorexportplatformappleembedded.rst index 5792402e3d..59182ebb0e 100644 --- a/classes/es/class_editorexportplatformappleembedded.rst +++ b/classes/es/class_editorexportplatformappleembedded.rst @@ -9,14 +9,14 @@ EditorExportPlatformAppleEmbedded **Heredado por:** :ref:`EditorExportPlatformIOS`, :ref:`EditorExportPlatformVisionOS` -Base class for the Apple embedded platform exporters (iOS and visionOS). +Clase base para los exportadores de plataformas integradas de Apple (iOS y visionOS). .. rst-class:: classref-introduction-group Descripción ---------------------- -The base class for Apple embedded platform exporters. These include iOS and visionOS, but not macOS. See the classes inheriting from this one for more details. +La clase base para los exportadores de plataformas integradas de Apple. Estos incluyen iOS y visionOS, pero no macOS. Véase las clases que heredan de esta para obtener más detalles. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_editorexportplatformextension.rst b/classes/es/class_editorexportplatformextension.rst index c04f6f2d6e..43b07fad3c 100644 --- a/classes/es/class_editorexportplatformextension.rst +++ b/classes/es/class_editorexportplatformextension.rst @@ -14,9 +14,9 @@ Clase base para implementaciones personalizadas de :ref:`EditorExportPlatform` implementations should inherit from this class. +Las implementaciones externas de :ref:`EditorExportPlatform` deben heredar de esta clase. -To use :ref:`EditorExportPlatform`, register it using the :ref:`EditorPlugin.add_export_platform()` method first. +Para usar :ref:`EditorExportPlatform`, regístralo primero usando el método :ref:`EditorPlugin.add_export_platform()`. .. rst-class:: classref-reftable-group @@ -111,9 +111,9 @@ Descripciones de Métodos :ref:`bool` **_can_export**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Returns ``true``, if specified ``preset`` is valid and can be exported. Use :ref:`set_config_error()` and :ref:`set_config_missing_templates()` to set error details. +Devuelve ``true``, si el ``preset`` especificado es válido y se puede exportar. Usa :ref:`set_config_error()` y :ref:`set_config_missing_templates()` para establecer los detalles del error. -Usual implementation can call :ref:`_has_valid_export_configuration()` and :ref:`_has_valid_project_configuration()` to determine if export is possible. +La implementación habitual puede llamar a :ref:`_has_valid_export_configuration()` y :ref:`_has_valid_project_configuration()` para determinar si la exportación es posible. .. rst-class:: classref-item-separator @@ -137,9 +137,9 @@ Llamado por el editor antes de que se desregistre la plataforma. :ref:`Error` **_export_pack**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Creates a PCK archive at ``path`` for the specified ``preset``. +Crea un archivo PCK en ``path`` para el ``preset`` especificado. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" disabled, and PCK is selected as a file type. +Este método se llama cuando se presiona el botón "Export PCK/ZIP" en el diálogo de exportación, con "Export as Patch" desactivado, y PCK se selecciona como tipo de archivo. .. rst-class:: classref-item-separator @@ -151,11 +151,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_pack_patch**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, patches\: :ref:`PackedStringArray`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Creates a patch PCK archive at ``path`` for the specified ``preset``, containing only the files that have changed since the last patch. +Crea un archivo PCK de parche en ``path`` para el ``preset`` especificado, que contiene solo los archivos que han cambiado desde el último parche. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" enabled, and PCK is selected as a file type. +Este método se llama cuando se presiona el botón "Export PCK/ZIP" en el diálogo de exportación, con "Export as Patch" habilitado, y PCK se selecciona como tipo de archivo. -\ **Note:** The patches provided in ``patches`` have already been loaded when this method is called and are merely provided as context. When empty the patches defined in the export preset have been loaded instead. +\ **Nota:** Los parches proporcionados en ``patches`` ya se han cargado cuando se llama a este método y simplemente se proporcionan como contexto. Cuando esté vacío, se cargarán los parches definidos en el preset de exportación. .. rst-class:: classref-item-separator @@ -167,11 +167,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_project**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| |required| :ref:`🔗` -Creates a full project at ``path`` for the specified ``preset``. +Crea un proyecto completo en ``path`` para el ``preset`` especificado. -This method is called when "Export" button is pressed in the export dialog. +Este método se llama cuando se presiona el botón "Exportar" en el diálogo de exportación. -This method implementation can call :ref:`EditorExportPlatform.save_pack()` or :ref:`EditorExportPlatform.save_zip()` to use default PCK/ZIP export process, or calls :ref:`EditorExportPlatform.export_project_files()` and implement custom callback for processing each exported file. +Esta implementación del método puede llamar a :ref:`EditorExportPlatform.save_pack()` o :ref:`EditorExportPlatform.save_zip()` para usar el proceso de exportación PCK/ZIP predeterminado, o llama a :ref:`EditorExportPlatform.export_project_files()` e implementa una función de retorno personalizada para procesar cada archivo exportado. .. rst-class:: classref-item-separator @@ -183,9 +183,9 @@ This method implementation can call :ref:`EditorExportPlatform.save_pack()` **_export_zip**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Create a ZIP archive at ``path`` for the specified ``preset``. +Crea un archivo ZIP en ``path`` para el ``preset`` especificado. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" disabled, and ZIP is selected as a file type. +Este método se llama cuando se presiona el botón "Export PCK/ZIP" en el diálogo de exportación, con "Export as Patch" desactivado, y ZIP se selecciona como tipo de archivo. .. rst-class:: classref-item-separator @@ -197,11 +197,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_zip_patch**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, patches\: :ref:`PackedStringArray`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Create a ZIP archive at ``path`` for the specified ``preset``, containing only the files that have changed since the last patch. +Crea un archivo ZIP en ``path`` para el ``preset`` especificado, que contiene solo los archivos que han cambiado desde el último parche. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" enabled, and ZIP is selected as a file type. +Este método se llama cuando se presiona el botón "Export PCK/ZIP" en el diálogo de exportación, con "Export as Patch" habilitado, y ZIP se selecciona como tipo de archivo. -\ **Note:** The patches provided in ``patches`` have already been loaded when this method is called and are merely provided as context. When empty the patches defined in the export preset have been loaded instead. +\ **Nota:** Los parches proporcionados en ``patches`` ya se han cargado cuando se llama a este método y simplemente se proporcionan como contexto. Cuando esté vacío, se cargarán los parches definidos en el preset de exportación. .. rst-class:: classref-item-separator @@ -225,7 +225,7 @@ Devuelve un array de extensiones binarias compatibles para la exportación compl :ref:`String` **_get_debug_protocol**\ (\ ) |virtual| |const| :ref:`🔗` -Returns protocol used for remote debugging. Default implementation return ``tcp://``. +Devuelve el protocolo utilizado para la depuración remota. La implementación predeterminada devuelve ``tcp://``. .. rst-class:: classref-item-separator @@ -249,7 +249,7 @@ Devuelve la arquitectura del dispositivo para una implementación con un solo cl :ref:`bool` **_get_export_option_visibility**\ (\ preset\: :ref:`EditorExportPreset`, option\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Validates ``option`` and returns visibility for the specified ``preset``. Default implementation return ``true`` for all options. +Valida ``option`` y devuelve la visibilidad para el ``preset`` especificado. La implementación predeterminada devuelve ``true`` para todas las opciones. .. rst-class:: classref-item-separator @@ -261,7 +261,7 @@ Validates ``option`` and returns visibility for the specified ``preset``. Defaul :ref:`String` **_get_export_option_warning**\ (\ preset\: :ref:`EditorExportPreset`, option\: :ref:`StringName`\ ) |virtual| |const| :ref:`🔗` -Validates ``option`` and returns warning message for the specified ``preset``. Default implementation return empty string for all options. +Valida ``option`` y devuelve un mensaje de advertencia para el ``preset`` especificado. La implementación predeterminada devuelve una cadena vacía para todas las opciones. .. rst-class:: classref-item-separator @@ -273,9 +273,9 @@ Validates ``option`` and returns warning message for the specified ``preset``. D :ref:`Array`\[:ref:`Dictionary`\] **_get_export_options**\ (\ ) |virtual| |const| :ref:`🔗` -Returns a property list, as an :ref:`Array` of dictionaries. Each :ref:`Dictionary` must at least contain the ``name: StringName`` and ``type: Variant.Type`` entries. +Devuelve una lista de propiedades, como un :ref:`Array` de diccionarios. Cada :ref:`Dictionary` debe contener al menos las entradas ``name: StringName`` y ``type: Variant.Type``. -Additionally, the following keys are supported: +Además, se admiten las siguientes claves: - ``hint: PropertyHint``\ @@ -285,13 +285,13 @@ Additionally, the following keys are supported: - ``class_name: StringName``\ -- ``default_value: Variant``, default value of the property. +- ``default_value: Variant``, valor predeterminado de la propiedad. -- ``update_visibility: bool``, if set to ``true``, :ref:`_get_export_option_visibility()` is called for each property when this property is changed. +- ``update_visibility: bool``, si se establece en ``true``, :ref:`_get_export_option_visibility()` se llama para cada propiedad cuando se cambia esta propiedad. -- ``required: bool``, if set to ``true``, this property warnings are critical, and should be resolved to make export possible. This value is a hint for the :ref:`_has_valid_export_configuration()` implementation, and not used by the engine directly. +- ``required: bool``, si se establece en ``true``, las advertencias de esta propiedad son críticas y deben resolverse para que la exportación sea posible. Este valor es una sugerencia para la implementación de :ref:`_has_valid_export_configuration()` y no es utilizado directamente por el motor. -See also :ref:`Object._get_property_list()`. +Véase también :ref:`Object._get_property_list()`. .. rst-class:: classref-item-separator @@ -303,7 +303,7 @@ See also :ref:`Object._get_property_list()` **_get_logo**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Returns the platform logo displayed in the export dialog. The logo should be 32×32 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Devuelve el logo de la plataforma que se muestra en el diálogo de exportación. El logo debería ser de 32×32 píxeles, ajustado a la escala actual del editor (véase :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -327,7 +327,7 @@ Devuelve el nombre de la plataforma de exportación. :ref:`Texture2D` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the item icon for the specified ``device`` in the one-click deploy menu. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Devuelve el icono del elemento para el ``device`` especificado en el menú de implementación con un solo clic. El icono debe ser de 16×16 píxeles, ajustado a la escala actual del editor (véase :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -339,7 +339,7 @@ Returns the item icon for the specified ``device`` in the one-click deploy menu. :ref:`String` **_get_option_label**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns one-click deploy menu item label for the specified ``device``. +Devuelve la etiqueta del elemento del menú de implementación con un solo clic para el ``device`` especificado. .. rst-class:: classref-item-separator @@ -351,7 +351,7 @@ Returns one-click deploy menu item label for the specified ``device``. :ref:`String` **_get_option_tooltip**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns one-click deploy menu item tooltip for the specified ``device``. +Devuelve la información sobre la herramienta del elemento del menú de implementación con un solo clic para el ``device`` especificado. .. rst-class:: classref-item-separator @@ -363,7 +363,7 @@ Returns one-click deploy menu item tooltip for the specified ``device``. :ref:`int` **_get_options_count**\ (\ ) |virtual| |const| :ref:`🔗` -Returns the number of devices (or other options) available in the one-click deploy menu. +Devuelve el número de dispositivos (u otras opciones) disponibles en el menú de implementación con un solo clic. .. rst-class:: classref-item-separator @@ -423,7 +423,7 @@ Devuelve un array de características específicas de la plataforma para el ``pr :ref:`Texture2D` **_get_run_icon**\ (\ ) |virtual| |const| :ref:`🔗` -Returns the icon of the one-click deploy menu button. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Devuelve el icono del botón del menú de implementación con un solo clic. El icono debe ser de 16×16 píxeles, ajustado a la escala actual del editor (véase :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -459,7 +459,7 @@ Devuelve ``true`` si la configuración del proyecto es válida. :ref:`bool` **_is_executable**\ (\ path\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Returns ``true`` if specified file is a valid executable (native executable or script) for the target platform. +Devuelve ``true`` si el archivo especificado es un ejecutable válido (ejecutable nativo o script) para la plataforma de destino. .. rst-class:: classref-item-separator @@ -471,7 +471,7 @@ Returns ``true`` if specified file is a valid executable (native executable or s :ref:`bool` **_poll_export**\ (\ ) |virtual| :ref:`🔗` -Returns ``true`` if one-click deploy options are changed and editor interface should be updated. +Devuelve ``true`` si las opciones de implementación con un solo clic se han cambiado y la interfaz del editor debería actualizarse. .. rst-class:: classref-item-separator @@ -483,9 +483,9 @@ Returns ``true`` if one-click deploy options are changed and editor interface sh :ref:`Error` **_run**\ (\ preset\: :ref:`EditorExportPreset`, device\: :ref:`int`, debug_flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -This method is called when ``device`` one-click deploy menu option is selected. +Este método se llama cuando se selecciona la opción del menú de implementación con un solo clic ``device``. -Implementation should export project to a temporary location, upload and run it on the specific ``device``, or perform another action associated with the menu item. +La implementación debería exportar el proyecto a una ubicación temporal, cargarlo y ejecutarlo en el ``device`` específico, o realizar otra acción asociada con el elemento del menú. .. rst-class:: classref-item-separator @@ -497,7 +497,7 @@ Implementation should export project to a temporary location, upload and run it :ref:`bool` **_should_update_export_options**\ (\ ) |virtual| :ref:`🔗` -Returns ``true`` if export options list is changed and presets should be updated. +Devuelve ``true`` si la lista de opciones de exportación ha cambiado y los preajustes deberían actualizarse. .. rst-class:: classref-item-separator @@ -509,7 +509,7 @@ Returns ``true`` if export options list is changed and presets should be updated :ref:`String` **get_config_error**\ (\ ) |const| :ref:`🔗` -Returns current configuration error message text. This method should be called only from the :ref:`_can_export()`, :ref:`_has_valid_export_configuration()`, or :ref:`_has_valid_project_configuration()` implementations. +Devuelve el texto del mensaje de error de configuración actual. Este método solo debe llamarse desde las implementaciones de :ref:`_can_export()`, :ref:`_has_valid_export_configuration()` o :ref:`_has_valid_project_configuration()`. .. rst-class:: classref-item-separator @@ -521,7 +521,7 @@ Returns current configuration error message text. This method should be called o :ref:`bool` **get_config_missing_templates**\ (\ ) |const| :ref:`🔗` -Returns ``true`` is export templates are missing from the current configuration. This method should be called only from the :ref:`_can_export()`, :ref:`_has_valid_export_configuration()`, or :ref:`_has_valid_project_configuration()` implementations. +Devuelve ``true`` si faltan plantillas de exportación en la configuración actual. Este método solo debe llamarse desde las implementaciones de :ref:`_can_export()`, :ref:`_has_valid_export_configuration()` o :ref:`_has_valid_project_configuration()`. .. rst-class:: classref-item-separator @@ -533,7 +533,7 @@ Returns ``true`` is export templates are missing from the current configuration. |void| **set_config_error**\ (\ error_text\: :ref:`String`\ ) |const| :ref:`🔗` -Sets current configuration error message text. This method should be called only from the :ref:`_can_export()`, :ref:`_has_valid_export_configuration()`, or :ref:`_has_valid_project_configuration()` implementations. +Establece el texto del mensaje de error de configuración actual. Este método solo debe llamarse desde las implementaciones de :ref:`_can_export()`, :ref:`_has_valid_export_configuration()` o :ref:`_has_valid_project_configuration()`. .. rst-class:: classref-item-separator @@ -545,7 +545,7 @@ Sets current configuration error message text. This method should be called only |void| **set_config_missing_templates**\ (\ missing_templates\: :ref:`bool`\ ) |const| :ref:`🔗` -Set to ``true`` is export templates are missing from the current configuration. This method should be called only from the :ref:`_can_export()`, :ref:`_has_valid_export_configuration()`, or :ref:`_has_valid_project_configuration()` implementations. +Establece en ``true`` si faltan plantillas de exportación en la configuración actual. Este método solo debe llamarse desde las implementaciones de :ref:`_can_export()`, :ref:`_has_valid_export_configuration()` o :ref:`_has_valid_project_configuration()`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorexportplatformios.rst b/classes/es/class_editorexportplatformios.rst index 86e6371fb4..04e161bed3 100644 --- a/classes/es/class_editorexportplatformios.rst +++ b/classes/es/class_editorexportplatformios.rst @@ -556,7 +556,7 @@ Apple Team ID, unique 10-character string. To locate your Team ID check "Members :ref:`String` **application/bundle_identifier** :ref:`🔗` -Unique application identifier in a reverse-DNS format, can only contain alphanumeric characters (``A-Z``, ``a-z``, and ``0-9``), hyphens (``-``), and periods (``.``). +Identificador único de la aplicación en formato DNS inverso, solo puede contener caracteres alfanuméricos (``A-Z``, ``a-z`` y ``0-9``), guiones (``-``) y puntos (``.``). .. rst-class:: classref-item-separator @@ -568,7 +568,7 @@ Unique application identifier in a reverse-DNS format, can only contain alphanum :ref:`String` **application/code_sign_identity_debug** :ref:`🔗` -The "Full Name", "Common Name", or SHA-1 hash of the signing identity used for debug export. +El "nombre completo", "nombre común" o hash SHA-1 de la identidad de firma utilizada para la exportación de depuración. .. rst-class:: classref-item-separator @@ -580,7 +580,7 @@ The "Full Name", "Common Name", or SHA-1 hash of the signing identity used for d :ref:`String` **application/code_sign_identity_release** :ref:`🔗` -The "Full Name", "Common Name", or SHA-1 hash of the signing identity used for release export. +El "nombre completo", "nombre común" o hash SHA-1 de la identidad de firma utilizada para la exportación de lanzamiento. .. rst-class:: classref-item-separator @@ -604,7 +604,7 @@ If ``true``, existing "project name" and "project name.xcodeproj" in the export :ref:`int` **application/export_method_debug** :ref:`🔗` -Application distribution target (debug export). +Objetivo de distribución de la aplicación (exportación de depuración). .. rst-class:: classref-item-separator @@ -616,7 +616,7 @@ Application distribution target (debug export). :ref:`int` **application/export_method_release** :ref:`🔗` -Application distribution target (release export). +Objetivo de distribución de la aplicación (exportación de lanzamiento). .. rst-class:: classref-item-separator @@ -628,7 +628,7 @@ Application distribution target (release export). :ref:`bool` **application/export_project_only** :ref:`🔗` -If ``true``, exports iOS project files without building an XCArchive or ``.ipa`` file. If ``false``, exports iOS project files and builds an XCArchive and ``.ipa`` file at the same time. When combining Godot with Fastlane or other build pipelines, you may want to set this to ``true``. +Si es ``true``, exporta los archivos del proyecto de iOS sin construir un archivo XCArchive o ``.ipa``. Si es ``false``, exporta los archivos del proyecto de iOS y construye un archivo XCArchive y ``.ipa`` al mismo tiempo. Cuando combines Godot con Fastlane u otros flujos de trabajo de construcción, es posible que desees establecer esto en ``true``. .. rst-class:: classref-item-separator @@ -640,7 +640,7 @@ If ``true``, exports iOS project files without building an XCArchive or ``.ipa`` :ref:`int` **application/icon_interpolation** :ref:`🔗` -Interpolation method used to resize application icon. +Método de interpolación utilizado para redimensionar el icono de la aplicación. .. rst-class:: classref-item-separator @@ -652,7 +652,7 @@ Interpolation method used to resize application icon. :ref:`String` **application/min_ios_version** :ref:`🔗` -Minimum version of iOS required for this application to run in the ``major.minor.patch`` or ``major.minor`` format, can only contain numeric characters (``0-9``) and periods (``.``). +Versión mínima de iOS requerida para que esta aplicación se ejecute en el formato ``major.minor.patch`` o ``major.minor``, solo puede contener caracteres numéricos (``0-9``) y puntos (``.``). .. rst-class:: classref-item-separator @@ -664,9 +664,9 @@ Minimum version of iOS required for this application to run in the ``major.minor :ref:`String` **application/provisioning_profile_specifier_debug** :ref:`🔗` -Name of the provisioning profile. Sets Xcode PROVISIONING_PROFILE_SPECIFIER for debug. `Used for manual provisioning `__. +Nombre del perfil de aprovisionamiento. Establece Xcode PROVISIONING_PROFILE_SPECIFIER para la depuración. `Utilizado para el aprovisionamiento manual `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG``. .. rst-class:: classref-item-separator @@ -678,9 +678,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_S :ref:`String` **application/provisioning_profile_specifier_release** :ref:`🔗` -Name of the provisioning profile. Sets Xcode PROVISIONING_PROFILE_SPECIFIER for release. `Used for manual provisioning `__. +Nombre del perfil de aprovisionamiento. Establece Xcode PROVISIONING_PROFILE_SPECIFIER para el lanzamiento. `Utilizado para el aprovisionamiento manual `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE``. .. rst-class:: classref-item-separator @@ -692,9 +692,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_S :ref:`String` **application/provisioning_profile_uuid_debug** :ref:`🔗` -UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See `Edit, download, or delete provisioning profiles `__. +UUID del perfil de aprovisionamiento. Si se deja vacío, Xcode descargará o creará un perfil de aprovisionamiento automáticamente. Véase `Editar, descargar o eliminar perfiles de aprovisionamiento `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_DEBUG``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_DEBUG``. .. rst-class:: classref-item-separator @@ -706,9 +706,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISION :ref:`String` **application/provisioning_profile_uuid_release** :ref:`🔗` -UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See `Edit, download, or delete provisioning profiles `__. +UUID del perfil de aprovisionamiento. Si se deja vacío, Xcode descargará o creará un perfil de aprovisionamiento automáticamente. Véase `Editar, descargar o eliminar perfiles de aprovisionamiento `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_RELEASE``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_RELEASE``. .. rst-class:: classref-item-separator @@ -734,7 +734,7 @@ Application version visible to the user. Can only contain numeric characters (`` :ref:`String` **application/signature** :ref:`🔗` -A four-character creator code that is specific to the bundle. Optional. +Un código de creador de cuatro caracteres que es específico del paquete. Opcional. .. rst-class:: classref-item-separator @@ -784,7 +784,7 @@ If ``true``, ``arm64`` binaries are included into exported project. :ref:`bool` **capabilities/access_wifi** :ref:`🔗` -If ``true``, networking features related to Wi-Fi access are enabled. See `Required Device Capabilities `__. +Si es ``true``, las funciones de red relacionadas con el acceso Wi-Fi están habilitadas. Véase ` Required Device Capabilities `__. .. rst-class:: classref-item-separator @@ -796,7 +796,7 @@ If ``true``, networking features related to Wi-Fi access are enabled. See `Requi :ref:`PackedStringArray` **capabilities/additional** :ref:`🔗` -Additional data added to the ``UIRequiredDeviceCapabilities`` array of the ``Info.plist`` file. +Datos adicionales añadidos al array ``UIRequiredDeviceCapabilities`` del archivo ``Info.plist``. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. @@ -810,9 +810,9 @@ Additional data added to the ``UIRequiredDeviceCapabilities`` array of the ``Inf :ref:`bool` **capabilities/performance_a12** :ref:`🔗` -Requires the graphics performance and features of the A12 Bionic and later chips (devices supporting all Vulkan renderer features). +Requiere el rendimiento gráfico y las características de los chips A12 Bionic y posteriores (dispositivos que admiten todas las características del renderizador Vulkan). -Enabling this option limits supported devices to: iPhone XS, iPhone XR, iPad Mini (5th gen.), iPad Air (3rd gen.), iPad (8th gen), and newer. +Habilitar esta opción limita los dispositivos compatibles a: iPhone XS, iPhone XR, iPad Mini (5ª generación), iPad Air (3ª generación), iPad (8ª generación) y más nuevos. .. rst-class:: classref-item-separator @@ -824,9 +824,9 @@ Enabling this option limits supported devices to: iPhone XS, iPhone XR, iPad Min :ref:`bool` **capabilities/performance_gaming_tier** :ref:`🔗` -Requires the graphics performance and features of the A17 Pro and later chips. +Requiere el rendimiento gráfico y las características de los chips A17 Pro y posteriores. -Enabling this option limits supported devices to: iPhone 15 Pro and newer. +Habilitar esta opción limita los dispositivos compatibles a: iPhone 15 Pro y más nuevos. .. rst-class:: classref-item-separator @@ -838,7 +838,7 @@ Enabling this option limits supported devices to: iPhone 15 Pro and newer. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -850,7 +850,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -862,7 +862,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **entitlements/additional** :ref:`🔗` -Additional data added to the root ```` section of the `.entitlements `__ file. The value should be an XML section with pairs of key-value elements, for example: +Datos adicionales añadidos a la sección raíz ```` del archivo `.entitlements `__. El valor debe ser una sección XML con pares de elementos clave-valor, por ejemplo: .. code:: text @@ -879,7 +879,7 @@ Additional data added to the root ```` section of the `.entitlements ` **entitlements/game_center** :ref:`🔗` -If ``true``, allows access to Game Center features. See `com.apple.developer.game-center `__. +Si es ``true``, permite el acceso a las funciones de Game Center. Véase `com.apple.developer.game-center `__. .. rst-class:: classref-item-separator @@ -891,7 +891,7 @@ If ``true``, allows access to Game Center features. See `com.apple.developer.gam :ref:`bool` **entitlements/increased_memory_limit** :ref:`🔗` -If ``true``, hints that the app might perform better with a higher memory limit. See `com.apple.developer.kernel.increased-memory-limit `__. +Si es ``true``, indica que la aplicación podría funcionar mejor con un límite de memoria más alto. Véase `com.apple.developer.kernel.increased-memory-limit `__. .. rst-class:: classref-item-separator @@ -903,7 +903,7 @@ If ``true``, hints that the app might perform better with a higher memory limit. :ref:`String` **entitlements/push_notifications** :ref:`🔗` -Environment for Apple Push Notification service. See `aps-environment `__. +Entorno para el servicio de notificaciones push de Apple. Véase `aps-environment `__. .. rst-class:: classref-item-separator @@ -915,7 +915,7 @@ Environment for Apple Push Notification service. See `aps-environment ` **icons/app_store_1024x1024** :ref:`🔗` -App Store application icon file. If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de la App Store. Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -927,7 +927,7 @@ App Store application icon file. If left empty, it will fallback to :ref:`Projec :ref:`String` **icons/app_store_1024x1024_dark** :ref:`🔗` -App Store application icon file, dark version. See `App icons `__. +Archivo de icono de la aplicación de la App Store, versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -939,7 +939,7 @@ App Store application icon file, dark version. See `App icons ` **icons/app_store_1024x1024_tinted** :ref:`🔗` -App Store application icon file, tinted version. See `App icons `__. +Archivo de icono de la aplicación de la App Store, versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -951,7 +951,7 @@ App Store application icon file, tinted version. See `App icons ` **icons/icon_1024x1024** :ref:`🔗` -Base application icon used to generate other icons. If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos. Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -963,7 +963,7 @@ Base application icon used to generate other icons. If left empty, it will fallb :ref:`String` **icons/icon_1024x1024_dark** :ref:`🔗` -Base application icon used to generate other icons, dark version. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos, versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -975,7 +975,7 @@ Base application icon used to generate other icons, dark version. See `App icons :ref:`String` **icons/icon_1024x1024_tinted** :ref:`🔗` -Base application icon used to generate other icons, tinted version. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos, versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -987,7 +987,7 @@ Base application icon used to generate other icons, tinted version. See `App ico :ref:`String` **icons/ios_128x128** :ref:`🔗` -iOS application 64x64 icon file (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -999,7 +999,7 @@ iOS application 64x64 icon file (2x DPI). If left empty, it will fallback to :re :ref:`String` **icons/ios_128x128_dark** :ref:`🔗` -iOS application 64x64 icon file (2x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1011,7 +1011,7 @@ iOS application 64x64 icon file (2x DPI), dark version. See `App icons ` **icons/ios_128x128_tinted** :ref:`🔗` -iOS application 64x64 icon file (2x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1023,7 +1023,7 @@ iOS application 64x64 icon file (2x DPI), tinted version. See `App icons ` **icons/ios_136x136** :ref:`🔗` -iOS application 68x68 icon file (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de iOS de 68x68 (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1035,7 +1035,7 @@ iOS application 68x68 icon file (2x DPI). If left empty, it will fallback to :re :ref:`String` **icons/ios_136x136_dark** :ref:`🔗` -iOS application 68x68 icon file (2x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 68x68 (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1047,7 +1047,7 @@ iOS application 68x68 icon file (2x DPI), dark version. See `App icons ` **icons/ios_136x136_tinted** :ref:`🔗` -iOS application 68x68 icon file (2x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 68x68 (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1059,7 +1059,7 @@ iOS application 68x68 icon file (2x DPI), tinted version. See `App icons ` **icons/ios_192x192** :ref:`🔗` -iOS application 64x64 icon file (3x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (3x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1071,7 +1071,7 @@ iOS application 64x64 icon file (3x DPI). If left empty, it will fallback to :re :ref:`String` **icons/ios_192x192_dark** :ref:`🔗` -iOS application 64x64 icon file (3x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (3x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1083,7 +1083,7 @@ iOS application 64x64 icon file (3x DPI), dark version. See `App icons ` **icons/ios_192x192_tinted** :ref:`🔗` -iOS application 64x64 icon file (3x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de iOS de 64x64 (3x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1095,7 +1095,7 @@ iOS application 64x64 icon file (3x DPI), tinted version. See `App icons ` **icons/ipad_152x152** :ref:`🔗` -Home screen application icon file on iPad (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1107,7 +1107,7 @@ Home screen application icon file on iPad (2x DPI). If left empty, it will fallb :ref:`String` **icons/ipad_152x152_dark** :ref:`🔗` -Home screen application icon file on iPad (2x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1119,7 +1119,7 @@ Home screen application icon file on iPad (2x DPI), dark version. See `App icons :ref:`String` **icons/ipad_152x152_tinted** :ref:`🔗` -Home screen application icon file on iPad (2x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1131,7 +1131,7 @@ Home screen application icon file on iPad (2x DPI), tinted version. See `App ico :ref:`String` **icons/ipad_167x167** :ref:`🔗` -Home screen application icon file on iPad (3x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (3x DPI). Si se deja vacío,volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1143,7 +1143,7 @@ Home screen application icon file on iPad (3x DPI). If left empty, it will fallb :ref:`String` **icons/ipad_167x167_dark** :ref:`🔗` -Home screen application icon file on iPad (3x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (3x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1155,7 +1155,7 @@ Home screen application icon file on iPad (3x DPI), dark version. See `App icons :ref:`String` **icons/ipad_167x167_tinted** :ref:`🔗` -Home screen application icon file on iPad (3x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPad (3x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1167,7 +1167,7 @@ Home screen application icon file on iPad (3x DPI), tinted version. See `App ico :ref:`String` **icons/iphone_120x120** :ref:`🔗` -Home screen application icon file on iPhone (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1179,7 +1179,7 @@ Home screen application icon file on iPhone (2x DPI). If left empty, it will fal :ref:`String` **icons/iphone_120x120_dark** :ref:`🔗` -Home screen application icon file on iPhone (2x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1191,7 +1191,7 @@ Home screen application icon file on iPhone (2x DPI), dark version. See `App ico :ref:`String` **icons/iphone_120x120_tinted** :ref:`🔗` -Home screen application icon file on iPhone (2x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1203,7 +1203,7 @@ Home screen application icon file on iPhone (2x DPI), tinted version. See `App i :ref:`String` **icons/iphone_180x180** :ref:`🔗` -Home screen application icon file on iPhone (3x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (3x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1215,7 +1215,7 @@ Home screen application icon file on iPhone (3x DPI). If left empty, it will fal :ref:`String` **icons/iphone_180x180_dark** :ref:`🔗` -Home screen application icon file on iPhone (3x DPI), dark version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (3x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1227,7 +1227,7 @@ Home screen application icon file on iPhone (3x DPI), dark version. See `App ico :ref:`String` **icons/iphone_180x180_tinted** :ref:`🔗` -Home screen application icon file on iPhone (3x DPI), tinted version. See `App icons `__. +Archivo de icono de la aplicación de la pantalla de inicio en iPhone (3x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1239,7 +1239,7 @@ Home screen application icon file on iPhone (3x DPI), tinted version. See `App i :ref:`String` **icons/notification_40x40** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `]Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1251,7 +1251,7 @@ Notification icon file on iPad and iPhone (2x DPI). If left empty, it will fallb :ref:`String` **icons/notification_40x40_dark** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI), dark version. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1263,7 +1263,7 @@ Notification icon file on iPad and iPhone (2x DPI), dark version. See `App icons :ref:`String` **icons/notification_40x40_tinted** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI), tinted version. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1275,7 +1275,7 @@ Notification icon file on iPad and iPhone (2x DPI), tinted version. See `App ico :ref:`String` **icons/notification_60x60** :ref:`🔗` -Notification icon file on iPhone (3x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de notificación en iPhone (3x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1311,7 +1311,7 @@ Notification icon file on iPhone (3x DPI), tinted version. See `App icons ` **icons/notification_76x76** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI). If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI). Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `]Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1323,7 +1323,7 @@ Notification icon file on iPad and iPhone (2x DPI). If left empty, it will fallb :ref:`String` **icons/notification_76x76_dark** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI), dark version. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI), versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -1335,7 +1335,7 @@ Notification icon file on iPad and iPhone (2x DPI), dark version. See `App icons :ref:`String` **icons/notification_76x76_tinted** :ref:`🔗` -Notification icon file on iPad and iPhone (2x DPI), tinted version. See `App icons `__. +Archivo de icono de notificación en iPad y iPhone (2x DPI), versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -3365,7 +3365,7 @@ Las razones por las que tu aplicación usa la API de valores predeterminados del :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Si es ``true``, los shaders se compilarán e integrarán en la aplicación. Esta opción solo es compatible cuando se utilizan los renderizadores Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorexportplatformlinuxbsd.rst b/classes/es/class_editorexportplatformlinuxbsd.rst index 20c9a6c04f..6a1925c7ad 100644 --- a/classes/es/class_editorexportplatformlinuxbsd.rst +++ b/classes/es/class_editorexportplatformlinuxbsd.rst @@ -99,7 +99,7 @@ If ``true``, project resources are embedded into the executable. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -111,7 +111,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -135,7 +135,7 @@ If ``true``, a console wrapper is exported alongside the main executable, which :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Si es ``true``, los shaders se compilarán e integrarán en la aplicación. Esta opción solo es compatible cuando se utilizan los renderizadores Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorexportplatformmacos.rst b/classes/es/class_editorexportplatformmacos.rst index 6085bc17fd..29b16d03dd 100644 --- a/classes/es/class_editorexportplatformmacos.rst +++ b/classes/es/class_editorexportplatformmacos.rst @@ -544,7 +544,7 @@ Categoría de aplicaciones para la App Store. :ref:`String` **application/bundle_identifier** :ref:`🔗` -Unique application identifier in a reverse-DNS format, can only contain alphanumeric characters (``A-Z``, ``a-z``, and ``0-9``), hyphens (``-``), and periods (``.``). +Identificador único de la aplicación en formato DNS inverso, solo puede contener caracteres alfanuméricos (``A-Z``, ``a-z`` y ``0-9``), guiones (``-``) y puntos (``.``). .. rst-class:: classref-item-separator @@ -604,7 +604,7 @@ Application icon file. If left empty, it will fallback to :ref:`ProjectSettings. :ref:`int` **application/icon_interpolation** :ref:`🔗` -Interpolation method used to resize application icon. +Método de interpolación utilizado para redimensionar el icono de la aplicación. .. rst-class:: classref-item-separator @@ -654,7 +654,7 @@ Application version visible to the user. Can only contain numeric characters (`` :ref:`String` **application/signature** :ref:`🔗` -A four-character creator code that is specific to the bundle. Optional. +Un código de creador de cuatro caracteres que es específico del paquete. Opcional. .. rst-class:: classref-item-separator @@ -762,7 +762,7 @@ Array of the additional command line arguments passed to the code signing tool. :ref:`String` **codesign/entitlements/additional** :ref:`🔗` -Additional data added to the root ```` section of the `.entitlements `__ file. The value should be an XML section with pairs of key-value elements, for example: +Datos adicionales añadidos a la sección raíz ```` del archivo `.entitlements `__. El valor debe ser una sección XML con pares de elementos clave-valor, por ejemplo: .. code:: text @@ -1107,7 +1107,7 @@ Can be overridden with the environment variable ``GODOT_MACOS_CODESIGN_PROVISION :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -1119,7 +1119,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -1155,7 +1155,7 @@ If ``true``, the application is rendered at native display resolution, otherwise :ref:`int` **export/distribution_type** :ref:`🔗` -Application distribution target. +Destino de distribución de aplicaciones. .. rst-class:: classref-item-separator @@ -3219,7 +3219,7 @@ Indicates whether your app uses data for tracking. See `Privacy manifest files < :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Si es ``true``, los shaders se compilarán e integrarán en la aplicación. Esta opción solo es compatible cuando se utilizan los renderizadores Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorexportplatformpc.rst b/classes/es/class_editorexportplatformpc.rst index 052255ab96..5613eefae8 100644 --- a/classes/es/class_editorexportplatformpc.rst +++ b/classes/es/class_editorexportplatformpc.rst @@ -23,7 +23,7 @@ The base class for the desktop platform exporters. These include Windows and Lin Tutoriales -------------------- -- :doc:`Exporting for Windows <../tutorials/export/exporting_for_windows>` +- :doc:`Exportar a Windows <../tutorials/export/exporting_for_windows>` - :doc:`Exportando a Linux <../tutorials/export/exporting_for_linux>` diff --git a/classes/es/class_editorexportplatformvisionos.rst b/classes/es/class_editorexportplatformvisionos.rst index 46dee1b25d..392be68973 100644 --- a/classes/es/class_editorexportplatformvisionos.rst +++ b/classes/es/class_editorexportplatformvisionos.rst @@ -448,7 +448,7 @@ Apple Team ID, unique 10-character string. To locate your Team ID check "Members :ref:`String` **application/bundle_identifier** :ref:`🔗` -Unique application identifier in a reverse-DNS format, can only contain alphanumeric characters (``A-Z``, ``a-z``, and ``0-9``), hyphens (``-``), and periods (``.``). +Identificador único de la aplicación en formato DNS inverso, solo puede contener caracteres alfanuméricos (``A-Z``, ``a-z`` y ``0-9``), guiones (``-``) y puntos (``.``). .. rst-class:: classref-item-separator @@ -496,7 +496,7 @@ If ``true``, existing "project name" and "project name.xcodeproj" in the export :ref:`int` **application/export_method_debug** :ref:`🔗` -Application distribution target (debug export). +Objetivo de distribución de la aplicación (exportación de depuración). .. rst-class:: classref-item-separator @@ -508,7 +508,7 @@ Application distribution target (debug export). :ref:`int` **application/export_method_release** :ref:`🔗` -Application distribution target (release export). +Objetivo de distribución de la aplicación (exportación de lanzamiento). .. rst-class:: classref-item-separator @@ -520,7 +520,7 @@ Application distribution target (release export). :ref:`bool` **application/export_project_only** :ref:`🔗` -If ``true``, exports iOS project files without building an XCArchive or ``.ipa`` file. If ``false``, exports iOS project files and builds an XCArchive and ``.ipa`` file at the same time. When combining Godot with Fastlane or other build pipelines, you may want to set this to ``true``. +Si es ``true``, exporta los archivos del proyecto de iOS sin construir un archivo XCArchive o ``.ipa``. Si es ``false``, exporta los archivos del proyecto de iOS y construye un archivo XCArchive y ``.ipa`` al mismo tiempo. Cuando combines Godot con Fastlane u otros flujos de trabajo de construcción, es posible que desees establecer esto en ``true``. .. rst-class:: classref-item-separator @@ -532,7 +532,7 @@ If ``true``, exports iOS project files without building an XCArchive or ``.ipa`` :ref:`int` **application/icon_interpolation** :ref:`🔗` -Interpolation method used to resize application icon. +Método de interpolación utilizado para redimensionar el icono de la aplicación. .. rst-class:: classref-item-separator @@ -586,9 +586,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_S :ref:`String` **application/provisioning_profile_uuid_debug** :ref:`🔗` -UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See `Edit, download, or delete provisioning profiles `__. +UUID del perfil de aprovisionamiento. Si se deja vacío, Xcode descargará o creará un perfil de aprovisionamiento automáticamente. Véase `Editar, descargar o eliminar perfiles de aprovisionamiento `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_DEBUG``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_DEBUG``. .. rst-class:: classref-item-separator @@ -600,9 +600,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISION :ref:`String` **application/provisioning_profile_uuid_release** :ref:`🔗` -UUID of the provisioning profile. If left empty, Xcode will download or create a provisioning profile automatically. See `Edit, download, or delete provisioning profiles `__. +UUID del perfil de aprovisionamiento. Si se deja vacío, Xcode descargará o creará un perfil de aprovisionamiento automáticamente. Véase `Editar, descargar o eliminar perfiles de aprovisionamiento `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_RELEASE``. +Se puede anular con la variable de entorno `` GODOT_APPLE_PLATFORM_PROVISIONING_PROFILE_UUID_RELEASE``. .. rst-class:: classref-item-separator @@ -628,7 +628,7 @@ Application version visible to the user. Can only contain numeric characters (`` :ref:`String` **application/signature** :ref:`🔗` -A four-character creator code that is specific to the bundle. Optional. +Un código de creador de cuatro caracteres que es específico del paquete. Opcional. .. rst-class:: classref-item-separator @@ -666,7 +666,7 @@ If ``true``, ``arm64`` binaries are included into exported project. :ref:`bool` **capabilities/access_wifi** :ref:`🔗` -If ``true``, networking features related to Wi-Fi access are enabled. See `Required Device Capabilities `__. +Si es ``true``, las funciones de red relacionadas con el acceso Wi-Fi están habilitadas. Véase ` Required Device Capabilities `__. .. rst-class:: classref-item-separator @@ -678,7 +678,7 @@ If ``true``, networking features related to Wi-Fi access are enabled. See `Requi :ref:`PackedStringArray` **capabilities/additional** :ref:`🔗` -Additional data added to the ``UIRequiredDeviceCapabilities`` array of the ``Info.plist`` file. +Datos adicionales añadidos al array ``UIRequiredDeviceCapabilities`` del archivo ``Info.plist``. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. @@ -706,9 +706,9 @@ Enabling this option limits supported devices to: iPhone XS, iPhone XR, iPad Min :ref:`bool` **capabilities/performance_gaming_tier** :ref:`🔗` -Requires the graphics performance and features of the A17 Pro and later chips. +Requiere el rendimiento gráfico y las características de los chips A17 Pro y posteriores. -Enabling this option limits supported devices to: iPhone 15 Pro and newer. +Habilitar esta opción limita los dispositivos compatibles a: iPhone 15 Pro y más nuevos. .. rst-class:: classref-item-separator @@ -720,7 +720,7 @@ Enabling this option limits supported devices to: iPhone 15 Pro and newer. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -732,7 +732,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -744,7 +744,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **entitlements/additional** :ref:`🔗` -Additional data added to the root ```` section of the `.entitlements `__ file. The value should be an XML section with pairs of key-value elements, for example: +Datos adicionales añadidos a la sección raíz ```` del archivo `.entitlements `__. El valor debe ser una sección XML con pares de elementos clave-valor, por ejemplo: .. code:: text @@ -761,7 +761,7 @@ Additional data added to the root ```` section of the `.entitlements ` **entitlements/game_center** :ref:`🔗` -If ``true``, allows access to Game Center features. See `com.apple.developer.game-center `__. +Si es ``true``, permite el acceso a las funciones de Game Center. Véase `com.apple.developer.game-center `__. .. rst-class:: classref-item-separator @@ -773,7 +773,7 @@ If ``true``, allows access to Game Center features. See `com.apple.developer.gam :ref:`bool` **entitlements/increased_memory_limit** :ref:`🔗` -If ``true``, hints that the app might perform better with a higher memory limit. See `com.apple.developer.kernel.increased-memory-limit `__. +Si es ``true``, indica que la aplicación podría funcionar mejor con un límite de memoria más alto. Véase `com.apple.developer.kernel.increased-memory-limit `__. .. rst-class:: classref-item-separator @@ -785,7 +785,7 @@ If ``true``, hints that the app might perform better with a higher memory limit. :ref:`String` **entitlements/push_notifications** :ref:`🔗` -Environment for Apple Push Notification service. See `aps-environment `__. +Entorno para el servicio de notificaciones push de Apple. Véase `aps-environment `__. .. rst-class:: classref-item-separator @@ -797,7 +797,7 @@ Environment for Apple Push Notification service. See `aps-environment ` **icons/icon_1024x1024** :ref:`🔗` -Base application icon used to generate other icons. If left empty, it will fallback to :ref:`ProjectSettings.application/config/icon`. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos. Si se deja vacío, volverá a :ref:`ProjectSettings.application/config/icon`. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -809,7 +809,7 @@ Base application icon used to generate other icons. If left empty, it will fallb :ref:`String` **icons/icon_1024x1024_dark** :ref:`🔗` -Base application icon used to generate other icons, dark version. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos, versión oscura. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator @@ -821,7 +821,7 @@ Base application icon used to generate other icons, dark version. See `App icons :ref:`String` **icons/icon_1024x1024_tinted** :ref:`🔗` -Base application icon used to generate other icons, tinted version. See `App icons `__. +Icono de la aplicación base utilizado para generar otros iconos, versión tintada. Véase `Iconos de aplicación `__. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorexportplatformwindows.rst b/classes/es/class_editorexportplatformwindows.rst index 0cfed8e7e5..ecf038ae42 100644 --- a/classes/es/class_editorexportplatformwindows.rst +++ b/classes/es/class_editorexportplatformwindows.rst @@ -21,7 +21,7 @@ The Windows exporter customizes how a Windows build is handled. In the editor's Tutoriales -------------------- -- :doc:`Exporting for Windows <../tutorials/export/exporting_for_windows>` +- :doc:`Exportar a Windows <../tutorials/export/exporting_for_windows>` .. rst-class:: classref-reftable-group @@ -232,7 +232,7 @@ Application icon file. If left empty, it will fallback to :ref:`ProjectSettings. :ref:`int` **application/icon_interpolation** :ref:`🔗` -Interpolation method used to resize application icon. +Método de interpolación utilizado para redimensionar el icono de la aplicación. .. rst-class:: classref-item-separator @@ -434,7 +434,7 @@ URL of the time stamp server. If left empty, the default server is used. See `Si :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator @@ -446,7 +446,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Ruta a la plantilla de exportación personalizada. Si se deja vacío, se utiliza la plantilla predeterminada. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorexportplugin.rst b/classes/es/class_editorexportplugin.rst index ba0760ce5f..9382d52f09 100644 --- a/classes/es/class_editorexportplugin.rst +++ b/classes/es/class_editorexportplugin.rst @@ -23,7 +23,7 @@ To use **EditorExportPlugin**, register it using the :ref:`EditorPlugin.add_expo Tutoriales -------------------- -- :doc:`Export Android plugins <../tutorials/platform/android/android_plugin>` +- :doc:`Exportar plugins de Android <../tutorials/platform/android/android_plugin>` .. rst-class:: classref-reftable-group diff --git a/classes/es/class_editornode3dgizmo.rst b/classes/es/class_editornode3dgizmo.rst index 311d52313d..e4baae0e15 100644 --- a/classes/es/class_editornode3dgizmo.rst +++ b/classes/es/class_editornode3dgizmo.rst @@ -351,7 +351,7 @@ Devuelve el nodo :ref:`Node3D` asociado con este gizmo. :ref:`EditorNode3DGizmoPlugin` **get_plugin**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`EditorNode3DGizmoPlugin` that owns this gizmo. It's useful to retrieve materials using :ref:`EditorNode3DGizmoPlugin.get_material()`. +Devuelve el :ref:`EditorNode3DGizmoPlugin` que posee este gizmo. Es útil para recuperar materiales usando el :ref:`EditorNode3DGizmoPlugin.get_material()`. .. rst-class:: classref-item-separator @@ -399,7 +399,7 @@ Establece el estado oculto del aparato. Si es ``true``, el aparato estará ocult |void| **set_node_3d**\ (\ node\: :ref:`Node`\ ) :ref:`🔗` -Sets the reference :ref:`Node3D` node for the gizmo. ``node`` must inherit from :ref:`Node3D`. +Establece el nodo de referencia :ref:`Node3D` para el aparato. El ``node`` debe heredar de :ref:`Node3D`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editornode3dgizmoplugin.rst b/classes/es/class_editornode3dgizmoplugin.rst index 3209de0465..98ed319d58 100644 --- a/classes/es/class_editornode3dgizmoplugin.rst +++ b/classes/es/class_editornode3dgizmoplugin.rst @@ -7,7 +7,7 @@ EditorNode3DGizmoPlugin **Hereda:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -A class used by the editor to define Node3D gizmo types. +Usado por el editor para definir los tipos de gizmo de Node3D. .. rst-class:: classref-introduction-group @@ -23,7 +23,7 @@ To use **EditorNode3DGizmoPlugin**, register it using the :ref:`EditorPlugin.add Tutoriales -------------------- -- :doc:`Node3D gizmo plugins <../tutorials/plugins/editor/3d_gizmos>` +- :doc:`Plugins de gizmos de Node3D <../tutorials/plugins/editor/3d_gizmos>` .. rst-class:: classref-reftable-group @@ -232,7 +232,7 @@ Override this method to return the current transform of a subgizmo. As with all :ref:`bool` **_has_gizmo**\ (\ for_node_3d\: :ref:`Node3D`\ ) |virtual| |const| :ref:`🔗` -Override this method to define which Node3D nodes have a gizmo from this plugin. Whenever a :ref:`Node3D` node is added to a scene this method is called, if it returns ``true`` the node gets a generic :ref:`EditorNode3DGizmo` assigned and is added to this plugin's list of active gizmos. +Sobrescribe este método para definir qué nodos de Node3D tienen un gizmo de este plugin. Cada vez que se añade un nodo :ref:`Node3D` a una escena se llama a este método, si devuelve ``true`` el nodo obtiene un :ref:`EditorNode3DGizmo` genérico asignado y se añade a la lista de gizmos activos de este plugin. .. rst-class:: classref-item-separator @@ -358,7 +358,7 @@ You can optionally provide a texture to use instead of the default icon. |void| **create_icon_material**\ (\ name\: :ref:`String`, texture\: :ref:`Texture2D`, on_top\: :ref:`bool` = false, color\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Crea un material de iconos con sus variantes (seleccionadas y/o editables) y las añade a la lista de material interno. Se puede acceder a ellas con :ref:`get_material()` y utilizarlas en :ref:`EditorSpatialGizmo.add_unscaled_billboard()`. No debe sobrescribirse. +Crea un material de iconos con sus variantes (seleccionadas y/o editables) y las añade a la lista de material interno. Se puede acceder a ellas con :ref:`get_material()` y utilizarlas en :ref:`EditorNode3DGizmo.add_unscaled_billboard()`. No debe sobrescribirse. .. rst-class:: classref-item-separator @@ -370,7 +370,7 @@ Crea un material de iconos con sus variantes (seleccionadas y/o editables) y las |void| **create_material**\ (\ name\: :ref:`String`, color\: :ref:`Color`, billboard\: :ref:`bool` = false, on_top\: :ref:`bool` = false, use_vertex_color\: :ref:`bool` = false\ ) :ref:`🔗` -Crea un material sin sombreado con sus variantes (seleccionadas y/o editables) y las añade a la lista de material interno. Se puede acceder a ellas con :ref:`get_material()` y utilizarlas en :ref:`EditorSpatialGizmo.add_mesh()` y :ref:`EditorSpatialGizmo.add_lines()`. No debe sobrescribirse. +Crea un material sin sombreado con sus variantes (seleccionadas y/o editables) y las añade a la lista de material interno. Se puede acceder a ellas con :ref:`get_material()` y utilizarlas en :ref:`EditorNode3DGizmo.add_mesh()` y :ref:`EditorNode3DGizmo.add_lines()`. No debe sobrescribirse. .. rst-class:: classref-item-separator @@ -382,7 +382,7 @@ Crea un material sin sombreado con sus variantes (seleccionadas y/o editables) y :ref:`StandardMaterial3D` **get_material**\ (\ name\: :ref:`String`, gizmo\: :ref:`EditorNode3DGizmo` = null\ ) :ref:`🔗` -Obtiene el material de la lista interna de materiales. Si se proporciona un ``EditorSpatialGizmo``, intentará obtener la variable correspondiente (seleccionada y/o editable). +Obtiene el material de la lista interna de materiales. Si se proporciona un :ref:`EditorNode3DGizmo`, intentará obtener la variable correspondiente (seleccionada y/o editable). .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorplugin.rst b/classes/es/class_editorplugin.rst index 92475bbf07..15e675df2e 100644 --- a/classes/es/class_editorplugin.rst +++ b/classes/es/class_editorplugin.rst @@ -224,7 +224,7 @@ Emitida cuando se ha cambiado alguna configuración del proyecto. **resource_saved**\ (\ resource\: :ref:`Resource`\ ) :ref:`🔗` -Emitida cuando el ``resource`` dado es guardado en el disco. Ver también :ref:`scene_saved`. +Emitida cuando el ``resource`` dado es guardado en el disco. Véase también :ref:`scene_saved`. .. rst-class:: classref-item-separator @@ -645,7 +645,7 @@ You need to enable calling of this method by using :ref:`set_force_draw_over_for :ref:`int` **_forward_3d_gui_input**\ (\ viewport_camera\: :ref:`Camera3D`, event\: :ref:`InputEvent`\ ) |virtual| :ref:`🔗` -Se llama cuando hay un nodo raíz en la escena editada actual, se implementa :ref:`_handles()` y ocurre un :ref:`InputEvent` en el viewport 3D. El valor de retorno decide si el :ref:`InputEvent` es consumido o reenviado a otros **EditorPlugin**\ s. Ver :ref:`AfterGUIInput` para las opciones. +Se llama cuando hay un nodo raíz en la escena editada actual, se implementa :ref:`_handles()` y ocurre un :ref:`InputEvent` en el viewport 3D. El valor de retorno decide si el :ref:`InputEvent` es consumido o reenviado a otros **EditorPlugin**\ s. Véase :ref:`AfterGUIInput` para las opciones. .. tabs:: @@ -1434,7 +1434,7 @@ Consigue el objeto deshacer/rehacer. La mayoría de las acciones del editor pued |void| **hide_bottom_panel**\ (\ ) :ref:`🔗` -Minimizes the bottom panel. +Minimiza el panel inferior. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorproperty.rst b/classes/es/class_editorproperty.rst index b3951296c7..bbda73da7a 100644 --- a/classes/es/class_editorproperty.rst +++ b/classes/es/class_editorproperty.rst @@ -211,7 +211,7 @@ Emitelo si quieres poner una clave en una propiedad con un solo valor. **property_overridden**\ (\ ) :ref:`🔗` -Emitida cuando se solicita una sobrescritura de configuración para el proyecto actual. +Emitida cuando se solicita una sobreescritura de configuración para el proyecto actual. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorscript.rst b/classes/es/class_editorscript.rst index 0112b72c45..52b6fee588 100644 --- a/classes/es/class_editorscript.rst +++ b/classes/es/class_editorscript.rst @@ -121,7 +121,7 @@ Devuelve la instancia singleton :ref:`EditorInterface`. :ref:`Node` **get_scene**\ (\ ) |const| :ref:`🔗` -Devuelve la raíz ``Nodo`` de la escena editada (actual). Equivalente de :ref:`EditorInterface.get_edited_scene_root()`. +Devuelve la raíz :ref:`Node` de la escena editada (actual). Equivalente de :ref:`EditorInterface.get_edited_scene_root()`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_editorsettings.rst b/classes/es/class_editorsettings.rst index 9974f59503..c69143e793 100644 --- a/classes/es/class_editorsettings.rst +++ b/classes/es/class_editorsettings.rst @@ -1270,7 +1270,7 @@ Si es ``true``, el nuevo nodo creado al cambiar el padre de los nodos se colocar :ref:`bool` **docks/scene_tree/hide_filtered_out_parents** :ref:`🔗` -Si es ``true``, el dock del árbol de la escena sólo mostrará los nodos que coincidan con el filtro, sin mostrar los padres que no lo hagan. Esta configuración también se puede cambiar en el menú superior del dock de la Escena. +Si es ``true``, el dock del árbol de escenas sólo mostrará los nodos que coincidan con el filtro, sin mostrar los padres que no lo hagan. Esta configuración también se puede cambiar en el menú superior del dock de la Escena. .. rst-class:: classref-item-separator @@ -1882,7 +1882,7 @@ La inercia a usar al orbitar en el editor 3D. Valores más altos hacen que la c :ref:`float` **editors/3d/navigation_feel/orbit_sensitivity** :ref:`🔗` -La sensibilidad del ratón a usar al orbitar en el editor 3D. Ver también :ref:`editors/3d/freelook/freelook_sensitivity`. +La sensibilidad del ratón a usar al orbitar en el editor 3D. Véase también :ref:`editors/3d/freelook/freelook_sensitivity`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_editorvcsinterface.rst b/classes/es/class_editorvcsinterface.rst index aca40f7c19..d1022efac2 100644 --- a/classes/es/class_editorvcsinterface.rst +++ b/classes/es/class_editorvcsinterface.rst @@ -21,7 +21,7 @@ Defines the API that the editor uses to extract information from the underlying Tutoriales -------------------- -- :doc:`Version control systems <../tutorials/best_practices/version_control_systems>` +- :doc:`Sistemas de control de versiones <../tutorials/best_practices/version_control_systems>` .. rst-class:: classref-reftable-group diff --git a/classes/es/class_fastnoiselite.rst b/classes/es/class_fastnoiselite.rst index 978a95b139..098571f2d0 100644 --- a/classes/es/class_fastnoiselite.rst +++ b/classes/es/class_fastnoiselite.rst @@ -125,7 +125,7 @@ Celular incluye tanto ruido de Worley como diagramas de Voronoi que crean varias :ref:`NoiseType` **TYPE_SIMPLEX** = ``0`` -A diferencia de ``constante TYPE_PERLIN``, los gradientes existen en una red símplex en lugar de una red de cuadrícula, lo que evita artefactos direccionales. Internamente, utiliza el tipo de ruido OpenSimplex2 de FastNoiseLite. +A diferencia de :ref:`TYPE_PERLIN`, los gradientes existen en una red símplex en lugar de una red de cuadrícula, lo que evita artefactos direccionales. Internamente, utiliza el tipo de ruido OpenSimplex2 de FastNoiseLite. .. _class_FastNoiseLite_constant_TYPE_SIMPLEX_SMOOTH: diff --git a/classes/es/class_float.rst b/classes/es/class_float.rst index 45294a4fc4..d62f867af7 100644 --- a/classes/es/class_float.rst +++ b/classes/es/class_float.rst @@ -219,11 +219,11 @@ Returns ``true`` if the integer has different value than the float. :ref:`Color` **operator ***\ (\ right\: :ref:`Color`\ ) :ref:`🔗` -Multiplies each component of the :ref:`Color`, including the alpha, by the given **float**. +Multiplica cada componente del :ref:`Color`, incluido el alfa, por el **float** dado. :: - print(1.5 * Color(0.5, 0.5, 0.5)) # Prints (0.75, 0.75, 0.75, 1.5) + print(1.5 * Color(0.5, 0.5, 0.5)) # Imprime (0.75, 0.75, 0.75, 1.5) .. rst-class:: classref-item-separator @@ -291,11 +291,11 @@ Multiplies each component of the :ref:`Vector3` by the given **fl :ref:`Vector3` **operator ***\ (\ right\: :ref:`Vector3i`\ ) :ref:`🔗` -Multiplies each component of the :ref:`Vector3i` by the given **float**. Returns a :ref:`Vector3`. +Multiplica cada componente del :ref:`Vector3i` por el **float** dado. Devuelve un :ref:`Vector3`. :: - print(0.9 * Vector3i(10, 15, 20)) # Prints (9.0, 13.5, 18.0) + print(0.9 * Vector3i(10, 15, 20)) # Imprime (9.0, 13.5, 18.0) .. rst-class:: classref-item-separator @@ -319,11 +319,11 @@ Multiplies each component of the :ref:`Vector4` by the given **fl :ref:`Vector4` **operator ***\ (\ right\: :ref:`Vector4i`\ ) :ref:`🔗` -Multiplies each component of the :ref:`Vector4i` by the given **float**. Returns a :ref:`Vector4`. +Multiplica cada componente del :ref:`Vector4i` por el **float** dado. Devuelve un :ref:`Vector4`\ :: - print(0.9 * Vector4i(10, 15, 20, -10)) # Prints (9.0, 13.5, 18.0, -9.0) + print(0.9 * Vector4i(10, 15, 20, -10)) # Imprime (9.0, 13.5, 18.0, -9.0) .. rst-class:: classref-item-separator diff --git a/classes/es/class_foldablecontainer.rst b/classes/es/class_foldablecontainer.rst index b5663eedb5..7b7a6e8194 100644 --- a/classes/es/class_foldablecontainer.rst +++ b/classes/es/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/es/class_foldablegroup.rst b/classes/es/class_foldablegroup.rst index b37af52bc3..2bbaa79c86 100644 --- a/classes/es/class_foldablegroup.rst +++ b/classes/es/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: @@ -101,7 +101,7 @@ Descripciones de Métodos :ref:`Array`\[:ref:`FoldableContainer`\] **get_containers**\ (\ ) |const| :ref:`🔗` -Devuelve un :ref:`Array` de :ref:`FoldableContainer` que tienen este como su FoldingGroup (véase :ref:`FoldingContainer.foldable_group`). Esto es equivalente a :ref:`ButtonGroup`, pero para los FoldingContainers. +Devuelve un :ref:`Array` de :ref:`FoldableContainer` que tienen este como su FoldingGroup (véase :ref:`FoldableContainer.foldable_group`). Esto es equivalente a :ref:`ButtonGroup`, pero para los FoldableContainers. .. rst-class:: classref-item-separator diff --git a/classes/es/class_geometryinstance3d.rst b/classes/es/class_geometryinstance3d.rst index 9a368cb405..2de52f72ef 100644 --- a/classes/es/class_geometryinstance3d.rst +++ b/classes/es/class_geometryinstance3d.rst @@ -244,7 +244,7 @@ enum **VisibilityRangeFadeMode**: :ref:`🔗` **VISIBILITY_RANGE_FADE_DISABLED** = ``0`` -No se atenuará a sí mismo ni a sus dependencias de visibilidad, en su lugar se utilizará la histéresis. Este es el enfoque más rápido para el LOD manual, pero puede resultar en transiciones de LOD notables dependiendo de cómo se creen las mallas LOD. Ver :ref:`visibility_range_begin` y :ref:`Node3D.visibility_parent` para más información. +No se atenuará a sí mismo ni a sus dependencias de visibilidad, en su lugar se utilizará la histéresis. Este es el enfoque más rápido para el LOD manual, pero puede resultar en transiciones de LOD notables dependiendo de cómo se creen las mallas LOD. Véase :ref:`visibility_range_begin` y :ref:`Node3D.visibility_parent` para más información. .. _class_GeometryInstance3D_constant_VISIBILITY_RANGE_FADE_SELF: diff --git a/classes/es/class_gltfaccessor.rst b/classes/es/class_gltfaccessor.rst index 6a11da382a..f259b6bca7 100644 --- a/classes/es/class_gltfaccessor.rst +++ b/classes/es/class_gltfaccessor.rst @@ -315,7 +315,7 @@ El offset relativo al inicio de la vista de búfer en bytes. - |void| **set_component_type**\ (\ value\: :ref:`GLTFComponentType`\ ) - :ref:`GLTFComponentType` **get_component_type**\ (\ ) -El tipo de componente glTF como un enum. Consulta :ref:`GLTFComponentType` para ver los valores posibles. Dentro de la especificación central de glTF, un valor de 5125 o "UNSIGNED_INT" no debe utilizarse para ningún accessor al que no haga referencia mesh.primitive.indices. +El tipo de componente glTF como un enum. Véase :ref:`GLTFComponentType` para ver los valores posibles. Dentro de la especificación central de glTF, un valor de 5125 o "UNSIGNED_INT" no debe utilizarse para ningún accessor al que no haga referencia mesh.primitive.indices. .. rst-class:: classref-item-separator diff --git a/classes/es/class_gltfcamera.rst b/classes/es/class_gltfcamera.rst index beab68372f..e65ff1eb75 100644 --- a/classes/es/class_gltfcamera.rst +++ b/classes/es/class_gltfcamera.rst @@ -136,7 +136,7 @@ El FOV de la cámara. Esta clase y glTF definen el FOV de la cámara en radianes - |void| **set_perspective**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_perspective**\ (\ ) -Si es ``true``, la cámara está en modo de perspectiva. De lo contrario, la cámara está en modo ortográfico/ortogonal. Esto se asigna a la propiedad ``type`` de la cámara glTF. Consulta :ref:`Camera3D.projection` y la especificación glTF para obtener más información. +Si es ``true``, la cámara está en modo de perspectiva. De lo contrario, la cámara está en modo ortográfico/ortogonal. Esto se asigna a la propiedad ``type`` de la cámara glTF. Véase :ref:`Camera3D.projection` y la especificación glTF para obtener más información. .. rst-class:: classref-item-separator diff --git a/classes/es/class_gpuparticles2d.rst b/classes/es/class_gpuparticles2d.rst index 08e062aef2..6ac45576d7 100644 --- a/classes/es/class_gpuparticles2d.rst +++ b/classes/es/class_gpuparticles2d.rst @@ -264,7 +264,7 @@ El número de partículas a emitir en un ciclo de emisión. La tasa de emisión La relación de partículas que deberían emitirse realmente. Si se establece a un valor menor que ``1.0``, esto establecerá la cantidad de partículas emitidas a lo largo de la vida útil a ``amount * amount_ratio``. A diferencia de cambiar :ref:`amount`, cambiar :ref:`amount_ratio` mientras se emite no afecta a las partículas ya emitidas y no hace que el sistema de partículas se reinicie. :ref:`amount_ratio` se puede utilizar para crear efectos que hagan que el número de partículas emitidas varíe con el tiempo. -\ **Nota:** Reducir el :ref:`amount_ratio` no tiene ningún beneficio de rendimiento, ya que los recursos deben ser asignados y procesados para la :ref:`amount` total de partículas independientemente del :ref:`amount_ratio`. Si no tiene la intención de cambiar el número de partículas emitidas mientras las partículas están emitiendo, asegúrese de que :ref:`amount_ratio` esté establecido en ``1`` y cambie :ref:`amount` a su gusto en su lugar. +\ **Nota:** Reducir el :ref:`amount_ratio` no tiene ningún beneficio de rendimiento, ya que los recursos deben ser asignados y procesados para la :ref:`amount` total de partículas independientemente del :ref:`amount_ratio`. Si no tienes la intención de cambiar el número de partículas emitidas mientras las partículas están emitiendo, asegúrate de que :ref:`amount_ratio` esté establecido en ``1`` y cambia :ref:`amount` a tu gusto en su lugar. .. rst-class:: classref-item-separator diff --git a/classes/es/class_gpuparticles3d.rst b/classes/es/class_gpuparticles3d.rst index dbbefcab13..fddb63985d 100644 --- a/classes/es/class_gpuparticles3d.rst +++ b/classes/es/class_gpuparticles3d.rst @@ -357,7 +357,7 @@ El número de partículas a emitir en un ciclo de emisión. La tasa de emisión La relación de partículas que deberían emitirse realmente. Si se establece a un valor menor que ``1.0``, esto establecerá la cantidad de partículas emitidas a lo largo de la vida útil a ``amount * amount_ratio``. A diferencia de cambiar :ref:`amount`, cambiar :ref:`amount_ratio` mientras se emite no afecta a las partículas ya emitidas y no hace que el sistema de partículas se reinicie. :ref:`amount_ratio` se puede utilizar para crear efectos que hagan que el número de partículas emitidas varíe con el tiempo. -\ **Nota:** Reducir el :ref:`amount_ratio` no tiene ningún beneficio de rendimiento, ya que los recursos deben ser asignados y procesados para la :ref:`amount` total de partículas independientemente del :ref:`amount_ratio`. Si no tiene la intención de cambiar el número de partículas emitidas mientras las partículas están emitiendo, asegúrese de que :ref:`amount_ratio` esté establecido en ``1`` y cambie :ref:`amount` a su gusto en su lugar. +\ **Nota:** Reducir el :ref:`amount_ratio` no tiene ningún beneficio de rendimiento, ya que los recursos deben ser asignados y procesados para la :ref:`amount` total de partículas independientemente del :ref:`amount_ratio`. Si no tienes la intención de cambiar el número de partículas emitidas mientras las partículas están emitiendo, asegúrate de que :ref:`amount_ratio` esté establecido en ``1`` y cambia :ref:`amount` a tu gusto en su lugar. .. rst-class:: classref-item-separator @@ -859,7 +859,7 @@ El :ref:`AABB` que determina la región del nodo que debe estar visi Aumenta el tamaño de la caja si las partículas aparecen/desaparecen repentinamente cuando el nodo entra/sale de la pantalla. El :ref:`AABB` se puede aumentar mediante código o con la herramienta del editor **Partículas → Generar AABB**. -\ **Nota:** :ref:`visibility_aabb` se anula mediante :ref:`GeometryInstance3D.custom_aabb` si esa propiedad se establece en un valor no predeterminado. +\ **Nota:** :ref:`visibility_aabb` se sobrescribe mediante :ref:`GeometryInstance3D.custom_aabb` si esa propiedad se establece en un valor no predeterminado. .. rst-class:: classref-section-separator diff --git a/classes/es/class_gradient.rst b/classes/es/class_gradient.rst index 76bdb005b4..216b482248 100644 --- a/classes/es/class_gradient.rst +++ b/classes/es/class_gradient.rst @@ -16,7 +16,7 @@ Descripción Este recurso describe una transición de color definiendo un conjunto de puntos coloreados y cómo interpolar entre ellos. -Ver también :ref:`Curve` que soporta métodos de interpolación más complejos, pero no soporta colores. +Véase también :ref:`Curve` que soporta métodos de interpolación más complejos, pero no soporta colores. .. rst-class:: classref-reftable-group @@ -309,7 +309,7 @@ Invierte/refleja el gradiente. :ref:`Color` **sample**\ (\ offset\: :ref:`float`\ ) :ref:`🔗` -Devuelve el color interpolado especificado por ``offset``. ``offset`` debe estar entre ``0.0`` y ``1.0`` (inclusive). Usar un valor inferior a ``0.0`` devolverá el mismo color que ``0.0``, y usar un valor superior a ``1.0`` devolverá el mismo color que ``1.0``. Si su valor de entrada no está dentro de este rango, considere usar :ref:`@GlobalScope.remap()` en el valor de entrada con los valores de salida establecidos en ``0.0`` y ``1.0``. +Devuelve el color interpolado especificado por ``offset``. ``offset`` debe estar entre ``0.0`` y ``1.0`` (inclusive). Usar un valor inferior a ``0.0`` devolverá el mismo color que ``0.0``, y usar un valor superior a ``1.0`` devolverá el mismo color que ``1.0``. Si su valor de entrada no está dentro de este rango, considera usar :ref:`@GlobalScope.remap()` en el valor de entrada con los valores de salida establecidos en ``0.0`` y ``1.0``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_gradienttexture1d.rst b/classes/es/class_gradienttexture1d.rst index 4e417ae187..8cd4a6c851 100644 --- a/classes/es/class_gradienttexture1d.rst +++ b/classes/es/class_gradienttexture1d.rst @@ -14,7 +14,7 @@ Una textura 1D que utiliza colores obtenidos de un :ref:`Gradient` para rellenar los datos de la textura. La textura se rellena muestreando el gradiente para cada píxel. Por lo tanto, la textura no representa necesariamente una copia exacta del gradiente, ya que puede perder algunos colores si no hay suficientes píxeles. Ver también :ref:`GradientTexture2D`, :ref:`CurveTexture` y :ref:`CurveXYZTexture`. +Una textura 1D que obtiene colores de un :ref:`Gradient` para rellenar los datos de la textura. La textura se rellena muestreando el gradiente para cada píxel. Por lo tanto, la textura no representa necesariamente una copia exacta del gradiente, ya que puede perder algunos colores si no hay suficientes píxeles. Véase también :ref:`GradientTexture2D`, :ref:`CurveTexture` y :ref:`CurveXYZTexture`. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_gradienttexture2d.rst b/classes/es/class_gradienttexture2d.rst index 6312ef3e39..69198bf5f6 100644 --- a/classes/es/class_gradienttexture2d.rst +++ b/classes/es/class_gradienttexture2d.rst @@ -16,7 +16,7 @@ Descripción Una textura 2D que obtiene colores de un :ref:`Gradient` para rellenar los datos de la textura. Esta textura es capaz de transformar una transición de color en diferentes patrones, como un gradiente lineal o radial. La textura se rellena interpolando colores que comienzan desde los desplazamientos :ref:`fill_from` a :ref:`fill_to` de forma predeterminada, pero el relleno del gradiente se puede repetir para cubrir toda la textura. -El gradiente se muestrea individualmente para cada píxel, por lo que no necesariamente representa una copia exacta del gradiente (ver :ref:`width` y :ref:`height`). Ver también :ref:`GradientTexture1D`, :ref:`CurveTexture` y :ref:`CurveXYZTexture`. +El gradiente se muestrea individualmente para cada píxel, por lo que no necesariamente representa una copia exacta del gradiente (ver :ref:`width` y :ref:`height`). Véase también :ref:`GradientTexture1D`, :ref:`CurveTexture` y :ref:`CurveXYZTexture`. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_gridmap.rst b/classes/es/class_gridmap.rst index 07bf492bec..6637be9ca0 100644 --- a/classes/es/class_gridmap.rst +++ b/classes/es/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/es/class_gridmapeditorplugin.rst b/classes/es/class_gridmapeditorplugin.rst index 1e1f8a4b96..3e3ae983e7 100644 --- a/classes/es/class_gridmapeditorplugin.rst +++ b/classes/es/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/es/class_inputevent.rst b/classes/es/class_inputevent.rst index ec60756650..620df68a75 100644 --- a/classes/es/class_inputevent.rst +++ b/classes/es/class_inputevent.rst @@ -245,7 +245,7 @@ Devuelve ``true`` si este evento de entrada ha sido cancelado. Devuelve ``true`` si este evento de entrada es un evento de eco (solo para eventos de tipo :ref:`InputEventKey`). Un evento de eco es un evento de tecla repetido que se envía cuando el usuario mantiene pulsada la tecla. Cualquier otro tipo de evento devuelve ``false``. -\ **Nota:** La velocidad a la que se envían los eventos de eco suele ser de unos 20 eventos por segundo (después de mantener pulsada la tecla durante aproximadamente medio segundo). Sin embargo, el retardo/velocidad de repetición de las teclas puede ser modificado por el usuario o desactivado por completo en la configuración del sistema operativo. Para asegurar que su proyecto funciona correctamente en todas las configuraciones, no asuma que el usuario tiene una configuración específica de repetición de teclas en el comportamiento de su proyecto. +\ **Nota:** La velocidad a la que se envían los eventos de eco suele ser de unos 20 eventos por segundo (después de mantener pulsada la tecla durante aproximadamente medio segundo). Sin embargo, el retardo/velocidad de repetición de las teclas puede ser modificado por el usuario o desactivado por completo en la configuración del sistema operativo. Para asegurar que su proyecto funciona correctamente en todas las configuraciones, no asumas que el usuario tiene una configuración específica de repetición de teclas en el comportamiento de tu proyecto. .. rst-class:: classref-item-separator @@ -275,7 +275,7 @@ Si ``exact_match`` es ``false``, la comprobación ignora los modificadores de en Devuelve ``true`` si este evento de entrada está presionado. No es relevante para eventos de tipo :ref:`InputEventMouseMotion` o :ref:`InputEventScreenDrag`. -\ **Nota:** Debido al efecto fantasma del teclado, :ref:`is_pressed()` puede devolver ``false`` incluso si una de las teclas de la acción está presionada. Consulta `Ejemplos de entrada <../tutorials/inputs/input_examples.html#keyboard-events>`__ en la documentación para obtener más información. +\ **Nota:** Debido al efecto fantasma del teclado, :ref:`is_pressed()` puede devolver ``false`` incluso si una de las teclas de la acción está presionada. Véase `Ejemplos de entrada <../tutorials/inputs/input_examples.html#keyboard-events>`__ en la documentación para obtener más información. .. rst-class:: classref-item-separator diff --git a/classes/es/class_inputeventjoypadbutton.rst b/classes/es/class_inputeventjoypadbutton.rst index baac71bb56..2051c171df 100644 --- a/classes/es/class_inputeventjoypadbutton.rst +++ b/classes/es/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/es/class_inputeventjoypadmotion.rst b/classes/es/class_inputeventjoypadmotion.rst index 407d1f5a5c..9c3329f04d 100644 --- a/classes/es/class_inputeventjoypadmotion.rst +++ b/classes/es/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/es/class_inputeventmousebutton.rst b/classes/es/class_inputeventmousebutton.rst index cc522b8510..04f4f1356a 100644 --- a/classes/es/class_inputeventmousebutton.rst +++ b/classes/es/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/es/class_ip.rst b/classes/es/class_ip.rst index 942a90ebe1..d1cd336a80 100644 --- a/classes/es/class_ip.rst +++ b/classes/es/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/es/class_itemlist.rst b/classes/es/class_itemlist.rst index dba7e8ec28..5ec48a63af 100644 --- a/classes/es/class_itemlist.rst +++ b/classes/es/class_itemlist.rst @@ -736,7 +736,7 @@ Se asegura de que no haya elementos seleccionados. |void| **ensure_current_is_visible**\ (\ ) :ref:`🔗` -Asegúrese de que la selección actual sea visible, ajustando la posición del scroll según sea necesario. +Asegúrate de que la selección actual sea visible, ajustando la posición del scroll según sea necesario. .. rst-class:: classref-item-separator diff --git a/classes/es/class_label.rst b/classes/es/class_label.rst index d753dbdb26..ec3de1bfad 100644 --- a/classes/es/class_label.rst +++ b/classes/es/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: @@ -611,7 +611,7 @@ Descripciones de las propiedades del tema :ref:`Color` **font_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -Texto predeterminado :ref:`Color` de la ``Etiqueta``. +Texto predeterminado :ref:`Color` de la **Label**. .. rst-class:: classref-item-separator diff --git a/classes/es/class_label3d.rst b/classes/es/class_label3d.rst index b9f0bcc60d..bb516a5de2 100644 --- a/classes/es/class_label3d.rst +++ b/classes/es/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: diff --git a/classes/es/class_light2d.rst b/classes/es/class_light2d.rst index 101db8b134..503c8dce99 100644 --- a/classes/es/class_light2d.rst +++ b/classes/es/class_light2d.rst @@ -257,7 +257,7 @@ El valor energético de Light2D. Cuanto mayor sea el valor, más fuerte es la lu - |void| **set_item_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_item_cull_mask**\ (\ ) -La máscara de capa. Solo los objetos con una :ref:`CanvasItem.light_mask` coincidente se verán afectados por la Light2D. Consulta también :ref:`shadow_item_cull_mask`, que afecta a qué objetos pueden proyectar sombras. +La máscara de capa. Solo los objetos con una :ref:`CanvasItem.light_mask` coincidente se verán afectados por la Light2D. Véase también :ref:`shadow_item_cull_mask`, que afecta a qué objetos pueden proyectar sombras. \ **Nota:** :ref:`range_item_cull_mask` es ignorado por :ref:`DirectionalLight2D`, que siempre iluminará un nodo 2D independientemente de la :ref:`CanvasItem.light_mask` del nodo 2D. @@ -412,7 +412,7 @@ Valor de suavizado para las sombras. Los valores más altos resultarán en sombr - |void| **set_item_shadow_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_item_shadow_cull_mask**\ (\ ) -La máscara de sombra. Se usa con :ref:`LightOccluder2D` para proyectar sombras. Solo los oclusores con una :ref:`CanvasItem.light_mask` coincidente proyectarán sombras. Consulta también :ref:`range_item_cull_mask`, que afecta a qué objetos pueden *recibir* la luz. +La máscara de sombra. Se usa con :ref:`LightOccluder2D` para proyectar sombras. Solo los oclusores con una :ref:`CanvasItem.light_mask` coincidente proyectarán sombras. Véase también :ref:`range_item_cull_mask`, que afecta a qué objetos pueden *recibir* la luz. .. rst-class:: classref-section-separator diff --git a/classes/es/class_light3d.rst b/classes/es/class_light3d.rst index 8eb7bc7ff4..8e80f0e654 100644 --- a/classes/es/class_light3d.rst +++ b/classes/es/class_light3d.rst @@ -508,7 +508,9 @@ El color de la luz en el espacio de color sRGB no lineal. Se puede usar un color - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -La luz afectará a los objetos en las capas seleccionadas. +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_lightmapgi.rst b/classes/es/class_lightmapgi.rst index 723f9a31aa..f010777d5c 100644 --- a/classes/es/class_lightmapgi.rst +++ b/classes/es/class_lightmapgi.rst @@ -549,7 +549,7 @@ El modo de entorno que se utilizará al procesar lightmaps. El nivel de subdivisión que se utilizará al generar automáticamente :ref:`LightmapProbe`\ s para la iluminación de objetos dinámicos. Los valores más altos dan como resultado una iluminación indirecta más precisa en los objetos dinámicos, a costa de tiempos de procesado más largos y archivos de mayor tamaño. -\ **Nota:** Los :ref:`LightmapProbe`\ s generados automáticamente no son visibles como nodos en el dock del árbol de la escena y no se pueden modificar de esta manera después de generarlos. +\ **Nota:** Los :ref:`LightmapProbe`\ s generados automáticamente no son visibles como nodos en el dock del árbol de escenas y no se pueden modificar de esta manera después de generarlos. \ **Nota:** Independientemente de :ref:`generate_probes_subdiv`, la iluminación directa en objetos dinámicos siempre se aplica utilizando nodos :ref:`Light3D` en tiempo real. diff --git a/classes/es/class_lineedit.rst b/classes/es/class_lineedit.rst index 08862e33af..a8fcd6a310 100644 --- a/classes/es/class_lineedit.rst +++ b/classes/es/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: @@ -17,73 +17,73 @@ Un campo de entrada para texto de una sola línea. Descripción ---------------------- -**LineEdit** provides an input field for editing a single line of text. +**LineEdit** proporciona un campo de entrada para editar una sola línea de texto. -- When the **LineEdit** control is focused using the keyboard arrow keys, it will only gain focus and not enter edit mode. +- Cuando el control **LineEdit** está enfocado usando las teclas de flecha del teclado, solo ganará el foco y no entrará en el modo de edición. -- To enter edit mode, click on the control with the mouse, see also :ref:`keep_editing_on_text_submit`. +- Para entrar en el modo de edición, haz clic en el control con el ratón, mira también :ref:`keep_editing_on_text_submit`. -- To exit edit mode, press ``ui_text_submit`` or ``ui_cancel`` (by default :kbd:`Escape`) actions. +- Para salir del modo de edición, pulsa las acciones ``ui_text_submit`` o ``ui_cancel`` (por defecto :kbd:`Escape`). -- Check :ref:`edit()`, :ref:`unedit()`, :ref:`is_editing()`, and :ref:`editing_toggled` for more information. +- Véase :ref:`edit()`, :ref:`unedit()`, :ref:`is_editing()` y :ref:`editing_toggled` para obtener más información. -While entering text, it is possible to insert special characters using Unicode, OEM or Windows alt codes: +Al introducir texto, es posible insertar caracteres especiales utilizando códigos Unicode, OEM o Windows alt: -- To enter Unicode codepoints, hold :kbd:`Alt` and type the codepoint on the numpad. For example, to enter the character ``á`` (U+00E1), hold :kbd:`Alt` and type :kbd:`+E1` on the numpad (the leading zeroes can be omitted). +- Para introducir puntos de código Unicode, mantén pulsado :kbd:`Alt` y escribe el punto de código en el teclado numérico. Por ejemplo, para introducir el carácter ``á`` (U+00E1), mantén pulsado :kbd:`Alt` y escribe :kbd:`+E1` en el teclado numérico (los ceros iniciales pueden omitirse). -- To enter OEM codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (OEM 160), hold :kbd:`Alt` and type ``160`` on the numpad. +- Para introducir puntos de código OEM, mantén pulsado :kbd:`Alt` y escribe el código en el teclado numérico. Por ejemplo, para introducir el carácter ``á`` (OEM 160), mantén pulsado :kbd:`Alt` y escribe ``160`` en el teclado numérico. -- To enter Windows codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (Windows 0225), hold :kbd:`Alt` and type :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` on the numpad. The leading zero here must **not** be omitted, as this is how Windows codepoints are distinguished from OEM codepoints. +- Para introducir puntos de código de Windows, mantén pulsado :kbd:`Alt` y escribe el código en el teclado numérico. Por ejemplo, para introducir el carácter ``á`` (Windows 0225), mantén pulsado :kbd:`Alt` y escribe :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` en el teclado numérico. El cero inicial aquí **no** debe omitirse, ya que así es como los puntos de código de Windows se distinguen de los puntos de código OEM. -\ **Important:**\ +\ **Importante:**\ -- Focusing the **LineEdit** with ``ui_focus_next`` (by default :kbd:`Tab`) or ``ui_focus_prev`` (by default :kbd:`Shift + Tab`) or :ref:`Control.grab_focus()` still enters edit mode (for compatibility). +- Enfocar el **LineEdit** con ``ui_focus_next`` (por defecto :kbd:`Tab`) o ``ui_focus_prev`` (por defecto :kbd:`Shift + Tab`) o :ref:`Control.grab_focus()` todavía entra en modo de edición (por compatibilidad). -\ **LineEdit** features many built-in shortcuts that are always available (:kbd:`Ctrl` here maps to :kbd:`Cmd` on macOS): +\ **LineEdit** incluye muchos atajos integrados que siempre están disponibles (:kbd:`Ctrl` aquí se asigna a :kbd:`Cmd` en macOS): -- :kbd:`Ctrl + C`: Copy +- :kbd:`Ctrl + C`: Copiar -- :kbd:`Ctrl + X`: Cut +- :kbd:`Ctrl + X`: Cortar -- :kbd:`Ctrl + V` or :kbd:`Ctrl + Y`: Paste/"yank" +- :kbd:`Ctrl + V` o :kbd:`Ctrl + Y`: Pegar/"tirar" -- :kbd:`Ctrl + Z`: Undo +- :kbd:`Ctrl + Z`: Deshacer -- :kbd:`Ctrl + ~`: Swap input direction. +- :kbd:`Ctrl + ~`: Intercambiar la dirección de entrada. -- :kbd:`Ctrl + Shift + Z`: Redo +- :kbd:`Ctrl + Shift + Z`: Rehacer -- :kbd:`Ctrl + U`: Delete text from the caret position to the beginning of the line +- :kbd:`Ctrl + U`: Borrar el texto desde la posición del cursor hasta el principio de la línea -- :kbd:`Ctrl + K`: Delete text from the caret position to the end of the line +- :kbd:`Ctrl + K`: Borrar el texto desde la posición del cursor hasta el final de la línea -- :kbd:`Ctrl + A`: Select all text +- :kbd:`Ctrl + A`: Seleccionar todo el texto -- :kbd:`Up Arrow`/:kbd:`Down Arrow`: Move the caret to the beginning/end of the line +- :kbd:`Up Arrow`/:kbd:`Down Arrow`: Mueve el cursor al principio/final de la línea -On macOS, some extra keyboard shortcuts are available: +En macOS, hay algunos atajos de teclado adicionales disponibles: -- :kbd:`Cmd + F`: Same as :kbd:`Right Arrow`, move the caret one character right +- :kbd:`Cmd + F`: Igual que :kbd:`Right Arrow`, mueve el cursor un carácter a la derecha -- :kbd:`Cmd + B`: Same as :kbd:`Left Arrow`, move the caret one character left +- :kbd:`Cmd + B`: Igual que :kbd:`Left Arrow`, mueve el cursor un carácter a la izquierda -- :kbd:`Cmd + P`: Same as :kbd:`Up Arrow`, move the caret to the previous line +- :kbd:`Cmd + P`: Igual que :kbd:`Up Arrow`, mueve el cursor a la línea anterior -- :kbd:`Cmd + N`: Same as :kbd:`Down Arrow`, move the caret to the next line +- :kbd:`Cmd + N`: Igual que :kbd:`Down Arrow`, mueve el cursor a la línea siguiente -- :kbd:`Cmd + D`: Same as :kbd:`Delete`, delete the character on the right side of caret +- :kbd:`Cmd + D`: Igual que :kbd:`Delete`, borra el carácter a la derecha del cursor -- :kbd:`Cmd + H`: Same as :kbd:`Backspace`, delete the character on the left side of the caret +- :kbd:`Cmd + H`: Igual que :kbd:`Backspace`, borra el carácter a la izquierda del cursor -- :kbd:`Cmd + A`: Same as :kbd:`Home`, move the caret to the beginning of the line +- :kbd:`Cmd + A`: Igual que :kbd:`Home`, mueve el cursor al principio de la línea -- :kbd:`Cmd + E`: Same as :kbd:`End`, move the caret to the end of the line +- :kbd:`Cmd + E`: Igual que :kbd:`End`, mueve el cursor al final de la línea -- :kbd:`Cmd + Left Arrow`: Same as :kbd:`Home`, move the caret to the beginning of the line +- :kbd:`Cmd + Left Arrow`: Igual que :kbd:`Home`, mueve el cursor al principio de la línea -- :kbd:`Cmd + Right Arrow`: Same as :kbd:`End`, move the caret to the end of the line +- :kbd:`Cmd + Right Arrow`: Igual que :kbd:`End`, mueve el cursor al final de la línea -\ **Note:** Caret movement shortcuts listed above are not affected by :ref:`shortcut_keys_enabled`. +\ **Nota:** Los atajos de movimiento del cursor listados arriba no se ven afectados por :ref:`shortcut_keys_enabled`. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_margincontainer.rst b/classes/es/class_margincontainer.rst index 68433bc7fc..5e51e35544 100644 --- a/classes/es/class_margincontainer.rst +++ b/classes/es/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/es/class_marker3d.rst b/classes/es/class_marker3d.rst index f552fd42ea..c2b04aeba5 100644 --- a/classes/es/class_marker3d.rst +++ b/classes/es/class_marker3d.rst @@ -14,7 +14,7 @@ Sugerencia de posición 3D genérica para la edición. Descripción ---------------------- -Generic 3D position hint for editing. It's just like a plain :ref:`Node3D`, but it displays as a cross in the 3D editor at all times. +Sugerencia de posición 3D genérica para la edición. Es como un plano :ref:`Node3D`, pero se muestra como una cruz en el editor 3D en todo momento. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_menubutton.rst b/classes/es/class_menubutton.rst index 9cc356e7dc..1e344dee70 100644 --- a/classes/es/class_menubutton.rst +++ b/classes/es/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/es/class_meshlibrary.rst b/classes/es/class_meshlibrary.rst index 7beb1b5fb0..d7a91fe273 100644 --- a/classes/es/class_meshlibrary.rst +++ b/classes/es/class_meshlibrary.rst @@ -244,9 +244,9 @@ When running in the editor, returns a generated item preview (a 3D rendering in :ref:`Array` **get_item_shapes**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns an item's collision shapes. +Devuelve las formas de colisión de un objeto. -The array consists of each :ref:`Shape3D` followed by its :ref:`Transform3D`. +El array consiste en cada :ref:`Shape3D` seguido de su :ref:`Transform3D`. .. rst-class:: classref-item-separator @@ -380,9 +380,9 @@ Establece una textura para usar como el icono de vista previa del objeto en el e |void| **set_item_shapes**\ (\ id\: :ref:`int`, shapes\: :ref:`Array`\ ) :ref:`🔗` -Sets an item's collision shapes. +Establece las formas de colisión de un objeto. -The array should consist of :ref:`Shape3D` objects, each followed by a :ref:`Transform3D` that will be applied to it. For shapes that should not have a transform, use :ref:`Transform3D.IDENTITY`. +El array debe consistir en objetos :ref:`Shape3D`, cada uno seguido de una :ref:`Transform3D` que se le aplicará. Para las formas que no deben tener una transformación, usa :ref:`Transform3D.IDENTITY`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_multimesh.rst b/classes/es/class_multimesh.rst index 16d8e396e3..545667794e 100644 --- a/classes/es/class_multimesh.rst +++ b/classes/es/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: diff --git a/classes/es/class_multimeshinstance2d.rst b/classes/es/class_multimeshinstance2d.rst index eb5dcf154e..ab828f4db2 100644 --- a/classes/es/class_multimeshinstance2d.rst +++ b/classes/es/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/es/class_multimeshinstance3d.rst b/classes/es/class_multimeshinstance3d.rst index 4c7cc24cf8..30c0aa7b81 100644 --- a/classes/es/class_multimeshinstance3d.rst +++ b/classes/es/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/es/class_multiplayerapi.rst b/classes/es/class_multiplayerapi.rst index 6fe7aa1af5..82af81408e 100644 --- a/classes/es/class_multiplayerapi.rst +++ b/classes/es/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: @@ -88,7 +88,7 @@ Señales **connected_to_server**\ (\ ) :ref:`🔗` -Emitida cuando :ref:`network_peer` de esta MultiplayerAPI se conecta con éxito a un servidor. Solo se emite en los clientes. +Emitida cuando :ref:`multiplayer_peer` de esta MultiplayerAPI se conecta con éxito a un servidor. Solo se emite en los clientes. .. rst-class:: classref-item-separator @@ -100,7 +100,7 @@ Emitida cuando :ref:`network_peer` d **connection_failed**\ (\ ) :ref:`🔗` -Emitida cuando el :ref:`network_peer` de esta MultiplayerAPI falla al establecer una conexión con un servidor. Solo se emite en los clientes. +Emitida cuando el :ref:`multiplayer_peer` de esta MultiplayerAPI falla al establecer una conexión con un servidor. Solo se emite en los clientes. .. rst-class:: classref-item-separator @@ -238,7 +238,7 @@ Devuelve el nombre de la clase de implementación predeterminada de MultiplayerA :ref:`PackedInt32Array` **get_peers**\ (\ ) :ref:`🔗` -Devuelve los IDs de todos los pares conectados del :ref:`multiplayer_peer` de este MultiplayerAPI. +Devuelve los ID de todos los pares conectados del :ref:`multiplayer_peer` de este MultiplayerAPI. .. rst-class:: classref-item-separator @@ -302,7 +302,7 @@ Devuelve ``true`` si el :ref:`multiplayer_peer` para configurar la ruta raíz para esta MultiplayerAPI (pasando ``null`` y un :ref:`NodePath` válido como ``configuration``). Este método puede ser usado además por implementaciones de MultiplayerAPI para proveer funcionalidades adicionales, consulta la implementación específica (ej. :ref:`SceneMultiplayer`) para detalles de cómo lo usan. -\ **Nota:** Este método es principalmente relevante cuando se extiende o se anula el comportamiento de la MultiplayerAPI mediante :ref:`MultiplayerAPIExtension`. +\ **Nota:** Este método es principalmente relevante cuando se extiende o se sobrescribe el comportamiento de la MultiplayerAPI mediante :ref:`MultiplayerAPIExtension`. .. rst-class:: classref-item-separator @@ -316,7 +316,7 @@ Notifica a la MultiplayerAPI de una nueva ``configuration`` para el ``object`` d Notifica a la MultiplayerAPI que debe eliminar una ``configuration`` para el ``object`` dado. Este método es usado internamente por :ref:`SceneTree` para configurar la ruta raíz para esta MultiplayerAPI (pasando ``null`` y un :ref:`NodePath` vacío como ``configuration``). Este método puede ser usado además por implementaciones de MultiplayerAPI para proveer funcionalidades adicionales, consulta la implementación específica (ej. :ref:`SceneMultiplayer`) para detalles de cómo lo usan. -\ **Nota:** Este método es principalmente relevante cuando se extiende o se anula el comportamiento de la MultiplayerAPI mediante :ref:`MultiplayerAPIExtension`. +\ **Nota:** Este método es principalmente relevante cuando se extiende o se sobrescribe el comportamiento de la MultiplayerAPI mediante :ref:`MultiplayerAPIExtension`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_multiplayerapiextension.rst b/classes/es/class_multiplayerapiextension.rst index 86adb22728..16f5312899 100644 --- a/classes/es/class_multiplayerapiextension.rst +++ b/classes/es/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/es/class_multiplayerpeer.rst b/classes/es/class_multiplayerpeer.rst index e0b20c9f8b..f49503d384 100644 --- a/classes/es/class_multiplayerpeer.rst +++ b/classes/es/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: @@ -130,7 +130,7 @@ enum **ConnectionStatus**: :ref:`🔗` :ref:`ConnectionStatus` **CONNECTION_DISCONNECTED** = ``0`` -The MultiplayerPeer is disconnected. +El MultiplayerPeer está desconectado. .. _class_MultiplayerPeer_constant_CONNECTION_CONNECTING: @@ -146,7 +146,7 @@ El MultiplayerPeer se está conectando actualmente a un servidor. :ref:`ConnectionStatus` **CONNECTION_CONNECTED** = ``2`` -This MultiplayerPeer is connected. +El MultiplayerPeer está conectado. .. rst-class:: classref-item-separator diff --git a/classes/es/class_multiplayerpeerextension.rst b/classes/es/class_multiplayerpeerextension.rst index 9924d74bae..e876c06bbc 100644 --- a/classes/es/class_multiplayerpeerextension.rst +++ b/classes/es/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/es/class_multiplayerspawner.rst b/classes/es/class_multiplayerspawner.rst index 1ea5cc5627..eac8296dfe 100644 --- a/classes/es/class_multiplayerspawner.rst +++ b/classes/es/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/es/class_multiplayersynchronizer.rst b/classes/es/class_multiplayersynchronizer.rst index 1934ac7b88..02e3edb495 100644 --- a/classes/es/class_multiplayersynchronizer.rst +++ b/classes/es/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/es/class_nativemenu.rst b/classes/es/class_nativemenu.rst index 4be561141b..ac749769d4 100644 --- a/classes/es/class_nativemenu.rst +++ b/classes/es/class_nativemenu.rst @@ -994,7 +994,7 @@ Devuelve ``true`` si el menú global es un menú especial del sistema. |void| **popup**\ (\ rid\: :ref:`RID`, position\: :ref:`Vector2i`\ ) :ref:`🔗` -Muestra el menú global en la ``posición`` en coordenadas de pantalla. +Muestra el menú global en la ``position`` en coordenadas de pantalla. \ **Nota:** Este método está implementado en macOS y Windows. diff --git a/classes/es/class_navigationregion3d.rst b/classes/es/class_navigationregion3d.rst index 73e871ef99..28ce7f69da 100644 --- a/classes/es/class_navigationregion3d.rst +++ b/classes/es/class_navigationregion3d.rst @@ -102,7 +102,7 @@ Señales **bake_finished**\ (\ ) :ref:`🔗` -Notifica cuando se completa la operación de horneado de la malla de navegación. +Notifica cuando se completa la operación de procesado de la malla de navegación. .. rst-class:: classref-item-separator diff --git a/classes/es/class_navigationserver2d.rst b/classes/es/class_navigationserver2d.rst index 87e1378b68..3c057be1e1 100644 --- a/classes/es/class_navigationserver2d.rst +++ b/classes/es/class_navigationserver2d.rst @@ -20,7 +20,7 @@ NavigationServer2D es el servidor que gestiona los mapas, regiones y agentes de Los mapas se dividen en regiones, que se componen de polígonos de navegación. Juntos, definen las áreas transitables en el mundo 2D. -\ **Nota:** La mayoría de los cambios de **NavigationServer2D** surten efecto después del siguiente fotograma de física y no inmediatamente. Esto incluye todos los cambios realizados en mapas, regiones o agentes por nodos relacionados con la navegación en el árbol de la escena o realizados a través de scripts. +\ **Nota:** La mayoría de los cambios de **NavigationServer2D** surten efecto después del siguiente fotograma de física y no inmediatamente. Esto incluye todos los cambios realizados en mapas, regiones o agentes por nodos relacionados con la navegación en el árbol de escenas o realizados a través de scripts. Para que dos regiones se conecten entre sí, deben compartir un borde similar. Se considera que un borde está conectado a otro si ambos vértices están a una distancia inferior a ``edge_connection_margin`` del vértice del otro borde respectivo. @@ -1720,7 +1720,7 @@ Establece los vértices del contorno para el obstáculo. Si los vértices se enr |void| **parse_source_geometry_data**\ (\ navigation_polygon\: :ref:`NavigationPolygon`, source_geometry_data\: :ref:`NavigationMeshSourceGeometryData2D`, root_node\: :ref:`Node`, callback\: :ref:`Callable` = Callable()\ ) :ref:`🔗` -Analiza el :ref:`SceneTree` para la geometría de origen de acuerdo con las propiedades de ``navigation_polygon``. Actualiza el recurso ``source_geometry_data`` proporcionado con los datos resultantes. El recurso se puede utilizar para hornear una malla de navegación con :ref:`bake_from_source_geometry_data()`. Una vez finalizado el proceso, se llamará a la ``callback`` opcional. +Analiza el :ref:`SceneTree` para la geometría de origen de acuerdo con las propiedades de ``navigation_polygon``. Actualiza el recurso ``source_geometry_data`` proporcionado con los datos resultantes. El recurso se puede utilizar para procesar una malla de navegación con :ref:`bake_from_source_geometry_data()`. Una vez finalizado el proceso, se llamará a la ``callback`` opcional. \ **Nota:** Esta función debe ejecutarse en el hilo principal o con una llamada diferida, ya que SceneTree no es seguro para subprocesos. @@ -2148,7 +2148,7 @@ Establece la ``callback`` :ref:`Callable` para la geometría de - ``navigation_mesh`` - La referencia :ref:`NavigationPolygon` utilizada para definir la configuración de análisis. NO edite ni agregue directamente a la malla de navegación. -- ``source_geometry_data`` - La referencia :ref:`NavigationMeshSourceGeometryData2D`. Agregue geometría de origen personalizada para el horneado de la malla de navegación a este objeto. +- ``source_geometry_data`` - La referencia :ref:`NavigationMeshSourceGeometryData2D`. Agregue geometría de origen personalizada para el procesado de la malla de navegación a este objeto. - ``node`` - El :ref:`Node` que se analiza. diff --git a/classes/es/class_navigationserver3d.rst b/classes/es/class_navigationserver3d.rst index 79a4fcdd21..fcd0c9c024 100644 --- a/classes/es/class_navigationserver3d.rst +++ b/classes/es/class_navigationserver3d.rst @@ -924,9 +924,9 @@ La cantidad mínima de tiempo durante la cual las velocidades del agente que son Establece si el agente usa la evitación 2D o la evitación 3D mientras la evitación está habilitada. -Si ``true``, el agente calcula las velocidades de evitación en 3D para el eje xyz, p. ej., para juegos que tienen lugar en el aire, bajo el agua o en el espacio. El agente que usa 3D solo evita a otros agentes que usan la evitación 3D. El agente que usa 3D solo reacciona a los obstáculos de evitación basados en el radio. El agente que usa 3D ignora cualquier obstáculo basado en vértices. El agente que usa 3D solo evita a otros agentes que usan 3D. +Si es ``true``, el agente calcula las velocidades de evitación en 3D para el eje xyz, p. ej., para juegos que tienen lugar en el aire, bajo el agua o en el espacio. El agente que usa 3D solo evita a otros agentes que usan la evitación 3D. El agente que usa 3D solo reacciona a los obstáculos de evitación basados en el radio. El agente que usa 3D ignora cualquier obstáculo basado en vértices. El agente que usa 3D solo evita a otros agentes que usan 3D. -Si ``false``, el agente calcula las velocidades de evitación en 2D a lo largo del eje xz ignorando el eje y. El agente que usa 2D solo evita a otros agentes que usan la evitación 2D. El agente que usa 2D reacciona a los obstáculos de evitación basados en el radio. El agente que usa 2D reacciona a los obstáculos basados en vértices. El agente que usa 2D solo evita a otros agentes que usan 2D. Los agentes que usan 2D ignorarán a otros agentes u obstáculos que estén por debajo de su posición actual o por encima de su posición actual, incluida la altura de los agentes en la evitación 2D. +Si es ``false``, el agente calcula las velocidades de evitación en 2D a lo largo del eje xz ignorando el eje y. El agente que usa 2D solo evita a otros agentes que usan la evitación 2D. El agente que usa 2D reacciona a los obstáculos de evitación basados en el radio. El agente que usa 2D reacciona a los obstáculos basados en vértices. El agente que usa 2D solo evita a otros agentes que usan 2D. Los agentes que usan 2D ignorarán a otros agentes u obstáculos que estén por debajo de su posición actual o por encima de su posición actual, incluida la altura de los agentes en la evitación 2D. .. rst-class:: classref-item-separator @@ -1958,7 +1958,7 @@ Consulta una ruta en un mapa de navegación dado. La posición de inicio y de de **Obsoleto:** This method is deprecated due to core threading changes. To upgrade existing code, first create a :ref:`NavigationMeshSourceGeometryData3D` resource. Use this resource with :ref:`parse_source_geometry_data()` to parse the :ref:`SceneTree` for nodes that should contribute to the navigation mesh baking. The :ref:`SceneTree` parsing needs to happen on the main thread. After the parsing is finished use the resource with :ref:`bake_from_source_geometry_data()` to bake a navigation mesh. -Hornea la ``navigation_mesh`` con la geometría de origen de horneado recogida a partir del ``root_node``. +Hornea la ``navigation_mesh`` con la geometría de origen de procesado recogida a partir del ``root_node``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_node.rst b/classes/es/class_node.rst index fbd8e4ad93..412af788c0 100644 --- a/classes/es/class_node.rst +++ b/classes/es/class_node.rst @@ -725,7 +725,7 @@ Always automatically translate. This is the inverse of :ref:`AUTO_TRANSLATE_MODE Nunca traducir automáticamente. Esta es la inversa de :ref:`AUTO_TRANSLATE_MODE_ALWAYS`. -El análisis de cadenas para la generación de POT se omitirá para este nodo y los hijos que estén configurados como :ref:`AUTO_TRANSLATE_MODE_INHERIT`. +El análisis de strings para la generación de POT se omitirá para este nodo y los hijos que estén configurados como :ref:`AUTO_TRANSLATE_MODE_INHERIT`. .. rst-class:: classref-section-separator @@ -1469,7 +1469,7 @@ Corresponde a la notificación :ref:`NOTIFICATION_EXIT_TREE` **_get_accessibility_configuration_warnings**\ (\ ) |virtual| |const| :ref:`🔗` -Los elementos en el array devuelto por este método se muestran como advertencias en el dock de la escena si el script que lo anula es un script ``tool``, y las advertencias de accesibilidad están habilitadas en la configuración del editor. +Los elementos en el array devuelto por este método se muestran como advertencias en el dock de la escena si el script que lo sobrescribe es un script ``tool``, y las advertencias de accesibilidad están habilitadas en la configuración del editor. Devolver un array vacío no produce advertencias. @@ -1483,7 +1483,7 @@ Devolver un array vacío no produce advertencias. :ref:`PackedStringArray` **_get_configuration_warnings**\ (\ ) |virtual| |const| :ref:`🔗` -Los elementos del array devuelto por este método se muestran como advertencias en el dock Escena si el script que lo sobreescribe es un script ``tool``. +Los elementos del array devuelto por este método se muestran como advertencias en el dock Escena si el script que lo sobrescribe es un script ``tool``. Devolver un array vacío no produce advertencias. @@ -1526,7 +1526,7 @@ Se llama durante las actualizaciones de la información de accesibilidad para de Se llama cuando hay un evento de entrada. El evento de entrada se propaga a través del árbol de nodos hasta que un nodo lo consume. -Solo se llama si el procesamiento de entrada está habilitado, lo que se hace automáticamente si se sobreescribe este método y se puede alternar con :ref:`set_process_input()`. +Solo se llama si el procesamiento de entrada está habilitado, lo que se hace automáticamente si se sobrescribe este método y se puede alternar con :ref:`set_process_input()`. Para consumir el evento de entrada y evitar que se propague a otros nodos, se puede llamar a :ref:`Viewport.set_input_as_handled()`. @@ -1546,7 +1546,7 @@ Para la entrada de juego, :ref:`_unhandled_input()` / :ref:`Engine.physics_ticks_per_second`. -Solo se llama si el procesamiento de física está habilitado para este Nodo, lo que se hace automáticamente si se sobreescribe este método y se puede alternar con :ref:`set_physics_process()`. +Solo se llama si el procesamiento de física está habilitado para este Nodo, lo que se hace automáticamente si se sobrescribe este método y se puede alternar con :ref:`set_physics_process()`. El procesamiento se realiza en orden de :ref:`process_physics_priority`, los valores de prioridad más bajos se llaman primero. Los nodos con la misma prioridad se procesan en orden de árbol, o de arriba a abajo como se ve en el editor (también conocido como recorrido de preorden). @@ -1568,7 +1568,7 @@ Corresponde a la notificación :ref:`NOTIFICATION_PHYSICS_PROCESS`. +Solo se llama si el procesamiento está habilitado para este Nodo, lo que se hace automáticamente si se sobrescribe este método y se puede alternar con :ref:`set_process()`. El procesamiento se realiza en orden de :ref:`process_priority`, los valores de prioridad más bajos se llaman primero. Los nodos con la misma prioridad se procesan en orden de árbol, o de arriba a abajo como se ve en el editor (también conocido como recorrido de preorden). @@ -1594,9 +1594,9 @@ Corresponde a la notificación :ref:`NOTIFICATION_PROCESS` se activan primero, y el nodo padre recibirá la notificación de listo después. -Corresponde a la notificación :ref:`NOTIFICATION_READY` en :ref:`Object._notification()`. Vea también la anotación ``@onready`` para las variables. +Corresponde a la notificación :ref:`NOTIFICATION_READY` en :ref:`Object._notification()`. Véase también la anotación ``@onready`` para las variables. -Normalmente se usa para la inicialización. Para una inicialización aún más temprana, se puede usar :ref:`Object._init()`. Vea también :ref:`_enter_tree()`. +Normalmente se usa para la inicialización. Para una inicialización aún más temprana, se puede usar :ref:`Object._init()`. Véase también :ref:`_enter_tree()`. \ **Nota:** Este método se puede llamar solo una vez para cada nodo. Después de eliminar un nodo del árbol de escenas y volver a agregarlo, :ref:`_ready()` **no** se llamará una segunda vez. Esto se puede evitar solicitando otra llamada con :ref:`request_ready()`, que se puede llamar en cualquier lugar antes de volver a agregar el nodo. @@ -1612,7 +1612,7 @@ Normalmente se usa para la inicialización. Para una inicialización aún más t Se llama cuando un :ref:`InputEventKey`, :ref:`InputEventShortcut` o :ref:`InputEventJoypadButton` no ha sido consumido por :ref:`_input()` o cualquier elemento :ref:`Control` de la GUI. Se llama antes de :ref:`_unhandled_key_input()` y :ref:`_unhandled_input()`. El evento de entrada se propaga a través del árbol de nodos hasta que un nodo lo consume. -Solo se llama si el procesamiento de atajos está habilitado, lo que se hace automáticamente si se sobreescribe este método y se puede alternar con :ref:`set_process_shortcut_input()`. +Solo se llama si el procesamiento de atajos está habilitado, lo que se hace automáticamente si se sobrescribe este método y se puede alternar con :ref:`set_process_shortcut_input()`. Para consumir el evento de entrada y evitar que se propague a otros nodos, se puede llamar a :ref:`Viewport.set_input_as_handled()`. diff --git a/classes/es/class_node2d.rst b/classes/es/class_node2d.rst index ae187c8fbe..2da638cc94 100644 --- a/classes/es/class_node2d.rst +++ b/classes/es/class_node2d.rst @@ -25,7 +25,7 @@ Un objeto de juego 2D, con una transformación (posición, rotación y escala). Tutoriales -------------------- -- :doc:`Custom drawing in 2D <../tutorials/2d/custom_drawing_in_2d>` +- :doc:`Dibujo personalizado en 2D <../tutorials/2d/custom_drawing_in_2d>` - `Todos los Demos 2D `__ diff --git a/classes/es/class_node3d.rst b/classes/es/class_node3d.rst index 8cf87dec49..aee3c06021 100644 --- a/classes/es/class_node3d.rst +++ b/classes/es/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/es/class_nodepath.rst b/classes/es/class_nodepath.rst index f1d4c1cc63..421600da17 100644 --- a/classes/es/class_nodepath.rst +++ b/classes/es/class_nodepath.rst @@ -48,9 +48,9 @@ En algunas situaciones, es posible omitir el prefijo ``:`` inicial cuando se apu Las rutas de nodos no pueden comprobar si son válidas y pueden apuntar a nodos o propiedades que no existen. Su significado depende completamente del contexto en el que se utilizan. -Normalmente no hay que preocuparse por el tipo **NodePath**, ya que las cadenas se convierten automáticamente al tipo cuando es necesario. Aún hay ocasiones en las que definir rutas de nodos es útil. Por ejemplo, las propiedades **NodePath** exportadas permiten seleccionar fácilmente cualquier nodo dentro de la escena que se está editando actualmente. También se actualizan automáticamente al mover, renombrar o eliminar nodos en el editor del árbol de escenas. Consulta también ``anotación @GDScript.@export_node_path``. +Normalmente no hay que preocuparse por el tipo **NodePath**, ya que las strings se convierten automáticamente al tipo cuando es necesario. Aún hay ocasiones en las que definir rutas de nodos es útil. Por ejemplo, las propiedades **NodePath** exportadas permiten seleccionar fácilmente cualquier nodo dentro de la escena que se está editando actualmente. También se actualizan automáticamente al mover, renombrar o eliminar nodos en el editor del árbol de escenas. Véase también :ref:`@GDScript.@export_node_path`. -Consulta también :ref:`StringName`, que es un tipo similar diseñado para cadenas optimizadas. +Véase también :ref:`StringName`, que es un tipo similar diseñado para strings optimizadas. \ **Nota:** En un contexto booleano, un **NodePath** se evaluará como ``false`` si está vacío (``NodePath("")``). De lo contrario, un **NodePath** siempre se evaluará como ``true``. diff --git a/classes/es/class_omnilight3d.rst b/classes/es/class_omnilight3d.rst index a82a8ad0e0..a7a985cfbd 100644 --- a/classes/es/class_omnilight3d.rst +++ b/classes/es/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/es/class_openxractionmap.rst b/classes/es/class_openxractionmap.rst index b0c0c5a311..b27407926f 100644 --- a/classes/es/class_openxractionmap.rst +++ b/classes/es/class_openxractionmap.rst @@ -228,7 +228,7 @@ Retrieve the number of interaction profiles in our action map. |void| **remove_action_set**\ (\ action_set\: :ref:`OpenXRActionSet`\ ) :ref:`🔗` -Remove an action set. +Elimina un conjunto de acciones. .. rst-class:: classref-item-separator diff --git a/classes/es/class_openxrcompositionlayer.rst b/classes/es/class_openxrcompositionlayer.rst index 8f69433637..3cb2ef806a 100644 --- a/classes/es/class_openxrcompositionlayer.rst +++ b/classes/es/class_openxrcompositionlayer.rst @@ -589,7 +589,7 @@ The vertical wrap mode of the swapchain state. Si está habilitado, se creará una superficie de Android (con las dimensiones de :ref:`android_surface_size`) que proporcionará el contenido 2D para la capa de composición, en lugar de utilizar :ref:`layer_viewport`. -Consulta :ref:`get_android_surface()` para obtener información sobre cómo obtener la superficie para que tu aplicación pueda dibujar en ella. +Véase :ref:`get_android_surface()` para obtener información sobre cómo obtener la superficie para que tu aplicación pueda dibujar en ella. \ **Nota:** Esto solo funcionará en compilaciones de Android. diff --git a/classes/es/class_openxrdpadbindingmodifier.rst b/classes/es/class_openxrdpadbindingmodifier.rst index 01990027c6..fc0352fb7e 100644 --- a/classes/es/class_openxrdpadbindingmodifier.rst +++ b/classes/es/class_openxrdpadbindingmodifier.rst @@ -16,7 +16,7 @@ Descripción El modificador de enlace DPad convierte una entrada de eje en una salida de dpad, emulando un DPad. Se añadirán nuevas rutas de entrada para cada dirección del dpad al perfil de interacción. Cuando se vincula a acciones, la emulación del DPad se activará. **No** debe combinar entradas de dpad con entradas normales en el mismo conjunto de acciones para el mismo control, esto resultará en un error que se devolverá cuando se envíen los enlaces sugeridos a OpenXR. -Consulte `XR_EXT_dpad_binding `__ para obtener detalles en profundidad. +Consulta `XR_EXT_dpad_binding `__ para obtener detalles en profundidad. \ **Nota:** Si la extensión del modificador de enlace DPad está habilitada, todas las rutas de enlace de dpad estarán disponibles en el mapa de acciones. Añadir el modificador a un perfil de interacción le permite personalizar aún más el comportamiento. diff --git a/classes/es/class_optionbutton.rst b/classes/es/class_optionbutton.rst index 93c64457b8..32f1f98a5b 100644 --- a/classes/es/class_optionbutton.rst +++ b/classes/es/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/es/class_particleprocessmaterial.rst b/classes/es/class_particleprocessmaterial.rst index ddc6b430c1..5cdffafbaf 100644 --- a/classes/es/class_particleprocessmaterial.rst +++ b/classes/es/class_particleprocessmaterial.rst @@ -458,7 +458,7 @@ Utilizar con :ref:`set_particle_flag()` **PARTICLE_FLAG_ROTATE_Y** = ``1`` -Utilizar con :ref:`set_particle_flag()` para establecer :ref:`flag_rotate_y`. +Utilizar con :ref:`set_particle_flag()` para establecer :ref:`particle_flag_rotate_y`. .. _class_ParticleProcessMaterial_constant_PARTICLE_FLAG_DISABLE_Z: @@ -466,7 +466,7 @@ Utilizar con :ref:`set_particle_flag()` **PARTICLE_FLAG_DISABLE_Z** = ``2`` -Utiliza con :ref:`set_particle_flag()` para establecer :ref:`flag_disable_z`. +Utiliza con :ref:`set_particle_flag()` para establecer :ref:`particle_flag_disable_z`. .. _class_ParticleProcessMaterial_constant_PARTICLE_FLAG_DAMPING_AS_FRICTION: @@ -738,9 +738,9 @@ La rotación de cada partícula será animada a lo largo de esta :ref:`CurveText - |void| **set_param_max**\ (\ param\: :ref:`Parameter`, value\: :ref:`float`\ ) - :ref:`float` **get_param_max**\ (\ param\: :ref:`Parameter`\ ) |const| -Maximum initial rotation applied to each particle, in degrees. +Rotación inicial aplicada a cada partícula, en grados. -Only applied when :ref:`particle_flag_disable_z` or :ref:`particle_flag_rotate_y` are ``true`` or the :ref:`BaseMaterial3D` being used to draw the particle is using :ref:`BaseMaterial3D.BILLBOARD_PARTICLES`. +Sólo se aplica cuando :ref:`particle_flag_disable_z` o :ref:`particle_flag_rotate_y` son ``true`` o el :ref:`BaseMaterial3D` que se usa para dibujar la partícula está usando :ref:`BaseMaterial3D.BILLBOARD_PARTICLES`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_path3d.rst b/classes/es/class_path3d.rst index 990dee9a9f..6cfbd78cc8 100644 --- a/classes/es/class_path3d.rst +++ b/classes/es/class_path3d.rst @@ -14,9 +14,9 @@ Contains a :ref:`Curve3D` path for :ref:`PathFollow3D`. Véase ``PathFollow`` para más información sobre el uso. +Puede tener nodos hijos :ref:`PathFollow3D` moviéndose a lo largo de la :ref:`Curve3D`. Véase :ref:`PathFollow3D` para más información sobre el uso. -Ten en cuenta que la ruta se considera relativa a los nodos movidos (hijos de ``PathFollow``). Como tal, la curva debería comenzar normalmente con un vector cero ``(0, 0, 0)``. +Ten en cuenta que la ruta se considera relativa a los nodos movidos (hijos de :ref:`PathFollow3D`). Como tal, la curva debería comenzar normalmente con un vector cero ``(0, 0, 0)``. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_performance.rst b/classes/es/class_performance.rst index f3ec6a697c..989f2fa6f1 100644 --- a/classes/es/class_performance.rst +++ b/classes/es/class_performance.rst @@ -229,7 +229,7 @@ Número de islas en el motor de física 2D. *Cuanto menor, mejor.* :ref:`Monitor` **PHYSICS_3D_ACTIVE_OBJECTS** = ``20`` -Número de nodos activos de ``RigidBody`` y ``VehicleBody`` en el juego. *Cuanto menor, mejor.* +Número de nodos activos de :ref:`RigidBody3D` y :ref:`VehicleBody3D` en el juego. *Cuanto menor, mejor.* .. _class_Performance_constant_PHYSICS_3D_COLLISION_PAIRS: diff --git a/classes/es/class_physicalbone2d.rst b/classes/es/class_physicalbone2d.rst index c74abe3383..8d49f26f1c 100644 --- a/classes/es/class_physicalbone2d.rst +++ b/classes/es/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/es/class_physicalbone3d.rst b/classes/es/class_physicalbone3d.rst index 2e66750811..8dd6dd6e02 100644 --- a/classes/es/class_physicalbone3d.rst +++ b/classes/es/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/es/class_pointlight2d.rst b/classes/es/class_pointlight2d.rst index 66a73257bb..a946f9c38d 100644 --- a/classes/es/class_pointlight2d.rst +++ b/classes/es/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/es/class_quadoccluder3d.rst b/classes/es/class_quadoccluder3d.rst index 2499ddd5b9..a05d087a66 100644 --- a/classes/es/class_quadoccluder3d.rst +++ b/classes/es/class_quadoccluder3d.rst @@ -16,7 +16,7 @@ Descripción **QuadOccluder3D** almacena una forma de plano que puede ser utilizada por el sistema de oclusión de recorte del motor. Véase también :ref:`PolygonOccluder3D` si necesita personalizar la forma del quad. -Consulte la documentación de :ref:`OccluderInstance3D` para obtener instrucciones sobre cómo configurar la oclusión de recorte. +Consulta la documentación de :ref:`OccluderInstance3D` para obtener instrucciones sobre cómo configurar la oclusión de recorte. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_quaternion.rst b/classes/es/class_quaternion.rst index 5467875a8b..0652cf1af1 100644 --- a/classes/es/class_quaternion.rst +++ b/classes/es/class_quaternion.rst @@ -463,7 +463,7 @@ Devuelve ``true`` si este cuaternión es finito, llamando a :ref:`@GlobalScope.i :ref:`bool` **is_normalized**\ (\ ) |const| :ref:`🔗` -Devuelve ``true`` si este cuaternión está normalizado. Ver también :ref:`normalized()`. +Devuelve ``true`` si este cuaternión está normalizado. Véase también :ref:`normalized()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_reflectionprobe.rst b/classes/es/class_reflectionprobe.rst index 36f5f679bd..827ff90c12 100644 --- a/classes/es/class_reflectionprobe.rst +++ b/classes/es/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/es/class_remotetransform3d.rst b/classes/es/class_remotetransform3d.rst index cadc7308de..5db003eff8 100644 --- a/classes/es/class_remotetransform3d.rst +++ b/classes/es/class_remotetransform3d.rst @@ -7,16 +7,16 @@ RemoteTransform3D **Hereda:** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -RemoteTransform3D pushes its own :ref:`Transform3D` to another :ref:`Node3D` derived Node in the scene. +RemoteTransform3D empuja su propia :ref:`Transform3D` a otro Nodo derivado de :ref:`Node3D` en la escena. .. rst-class:: classref-introduction-group Descripción ---------------------- -RemoteTransform3D pushes its own :ref:`Transform3D` to another :ref:`Node3D` derived Node (called the remote node) in the scene. +RemoteTransform3D empuja su propia :ref:`Transform3D` a otro Nodo derivado de :ref:`Node3D` (llamado el nodo remoto) en la escena. -It can be set to update another Node's position, rotation and/or scale. It can use either global or local coordinates. +Puede ser configurado para actualizar la posición, rotación y/o escala de otro Nodo. Puede usar tanto coordenadas globales como locales. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_renderingdevice.rst b/classes/es/class_renderingdevice.rst index 295f4a41b6..de9459f204 100644 --- a/classes/es/class_renderingdevice.rst +++ b/classes/es/class_renderingdevice.rst @@ -296,7 +296,7 @@ enum **DeviceType**: :ref:`🔗` :ref:`DeviceType` **DEVICE_TYPE_OTHER** = ``0`` -El tipo de dispositivo de renderizado no coincide con ninguno de los otros valores de la enumeración o es desconocido. +El tipo de dispositivo de renderizado no coincide con ninguno de los otros valores del enum o es desconocido. .. _class_RenderingDevice_constant_DEVICE_TYPE_INTEGRATED_GPU: @@ -1714,7 +1714,7 @@ Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con :ref:`DataFormat` **DATA_FORMAT_BC2_SRGB_BLOCK** = ``135`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the ``[0.0, 1.0]`` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 4 bits of alpha channel. Using BC2 texture compression (also known as S3TC DXT3). +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato es de 5 bits del canal rojo, 6 bits del canal verde, 5 bits del canal azul y 4 bits del canal alfa. Utiliza la compresión de texturas BC2 (también conocida como S3TC DXT3). .. _class_RenderingDevice_constant_DATA_FORMAT_BC3_UNORM_BLOCK: @@ -1722,7 +1722,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_BC3_UNORM_BLOCK** = ``136`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5). +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato es de 5 bits del canal rojo, 6 bits del canal verde, 5 bits del canal azul y 8 bits del canal alfa. Utiliza la compresión de texturas BC3 (también conocida como S3TC DXT5). .. _class_RenderingDevice_constant_DATA_FORMAT_BC3_SRGB_BLOCK: @@ -1730,7 +1730,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_BC3_SRGB_BLOCK** = ``137`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the ``[0.0, 1.0]`` range. The format's precision is 5 bits of red channel, 6 bits of green channel, 5 bits of blue channel and 8 bits of alpha channel. Using BC3 texture compression (also known as S3TC DXT5). +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato es de 5 bits del canal rojo, 6 bits del canal verde, 5 bits del canal azul y 8 bits del canal alfa. Utiliza la compresión de texturas BC3 (también conocida como S3TC DXT5). .. _class_RenderingDevice_constant_DATA_FORMAT_BC4_UNORM_BLOCK: @@ -1738,7 +1738,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_BC4_UNORM_BLOCK** = ``138`` -VRAM-compressed unsigned red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. The format's precision is 8 bits of red channel. Using BC4 texture compression. +Formato de datos de canal rojo sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato es de 8 bits del canal rojo. Utiliza la compresión de texturas BC4. .. _class_RenderingDevice_constant_DATA_FORMAT_BC4_SNORM_BLOCK: @@ -1746,7 +1746,7 @@ VRAM-compressed unsigned red channel data format with normalized value. Values a :ref:`DataFormat` **DATA_FORMAT_BC4_SNORM_BLOCK** = ``139`` -VRAM-compressed signed red channel data format with normalized value. Values are in the ``[-1.0, 1.0]`` range. The format's precision is 8 bits of red channel. Using BC4 texture compression. +Formato de datos de canal rojo con signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[-1.0, 1.0]``. La precisión del formato es de 8 bits del canal rojo. Utiliza la compresión de texturas BC4. .. _class_RenderingDevice_constant_DATA_FORMAT_BC5_UNORM_BLOCK: @@ -1754,7 +1754,7 @@ VRAM-compressed signed red channel data format with normalized value. Values are :ref:`DataFormat` **DATA_FORMAT_BC5_UNORM_BLOCK** = ``140`` -VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC). +Formato de datos de canal rojo/verde sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato es de 8 bits del canal rojo y 8 bits del canal verde. Utiliza la compresión de texturas BC5 (también conocida como S3TC RGTC). .. _class_RenderingDevice_constant_DATA_FORMAT_BC5_SNORM_BLOCK: @@ -1762,7 +1762,7 @@ VRAM-compressed unsigned red/green channel data format with normalized value. Va :ref:`DataFormat` **DATA_FORMAT_BC5_SNORM_BLOCK** = ``141`` -VRAM-compressed signed red/green channel data format with normalized value. Values are in the ``[-1.0, 1.0]`` range. The format's precision is 8 bits of red channel and 8 bits of green channel. Using BC5 texture compression (also known as S3TC RGTC). +Formato de datos de canal rojo/verde con signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[-1.0, 1.0]``. La precisión del formato es de 8 bits del canal rojo y 8 bits del canal verde. Utiliza la compresión de texturas BC5 (también conocida como S3TC RGTC). .. _class_RenderingDevice_constant_DATA_FORMAT_BC6H_UFLOAT_BLOCK: @@ -1770,7 +1770,7 @@ VRAM-compressed signed red/green channel data format with normalized value. Valu :ref:`DataFormat` **DATA_FORMAT_BC6H_UFLOAT_BLOCK** = ``142`` -VRAM-compressed unsigned red/green/blue channel data format with the floating-point value stored as-is. The format's precision is between 10 and 13 bits for the red/green/blue channels. Using BC6H texture compression (also known as BPTC HDR). +Formato de datos de canal rojo/verde/azul sin signo comprimido en VRAM con el valor de punto flotante almacenado tal cual. La precisión del formato está entre 10 y 13 bits para los canales rojo/verde/azul. Utiliza la compresión de texturas BC6H (también conocida como BPTC HDR). .. _class_RenderingDevice_constant_DATA_FORMAT_BC6H_SFLOAT_BLOCK: @@ -1778,7 +1778,7 @@ VRAM-compressed unsigned red/green/blue channel data format with the floating-po :ref:`DataFormat` **DATA_FORMAT_BC6H_SFLOAT_BLOCK** = ``143`` -VRAM-compressed signed red/green/blue channel data format with the floating-point value stored as-is. The format's precision is between 10 and 13 bits for the red/green/blue channels. Using BC6H texture compression (also known as BPTC HDR). +Formato de datos de canal rojo/verde/azul con signo comprimido en VRAM con el valor de punto flotante almacenado tal cual. La precisión del formato está entre 10 y 13 bits para los canales rojo/verde/azul. Utiliza la compresión de texturas BC6H (también conocida como BPTC HDR). .. _class_RenderingDevice_constant_DATA_FORMAT_BC7_UNORM_BLOCK: @@ -1786,7 +1786,7 @@ VRAM-compressed signed red/green/blue channel data format with the floating-poin :ref:`DataFormat` **DATA_FORMAT_BC7_UNORM_BLOCK** = ``144`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato está entre 4 y 7 bits para los canales rojo/verde/azul y entre 0 y 8 bits para el canal alfa. También conocido como BPTC LDR. .. _class_RenderingDevice_constant_DATA_FORMAT_BC7_SRGB_BLOCK: @@ -1794,7 +1794,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_BC7_SRGB_BLOCK** = ``145`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the ``[0.0, 1.0]`` range. The format's precision is between 4 and 7 bits for the red/green/blue channels and between 0 and 8 bits for the alpha channel. Also known as BPTC LDR. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal. Los valores están en el rango ``[0.0, 1.0]``. La precisión del formato está entre 4 y 7 bits para los canales rojo/verde/azul y entre 0 y 8 bits para el canal alfa. También conocido como BPTC LDR. .. _class_RenderingDevice_constant_DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK: @@ -1802,7 +1802,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_ETC2_R8G8B8_UNORM_BLOCK** = ``146`` -VRAM-compressed unsigned red/green/blue channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Using ETC2 texture compression. +Formato de datos de canal rojo/verde/azul sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_ETC2_R8G8B8_SRGB_BLOCK: @@ -1818,7 +1818,7 @@ Formato de datos de canal rojo/verde/azul sin signo comprimido en VRAM con valor :ref:`DataFormat` **DATA_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK** = ``148`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Rojo/verde/azul utilizan 8 bits de precisión cada uno, con alfa utilizando 1 bit de precisión. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK: @@ -1826,7 +1826,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK** = ``149`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the ``[0.0, 1.0]`` range. Red/green/blue use 8 bit of precision each, with alpha using 1 bit of precision. Using ETC2 texture compression. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal. Los valores están en el rango ``[0.0, 1.0]``. Rojo/verde/azul utilizan 8 bits de precisión cada uno, con alfa utilizando 1 bit de precisión. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK: @@ -1834,7 +1834,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK** = ``150`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Rojo/verde/azul utilizan 8 bits de precisión cada uno, con alfa utilizando 8 bits de precisión. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK: @@ -1842,7 +1842,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK** = ``151`` -VRAM-compressed unsigned red/green/blue/alpha channel data format with normalized value and non-linear sRGB encoding. Values are in the ``[0.0, 1.0]`` range. Red/green/blue use 8 bits of precision each, with alpha using 8 bits of precision. Using ETC2 texture compression. +Formato de datos de canal rojo/verde/azul/alfa sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal. Los valores están en el rango ``[0.0, 1.0]``. Rojo/verde/azul utilizan 8 bits de precisión cada uno, con alfa utilizando 8 bits de precisión. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_EAC_R11_UNORM_BLOCK: @@ -1850,7 +1850,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_EAC_R11_UNORM_BLOCK** = ``152`` -11-bit VRAM-compressed unsigned red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Using ETC2 texture compression. +Formato de datos de canal rojo sin signo comprimido en VRAM de 11 bits con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_EAC_R11_SNORM_BLOCK: @@ -1858,7 +1858,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_EAC_R11_SNORM_BLOCK** = ``153`` -11-bit VRAM-compressed signed red channel data format with normalized value. Values are in the ``[-1.0, 1.0]`` range. Using ETC2 texture compression. +Formato de datos de canal rojo con signo comprimido en VRAM de 11 bits con valor normalizado. Los valores están en el rango ``[-1.0, 1.0]``. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_EAC_R11G11_UNORM_BLOCK: @@ -1866,7 +1866,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_EAC_R11G11_UNORM_BLOCK** = ``154`` -11-bit VRAM-compressed unsigned red/green channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Using ETC2 texture compression. +Formato de datos de canal rojo/verde sin signo comprimido en VRAM de 11 bits con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_EAC_R11G11_SNORM_BLOCK: @@ -1874,7 +1874,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_EAC_R11G11_SNORM_BLOCK** = ``155`` -11-bit VRAM-compressed signed red/green channel data format with normalized value. Values are in the ``[-1.0, 1.0]`` range. Using ETC2 texture compression. +Formato de datos de canal rojo/verde con signo comprimido en VRAM de 11 bits con valor normalizado. Los valores están en el rango ``[-1.0, 1.0]``. Utiliza la compresión de texturas ETC2. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_4x4_UNORM_BLOCK: @@ -1882,7 +1882,7 @@ VRAM-compressed unsigned red/green/blue/alpha channel data format with normalize :ref:`DataFormat` **DATA_FORMAT_ASTC_4x4_UNORM_BLOCK** = ``156`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 4×4 blocks (highest quality). Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 4×4 (máxima calidad). Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_4x4_SRGB_BLOCK: @@ -1890,7 +1890,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_4x4_SRGB_BLOCK** = ``157`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 4×4 blocks (highest quality). Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 4×4 (máxima calidad). Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_5x4_UNORM_BLOCK: @@ -1898,7 +1898,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_5x4_UNORM_BLOCK** = ``158`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×4 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 5×4. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_5x4_SRGB_BLOCK: @@ -1906,7 +1906,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_5x4_SRGB_BLOCK** = ``159`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 5×4 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 5×4. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_5x5_UNORM_BLOCK: @@ -1914,7 +1914,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_5x5_UNORM_BLOCK** = ``160`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 5×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 5×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_5x5_SRGB_BLOCK: @@ -1922,7 +1922,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_5x5_SRGB_BLOCK** = ``161`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 5×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 5×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_6x5_UNORM_BLOCK: @@ -1930,7 +1930,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_6x5_UNORM_BLOCK** = ``162`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 6×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_6x5_SRGB_BLOCK: @@ -1938,7 +1938,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_6x5_SRGB_BLOCK** = ``163`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 6×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 6×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_6x6_UNORM_BLOCK: @@ -1946,7 +1946,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_6x6_UNORM_BLOCK** = ``164`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 6×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 6×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_6x6_SRGB_BLOCK: @@ -1954,7 +1954,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_6x6_SRGB_BLOCK** = ``165`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 6×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 6×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x5_UNORM_BLOCK: @@ -1962,7 +1962,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_8x5_UNORM_BLOCK** = ``166`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 8×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x5_SRGB_BLOCK: @@ -1970,7 +1970,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_8x5_SRGB_BLOCK** = ``167`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 8×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x6_UNORM_BLOCK: @@ -1978,7 +1978,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_8x6_UNORM_BLOCK** = ``168`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 8×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x6_SRGB_BLOCK: @@ -1986,7 +1986,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_8x6_SRGB_BLOCK** = ``169`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 8×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x8_UNORM_BLOCK: @@ -1994,7 +1994,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_8x8_UNORM_BLOCK** = ``170`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 8×8 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 8×8. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_8x8_SRGB_BLOCK: @@ -2002,7 +2002,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_8x8_SRGB_BLOCK** = ``171`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 8×8 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 8×8. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x5_UNORM_BLOCK: @@ -2010,7 +2010,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_10x5_UNORM_BLOCK** = ``172`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 10×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x5_SRGB_BLOCK: @@ -2018,7 +2018,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_10x5_SRGB_BLOCK** = ``173`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×5 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 10×5. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x6_UNORM_BLOCK: @@ -2026,7 +2026,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_10x6_UNORM_BLOCK** = ``174`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 10×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x6_SRGB_BLOCK: @@ -2034,7 +2034,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_10x6_SRGB_BLOCK** = ``175`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×6 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 10×6. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x8_UNORM_BLOCK: @@ -2042,7 +2042,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_10x8_UNORM_BLOCK** = ``176`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×8 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 10×8. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x8_SRGB_BLOCK: @@ -2050,7 +2050,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_10x8_SRGB_BLOCK** = ``177`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×8 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 10×8. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x10_UNORM_BLOCK: @@ -2058,7 +2058,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_10x10_UNORM_BLOCK** = ``178`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 10×10 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 10×10. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_10x10_SRGB_BLOCK: @@ -2066,7 +2066,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_10x10_SRGB_BLOCK** = ``179`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 10×10 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 10×10. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_12x10_UNORM_BLOCK: @@ -2074,7 +2074,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_12x10_UNORM_BLOCK** = ``180`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 12×10 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 12×10. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_12x10_SRGB_BLOCK: @@ -2082,7 +2082,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_12x10_SRGB_BLOCK** = ``181`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 12×10 blocks. Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 12×10. Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_12x12_UNORM_BLOCK: @@ -2090,7 +2090,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_ASTC_12x12_UNORM_BLOCK** = ``182`` -VRAM-compressed unsigned floating-point data format with normalized value, packed in 12 blocks (lowest quality). Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado, empaquetado en bloques de 12 (calidad más baja). Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_12x12_SRGB_BLOCK: @@ -2098,7 +2098,7 @@ VRAM-compressed unsigned floating-point data format with normalized value, packe :ref:`DataFormat` **DATA_FORMAT_ASTC_12x12_SRGB_BLOCK** = ``183`` -VRAM-compressed unsigned floating-point data format with normalized value and non-linear sRGB encoding, packed in 12 blocks (lowest quality). Values are in the ``[0.0, 1.0]`` range. Using ASTC compression. +Formato de datos de punto flotante sin signo comprimido en VRAM con valor normalizado y codificación sRGB no lineal, empaquetado en bloques de 12 (calidad más baja). Los valores están en el rango ``[0.0, 1.0]``. Utiliza la compresión ASTC. .. _class_RenderingDevice_constant_DATA_FORMAT_G8B8G8R8_422_UNORM: @@ -2106,7 +2106,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8B8G8R8_422_UNORM** = ``184`` -8-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Formato de datos de canal verde/azul/rojo de punto flotante sin signo de 8 bits por canal con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_B8G8R8G8_422_UNORM: @@ -2114,7 +2114,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_B8G8R8G8_422_UNORM** = ``185`` -8-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Formato de datos de canal azul/verde/rojo de punto flotante sin signo de 8 bits por canal con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G8_B8_R8_3PLANE_420_UNORM: @@ -2122,7 +2122,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8_B8_R8_3PLANE_420_UNORM** = ``186`` -8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 8 bits por canal con valor normalizado, almacenados en 3 planos separados (verde + azul+ rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G8_B8R8_2PLANE_420_UNORM: @@ -2130,7 +2130,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8_B8R8_2PLANE_420_UNORM** = ``187`` -8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 8 bits por canal con valor normalizado, almacenados en 2 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G8_B8_R8_3PLANE_422_UNORM: @@ -2138,7 +2138,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8_B8_R8_3PLANE_422_UNORM** = ``188`` -8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 8 bits por canal con valor normalizado, almacenados en 2 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G8_B8R8_2PLANE_422_UNORM: @@ -2146,7 +2146,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8_B8R8_2PLANE_422_UNORM** = ``189`` -8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 2 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 8 bits por canal con valor normalizado, almacenados en 2 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G8_B8_R8_3PLANE_444_UNORM: @@ -2154,7 +2154,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G8_B8_R8_3PLANE_444_UNORM** = ``190`` -8-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, stored across 3 separate planes. Values are in the ``[0.0, 1.0]`` range. +Datos de canal verde/azul/rojo en punto flotante sin signo de 8 bits por canal con valor normalizado, almacenados en 3 planos separados. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R10X6_UNORM_PACK16: @@ -2162,7 +2162,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R10X6_UNORM_PACK16** = ``191`` -10-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados, empaquetados en 16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R10X6G10X6_UNORM_2PACK16: @@ -2170,7 +2170,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R10X6G10X6_UNORM_2PACK16** = ``192`` -10-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo/verde en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 2×16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16: @@ -2178,7 +2178,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R10X6G10X6B10X6A10X6_UNORM_4PACK16** = ``193`` -10-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo/verde/azul/alfa en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16: @@ -2186,7 +2186,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6B10X6G10X6R10X6_422_UNORM_4PACK16** = ``194`` -10-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution. +Datos de canal verde/azul/verde/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). El canal verde se enumera dos veces, pero contiene valores diferentes para permitir que se represente a resolución completa. .. _class_RenderingDevice_constant_DATA_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16: @@ -2194,7 +2194,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_B10X6G10X6R10X6G10X6_422_UNORM_4PACK16** = ``195`` -10-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution. +Datos de canal azul/verde/rojo/verde en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). El canal verde se enumera dos veces, pero contiene valores diferentes para permitir que se represente a resolución completa. .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16: @@ -2202,7 +2202,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_420_UNORM_3PACK16** = ``196`` -10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 2 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16: @@ -2210,7 +2210,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_420_UNORM_3PACK16** = ``197`` -10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 2 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16: @@ -2218,7 +2218,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_422_UNORM_3PACK16** = ``198`` -10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16: @@ -2226,7 +2226,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6_B10X6R10X6_2PLANE_422_UNORM_3PACK16** = ``199`` -10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16: @@ -2234,7 +2234,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G10X6_B10X6_R10X6_3PLANE_444_UNORM_3PACK16** = ``200`` -10-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. +Datos de canal verde/azul/rojo en punto flotante sin signo de 10 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R12X4_UNORM_PACK16: @@ -2242,7 +2242,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R12X4_UNORM_PACK16** = ``201`` -12-bit-per-channel unsigned floating-point red channel data with normalized value, plus 6 unused bits, packed in 16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados, empaquetados en 16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R12X4G12X4_UNORM_2PACK16: @@ -2250,7 +2250,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R12X4G12X4_UNORM_2PACK16** = ``202`` -12-bit-per-channel unsigned floating-point red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 2×16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo/verde en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 2×16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16: @@ -2258,7 +2258,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_R12X4G12X4B12X4A12X4_UNORM_4PACK16** = ``203`` -12-bit-per-channel unsigned floating-point red/green/blue/alpha channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. +Datos de canal rojo/verde/azul/alfa en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16: @@ -2266,7 +2266,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4B12X4G12X4R12X4_422_UNORM_4PACK16** = ``204`` -12-bit-per-channel unsigned floating-point green/blue/green/red channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution. +Datos de canal verde/azul/verde/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). El canal verde se enumera dos veces, pero contiene valores diferentes para permitir que se represente a resolución completa. .. _class_RenderingDevice_constant_DATA_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16: @@ -2274,7 +2274,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_B12X4G12X4R12X4G12X4_422_UNORM_4PACK16** = ``205`` -12-bit-per-channel unsigned floating-point blue/green/red/green channel data with normalized value, plus 6 unused bits after each channel, packed in 4×16 bits. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). The green channel is listed twice, but contains different values to allow it to be represented at full resolution. +Datos de canal azul/verde/rojo/verde en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal, empaquetados en 4×16 bits. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). El canal verde se enumera dos veces, pero contiene valores diferentes para permitir que se represente a resolución completa. .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16: @@ -2282,7 +2282,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_420_UNORM_3PACK16** = ``206`` -12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 2 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16: @@ -2290,7 +2290,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_420_UNORM_3PACK16** = ``207`` -12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 2 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 2 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16: @@ -2298,7 +2298,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_422_UNORM_3PACK16** = ``208`` -12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16: @@ -2306,7 +2306,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4_B12X4R12X4_2PLANE_422_UNORM_3PACK16** = ``209`` -12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16: @@ -2314,7 +2314,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G12X4_B12X4_R12X4_3PLANE_444_UNORM_3PACK16** = ``210`` -12-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Packed in 3×16 bits and stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. +Datos de canal verde/azul/rojo en punto flotante sin signo de 12 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Empaquetado en 3×16 bits y almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_G16B16G16R16_422_UNORM: @@ -2322,7 +2322,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16B16G16R16_422_UNORM** = ``211`` -16-bit-per-channel unsigned floating-point green/blue/red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Formato de datos de canal verde/azul/rojo de punto flotante sin signo de 16 bits por canal con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_B16G16R16G16_422_UNORM: @@ -2330,7 +2330,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_B16G16R16G16_422_UNORM** = ``212`` -16-bit-per-channel unsigned floating-point blue/green/red channel data format with normalized value. Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Formato de datos de canal azul/verde/rojo de punto flotante sin signo de 16 bits por canal con valor normalizado. Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G16_B16_R16_3PLANE_420_UNORM: @@ -2338,7 +2338,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16_B16_R16_3PLANE_420_UNORM** = ``213`` -16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 16 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Almacenado en 2 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G16_B16R16_2PLANE_420_UNORM: @@ -2346,7 +2346,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16_B16R16_2PLANE_420_UNORM** = ``214`` -16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 2 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal and vertical resolution (i.e. 2×2 adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 16 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Almacenado en 2 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal y vertical reducida a la mitad (es decir, 2×2 píxeles adyacentes compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G16_B16_R16_3PLANE_422_UNORM: @@ -2354,7 +2354,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16_B16_R16_3PLANE_422_UNORM** = ``215`` -16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 16 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G16_B16R16_2PLANE_422_UNORM: @@ -2362,7 +2362,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16_B16R16_2PLANE_422_UNORM** = ``216`` -16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue/red). Values are in the ``[0.0, 1.0]`` range. Blue and red channel data is stored at halved horizontal resolution (i.e. 2 horizontally adjacent pixels will share the same value for the blue/red channel). +Datos de canal verde/azul/rojo en punto flotante sin signo de 16 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Almacenado en 3 planos separados (verde + azul/rojo). Los valores están en el rango ``[0.0, 1.0]``. Los datos de los canales azul y rojo se almacenan con una resolución horizontal reducida a la mitad (es decir, 2 píxeles adyacentes horizontalmente compartirán el mismo valor para el canal azul/rojo). .. _class_RenderingDevice_constant_DATA_FORMAT_G16_B16_R16_3PLANE_444_UNORM: @@ -2370,7 +2370,7 @@ VRAM-compressed unsigned floating-point data format with normalized value and no :ref:`DataFormat` **DATA_FORMAT_G16_B16_R16_3PLANE_444_UNORM** = ``217`` -16-bit-per-channel unsigned floating-point green/blue/red channel data with normalized value, plus 6 unused bits after each channel. Stored across 3 separate planes (green + blue + red). Values are in the ``[0.0, 1.0]`` range. +Datos de canal verde/azul/rojo en punto flotante sin signo de 16 bits por canal con valor normalizado, más 6 bits no utilizados después de cada canal. Almacenado en 3 planos separados (verde + azul + rojo). Los valores están en el rango ``[0.0, 1.0]``. .. _class_RenderingDevice_constant_DATA_FORMAT_ASTC_4x4_SFLOAT_BLOCK: diff --git a/classes/es/class_renderingserver.rst b/classes/es/class_renderingserver.rst index 1a89099434..7c16e74c45 100644 --- a/classes/es/class_renderingserver.rst +++ b/classes/es/class_renderingserver.rst @@ -1347,7 +1347,7 @@ El array es un array normales. :ref:`ArrayType` **ARRAY_TANGENT** = ``2`` -El Array es una array de tangentes. +El Array es un array de tangentes. .. _class_RenderingServer_constant_ARRAY_COLOR: @@ -1543,7 +1543,7 @@ Bandera usada para marcar un array de posiciones de vértice. :ref:`ArrayFormat` **ARRAY_FORMAT_NORMAL** = ``2`` -Bandera usada para marcar una array de normales. +Bandera usada para marcar un array de normales. .. _class_RenderingServer_constant_ARRAY_FORMAT_TANGENT: @@ -3587,7 +3587,7 @@ El búfer normal se dibuja en lugar de la escena normal para que puedas ver las :ref:`ViewportDebugDraw` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO** = ``6`` -Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -3597,7 +3597,7 @@ Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING** = ``7`` -Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -3607,7 +3607,7 @@ Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION** = ``8`` -Los objetos se muestran solo con el color de emisión de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el color de emisión de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -3709,7 +3709,7 @@ Dibuja los datos de la sonda SDFGI. Esta es la estructura de datos que se utiliz :ref:`ViewportDebugDraw` **VIEWPORT_DEBUG_DRAW_GI_BUFFER** = ``18`` -Dibuja el búfer de iluminación global de :ref:`VoxelGI` o SDFGI. Requiere que :ref:`VoxelGI` (al menos un nodo VoxelGI horneado visible) o SDFGI (:ref:`Environment.sdfgi_enabled`) estén habilitados para tener un efecto visible. +Dibuja el búfer de iluminación global de :ref:`VoxelGI` o SDFGI. Requiere que :ref:`VoxelGI` (al menos un nodo VoxelGI procesado visible) o SDFGI (:ref:`Environment.sdfgi_enabled`) estén habilitados para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -6125,7 +6125,7 @@ Descripciones de Métodos :ref:`Array`\[:ref:`Image`\] **bake_render_uv2**\ (\ base\: :ref:`RID`, material_overrides\: :ref:`Array`\[:ref:`RID`\], image_size\: :ref:`Vector2i`\ ) :ref:`🔗` -Realiza un horneado de los datos del material de la :ref:`Mesh` pasada en el parámetro ``base`` con ``material_overrides`` opcionales a un conjunto de :ref:`Image`\ s del tamaño de ``image_size``. Devuelve un array de :ref:`Image`\ s que contienen las propiedades del material tal y como se especifica en :ref:`BakeChannels`. +Realiza un procesado de los datos del material de la :ref:`Mesh` pasada en el parámetro ``base`` con ``material_overrides`` opcionales a un conjunto de :ref:`Image`\ s del tamaño de ``image_size``. Devuelve un array de :ref:`Image`\ s que contienen las propiedades del material tal y como se especifica en :ref:`BakeChannels`. .. rst-class:: classref-item-separator @@ -10076,7 +10076,7 @@ Devuelve los datos personalizados asociados a la instancia especificada. :ref:`Transform3D` **multimesh_instance_get_transform**\ (\ multimesh\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Transform3D` of the specified instance. +Devuelve la :ref:`Transform3D` de la instancia especificada. .. rst-class:: classref-item-separator @@ -10138,7 +10138,7 @@ Establece los datos personalizados para este caso. Los datos personalizados se p |void| **multimesh_instance_set_transform**\ (\ multimesh\: :ref:`RID`, index\: :ref:`int`, transform\: :ref:`Transform3D`\ ) :ref:`🔗` -Sets the :ref:`Transform3D` for this instance. Equivalent to :ref:`MultiMesh.set_instance_transform()`. +Establece la :ref:`Transform3D` para este caso. Equivalente a :ref:`MultiMesh.set_instance_transform()`. .. rst-class:: classref-item-separator @@ -10653,7 +10653,7 @@ Sets the number of draw passes to use. Equivalent to :ref:`GPUParticles3D.draw_p |void| **particles_set_emission_transform**\ (\ particles\: :ref:`RID`, transform\: :ref:`Transform3D`\ ) :ref:`🔗` -Sets the :ref:`Transform3D` that will be used by the particles when they first emit. +Establece la :ref:`Transform3D` que será utilizada por las partículas cuando emitan por primera vez. .. rst-class:: classref-item-separator @@ -11357,7 +11357,7 @@ Sets the path hint for the specified shader. This should generally match the :re :ref:`Transform3D` **skeleton_bone_get_transform**\ (\ skeleton\: :ref:`RID`, bone\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Transform3D` set for a specific bone of this skeleton. +Devuelve el conjunto :ref:`Transform3D` para un hueso específico de este esqueleto. .. rst-class:: classref-item-separator @@ -11369,7 +11369,7 @@ Returns the :ref:`Transform3D` set for a specific bone of thi :ref:`Transform2D` **skeleton_bone_get_transform_2d**\ (\ skeleton\: :ref:`RID`, bone\: :ref:`int`\ ) |const| :ref:`🔗` -Devuelve el conjunto ``Transform`` para un hueso específico de este esqueleto. +Devuelve el conjunto :ref:`Transform3D` para un hueso específico de este esqueleto. .. rst-class:: classref-item-separator @@ -12300,7 +12300,7 @@ Establece el padre del viewport al viewport especificado por el ``parent_viewpor |void| **viewport_set_positional_shadow_atlas_quadrant_subdivision**\ (\ viewport\: :ref:`RID`, quadrant\: :ref:`int`, subdivision\: :ref:`int`\ ) :ref:`🔗` -Establece el número de subdivisiones a utilizar en el atlas de sombras especificado ``quadrant`` para sombras omnidireccionales y puntuales. Ver también :ref:`Viewport.set_positional_shadow_atlas_quadrant_subdiv()`. +Establece el número de subdivisiones a utilizar en el atlas de sombras especificado ``quadrant`` para sombras omnidireccionales y puntuales. Véase también :ref:`Viewport.set_positional_shadow_atlas_quadrant_subdiv()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceformatloader.rst b/classes/es/class_resourceformatloader.rst index 6d02f4cc24..a117fe61fa 100644 --- a/classes/es/class_resourceformatloader.rst +++ b/classes/es/class_resourceformatloader.rst @@ -218,7 +218,7 @@ Obtiene el nombre de la clase del recurso asociado con el camino dado. Si el car :ref:`int` **_get_resource_uid**\ (\ path\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Debería devolver el ID único para el recurso asociado con la ruta dada. Si este método no se sobreescribe, se genera un archivo ``.uid`` junto con el archivo de recurso, conteniendo el ID único. +Debería devolver el ID único para el recurso asociado con la ruta dada. Si este método no se sobrescribe, se genera un archivo ``.uid`` junto con el archivo de recurso, conteniendo el ID único. .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceformatsaver.rst b/classes/es/class_resourceformatsaver.rst index 5c64f51b86..78696d72d3 100644 --- a/classes/es/class_resourceformatsaver.rst +++ b/classes/es/class_resourceformatsaver.rst @@ -53,7 +53,7 @@ Descripciones de Métodos :ref:`PackedStringArray` **_get_recognized_extensions**\ (\ resource\: :ref:`Resource`\ ) |virtual| |const| :ref:`🔗` -Devuelve la lista de extensiones disponibles para guardar el objeto de recurso, siempre que se reconozca (véase :ref:`recognize()`). +Devuelve la lista de extensiones disponibles para guardar el objeto de recurso, siempre que se reconozca (véase :ref:`_recognize()`). .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceimporterimagefont.rst b/classes/es/class_resourceimporterimagefont.rst index 7bc600d418..98580c2db3 100644 --- a/classes/es/class_resourceimporterimagefont.rst +++ b/classes/es/class_resourceimporterimagefont.rst @@ -178,7 +178,7 @@ El margen a cortar en los lados de toda la imagen. Esto se puede usar para corta Pares de kerning para la fuente. El par de kerning ajusta el espaciado entre dos caracteres. -Cada cadena consiste en tres valores separados por espacios: cadena "desde", cadena "hasta" y un desplazamiento entero. Cada combinación forma las dos cadenas para un par de kerning, por ejemplo, ``ab cd -3`` creará pares de kerning ``ac``, ``ad``, ``bc``, y ``bd`` con un desplazamiento de ``-3``. Las secuencias de escape ``\uXXXX`` se pueden usar para añadir caracteres Unicode. +Cada cadena consiste en tres valores separados por espacios: cadena "desde", cadena "hasta" y un desplazamiento entero. Cada combinación forma las dos strings para un par de kerning, por ejemplo, ``ab cd -3`` creará pares de kerning ``ac``, ``ad``, ``bc``, y ``bd`` con un desplazamiento de ``-3``. Las secuencias de escape ``\uXXXX`` se pueden usar para añadir caracteres Unicode. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. diff --git a/classes/es/class_resourceimporterlayeredtexture.rst b/classes/es/class_resourceimporterlayeredtexture.rst index b78b7fa316..01f0a7422f 100644 --- a/classes/es/class_resourceimporterlayeredtexture.rst +++ b/classes/es/class_resourceimporterlayeredtexture.rst @@ -88,7 +88,7 @@ Controla cómo se deben usar los canales de color en la textura importada. Controla cómo se debe realizar la compresión VRAM para las imágenes HDR. -\ **Desactivado:** Nunca uses la compresión VRAM para texturas HDR, independientemente de si son opacas o transparentes. En su lugar, la textura se convierte a RGBE9995 (9 bits por canal + exponente de 5 bits = 32 bits por píxel) para reducir el uso de memoria en comparación con un formato de imagen de coma flotante de media precisión o de precisión simple. +\ **Desactivado:** Nunca uses la compresión VRAM para texturas HDR, independientemente de si son opacas o transparentes. En su lugar, la textura se convierte a RGBE9995 (9 bits por canal + exponente de 5 bits = 32 bits por píxel) para reducir el uso de memoria en comparación con un formato de imagen de punto flotante de media precisión o de precisión simple. \ **Solo opaco:** Solo usa la compresión VRAM para texturas HDR opacas. Esto se debe a una limitación de los formatos HDR, ya que no hay un formato HDR comprimido en VRAM que admita la transparencia al mismo tiempo. @@ -146,7 +146,7 @@ El modo de compresión a utilizar. Cada modo de compresión ofrece una compensac \ **Basis Universal:** Calidad reducida, bajo uso de memoria, menor tamaño en el disco, importación lenta. Solo usar para texturas en escenas 3D, no para elementos 2D. -Ver `Modo de compresión <../tutorials/assets_pipeline/importing_images.html#compress-mode>`__ en el manual para más detalles. +Véase `Modo de compresión <../tutorials/assets_pipeline/importing_images.html#compress-mode>`__ en el manual para más detalles. .. rst-class:: classref-item-separator @@ -162,7 +162,7 @@ Si es mayor o igual que ``0.01``, activa la optimización de tasa-distorsión (R \ **Nota:** Habilitar RDO hace que los tiempos de codificación sean significativamente más largos, especialmente cuando la imagen es grande. -Ver también :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` y :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` si quieres reducir aún más el tamaño del archivo. +Véase también :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` y :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` si quieres reducir aún más el tamaño del archivo. .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceimporterobj.rst b/classes/es/class_resourceimporterobj.rst index be595e378e..9b4adae091 100644 --- a/classes/es/class_resourceimporterobj.rst +++ b/classes/es/class_resourceimporterobj.rst @@ -90,7 +90,7 @@ Si es ``true``, genera UV2 al importar para el procesado de :ref:`LightmapGI` **generate_lightmap_uv2_texel_size** = ``0.2`` :ref:`🔗` -Controla el tamaño de cada texel en el mapa de luz horneado. Un valor más pequeño da como resultado mapas de luz más precisos, a costa de tamaños de mapas de luz más grandes y tiempos de horneado más largos. +Controla el tamaño de cada texel en el mapa de luz procesado. Un valor más pequeño da como resultado mapas de luz más precisos, a costa de tamaños de mapas de luz más grandes y tiempos de procesado más largos. \ **Nota:** Solo es efectivo si :ref:`generate_lightmap_uv2` es ``true``. @@ -104,7 +104,7 @@ Controla el tamaño de cada texel en el mapa de luz horneado. Un valor más pequ :ref:`bool` **generate_lods** = ``true`` :ref:`🔗` -Si es ``true``, genera variantes de menor detalle de la malla que se mostrarán en la distancia para mejorar el rendimiento del renderizado. No todas las mallas se benefician de LOD, especialmente si nunca se renderizan desde lejos. Deshabilitar esto puede reducir el tamaño del archivo de salida y acelerar la importación. Ver `Nivel de detalle de la malla (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ para obtener más información. +Si es ``true``, genera variantes de menor detalle de la malla que se mostrarán en la distancia para mejorar el rendimiento del renderizado. No todas las mallas se benefician de LOD, especialmente si nunca se renderizan desde lejos. Deshabilitar esto puede reducir el tamaño del archivo de salida y acelerar la importación. Véase `Nivel de detalle de la malla (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ para obtener más información. .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceimporterscene.rst b/classes/es/class_resourceimporterscene.rst index a4a2788dd5..1ebac1fc86 100644 --- a/classes/es/class_resourceimporterscene.rst +++ b/classes/es/class_resourceimporterscene.rst @@ -174,7 +174,7 @@ Si es ``true``, recorta el principio y el final de las animaciones si no hay cam :ref:`String` **import_script/path** = ``""`` :ref:`🔗` -Ruta a un script de importación, que puede ejecutar código después de que el proceso de importación se haya completado para el procesamiento personalizado. Ver `Usando scripts de importación para la automatización <../tutorials/assets_pipeline/importing_3d_scenes/import_configuration.html#using-import-scripts-for-automation>`__ para más información. +Ruta a un script de importación, que puede ejecutar código después de que el proceso de importación se haya completado para el procesamiento personalizado. Véase `Usando scripts de importación para la automatización <../tutorials/assets_pipeline/importing_3d_scenes/import_configuration.html#using-import-scripts-for-automation>`__ para más información. .. rst-class:: classref-item-separator @@ -272,7 +272,7 @@ Si es ``true``, la compresión de la malla no se utilizará. Considera activar e :ref:`bool` **meshes/generate_lods** = ``true`` :ref:`🔗` -Si es ``true``, genera variantes de menor detalle de la malla que se mostrarán en la distancia para mejorar el rendimiento del renderizado. No todas las mallas se benefician de LOD, especialmente si nunca se renderizan desde lejos. Deshabilitar esto puede reducir el tamaño del archivo de salida y acelerar la importación. Ver `Nivel de detalle de la malla (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ para obtener más información. +Si es ``true``, genera variantes de menor detalle de la malla que se mostrarán en la distancia para mejorar el rendimiento del renderizado. No todas las mallas se benefician de LOD, especialmente si nunca se renderizan desde lejos. Deshabilitar esto puede reducir el tamaño del archivo de salida y acelerar la importación. Véase `Nivel de detalle de la malla (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ para obtener más información. .. rst-class:: classref-item-separator @@ -296,7 +296,7 @@ Configura :ref:`GeometryInstance3D.gi_mode` **meshes/lightmap_texel_size** = ``0.2`` :ref:`🔗` -Controla el tamaño de cada texel en el mapa de luces horneado. Un valor más pequeño da como resultado mapas de luces más precisos, a costa de tamaños de mapas de luces más grandes y tiempos de horneado más largos. +Controla el tamaño de cada texel en el mapa de luces procesado. Un valor más pequeño da como resultado mapas de luces más precisos, a costa de tamaños de mapas de luces más grandes y tiempos de procesado más largos. \ **Nota:** Solo es efectivo si :ref:`meshes/light_baking` está establecido en **Mapas de luces estáticos**. @@ -310,7 +310,7 @@ Controla el tamaño de cada texel en el mapa de luces horneado. Un valor más pe :ref:`bool` **nodes/apply_root_scale** = ``true`` :ref:`🔗` -Si es ``true``, :ref:`nodes/root_scale` se aplicará a los nodos descendientes, mallas, animaciones, huesos, etc. Esto significa que si agregas un nodo hijo más adelante dentro de la escena importada, no se escalará. Si ``false``, :ref:`nodes/root_scale` multiplicará la escala del nodo raíz en su lugar. +Si es ``true``, :ref:`nodes/root_scale` se aplicará a los nodos descendientes, mallas, animaciones, huesos, etc. Esto significa que si agregas un nodo hijo más adelante dentro de la escena importada, no se escalará. Si es ``false``, :ref:`nodes/root_scale` multiplicará la escala del nodo raíz en su lugar. .. rst-class:: classref-item-separator @@ -322,7 +322,7 @@ Si es ``true``, :ref:`nodes/root_scale` **nodes/import_as_skeleton_bones** = ``false`` :ref:`🔗` -Trata todos los nodos en la escena importada como si fueran huesos dentro de un solo :ref:`Skeleton3D`. Se puede usar para garantizar que las animaciones importadas se dirijan a los huesos del esqueleto en lugar de los nodos. También se puede usar para asignar el hueso ``"Root"`` en un :ref:`BoneMap`. Consulta :doc:`Retargeting 3D Skeletons <../tutorials/assets_pipeline/retargeting_3d_skeletons>` para obtener más información. +Trata todos los nodos en la escena importada como si fueran huesos dentro de un solo :ref:`Skeleton3D`. Se puede usar para garantizar que las animaciones importadas se dirijan a los huesos del esqueleto en lugar de los nodos. También se puede usar para asignar el hueso ``"Root"`` en un :ref:`BoneMap`. Véase :doc:`Retargeting 3D Skeletons <../tutorials/assets_pipeline/retargeting_3d_skeletons>` para obtener más información. .. rst-class:: classref-item-separator @@ -346,7 +346,7 @@ Sobrescribe el nombre del nodo raíz. Si está vacío, el nodo raíz usará lo q :ref:`float` **nodes/root_scale** = ``1.0`` :ref:`🔗` -La escala uniforme que se utilizará para la raíz de la escena. El valor predeterminado de ``1.0`` no realizará ningún cambio de escala. Consulta :ref:`nodes/apply_root_scale` para obtener detalles de cómo se aplica esta escala. +La escala uniforme que se utilizará para la raíz de la escena. El valor predeterminado de ``1.0`` no realizará ningún cambio de escala. Véase :ref:`nodes/apply_root_scale` para obtener detalles de cómo se aplica esta escala. .. rst-class:: classref-item-separator @@ -382,7 +382,7 @@ Sobrescribe el tipo de nodo raíz. Si está vacío, el nodo raíz usará lo que :ref:`bool` **nodes/use_name_suffixes** = ``true`` :ref:`🔗` -Si es ``true``, utilizará sufijos en los nombres de los objetos importados como nodos y recursos para determinar los tipos y propiedades, como ``-noimp`` para omitir la importación de un nodo o animación, ``-alpha`` para habilitar la transparencia alfa en un material, y ``-vcol`` para habilitar colores de vértice en un material. Deshabilitar esto hace que los archivos importados por el editor sean más similares a los archivos originales, y más similares a los archivos importados en tiempo de ejecución. Consulta :doc:`Personalización del tipo de nodo usando sufijos de nombre <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` para obtener más información. +Si es ``true``, utilizará sufijos en los nombres de los objetos importados como nodos y recursos para determinar los tipos y propiedades, como ``-noimp`` para omitir la importación de un nodo o animación, ``-alpha`` para habilitar la transparencia alfa en un material, y ``-vcol`` para habilitar colores de vértice en un material. Deshabilitar esto hace que los archivos importados por el editor sean más similares a los archivos originales, y más similares a los archivos importados en tiempo de ejecución. Véase :doc:`Personalización del tipo de nodo usando sufijos de nombre <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` para obtener más información. .. rst-class:: classref-item-separator @@ -394,7 +394,7 @@ Si es ``true``, utilizará sufijos en los nombres de los objetos importados como :ref:`bool` **nodes/use_node_type_suffixes** = ``true`` :ref:`🔗` -Si es ``true``, utilizará sufijos en los nombres de los nodos para determinar el tipo de nodo, como ``-col`` para las formas de colisión. Esto solo se usa cuando :ref:`nodes/use_name_suffixes` es ``true``. Deshabilitar esto hace que los archivos importados por el editor sean más similares a los archivos originales, y más similares a los archivos importados en tiempo de ejecución. Consulta :doc:`Personalización del tipo de nodo usando sufijos de nombre <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` para obtener más información. +Si es ``true``, utilizará sufijos en los nombres de los nodos para determinar el tipo de nodo, como ``-col`` para las formas de colisión. Esto solo se usa cuando :ref:`nodes/use_name_suffixes` es ``true``. Deshabilitar esto hace que los archivos importados por el editor sean más similares a los archivos originales, y más similares a los archivos importados en tiempo de ejecución. Véase :doc:`Personalización del tipo de nodo usando sufijos de nombre <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` para obtener más información. .. rst-class:: classref-item-separator diff --git a/classes/es/class_resourceimportertexture.rst b/classes/es/class_resourceimportertexture.rst index 24091f9871..cb2844f462 100644 --- a/classes/es/class_resourceimportertexture.rst +++ b/classes/es/class_resourceimportertexture.rst @@ -118,7 +118,7 @@ Controla cómo se deben usar los canales de color en la textura importada. Controla cómo se debe realizar la compresión VRAM para las imágenes HDR. -\ **Desactivado:** Nunca uses la compresión VRAM para texturas HDR, independientemente de si son opacas o transparentes. En su lugar, la textura se convierte a RGBE9995 (9 bits por canal + exponente de 5 bits = 32 bits por píxel) para reducir el uso de memoria en comparación con un formato de imagen de coma flotante de media precisión o de precisión simple. +\ **Desactivado:** Nunca uses la compresión VRAM para texturas HDR, independientemente de si son opacas o transparentes. En su lugar, la textura se convierte a RGBE9995 (9 bits por canal + exponente de 5 bits = 32 bits por píxel) para reducir el uso de memoria en comparación con un formato de imagen de punto flotante de media precisión o de precisión simple. \ **Solo opaco:** Solo usa la compresión VRAM para texturas HDR opacas. Esto se debe a una limitación de los formatos HDR, ya que no hay un formato HDR comprimido en VRAM que admita la transparencia al mismo tiempo. @@ -176,7 +176,7 @@ El modo de compresión a utilizar. Cada modo de compresión ofrece una compensac \ **Basis Universal:** Calidad reducida, bajo uso de memoria, menor tamaño en el disco, importación lenta. Solo usar para texturas en escenas 3D, no para elementos 2D. -Ver `Modo de compresión <../tutorials/assets_pipeline/importing_images.html#compress-mode>`__ en el manual para más detalles. +Véase `Modo de compresión <../tutorials/assets_pipeline/importing_images.html#compress-mode>`__ en el manual para más detalles. .. rst-class:: classref-item-separator @@ -206,7 +206,7 @@ Si es mayor o igual que ``0.01``, activa la optimización de tasa-distorsión (R \ **Nota:** Habilitar RDO hace que los tiempos de codificación sean significativamente más largos, especialmente cuando la imagen es grande. -Ver también :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` y :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` si quieres reducir aún más el tamaño del archivo. +Véase también :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` y :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` si quieres reducir aún más el tamaño del archivo. .. rst-class:: classref-item-separator @@ -564,7 +564,7 @@ El filtrado de rugosidad en la importación solo se usa en renderizado 3D, no 2D :ref:`float` **svg/scale** = ``1.0`` :ref:`🔗` -La escala a la que se debe renderizar el SVG, siendo ``1.0`` el tamaño original del diseño. Los valores más altos resultan en una imagen más grande. Ten en cuenta que, a diferencia del sobremuestreo de fuentes, esto afecta el tamaño al que se renderiza el SVG en 2D. Consulta también :ref:`editor/scale_with_editor_scale`. +La escala a la que se debe renderizar el SVG, siendo ``1.0`` el tamaño original del diseño. Los valores más altos resultan en una imagen más grande. Ten en cuenta que, a diferencia del sobremuestreo de fuentes, esto afecta el tamaño al que se renderiza el SVG en 2D. Véase también :ref:`editor/scale_with_editor_scale`. \ **Nota:** Solo disponible para imágenes SVG. diff --git a/classes/es/class_resourceimportertextureatlas.rst b/classes/es/class_resourceimportertextureatlas.rst index 75e1e934d4..90584d4b86 100644 --- a/classes/es/class_resourceimportertextureatlas.rst +++ b/classes/es/class_resourceimportertextureatlas.rst @@ -14,7 +14,7 @@ Importa una colección de texturas de una imagen PNG en un :ref:`AtlasTexture` o :ref:`ArrayMesh` 2D. Esto se puede usar para ahorrar memoria al importar animaciones 2D desde hojas de sprites. Los atlas de texturas solo se admiten en renderizado 2D, no en 3D. Consulta también :ref:`ResourceImporterTexture` y :ref:`ResourceImporterLayeredTexture`. +Esto importa una colección de texturas de una imagen PNG en un :ref:`AtlasTexture` o :ref:`ArrayMesh` 2D. Esto se puede usar para ahorrar memoria al importar animaciones 2D desde hojas de sprites. Los atlas de texturas solo se admiten en renderizado 2D, no en 3D. Véase también :ref:`ResourceImporterTexture` y :ref:`ResourceImporterLayeredTexture`. \ **Nota:** **ResourceImporterTextureAtlas** no se encarga de importar :ref:`TileSetAtlasSource`, que se crea utilizando el editor :ref:`TileSet` en su lugar. @@ -91,7 +91,7 @@ Si es ``true``, descarta las áreas vacías del atlas. Esto solo afecta el posic :ref:`bool` **trim_alpha_border_from_region** = ``true`` :ref:`🔗` -Si es ``true``, recorta la región para excluir los píxeles totalmente transparentes utilizando un rectángulo de recorte (que nunca se rota). Esto se puede usar para ahorrar memoria. Consulta también :ref:`crop_to_region`. +Si es ``true``, recorta la región para excluir los píxeles totalmente transparentes utilizando un rectángulo de recorte (que nunca se rota). Esto se puede usar para ahorrar memoria. Véase también :ref:`crop_to_region`. \ **Nota:** Solo es efectivo si :ref:`import_mode` es **Region**. diff --git a/classes/es/class_resourcesaver.rst b/classes/es/class_resourcesaver.rst index ed734a6580..d3f96ef066 100644 --- a/classes/es/class_resourcesaver.rst +++ b/classes/es/class_resourcesaver.rst @@ -109,7 +109,7 @@ Guardar como big endian (véase :ref:`FileAccess.big_endian` **FLAG_COMPRESS** = ``32`` -Comprime el recurso al guardarlo usando ``constante FileAccess.COMPRESSION_ZSTD``. Solo disponible para tipos de recursos binarios. +Comprime el recurso al guardarlo usando :ref:`FileAccess.COMPRESSION_ZSTD`. Solo disponible para tipos de recursos binarios. .. _class_ResourceSaver_constant_FLAG_REPLACE_SUBRESOURCE_PATHS: diff --git a/classes/es/class_retargetmodifier3d.rst b/classes/es/class_retargetmodifier3d.rst index 9ade87f096..0b8589e518 100644 --- a/classes/es/class_retargetmodifier3d.rst +++ b/classes/es/class_retargetmodifier3d.rst @@ -159,11 +159,11 @@ Banderas para controlar el proceso de los elementos de transformación individua - |void| **set_use_global_pose**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_using_global_pose**\ (\ ) -Si ``false``, en caso de que el esqueleto de destino tenga menos huesos que el esqueleto de origen, la transformación del padre del hueso de origen se ignorará. +Si es ``false``, en caso de que el esqueleto de destino tenga menos huesos que el esqueleto de origen, la transformación del padre del hueso de origen se ignorará. En su lugar, es posible reasignar entre modelos con diferentes formas de cuerpo, y la posición, la rotación y la escala se pueden reasignar por separado. -Si ``true``, la reasignación se realiza teniendo en cuenta la pose global. +Si es ``true``, la reasignación se realiza teniendo en cuenta la pose global. En caso de que el esqueleto de destino tenga menos huesos que el esqueleto de origen, el transformación del padre del hueso de origen se tiene en cuenta. Sin embargo, la longitud del hueso entre esqueletos debe coincidir exactamente, si no, los huesos se verán obligados a expandirse o encogerse. diff --git a/classes/es/class_scenemultiplayer.rst b/classes/es/class_scenemultiplayer.rst index 4b6005758d..03908c693f 100644 --- a/classes/es/class_scenemultiplayer.rst +++ b/classes/es/class_scenemultiplayer.rst @@ -7,7 +7,7 @@ SceneMultiplayer **Hereda:** :ref:`MultiplayerAPI` **<** :ref:`RefCounted` **<** :ref:`Object` -High-level multiplayer API implementation. +Implementación de API multijugador de alto nivel. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_scenetree.rst b/classes/es/class_scenetree.rst index 26dbd53b1a..f15ef76f45 100644 --- a/classes/es/class_scenetree.rst +++ b/classes/es/class_scenetree.rst @@ -716,7 +716,7 @@ Devuelve el número de nodos asignados al grupo dado. :ref:`Array`\[:ref:`Node`\] **get_nodes_in_group**\ (\ group\: :ref:`StringName`\ ) :ref:`🔗` -Devuelve un :ref:`Array` que contiene todos los nodos dentro de este árbol, que han sido añadidos al ``grupo`` dado, en orden de jerarquía de escena. +Devuelve un :ref:`Array` que contiene todos los nodos dentro de este árbol, que han sido añadidos al ``group`` dado, en orden de jerarquía de escena. .. rst-class:: classref-item-separator @@ -776,7 +776,7 @@ Devuelve ``true`` si las funciones de accesibilidad son compatibles con el siste |void| **notify_group**\ (\ group\: :ref:`StringName`, notification\: :ref:`int`\ ) :ref:`🔗` -Llama a :ref:`Object.notification()` con la ``notification`` dada a todos los nodos dentro de este árbol añadidos al ``grupo``. Véase también :doc:`Notificaciones de Godot <../tutorials/best_practices/godot_notifications>` y :ref:`call_group()` y :ref:`set_group()`. +Llama a :ref:`Object.notification()` con la ``notification`` dada a todos los nodos dentro de este árbol añadidos al ``group``. Véase también :doc:`Notificaciones de Godot <../tutorials/best_practices/godot_notifications>` y :ref:`call_group()` y :ref:`set_group()`. \ **Nota:** Este método actúa inmediatamente sobre todos los nodos seleccionados a la vez, lo que puede causar tartamudeo en algunas situaciones de rendimiento intensivo. @@ -790,7 +790,7 @@ Llama a :ref:`Object.notification()` con la `` |void| **notify_group_flags**\ (\ call_flags\: :ref:`int`, group\: :ref:`StringName`, notification\: :ref:`int`\ ) :ref:`🔗` -Llama a :ref:`Object.notification()` con la ``notification`` dada a todos los nodos dentro de este árbol añadidos al ``grupo``. Usa ``call_flags`` para personalizar el comportamiento de este método (véase :ref:`GroupCallFlags`). +Llama a :ref:`Object.notification()` con la ``notification`` dada a todos los nodos dentro de este árbol añadidos al ``group``. Usa ``call_flags`` para personalizar el comportamiento de este método (véase :ref:`GroupCallFlags`). .. rst-class:: classref-item-separator diff --git a/classes/es/class_spinbox.rst b/classes/es/class_spinbox.rst index ffccafc505..ea46fb99b8 100644 --- a/classes/es/class_spinbox.rst +++ b/classes/es/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/es/class_springbonecollision3d.rst b/classes/es/class_springbonecollision3d.rst index 828ee8d8fd..865828e1c6 100644 --- a/classes/es/class_springbonecollision3d.rst +++ b/classes/es/class_springbonecollision3d.rst @@ -9,7 +9,7 @@ SpringBoneCollision3D **Heredado por:** :ref:`SpringBoneCollisionCapsule3D`, :ref:`SpringBoneCollisionPlane3D`, :ref:`SpringBoneCollisionSphere3D` -A base class of the collision that interacts with :ref:`SpringBoneSimulator3D`. +Una clase base de la colisión que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-introduction-group @@ -108,7 +108,7 @@ El nombre del hueso unido. - |void| **set_position_offset**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_position_offset**\ (\ ) -The offset of the position from :ref:`Skeleton3D`'s :ref:`bone` pose position. +El desplazamiento de la posición desde la posición de la pose del :ref:`bone` del :ref:`Skeleton3D`. .. rst-class:: classref-item-separator @@ -125,7 +125,7 @@ The offset of the position from :ref:`Skeleton3D`'s :ref:`bone - |void| **set_rotation_offset**\ (\ value\: :ref:`Quaternion`\ ) - :ref:`Quaternion` **get_rotation_offset**\ (\ ) -The offset of the rotation from :ref:`Skeleton3D`'s :ref:`bone` pose rotation. +El desplazamiento de la rotación desde la rotación de la pose del :ref:`bone` del :ref:`Skeleton3D`. .. rst-class:: classref-section-separator @@ -142,7 +142,7 @@ Descripciones de Métodos :ref:`Skeleton3D` **get_skeleton**\ (\ ) |const| :ref:`🔗` -Get parent :ref:`Skeleton3D` node of the parent :ref:`SpringBoneSimulator3D` if found. +Obtiene el nodo :ref:`Skeleton3D` padre del :ref:`SpringBoneSimulator3D` padre, si se encuentra. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_springbonecollisioncapsule3d.rst b/classes/es/class_springbonecollisioncapsule3d.rst index f1dbe4f863..6b006c1aac 100644 --- a/classes/es/class_springbonecollisioncapsule3d.rst +++ b/classes/es/class_springbonecollisioncapsule3d.rst @@ -7,14 +7,14 @@ SpringBoneCollisionCapsule3D **Hereda:** :ref:`SpringBoneCollision3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -A capsule shape collision that interacts with :ref:`SpringBoneSimulator3D`. +Una colisión con forma de cápsula que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-introduction-group Descripción ---------------------- -A capsule shape collision that interacts with :ref:`SpringBoneSimulator3D`. +Una colisión con forma de cápsula que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_springbonecollisionplane3d.rst b/classes/es/class_springbonecollisionplane3d.rst index f9d75e760a..875f417b1d 100644 --- a/classes/es/class_springbonecollisionplane3d.rst +++ b/classes/es/class_springbonecollisionplane3d.rst @@ -7,14 +7,14 @@ SpringBoneCollisionPlane3D **Hereda:** :ref:`SpringBoneCollision3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -An infinite plane collision that interacts with :ref:`SpringBoneSimulator3D`. +Una colisión de plano infinito que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-introduction-group Descripción ---------------------- -An infinite plane collision that interacts with :ref:`SpringBoneSimulator3D`. It is an infinite size XZ plane, and the +Y direction is treated as normal. +Una colisión de plano infinito que interactúa con :ref:`SpringBoneSimulator3D`. Es un plano XZ de tamaño infinito, y la dirección +Y se trata como normal. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_springbonecollisionsphere3d.rst b/classes/es/class_springbonecollisionsphere3d.rst index 69989f57d7..c777550b4a 100644 --- a/classes/es/class_springbonecollisionsphere3d.rst +++ b/classes/es/class_springbonecollisionsphere3d.rst @@ -7,14 +7,14 @@ SpringBoneCollisionSphere3D **Hereda:** :ref:`SpringBoneCollision3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -A sphere shape collision that interacts with :ref:`SpringBoneSimulator3D`. +Una colisión de forma esférica que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-introduction-group Descripción ---------------------- -A sphere shape collision that interacts with :ref:`SpringBoneSimulator3D`. +Una colisión de forma esférica que interactúa con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_springbonesimulator3d.rst b/classes/es/class_springbonesimulator3d.rst index 916b27029e..dc60a4d2fe 100644 --- a/classes/es/class_springbonesimulator3d.rst +++ b/classes/es/class_springbonesimulator3d.rst @@ -275,7 +275,7 @@ Enumerated value for the -Z axis. :ref:`BoneDirection` **BONE_DIRECTION_FROM_PARENT** = ``6`` -Enumerated value for the axis from a parent bone to the child bone. +Valor enumerado para el eje desde un hueso padre hasta el hueso hijo. .. rst-class:: classref-item-separator @@ -301,9 +301,9 @@ El origen del mundo se define como centro. :ref:`CenterFrom` **CENTER_FROM_NODE** = ``1`` -The :ref:`Node3D` specified by :ref:`set_center_node()` is defined as center. +El :ref:`Node3D` especificado por :ref:`set_center_node()` se define como centro. -If :ref:`Node3D` is not found, the parent :ref:`Skeleton3D` is treated as center. +Si no se encuentra :ref:`Node3D`, el :ref:`Skeleton3D` padre se trata como centro. .. _class_SpringBoneSimulator3D_constant_CENTER_FROM_BONE: @@ -311,9 +311,9 @@ If :ref:`Node3D` is not found, the parent :ref:`Skeleton3D` **CENTER_FROM_BONE** = ``2`` -The bone pose origin of the parent :ref:`Skeleton3D` specified by :ref:`set_center_bone()` is defined as center. +El origen de la pose del hueso del :ref:`Skeleton3D` padre especificado por :ref:`set_center_bone()` se define como centro. -If :ref:`Node3D` is not found, the parent :ref:`Skeleton3D` is treated as center. +Si no se encuentra :ref:`Node3D`, el :ref:`Skeleton3D` padre se trata como centro. .. rst-class:: classref-item-separator @@ -331,7 +331,7 @@ enum **RotationAxis**: :ref:`🔗` :ref:`RotationAxis` **ROTATION_AXIS_X** = ``0`` -Enumerated value for the rotation of the X axis. +Valor enumerado para la rotación del eje X. .. _class_SpringBoneSimulator3D_constant_ROTATION_AXIS_Y: @@ -339,7 +339,7 @@ Enumerated value for the rotation of the X axis. :ref:`RotationAxis` **ROTATION_AXIS_Y** = ``1`` -Enumerated value for the rotation of the Y axis. +Valor enumerado para la rotación del eje Y. .. _class_SpringBoneSimulator3D_constant_ROTATION_AXIS_Z: @@ -347,7 +347,7 @@ Enumerated value for the rotation of the Y axis. :ref:`RotationAxis` **ROTATION_AXIS_Z** = ``2`` -Enumerated value for the rotation of the Z axis. +Valor enumerado para la rotación del eje Z. .. _class_SpringBoneSimulator3D_constant_ROTATION_AXIS_ALL: @@ -363,7 +363,7 @@ Valor enumerado para la rotación sin restricciones. :ref:`RotationAxis` **ROTATION_AXIS_CUSTOM** = ``4`` -Enumerated value for an optional rotation axis. See also :ref:`set_joint_rotation_axis_vector()`. +Valor enumerado para un eje de rotación opcional. Véase también :ref:`set_joint_rotation_axis_vector()`. .. rst-class:: classref-section-separator @@ -385,9 +385,9 @@ Descripciones de Propiedades - |void| **set_external_force**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_external_force**\ (\ ) -The constant force that always affected bones. It is equal to the result when the parent :ref:`Skeleton3D` moves at this speed in the opposite direction. +La fuerza constante que siempre afecta a los huesos. Es igual al resultado cuando el :ref:`Skeleton3D` padre se mueve a esta velocidad en la dirección opuesta. -This is useful for effects such as wind and anti-gravity. +Esto es útil para efectos como el viento y la antigravedad. .. rst-class:: classref-item-separator @@ -421,7 +421,7 @@ Descripciones de Métodos :ref:`bool` **are_all_child_collisions_enabled**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if all child :ref:`SpringBoneCollision3D`\ s are contained in the collision list at ``index`` in the settings. +Devuelve ``true`` si todos los :ref:`SpringBoneCollision3D` hijo están contenidos en la lista de colisiones en ``index`` en la configuración. .. rst-class:: classref-item-separator @@ -433,7 +433,7 @@ Returns ``true`` if all child :ref:`SpringBoneCollision3D`\ ) :ref:`🔗` -Clears all collisions from the collision list at ``index`` in the settings when :ref:`are_all_child_collisions_enabled()` is ``false``. +Limpia todas las colisiones de la lista de colisiones en ``index`` en la configuración cuando :ref:`are_all_child_collisions_enabled()` es ``false``. .. rst-class:: classref-item-separator @@ -445,7 +445,7 @@ Clears all collisions from the collision list at ``index`` in the settings when |void| **clear_exclude_collisions**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Clears all exclude collisions from the collision list at ``index`` in the settings when :ref:`are_all_child_collisions_enabled()` is ``true``. +Limpia todas las colisiones excluidas de la lista de colisiones en ``index`` en la configuración cuando :ref:`are_all_child_collisions_enabled()` es ``true``. .. rst-class:: classref-item-separator @@ -457,7 +457,7 @@ Clears all exclude collisions from the collision list at ``index`` in the settin |void| **clear_settings**\ (\ ) :ref:`🔗` -Clears all settings. +Limpia todos los ajustes. .. rst-class:: classref-item-separator @@ -917,9 +917,9 @@ Devuelve ``true`` si el hueso final se extiende para tener la cola. |void| **reset**\ (\ ) :ref:`🔗` -Resets a simulating state with respect to the current bone pose. +Restablece un estado de simulación con respecto a la pose actual del hueso. -It is useful to prevent the simulation result getting violent. For example, calling this immediately after a call to :ref:`AnimationPlayer.play()` without a fading, or within the previous :ref:`SkeletonModifier3D.modification_processed` signal if it's condition changes significantly. +Es útil para evitar que el resultado de la simulación se vuelva violento. Por ejemplo, llamar a esto inmediatamente después de una llamada a :ref:`AnimationPlayer.play()` sin un desvanecimiento, o dentro de la anterior :ref:`SkeletonModifier3D.modification_processed` señal si su condición cambia significativamente. .. rst-class:: classref-item-separator @@ -955,13 +955,13 @@ Sets the center bone name of the bone chain. |void| **set_center_from**\ (\ index\: :ref:`int`, center_from\: :ref:`CenterFrom`\ ) :ref:`🔗` -Sets what the center originates from in the bone chain. +Establece de dónde se origina el centro en la cadena de huesos. -Bone movement is calculated based on the difference in relative distance between center and bone in the previous and next frames. +El movimiento del hueso se calcula en función de la diferencia en la distancia relativa entre el centro y el hueso en los fotogramas anterior y siguiente. -For example, if the parent :ref:`Skeleton3D` is used as the center, the bones are considered to have not moved if the :ref:`Skeleton3D` moves in the world. +Por ejemplo, si el :ref:`Skeleton3D` padre se utiliza como centro, se considera que los huesos no se han movido si el :ref:`Skeleton3D` se mueve en el mundo. -In this case, only a change in the bone pose is considered to be a bone movement. +En este caso, solo se considera que un cambio en la pose del hueso es un movimiento del hueso. .. rst-class:: classref-item-separator @@ -973,7 +973,7 @@ In this case, only a change in the bone pose is considered to be a bone movement |void| **set_center_node**\ (\ index\: :ref:`int`, node_path\: :ref:`NodePath`\ ) :ref:`🔗` -Sets the center node path of the bone chain. +Establece la ruta del nodo central de la cadena de huesos. .. rst-class:: classref-item-separator @@ -985,7 +985,7 @@ Sets the center node path of the bone chain. |void| **set_collision_count**\ (\ index\: :ref:`int`, count\: :ref:`int`\ ) :ref:`🔗` -Sets the number of collisions in the collision list at ``index`` in the settings when :ref:`are_all_child_collisions_enabled()` is ``false``. +Establece el número de colisiones en la lista de colisiones en ``index`` en la configuración cuando :ref:`are_all_child_collisions_enabled()` es ``false``. .. rst-class:: classref-item-separator @@ -997,7 +997,7 @@ Sets the number of collisions in the collision list at ``index`` in the settings |void| **set_collision_path**\ (\ index\: :ref:`int`, collision\: :ref:`int`, node_path\: :ref:`NodePath`\ ) :ref:`🔗` -Sets the node path of the :ref:`SpringBoneCollision3D` at ``collision`` in the bone chain's collision list when :ref:`are_all_child_collisions_enabled()` is ``false``. +Establece la ruta del nodo del :ref:`SpringBoneCollision3D` en ``collision`` en la lista de colisiones de la cadena de huesos cuando :ref:`are_all_child_collisions_enabled()` es ``false``. .. rst-class:: classref-item-separator @@ -1023,7 +1023,7 @@ The value is scaled by :ref:`set_drag_damping_curve()`, curve\: :ref:`Curve`\ ) :ref:`🔗` -Sets the drag force damping curve of the bone chain. +Establece la curva de amortiguación de la fuerza de arrastre de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1035,9 +1035,9 @@ Sets the drag force damping curve of the bone chain. |void| **set_enable_all_child_collisions**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``enabled`` is ``true``, all child :ref:`SpringBoneCollision3D`\ s are colliding and :ref:`set_exclude_collision_path()` is enabled as an exclusion list at ``index`` in the settings. +Si ``enabled`` es ``true``, todos los :ref:`SpringBoneCollision3D` hijo están colisionando y :ref:`set_exclude_collision_path()` está habilitado como una lista de exclusión en ``index`` en la configuración. -If ``enabled`` is ``false``, you need to manually register all valid collisions with :ref:`set_collision_path()`. +Si ``enabled`` es ``false``, debes registrar manualmente todas las colisiones válidas con :ref:`set_collision_path()`. .. rst-class:: classref-item-separator @@ -1049,7 +1049,7 @@ If ``enabled`` is ``false``, you need to manually register all valid collisions |void| **set_end_bone**\ (\ index\: :ref:`int`, bone\: :ref:`int`\ ) :ref:`🔗` -Sets the end bone index of the bone chain. +Establece el índice del hueso final de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1061,7 +1061,7 @@ Sets the end bone index of the bone chain. |void| **set_end_bone_direction**\ (\ index\: :ref:`int`, bone_direction\: :ref:`BoneDirection`\ ) :ref:`🔗` -Sets the end bone tail direction of the bone chain when :ref:`is_end_bone_extended()` is ``true``. +Establece la dirección de la cola del hueso final de la cadena de huesos cuando :ref:`is_end_bone_extended()` es ``true``. .. rst-class:: classref-item-separator @@ -1073,7 +1073,7 @@ Sets the end bone tail direction of the bone chain when :ref:`is_end_bone_extend |void| **set_end_bone_length**\ (\ index\: :ref:`int`, length\: :ref:`float`\ ) :ref:`🔗` -Sets the end bone tail length of the bone chain when :ref:`is_end_bone_extended()` is ``true``. +Establece la longitud de la cola del hueso final de la cadena de huesos cuando :ref:`is_end_bone_extended()` es ``true``. .. rst-class:: classref-item-separator @@ -1085,9 +1085,9 @@ Sets the end bone tail length of the bone chain when :ref:`is_end_bone_extended( |void| **set_end_bone_name**\ (\ index\: :ref:`int`, bone_name\: :ref:`String`\ ) :ref:`🔗` -Sets the end bone name of the bone chain. +Establece el nombre del hueso final de la cadena de huesos. -\ **Note:** End bone must be the root bone or a child of the root bone. If they are the same, the tail must be extended by :ref:`set_extend_end_bone()` to jiggle the bone. +\ **Nota:** El hueso final debe ser el hueso raíz o un hijo del hueso raíz. Si son iguales, la cola debe extenderse mediante :ref:`set_extend_end_bone()` para hacer que el hueso se mueva. .. rst-class:: classref-item-separator @@ -1099,7 +1099,7 @@ Sets the end bone name of the bone chain. |void| **set_exclude_collision_count**\ (\ index\: :ref:`int`, count\: :ref:`int`\ ) :ref:`🔗` -Sets the number of exclude collisions in the exclude collision list at ``index`` in the settings when :ref:`are_all_child_collisions_enabled()` is ``true``. +Establece el número de colisiones excluidas en la lista de colisiones excluidas en ``index`` en la configuración cuando :ref:`are_all_child_collisions_enabled()` es ``true``. .. rst-class:: classref-item-separator @@ -1111,7 +1111,7 @@ Sets the number of exclude collisions in the exclude collision list at ``index`` |void| **set_exclude_collision_path**\ (\ index\: :ref:`int`, collision\: :ref:`int`, node_path\: :ref:`NodePath`\ ) :ref:`🔗` -Sets the node path of the :ref:`SpringBoneCollision3D` at ``collision`` in the bone chain's exclude collision list when :ref:`are_all_child_collisions_enabled()` is ``true``. +Establece la ruta del nodo del :ref:`SpringBoneCollision3D` en ``collision`` en la lista de colisiones excluidas de la cadena de huesos cuando :ref:`are_all_child_collisions_enabled()` es ``true``. .. rst-class:: classref-item-separator @@ -1123,11 +1123,11 @@ Sets the node path of the :ref:`SpringBoneCollision3D`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``enabled`` is ``true``, the end bone is extended to have the tail. +Si ``enabled`` es ``true``, el hueso final se extiende para tener la cola. -The extended tail config is allocated to the last element in the joint list. +La configuración de la cola extendida se asigna al último elemento de la lista de articulaciones. -In other words, if you set ``enabled`` is ``false``, the config of last element in the joint list has no effect in the simulated result. +En otras palabras, si estableces ``enabled`` como ``false``, la configuración del último elemento de la lista de articulaciones no tiene ningún efecto en el resultado simulado. .. rst-class:: classref-item-separator @@ -1139,11 +1139,11 @@ In other words, if you set ``enabled`` is ``false``, the config of last element |void| **set_gravity**\ (\ index\: :ref:`int`, gravity\: :ref:`float`\ ) :ref:`🔗` -Sets the gravity amount of the bone chain. This value is not an acceleration, but a constant velocity of movement in :ref:`set_gravity_direction()`. +Establece la cantidad de gravedad de la cadena de huesos. Este valor no es una aceleración, sino una velocidad constante de movimiento en :ref:`set_gravity_direction()`. -If ``gravity`` is not ``0``, the modified pose will not return to the original pose since it is always affected by gravity. +Si ``gravity`` no es ``0``, la pose modificada no volverá a la pose original, ya que siempre se ve afectada por la gravedad. -The value is scaled by :ref:`set_gravity_damping_curve()` and cached in each joint setting in the joint list. +El valor se escala mediante :ref:`set_gravity_damping_curve()` y se almacena en caché en cada ajuste de articulación en la lista de articulaciones. .. rst-class:: classref-item-separator @@ -1155,7 +1155,7 @@ The value is scaled by :ref:`set_gravity_damping_curve()`, curve\: :ref:`Curve`\ ) :ref:`🔗` -Sets the gravity amount damping curve of the bone chain. +Establece la curva de amortiguación de la cantidad de gravedad de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1167,9 +1167,9 @@ Sets the gravity amount damping curve of the bone chain. |void| **set_gravity_direction**\ (\ index\: :ref:`int`, gravity_direction\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the gravity direction of the bone chain. This value is internally normalized and then multiplied by :ref:`set_gravity()`. +Establece la dirección de la gravedad de la cadena de huesos. Este valor se normaliza internamente y luego se multiplica por :ref:`set_gravity()`. -The value is cached in each joint setting in the joint list. +El valor se almacena en caché en cada ajuste de articulación en la lista de articulaciones. .. rst-class:: classref-item-separator @@ -1181,7 +1181,7 @@ The value is cached in each joint setting in the joint list. |void| **set_individual_config**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``enabled`` is ``true``, the config can be edited individually for each joint. +Si ``enabled`` es ``true``, la configuración se puede editar individualmente para cada articulación. .. rst-class:: classref-item-separator @@ -1193,7 +1193,7 @@ If ``enabled`` is ``true``, the config can be edited individually for each joint |void| **set_joint_drag**\ (\ index\: :ref:`int`, joint\: :ref:`int`, drag\: :ref:`float`\ ) :ref:`🔗` -Sets the drag force at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece la fuerza de arrastre en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. .. rst-class:: classref-item-separator @@ -1205,7 +1205,7 @@ Sets the drag force at ``joint`` in the bone chain's joint list when :ref:`is_co |void| **set_joint_gravity**\ (\ index\: :ref:`int`, joint\: :ref:`int`, gravity\: :ref:`float`\ ) :ref:`🔗` -Sets the gravity amount at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece la cantidad de gravedad en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. .. rst-class:: classref-item-separator @@ -1217,7 +1217,7 @@ Sets the gravity amount at ``joint`` in the bone chain's joint list when :ref:`i |void| **set_joint_gravity_direction**\ (\ index\: :ref:`int`, joint\: :ref:`int`, gravity_direction\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the gravity direction at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece la dirección de la gravedad en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. .. rst-class:: classref-item-separator @@ -1229,7 +1229,7 @@ Sets the gravity direction at ``joint`` in the bone chain's joint list when :ref |void| **set_joint_radius**\ (\ index\: :ref:`int`, joint\: :ref:`int`, radius\: :ref:`float`\ ) :ref:`🔗` -Sets the joint radius at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece el radio de la articulación en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. .. rst-class:: classref-item-separator @@ -1241,11 +1241,11 @@ Sets the joint radius at ``joint`` in the bone chain's joint list when :ref:`is_ |void| **set_joint_rotation_axis**\ (\ index\: :ref:`int`, joint\: :ref:`int`, axis\: :ref:`RotationAxis`\ ) :ref:`🔗` -Sets the rotation axis at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece el eje de rotación en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. -The axes are based on the :ref:`Skeleton3D.get_bone_rest()`'s space, if ``axis`` is :ref:`ROTATION_AXIS_CUSTOM`, you can specify any axis. +Los ejes se basan en el espacio de :ref:`Skeleton3D.get_bone_rest()`, si ``axis`` es :ref:`ROTATION_AXIS_CUSTOM`, puedes especificar cualquier eje. -\ **Note:** The rotation axis and the forward vector shouldn't be colinear to avoid unintended rotation since **SpringBoneSimulator3D** does not factor in twisting forces. +\ **Nota:** El eje de rotación y el vector frontal no deben ser colineales para evitar una rotación no intencionada, ya que **SpringBoneSimulator3D** no tiene en cuenta las fuerzas de torsión. .. rst-class:: classref-item-separator @@ -1257,11 +1257,11 @@ The axes are based on the :ref:`Skeleton3D.get_bone_rest()`, joint\: :ref:`int`, vector\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the rotation axis vector for the specified joint in the bone chain. +Establece el vector del eje de rotación para la articulación especificada en la cadena de huesos. -This vector is normalized by an internal process and represents the axis around which the bone chain can rotate. +Este vector se normaliza mediante un proceso interno y representa el eje alrededor del cual puede rotar la cadena de huesos. -If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_AXIS_ALL`. +Si la longitud del vector es ``0``, se considera sinónimo de :ref:`ROTATION_AXIS_ALL`. .. rst-class:: classref-item-separator @@ -1273,7 +1273,7 @@ If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_A |void| **set_joint_stiffness**\ (\ index\: :ref:`int`, joint\: :ref:`int`, stiffness\: :ref:`float`\ ) :ref:`🔗` -Sets the stiffness force at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Establece la fuerza de rigidez en ``joint`` en la lista de articulaciones de la cadena de huesos cuando :ref:`is_config_individual()` es ``true``. .. rst-class:: classref-item-separator @@ -1285,9 +1285,9 @@ Sets the stiffness force at ``joint`` in the bone chain's joint list when :ref:` |void| **set_radius**\ (\ index\: :ref:`int`, radius\: :ref:`float`\ ) :ref:`🔗` -Sets the joint radius of the bone chain. It is used to move and slide with the :ref:`SpringBoneCollision3D` in the collision list. +Establece el radio de la articulación de la cadena de huesos. Se utiliza para mover y deslizar con el :ref:`SpringBoneCollision3D` en la lista de colisiones. -The value is scaled by :ref:`set_radius_damping_curve()` and cached in each joint setting in the joint list. +El valor se escala mediante :ref:`set_radius_damping_curve()` y se almacena en caché en cada ajuste de articulación en la lista de articulaciones. .. rst-class:: classref-item-separator @@ -1299,7 +1299,7 @@ The value is scaled by :ref:`set_radius_damping_curve()`, curve\: :ref:`Curve`\ ) :ref:`🔗` -Sets the joint radius damping curve of the bone chain. +Establece la curva de amortiguación del radio de la articulación de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1311,7 +1311,7 @@ Sets the joint radius damping curve of the bone chain. |void| **set_root_bone**\ (\ index\: :ref:`int`, bone\: :ref:`int`\ ) :ref:`🔗` -Sets the root bone index of the bone chain. +Establece el índice del hueso raíz de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1323,7 +1323,7 @@ Sets the root bone index of the bone chain. |void| **set_root_bone_name**\ (\ index\: :ref:`int`, bone_name\: :ref:`String`\ ) :ref:`🔗` -Sets the root bone name of the bone chain. +Establece el nombre del hueso raíz de la cadena de huesos. .. rst-class:: classref-item-separator @@ -1335,11 +1335,11 @@ Sets the root bone name of the bone chain. |void| **set_rotation_axis**\ (\ index\: :ref:`int`, axis\: :ref:`RotationAxis`\ ) :ref:`🔗` -Sets the rotation axis of the bone chain. If set to a specific axis, it acts like a hinge joint. The value is cached in each joint setting in the joint list. +Establece el eje de rotación de la cadena de huesos. Si se establece en un eje específico, actúa como una articulación de bisagra. El valor se guarda en caché en cada ajuste de articulación en la lista de articulaciones. -The axes are based on the :ref:`Skeleton3D.get_bone_rest()`'s space, if ``axis`` is :ref:`ROTATION_AXIS_CUSTOM`, you can specify any axis. +Los ejes se basan en el espacio de :ref:`Skeleton3D.get_bone_rest()`, si ``axis`` es :ref:`ROTATION_AXIS_CUSTOM`, puedes especificar cualquier eje. -\ **Note:** The rotation axis vector and the forward vector shouldn't be colinear to avoid unintended rotation since **SpringBoneSimulator3D** does not factor in twisting forces. +\ **Nota:** El vector del eje de rotación y el vector delantero no deben ser colineales para evitar una rotación no intencionada, ya que **SpringBoneSimulator3D** no tiene en cuenta las fuerzas de torsión. .. rst-class:: classref-item-separator @@ -1351,11 +1351,11 @@ The axes are based on the :ref:`Skeleton3D.get_bone_rest()`, vector\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the rotation axis vector of the bone chain. The value is cached in each joint setting in the joint list. +Establece el vector del eje de rotación de la cadena de huesos. El valor se guarda en caché en cada ajuste de articulación en la lista de articulaciones. -This vector is normalized by an internal process and represents the axis around which the bone chain can rotate. +Este vector se normaliza mediante un proceso interno y representa el eje alrededor del cual puede rotar la cadena de huesos. -If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_AXIS_ALL`. +Si la longitud del vector es ``0``, se considera sinónimo de :ref:`ROTATION_AXIS_ALL`. .. rst-class:: classref-item-separator @@ -1367,11 +1367,11 @@ If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_A |void| **set_stiffness**\ (\ index\: :ref:`int`, stiffness\: :ref:`float`\ ) :ref:`🔗` -Sets the stiffness force of the bone chain. The greater the value, the faster it recovers to its initial pose. +Establece la fuerza de rigidez de la cadena de huesos. Cuanto mayor sea el valor, más rápido se recuperará a su pose inicial. -If ``stiffness`` is ``0``, the modified pose will not return to the original pose. +Si ``stiffness`` es ``0``, la pose modificada no volverá a la pose original. -The value is scaled by :ref:`set_stiffness_damping_curve()` and cached in each joint setting in the joint list. +El valor se escala mediante :ref:`set_stiffness_damping_curve()` y se guarda en caché en cada ajuste de articulación en la lista de articulaciones. .. rst-class:: classref-item-separator @@ -1383,7 +1383,7 @@ The value is scaled by :ref:`set_stiffness_damping_curve()`, curve\: :ref:`Curve`\ ) :ref:`🔗` -Sets the stiffness force damping curve of the bone chain. +Establece la curva de amortiguación de la fuerza de rigidez de la cadena de huesos. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_sprite2d.rst b/classes/es/class_sprite2d.rst index 46297cab58..9856fa8b5f 100644 --- a/classes/es/class_sprite2d.rst +++ b/classes/es/class_sprite2d.rst @@ -120,9 +120,9 @@ Descripciones de Propiedades - |void| **set_centered**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_centered**\ (\ ) -If ``true``, texture is centered. +Si es ``true``, la textura se centra. -\ **Note:** For games with a pixel art aesthetic, textures may appear deformed when centered. This is caused by their position being between pixels. To prevent this, set this property to ``false``, or consider enabling :ref:`ProjectSettings.rendering/2d/snap/snap_2d_vertices_to_pixel` and :ref:`ProjectSettings.rendering/2d/snap/snap_2d_transforms_to_pixel`. +\ **Nota:** Para juegos con una estética de pixel art, las texturas pueden aparecer deformadas cuando se centran. Esto se debe a que su posición está entre píxeles. Para evitar esto, establece esta propiedad en ``false``, o considera habilitar :ref:`ProjectSettings.rendering/2d/snap/snap_2d_vertices_to_pixel` y :ref:`ProjectSettings.rendering/2d/snap/snap_2d_transforms_to_pixel`. .. rst-class:: classref-item-separator @@ -173,7 +173,7 @@ Si es ``true``, la textura se voltea verticalmente. - |void| **set_frame**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_frame**\ (\ ) -Current frame to display from sprite sheet. :ref:`hframes` or :ref:`vframes` must be greater than 1. This property is automatically adjusted when :ref:`hframes` or :ref:`vframes` are changed to keep pointing to the same visual frame (same column and row). If that's impossible, this value is reset to ``0``. +Fotograma actual que se mostrará de la hoja de sprite. :ref:`hframes` o :ref:`vframes` deben ser mayores que 1. Esta propiedad se ajusta automáticamente cuando se cambian :ref:`hframes` o :ref:`vframes` para seguir apuntando al mismo fotograma visual (misma columna y fila). Si eso es imposible, este valor se restablece a ``0``. .. rst-class:: classref-item-separator @@ -207,7 +207,7 @@ Coordinates of the frame to display from sprite sheet. This is as an alias for t - |void| **set_hframes**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_hframes**\ (\ ) -The number of columns in the sprite sheet. When this property is changed, :ref:`frame` is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, :ref:`frame` is reset to ``0``. +El número de columnas en la hoja de sprite. Cuando se cambia esta propiedad, :ref:`frame` se ajusta para que se mantenga el mismo fotograma visual (misma fila y columna). Si eso es imposible, :ref:`frame` se restablece a ``0``. .. rst-class:: classref-item-separator @@ -224,9 +224,9 @@ The number of columns in the sprite sheet. When this property is changed, :ref:` - |void| **set_offset**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_offset**\ (\ ) -The texture's drawing offset. +El desplazamiento de dibujo de la textura. -\ **Note:** When you increase :ref:`offset`.y in Sprite2D, the sprite moves downward on screen (i.e., +Y is down). +\ **Nota:** Cuando aumentas :ref:`offset`.y en Sprite2D, el sprite se mueve hacia abajo en la pantalla (es decir, +Y es hacia abajo). .. rst-class:: classref-item-separator @@ -262,7 +262,7 @@ If ``true``, texture is cut from a larger atlas texture. See :ref:`region_rect`\ ) - :ref:`bool` **is_region_filter_clip_enabled**\ (\ ) -If ``true``, the area outside of the :ref:`region_rect` is clipped to avoid bleeding of the surrounding texture pixels. :ref:`region_enabled` must be ``true``. +Si es ``true``, el área fuera de :ref:`region_rect` se recorta para evitar el sangrado de los píxeles de la textura circundante. :ref:`region_enabled` debe ser ``true``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_sprite3d.rst b/classes/es/class_sprite3d.rst index beb7122350..a5cfab426d 100644 --- a/classes/es/class_sprite3d.rst +++ b/classes/es/class_sprite3d.rst @@ -89,7 +89,7 @@ Descripciones de Propiedades - |void| **set_frame**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_frame**\ (\ ) -Current frame to display from sprite sheet. :ref:`hframes` or :ref:`vframes` must be greater than 1. This property is automatically adjusted when :ref:`hframes` or :ref:`vframes` are changed to keep pointing to the same visual frame (same column and row). If that's impossible, this value is reset to ``0``. +Fotograma actual que se mostrará de la hoja de sprite. :ref:`hframes` o :ref:`vframes` deben ser mayores que 1. Esta propiedad se ajusta automáticamente cuando se cambian :ref:`hframes` o :ref:`vframes` para seguir apuntando al mismo fotograma visual (misma columna y fila). Si eso es imposible, este valor se restablece a ``0``. .. rst-class:: classref-item-separator @@ -123,7 +123,7 @@ Coordinates of the frame to display from sprite sheet. This is as an alias for t - |void| **set_hframes**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_hframes**\ (\ ) -The number of columns in the sprite sheet. When this property is changed, :ref:`frame` is adjusted so that the same visual frame is maintained (same row and column). If that's impossible, :ref:`frame` is reset to ``0``. +El número de columnas en la hoja de sprite. Cuando se cambia esta propiedad, :ref:`frame` se ajusta para que se mantenga el mismo fotograma visual (misma fila y columna). Si eso es imposible, :ref:`frame` se restablece a ``0``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_spritebase3d.rst b/classes/es/class_spritebase3d.rst index b538213605..14f911cf55 100644 --- a/classes/es/class_spritebase3d.rst +++ b/classes/es/class_spritebase3d.rst @@ -123,7 +123,7 @@ Si se ajusta, las luces del entorno afectan al sprite. :ref:`DrawFlags` **FLAG_DOUBLE_SIDED** = ``2`` -If set, texture can be seen from the back as well. If not, the texture is invisible when looking at it from behind. +Si está activado, la textura también se puede ver desde atrás. Si no, la textura es invisible cuando se mira desde atrás. .. _class_SpriteBase3D_constant_FLAG_DISABLE_DEPTH_TEST: @@ -165,7 +165,7 @@ enum **AlphaCutMode**: :ref:`🔗` :ref:`AlphaCutMode` **ALPHA_CUT_DISABLED** = ``0`` -This mode performs standard alpha blending. It can display translucent areas, but transparency sorting issues may be visible when multiple transparent materials are overlapping. +Este modo realiza una mezcla alfa estándar. Puede mostrar áreas translúcidas, pero los problemas de ordenación de la transparencia pueden ser visibles cuando varios materiales transparentes se superponen. .. _class_SpriteBase3D_constant_ALPHA_CUT_DISCARD: @@ -173,7 +173,7 @@ This mode performs standard alpha blending. It can display translucent areas, bu :ref:`AlphaCutMode` **ALPHA_CUT_DISCARD** = ``1`` -This mode only allows fully transparent or fully opaque pixels. Harsh edges will be visible unless some form of screen-space antialiasing is enabled (see :ref:`ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa`). On the bright side, this mode doesn't suffer from transparency sorting issues when multiple transparent materials are overlapping. This mode is also known as *alpha testing* or *1-bit transparency*. +Este modo solo permite píxeles totalmente transparentes o totalmente opacos. Los bordes duros serán visibles a menos que se active alguna forma de antialiasing en el espacio de la pantalla (consulta :ref:`ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa`). En el lado bueno, este modo no sufre problemas de ordenación de la transparencia cuando varios materiales transparentes se superponen. Este modo también se conoce como *prueba alfa* o *transparencia de 1 bit*. .. _class_SpriteBase3D_constant_ALPHA_CUT_OPAQUE_PREPASS: @@ -181,7 +181,7 @@ This mode only allows fully transparent or fully opaque pixels. Harsh edges will :ref:`AlphaCutMode` **ALPHA_CUT_OPAQUE_PREPASS** = ``2`` -This mode draws fully opaque pixels in the depth prepass. This is slower than :ref:`ALPHA_CUT_DISABLED` or :ref:`ALPHA_CUT_DISCARD`, but it allows displaying translucent areas and smooth edges while using proper sorting. +Este modo dibuja píxeles completamente opacos en el pre-pase de profundidad. Esto es más lento que :ref:`ALPHA_CUT_DISABLED` o :ref:`ALPHA_CUT_DISCARD`, pero permite mostrar áreas translúcidas y bordes suaves mientras se usa la ordenación adecuada. .. _class_SpriteBase3D_constant_ALPHA_CUT_HASH: @@ -455,9 +455,9 @@ Si es ``true``, la prueba de profundidad está desactivada y el objeto se dibuja - |void| **set_offset**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_offset**\ (\ ) -The texture's drawing offset. +El desplazamiento de dibujo de la textura. -\ **Note:** When you increase :ref:`offset`.y in Sprite3D, the sprite moves upward in world space (i.e., +Y is up). +\ **Nota:** Cuando aumentas :ref:`offset`.y en Sprite3D, el sprite se mueve hacia arriba en el espacio mundial (es decir, +Y es hacia arriba). .. rst-class:: classref-item-separator @@ -529,9 +529,9 @@ If ``true``, the :ref:`Light3D` in the :ref:`Environment`\ ) - :ref:`TextureFilter` **get_texture_filter**\ (\ ) -Filter flags for the texture. +Marcas de filtro para la textura. -\ **Note:** Linear filtering may cause artifacts around the edges, which are especially noticeable on opaque textures. To prevent this, use textures with transparent or identical colors around the edges. +\ **Nota:** El filtrado lineal puede causar artefactos alrededor de los bordes, que son especialmente notables en texturas opacas. Para evitar esto, utiliza texturas con colores transparentes o idénticos alrededor de los bordes. .. rst-class:: classref-item-separator diff --git a/classes/es/class_spriteframes.rst b/classes/es/class_spriteframes.rst index 79662b60e3..38c25f58cb 100644 --- a/classes/es/class_spriteframes.rst +++ b/classes/es/class_spriteframes.rst @@ -89,7 +89,7 @@ Adds a new ``anim`` animation to the library. |void| **add_frame**\ (\ anim\: :ref:`StringName`, texture\: :ref:`Texture2D`, duration\: :ref:`float` = 1.0, at_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a frame to the ``anim`` animation. If ``at_position`` is ``-1``, the frame will be added to the end of the animation. ``duration`` specifies the relative duration, see :ref:`get_frame_duration()` for details. +Añade un fotograma a la animación ``anim``. Si ``at_position`` es ``-1``, el fotograma se añadirá al final de la animación. ``duration`` especifica la duración relativa, véase :ref:`get_frame_duration()` para más detalles. .. rst-class:: classref-item-separator @@ -101,7 +101,7 @@ Adds a frame to the ``anim`` animation. If ``at_position`` is ``-1``, the frame |void| **clear**\ (\ anim\: :ref:`StringName`\ ) :ref:`🔗` -Removes all frames from the ``anim`` animation. +Elimina todos los fotogramas de la animación ``anim``. .. rst-class:: classref-item-separator @@ -125,7 +125,7 @@ Removes all animations. An empty ``default`` animation will be created. |void| **duplicate_animation**\ (\ anim_from\: :ref:`StringName`, anim_to\: :ref:`StringName`\ ) :ref:`🔗` -Duplicates the animation ``anim_from`` to a new animation named ``anim_to``. Fails if ``anim_to`` already exists, or if ``anim_from`` does not exist. +Duplica la animación ``anim_from`` a una nueva animación llamada ``anim_to``. Falla si ``anim_to`` ya existe, o si ``anim_from`` no existe. .. rst-class:: classref-item-separator @@ -137,7 +137,7 @@ Duplicates the animation ``anim_from`` to a new animation named ``anim_to``. Fai :ref:`bool` **get_animation_loop**\ (\ anim\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if the given animation is configured to loop when it finishes playing. Otherwise, returns ``false``. +Devuelve ``true`` si la animación dada está configurada para repetirse cuando termina de reproducirse. De lo contrario, devuelve ``false``. .. rst-class:: classref-item-separator @@ -161,7 +161,7 @@ Devuelve un array que contiene los nombres asociados a cada animación. Los valo :ref:`float` **get_animation_speed**\ (\ anim\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns the speed in frames per second for the ``anim`` animation. +Devuelve la velocidad en fotogramas por segundo para la animación ``anim``. .. rst-class:: classref-item-separator @@ -173,7 +173,7 @@ Returns the speed in frames per second for the ``anim`` animation. :ref:`int` **get_frame_count**\ (\ anim\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns the number of frames for the ``anim`` animation. +Devuelve el número de fotogramas para la animación ``anim``. .. rst-class:: classref-item-separator @@ -203,7 +203,7 @@ In this example, ``playing_speed`` refers to either :ref:`AnimatedSprite2D.get_p :ref:`Texture2D` **get_frame_texture**\ (\ anim\: :ref:`StringName`, idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the texture of the frame ``idx`` in the ``anim`` animation. +Devuelve la textura del fotograma ``idx`` en la animación ``anim``. .. rst-class:: classref-item-separator @@ -215,7 +215,7 @@ Returns the texture of the frame ``idx`` in the ``anim`` animation. :ref:`bool` **has_animation**\ (\ anim\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if the ``anim`` animation exists. +Devuelve ``true`` si la animación ``anim`` existe. .. rst-class:: classref-item-separator @@ -227,7 +227,7 @@ Returns ``true`` if the ``anim`` animation exists. |void| **remove_animation**\ (\ anim\: :ref:`StringName`\ ) :ref:`🔗` -Removes the ``anim`` animation. +Elimina la animación ``anim``. .. rst-class:: classref-item-separator @@ -239,7 +239,7 @@ Removes the ``anim`` animation. |void| **remove_frame**\ (\ anim\: :ref:`StringName`, idx\: :ref:`int`\ ) :ref:`🔗` -Removes the ``anim`` animation's frame ``idx``. +Elimina el fotograma ``idx`` de la animación ``anim``. .. rst-class:: classref-item-separator @@ -263,7 +263,7 @@ Cambia el nombre de la animación ``anim`` a ``newname``. |void| **set_animation_loop**\ (\ anim\: :ref:`StringName`, loop\: :ref:`bool`\ ) :ref:`🔗` -If ``loop`` is ``true``, the ``anim`` animation will loop when it reaches the end, or the start if it is played in reverse. +Si ``loop`` es ``true``, la animación ``anim`` se repetirá cuando llegue al final, o al principio si se reproduce al revés. .. rst-class:: classref-item-separator @@ -275,7 +275,7 @@ If ``loop`` is ``true``, the ``anim`` animation will loop when it reaches the en |void| **set_animation_speed**\ (\ anim\: :ref:`StringName`, fps\: :ref:`float`\ ) :ref:`🔗` -Sets the speed for the ``anim`` animation in frames per second. +Establece la velocidad para la animación ``anim`` en fotogramas por segundo. .. rst-class:: classref-item-separator @@ -287,7 +287,7 @@ Sets the speed for the ``anim`` animation in frames per second. |void| **set_frame**\ (\ anim\: :ref:`StringName`, idx\: :ref:`int`, texture\: :ref:`Texture2D`, duration\: :ref:`float` = 1.0\ ) :ref:`🔗` -Sets the ``texture`` and the ``duration`` of the frame ``idx`` in the ``anim`` animation. ``duration`` specifies the relative duration, see :ref:`get_frame_duration()` for details. +Establece la ``texture`` y la ``duration`` del fotograma ``idx`` en la animación ``anim``. ``duration`` especifica la duración relativa, véase :ref:`get_frame_duration()` para obtener más detalles. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_standardmaterial3d.rst b/classes/es/class_standardmaterial3d.rst index dbc618bf99..f6044c772d 100644 --- a/classes/es/class_standardmaterial3d.rst +++ b/classes/es/class_standardmaterial3d.rst @@ -14,7 +14,7 @@ A PBR (Physically Based Rendering) material to be used on 3D objects. Descripción ---------------------- -**StandardMaterial3D**'s properties are inherited from :ref:`BaseMaterial3D`. **StandardMaterial3D** uses separate textures for ambient occlusion, roughness and metallic maps. To use a single ORM map for all 3 textures, use an :ref:`ORMMaterial3D` instead. +Las propiedades de **StandardMaterial3D** se heredan de :ref:`BaseMaterial3D`. **StandardMaterial3D** utiliza texturas separadas para oclusión ambiental, rugosidad y mapas metálicos. Para usar un solo mapa ORM para las 3 texturas, utiliza un :ref:`ORMMaterial3D` en su lugar. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_staticbody2d.rst b/classes/es/class_staticbody2d.rst index 6b1cd1521f..58783ac55f 100644 --- a/classes/es/class_staticbody2d.rst +++ b/classes/es/class_staticbody2d.rst @@ -9,7 +9,7 @@ StaticBody2D **Heredado por:** :ref:`AnimatableBody2D` -A 2D physics body that can't be moved by external forces. When moved manually, it doesn't affect other bodies in its path. +Un cuerpo físico 2D que no puede ser movido por fuerzas externas. Cuando se mueve manualmente, no afecta a otros cuerpos en su camino. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_staticbody3d.rst b/classes/es/class_staticbody3d.rst index 197bb33a55..4e3a049126 100644 --- a/classes/es/class_staticbody3d.rst +++ b/classes/es/class_staticbody3d.rst @@ -9,7 +9,7 @@ StaticBody3D **Heredado por:** :ref:`AnimatableBody3D` -A 3D physics body that can't be moved by external forces. When moved manually, it doesn't affect other bodies in its path. +Un cuerpo físico 3D que no puede ser movido por fuerzas externas. Cuando se mueve manualmente, no afecta a otros cuerpos en su camino. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_statusindicator.rst b/classes/es/class_statusindicator.rst index a4571fc7f2..472a1ccf62 100644 --- a/classes/es/class_statusindicator.rst +++ b/classes/es/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: diff --git a/classes/es/class_streampeer.rst b/classes/es/class_streampeer.rst index 5bfb15df4c..70a6d3418b 100644 --- a/classes/es/class_streampeer.rst +++ b/classes/es/class_streampeer.rst @@ -16,7 +16,7 @@ Clase base abstracta para interactuar con tranmisiones. Descripción ---------------------- -StreamPeer es una clase base abstracta utilizada principalmente para protocolos basados en tranmisiones (como TCP). Proporciona una API para enviar y recibir datos a través de tranmisiones como datos brutos o cadenas de texto. +StreamPeer es una clase base abstracta utilizada principalmente para protocolos basados en tranmisiones (como TCP). Proporciona una API para enviar y recibir datos a través de tranmisiones como datos brutos o strings de texto. \ **Nota:** Al exportar a Android, asegúrate de habilitar el permiso ``INTERNET`` en el preset de exportación de Android antes de exportar el proyecto o usar el despliegue con un solo clic. De lo contrario, la comunicación de red de cualquier tipo será bloqueada por Android. @@ -401,7 +401,7 @@ Pone un valor con signo de 64 bits en el stream. :ref:`Error` **put_data**\ (\ data\: :ref:`PackedByteArray`\ ) :ref:`🔗` -Sends a chunk of data through the connection, blocking if necessary until the data is done sending. This function returns an :ref:`Error` code. +Envía un fragmento de datos a través de la conexión, bloqueando si es necesario hasta que se terminen de enviar los datos. Esta función devuelve un código :ref:`Error`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_streampeerbuffer.rst b/classes/es/class_streampeerbuffer.rst index 00c151aeef..9545398999 100644 --- a/classes/es/class_streampeerbuffer.rst +++ b/classes/es/class_streampeerbuffer.rst @@ -72,7 +72,7 @@ Descripciones de Propiedades - |void| **set_data_array**\ (\ value\: :ref:`PackedByteArray`\ ) - :ref:`PackedByteArray` **get_data_array**\ (\ ) -The underlying data buffer. Setting this value resets the cursor. +El búfer de datos subyacente. Establecer este valor reinicia el cursor. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedByteArray` for more details. @@ -91,7 +91,7 @@ Descripciones de Métodos |void| **clear**\ (\ ) :ref:`🔗` -Clears the :ref:`data_array` and resets the cursor. +Limpia el :ref:`data_array` y reinicia el cursor. .. rst-class:: classref-item-separator @@ -103,7 +103,7 @@ Clears the :ref:`data_array` and res :ref:`StreamPeerBuffer` **duplicate**\ (\ ) |const| :ref:`🔗` -Returns a new **StreamPeerBuffer** with the same :ref:`data_array` content. +Devuelve un nuevo **StreamPeerBuffer** con el mismo contenido de :ref:`data_array`. .. rst-class:: classref-item-separator @@ -139,7 +139,7 @@ Devuelve el tamaño de :ref:`data_array`\ ) :ref:`🔗` -Resizes the :ref:`data_array`. This *doesn't* update the cursor. +Redimensiona el :ref:`data_array`. Esto *no* actualiza el cursor. .. rst-class:: classref-item-separator @@ -151,7 +151,7 @@ Resizes the :ref:`data_array`. This |void| **seek**\ (\ position\: :ref:`int`\ ) :ref:`🔗` -Moves the cursor to the specified position. ``position`` must be a valid index of :ref:`data_array`. +Mueve el cursor a la posición especificada. ``position`` debe ser un índice válido de :ref:`data_array`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_streampeergzip.rst b/classes/es/class_streampeergzip.rst index 16ff3b8e6e..4de0cfa773 100644 --- a/classes/es/class_streampeergzip.rst +++ b/classes/es/class_streampeergzip.rst @@ -53,7 +53,7 @@ Descripciones de Métodos |void| **clear**\ (\ ) :ref:`🔗` -Clears this stream, resetting the internal state. +Limpia este flujo, reiniciando el estado interno. .. rst-class:: classref-item-separator @@ -65,9 +65,9 @@ Clears this stream, resetting the internal state. :ref:`Error` **finish**\ (\ ) :ref:`🔗` -Finalizes the stream, compressing any buffered chunk left. +Finaliza el flujo, comprimiendo cualquier fragmento almacenado en búfer que quede. -You must call it only when you are compressing. +Debes llamarlo solo cuando estés comprimiendo. .. rst-class:: classref-item-separator @@ -79,7 +79,7 @@ You must call it only when you are compressing. :ref:`Error` **start_compression**\ (\ use_deflate\: :ref:`bool` = false, buffer_size\: :ref:`int` = 65535\ ) :ref:`🔗` -Start the stream in compression mode with the given ``buffer_size``, if ``use_deflate`` is ``true`` uses deflate instead of GZIP. +Inicia el flujo en modo de compresión con el ``buffer_size`` dado, si ``use_deflate`` es ``true`` usa deflate en lugar de GZIP. .. rst-class:: classref-item-separator @@ -91,7 +91,7 @@ Start the stream in compression mode with the given ``buffer_size``, if ``use_de :ref:`Error` **start_decompression**\ (\ use_deflate\: :ref:`bool` = false, buffer_size\: :ref:`int` = 65535\ ) :ref:`🔗` -Start the stream in decompression mode with the given ``buffer_size``, if ``use_deflate`` is ``true`` uses deflate instead of GZIP. +Inicia el flujo en modo de descompresión con el ``buffer_size`` dado, si ``use_deflate`` es ``true`` usa deflate en lugar de GZIP. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_streampeertcp.rst b/classes/es/class_streampeertcp.rst index 4d7062e37f..94664c7cf9 100644 --- a/classes/es/class_streampeertcp.rst +++ b/classes/es/class_streampeertcp.rst @@ -91,7 +91,7 @@ Un estado que representa un **StreamPeerTCP** que está conectado a un host. :ref:`Status` **STATUS_ERROR** = ``3`` -Un estado que representa un ``StreamPeerSSL`` en estado de error. +Un estado que representa un **StreamPeerTCP** en estado de error. .. rst-class:: classref-section-separator @@ -194,7 +194,7 @@ Devuelve el estado de la conexión. :ref:`Error` **poll**\ (\ ) :ref:`🔗` -Poll the socket, updating its state. See :ref:`get_status()`. +Sondea el socket, actualizando su estado. Véase :ref:`get_status()`. .. rst-class:: classref-item-separator @@ -206,9 +206,9 @@ Poll the socket, updating its state. See :ref:`get_status()`\ ) :ref:`🔗` -If ``enabled`` is ``true``, packets will be sent immediately. If ``enabled`` is ``false`` (the default), packet transfers will be delayed and combined using `Nagle's algorithm `__. +Si ``enabled`` es ``true``, los paquetes se enviarán inmediatamente. Si ``enabled`` es ``false`` (el valor predeterminado), las transferencias de paquetes se retrasarán y combinarán utilizando `el algoritmo de Nagle `__. -\ **Note:** It's recommended to leave this disabled for applications that send large packets or need to transfer a lot of data, as enabling this can decrease the total available bandwidth. +\ **Nota:** Se recomienda dejar esto desactivado para las aplicaciones que envían paquetes grandes o necesitan transferir muchos datos, ya que habilitar esto puede disminuir el ancho de banda total disponible. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_streampeertls.rst b/classes/es/class_streampeertls.rst index 822f295658..fbb23ff014 100644 --- a/classes/es/class_streampeertls.rst +++ b/classes/es/class_streampeertls.rst @@ -165,7 +165,7 @@ Devuelve el estado de la conexión. :ref:`StreamPeer` **get_stream**\ (\ ) |const| :ref:`🔗` -Returns the underlying :ref:`StreamPeer` connection, used in :ref:`accept_stream()` or :ref:`connect_to_stream()`. +Devuelve la conexión subyacente :ref:`StreamPeer`, utilizada en :ref:`accept_stream()` o :ref:`connect_to_stream()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_string.rst b/classes/es/class_string.rst index 8b2af8c936..accc77f16b 100644 --- a/classes/es/class_string.rst +++ b/classes/es/class_string.rst @@ -5,7 +5,7 @@ String ====== -A built-in type for strings. +Un tipo integrado para strings. .. rst-class:: classref-introduction-group @@ -29,7 +29,7 @@ To convert any :ref:`Variant` to or from a string, see :ref:`@Glo Tutoriales -------------------- -- :doc:`GDScript format strings <../tutorials/scripting/gdscript/gdscript_format_string>` +- :doc:`Strings de formato de GDScript <../tutorials/scripting/gdscript/gdscript_format_string>` .. rst-class:: classref-reftable-group @@ -340,7 +340,7 @@ Descripciones de Constructores :ref:`String` **String**\ (\ ) :ref:`🔗` -Constructs an empty **String** (``""``). +Construye una **String** vacía (``""``). .. rst-class:: classref-item-separator @@ -350,7 +350,7 @@ Constructs an empty **String** (``""``). :ref:`String` **String**\ (\ from\: :ref:`String`\ ) -Constructs a **String** as a copy of the given **String**. +Construye una **String** como copia de la **String** dada. .. rst-class:: classref-item-separator @@ -360,7 +360,7 @@ Constructs a **String** as a copy of the given **String**. :ref:`String` **String**\ (\ from\: :ref:`NodePath`\ ) -Constructs a new **String** from the given :ref:`NodePath`. +Construye una nueva **String** desde el :ref:`NodePath` dado. .. rst-class:: classref-item-separator @@ -370,7 +370,7 @@ Constructs a new **String** from the given :ref:`NodePath`. :ref:`String` **String**\ (\ from\: :ref:`StringName`\ ) -Constructs a new **String** from the given :ref:`StringName`. +Construye una nueva **String** desde el :ref:`StringName` dado. .. rst-class:: classref-section-separator @@ -387,7 +387,7 @@ Descripciones de Métodos :ref:`bool` **begins_with**\ (\ text\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if the string begins with the given ``text``. See also :ref:`ends_with()`. +Devuelve ``true`` si la string comienza con el ``text`` dado. Véase también :ref:`ends_with()`. .. rst-class:: classref-item-separator @@ -399,11 +399,11 @@ Returns ``true`` if the string begins with the given ``text``. See also :ref:`en :ref:`PackedStringArray` **bigrams**\ (\ ) |const| :ref:`🔗` -Returns an array containing the bigrams (pairs of consecutive characters) of this string. +Devuelve un array que contiene los bigramas (pares de caracteres consecutivos) de esta string. :: - print("Get up!".bigrams()) # Prints ["Ge", "et", "t ", " u", "up", "p!"] + print("Levántate!".bigrams()) # Imprime ["Le", "ev", "vá", "nt", "ta", "at", "te", "e!"] .. rst-class:: classref-item-separator @@ -564,9 +564,9 @@ If you need to know where ``what`` is within the string, use :ref:`find()` **containsn**\ (\ what\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if the string contains ``what``, **ignoring case**. +Devuelve ``true`` si la string contiene ``what``, **ignorando mayúsculas y minúsculas**. -If you need to know where ``what`` is within the string, use :ref:`findn()`. See also :ref:`contains()`. +Si necesitas saber dónde está ``what`` dentro de la string, usa :ref:`findn()`. Véase también :ref:`contains()`. .. rst-class:: classref-item-separator @@ -578,7 +578,7 @@ If you need to know where ``what`` is within the string, use :ref:`findn()` **count**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0, to\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the number of occurrences of the substring ``what`` between ``from`` and ``to`` positions. If ``to`` is 0, the search continues until the end of the string. +Devuelve el número de ocurrencias de la substring ``what`` entre las posiciones ``from`` y ``to``. Si ``to`` es 0, la búsqueda continúa hasta el final de la string. .. rst-class:: classref-item-separator @@ -590,7 +590,7 @@ Returns the number of occurrences of the substring ``what`` between ``from`` and :ref:`int` **countn**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0, to\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the number of occurrences of the substring ``what`` between ``from`` and ``to`` positions, **ignoring case**. If ``to`` is 0, the search continues until the end of the string. +Devuelve el número de ocurrencias de la substring ``what`` entre las posiciones ``from`` y ``to``, **ignorando mayúsculas y minúsculas**. Si ``to`` es 0, la búsqueda continúa hasta el final de la string. .. rst-class:: classref-item-separator @@ -626,7 +626,7 @@ Returns ``true`` if the string ends with the given ``text``. See also :ref:`begi :ref:`String` **erase**\ (\ position\: :ref:`int`, chars\: :ref:`int` = 1\ ) |const| :ref:`🔗` -Returns a string with ``chars`` characters erased starting from ``position``. If ``chars`` goes beyond the string's length given the specified ``position``, fewer characters will be erased from the returned string. Returns an empty string if either ``position`` or ``chars`` is negative. Returns the original string unmodified if ``chars`` is ``0``. +Devuelve una string con ``chars`` caracteres borrados, comenzando desde ``position``. Si ``chars`` excede la longitud de la string dada la ``position`` especificada, se borrarán menos caracteres de la string devuelta. Devuelve una string vacía si ``position`` o ``chars`` son negativos. Devuelve la string original sin modificar si ``chars`` es ``0``. .. rst-class:: classref-item-separator @@ -638,9 +638,9 @@ Returns a string with ``chars`` characters erased starting from ``position``. If :ref:`int` **filecasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Like :ref:`naturalcasecmp_to()` but prioritizes strings that begin with periods (``.``) and underscores (``_``) before any other character. Useful when sorting folders or file names. +Como :ref:`naturalcasecmp_to()` pero prioriza las strings que comienzan con puntos (``.``) y guiones bajos (``_``) antes que cualquier otro carácter. Útil al ordenar carpetas o nombres de archivos. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`filenocasecmp_to()`, :ref:`naturalcasecmp_to()`, and :ref:`casecmp_to()`. +Para obtener un resultado :ref:`bool` de una comparación de strings, usa el operador ``==`` en su lugar. Véase también :ref:`filenocasecmp_to()`, :ref:`naturalcasecmp_to()` y :ref:`casecmp_to()`. .. rst-class:: classref-item-separator @@ -652,9 +652,9 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **filenocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Like :ref:`naturalnocasecmp_to()` but prioritizes strings that begin with periods (``.``) and underscores (``_``) before any other character. Useful when sorting folders or file names. +Como :ref:`naturalnocasecmp_to()` pero prioriza las strings que comienzan con puntos (``.``) y guiones bajos (``_``) antes que cualquier otro carácter. Útil al ordenar carpetas o nombres de archivos. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`filecasecmp_to()`, :ref:`naturalnocasecmp_to()`, and :ref:`nocasecmp_to()`. +Para obtener un resultado :ref:`bool` de una comparación de strings, usa el operador ``==`` en su lugar. Véase también :ref:`filecasecmp_to()`, :ref:`naturalnocasecmp_to()` y :ref:`nocasecmp_to()`. .. rst-class:: classref-item-separator @@ -701,7 +701,7 @@ Returns the index of the **first** occurrence of ``what`` in this string, or ``- :ref:`int` **findn**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the index of the **first** **case-insensitive** occurrence of ``what`` in this string, or ``-1`` if there are none. The starting search index can be specified with ``from``, continuing to the end of the string. +Devuelve el índice de la **primera** ocurrencia **insensible a mayúsculas y minúsculas** de ``what`` en esta string, o ``-1`` si no hay ninguna. El índice de búsqueda inicial se puede especificar con ``from``, continuando hasta el final de la string. .. rst-class:: classref-item-separator @@ -781,11 +781,11 @@ Si la cadena es una ruta de archivo válida, devuelve el nombre del directorio b :ref:`String` **get_basename**\ (\ ) |const| :ref:`🔗` -If the string is a valid file path, returns the full file path, without the extension. +Si la string es una ruta de archivo válida, devuelve la ruta de acceso de archivo completa, sin la extensión. :: - var base = "/path/to/file.txt".get_basename() # base is "/path/to/file" + var base = "/ruta/a/archivo.txt".get_basename() # la base es "/ruta/a/archivo" .. rst-class:: classref-item-separator @@ -837,13 +837,13 @@ If the string is a valid file path, returns the file name, including the extensi :ref:`String` **get_slice**\ (\ delimiter\: :ref:`String`, slice\: :ref:`int`\ ) |const| :ref:`🔗` -Splits the string using a ``delimiter`` and returns the substring at index ``slice``. Returns the original string if ``delimiter`` does not occur in the string. Returns an empty string if the ``slice`` does not exist. +Divide la string usando ``delimiter`` y devuelve la substring en el índice ``slice``. Devuelve la string original si ``delimiter`` no aparece en la string. Devuelve una string vacía si ``slice`` no existe. -This is faster than :ref:`split()`, if you only need one substring. +Esto es más rápido que :ref:`split()`, si solo necesitas una substring. :: - print("i/am/example/hi".get_slice("/", 2)) # Prints "example" + print("i/am/example/hi".get_slice("/", 2)) # Imprime "example" .. rst-class:: classref-item-separator @@ -855,7 +855,7 @@ This is faster than :ref:`split()`, if you only need :ref:`int` **get_slice_count**\ (\ delimiter\: :ref:`String`\ ) |const| :ref:`🔗` -Returns the total number of slices when the string is split with the given ``delimiter`` (see :ref:`split()`). +Devuelve el número total de fragmentos cuando la string se divide con el ``delimiter`` dado (véase :ref:`split()`). .. rst-class:: classref-item-separator @@ -867,9 +867,9 @@ Returns the total number of slices when the string is split with the given ``del :ref:`String` **get_slicec**\ (\ delimiter\: :ref:`int`, slice\: :ref:`int`\ ) |const| :ref:`🔗` -Splits the string using a Unicode character with code ``delimiter`` and returns the substring at index ``slice``. Returns an empty string if the ``slice`` does not exist. +Divide la string usando un carácter Unicode con código ``delimiter`` y devuelve la substring en el índice ``slice``. Devuelve una string vacía si ``slice`` no existe. -This is faster than :ref:`split()`, if you only need one substring. +Esto es más rápido que :ref:`split()` si solo necesitas una substring. .. rst-class:: classref-item-separator @@ -881,9 +881,9 @@ This is faster than :ref:`split()`, if you only need :ref:`int` **hash**\ (\ ) |const| :ref:`🔗` -Returns the 32-bit hash value representing the string's contents. +Devuelve el valor hash de 32 bits que representa el contenido de la string. -\ **Note:** Strings with equal hash values are *not* guaranteed to be the same, as a result of hash collisions. On the contrary, strings with different hash values are guaranteed to be different. +\ **Nota:** *No* se garantiza que las strings con valores hash iguales sean las mismas, como resultado de colisiones hash. Por el contrario, se garantiza que las strings con diferentes valores hash sean diferentes. .. rst-class:: classref-item-separator @@ -965,9 +965,9 @@ The result is in `IEC prefix format ` **indent**\ (\ prefix\: :ref:`String`\ ) |const| :ref:`🔗` -Indents every line of the string with the given ``prefix``. Empty lines are not indented. See also :ref:`dedent()` to remove indentation. +Indenta cada línea de la string con el ``prefix`` dado. Las líneas vacías no se indentan. Véase también :ref:`dedent()` para eliminar la indentación. -For example, the string can be indented with two tabulations using ``"\t\t"``, or four spaces using ``" "``. +Por ejemplo, la string se puede indentar con dos tabulaciones usando ``"\t\t"``, o cuatro espacios usando ``" "``. .. rst-class:: classref-item-separator @@ -979,7 +979,7 @@ For example, the string can be indented with two tabulations using ``"\t\t"``, o :ref:`String` **insert**\ (\ position\: :ref:`int`, what\: :ref:`String`\ ) |const| :ref:`🔗` -Inserts ``what`` at the given ``position`` in the string. +Inserta ``what`` en la ``position`` dada en la string. .. rst-class:: classref-item-separator @@ -991,9 +991,9 @@ Inserts ``what`` at the given ``position`` in the string. :ref:`bool` **is_absolute_path**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the string is a path to a file or directory, and its starting point is explicitly defined. This method is the opposite of :ref:`is_relative_path()`. +Devuelve ``true`` si la string es una ruta a un archivo o directorio, y su punto de inicio está definido explícitamente. Este método es lo opuesto a :ref:`is_relative_path()`. -This includes all paths starting with ``"res://"``, ``"user://"``, ``"C:\"``, ``"/"``, etc. +Esto incluye todas las rutas que comienzan con ``"res://"``, ``"user://"``, ``"C:\"``, ``"/"``, etc. .. rst-class:: classref-item-separator @@ -1017,7 +1017,7 @@ Returns ``true`` if the string's length is ``0`` (``""``). See also :ref:`length :ref:`bool` **is_relative_path**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the string is a path, and its starting point is dependent on context. The path could begin from the current directory, or the current :ref:`Node` (if the string is derived from a :ref:`NodePath`), and may sometimes be prefixed with ``"./"``. This method is the opposite of :ref:`is_absolute_path()`. +Devuelve ``true`` si la string es una ruta, y su punto de inicio depende del contexto. La ruta podría comenzar desde el directorio actual, o el :ref:`Node` actual (si la string deriva de un :ref:`NodePath`), y a veces puede tener el prefijo ``"./"``. Este método es lo opuesto a :ref:`is_absolute_path()`. .. rst-class:: classref-item-separator @@ -1260,7 +1260,7 @@ Returns the concatenation of ``parts``' elements, with each element separated by :ref:`String` **json_escape**\ (\ ) |const| :ref:`🔗` -Returns a copy of the string with special characters escaped using the JSON standard. Because it closely matches the C standard, it is possible to use :ref:`c_unescape()` to unescape the string, if necessary. +Devuelve una copia de la string con los caracteres especiales escapados usando el estándar JSON. Debido a que coincide estrechamente con el estándar C, es posible usar :ref:`c_unescape()` para desencapsular la string, si es necesario. .. rst-class:: classref-item-separator @@ -1289,7 +1289,7 @@ Returns the first ``length`` characters from the beginning of the string. If ``l :ref:`int` **length**\ (\ ) |const| :ref:`🔗` -Returns the number of characters in the string. Empty strings (``""``) always return ``0``. See also :ref:`is_empty()`. +Devuelve el número de caracteres en la string. Las strings vacías (``""``) siempre devuelven ``0``. Véase también :ref:`is_empty()`. .. rst-class:: classref-item-separator @@ -1301,7 +1301,7 @@ Returns the number of characters in the string. Empty strings (``""``) always re :ref:`String` **lpad**\ (\ min_length\: :ref:`int`, character\: :ref:`String` = " "\ ) |const| :ref:`🔗` -Formats the string to be at least ``min_length`` long by adding ``character``\ s to the left of the string, if necessary. See also :ref:`rpad()`. +Formatea la string para que tenga al menos ``min_length`` de longitud añadiendo ``character``\ s a la izquierda de la string, si es necesario. Véase también :ref:`rpad()`. .. rst-class:: classref-item-separator @@ -1313,9 +1313,9 @@ Formats the string to be at least ``min_length`` long by adding ``character``\ s :ref:`String` **lstrip**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes a set of characters defined in ``chars`` from the string's beginning. See also :ref:`rstrip()`. +Elimina un conjunto de caracteres definidos en ``chars`` del comienzo de la string. Véase también :ref:`rstrip()`. -\ **Note:** ``chars`` is not a prefix. Use :ref:`trim_prefix()` to remove a single prefix, rather than a set of characters. +\ **Nota:** ``chars`` no es un prefijo. Usa :ref:`trim_prefix()` para eliminar un solo prefijo, en lugar de un conjunto de caracteres. .. rst-class:: classref-item-separator @@ -1327,7 +1327,7 @@ Removes a set of characters defined in ``chars`` from the string's beginning. Se :ref:`bool` **match**\ (\ expr\: :ref:`String`\ ) |const| :ref:`🔗` -Does a simple expression match (also called "glob" or "globbing"), where ``*`` matches zero or more arbitrary characters and ``?`` matches any single character except a period (``.``). An empty string or empty expression always evaluates to ``false``. +Realiza una comparación simple de expresiones (también llamado "glob" o "globbing"), donde ``*`` coincide con cero o más caracteres arbitrarios y ``?`` coincide con cualquier carácter individual excepto un punto (``.``). Una string vacía o una expresión vacía siempre se evalúa como ``false``. .. rst-class:: classref-item-separator @@ -1339,7 +1339,7 @@ Does a simple expression match (also called "glob" or "globbing"), where ``*`` m :ref:`bool` **matchn**\ (\ expr\: :ref:`String`\ ) |const| :ref:`🔗` -Does a simple **case-insensitive** expression match, where ``*`` matches zero or more arbitrary characters and ``?`` matches any single character except a period (``.``). An empty string or empty expression always evaluates to ``false``. +Realiza una comparación simple de expresiones **insensible a mayúsculas/minúsculas**, donde ``*`` coincide con cero o más caracteres arbitrarios y ``?`` coincide con cualquier carácter individual excepto un punto (``.``). Una string vacía o una expresión vacía siempre se evalúa como ``false``. .. rst-class:: classref-item-separator @@ -1560,7 +1560,7 @@ Concatenates ``path`` at the end of the string as a subpath, adding ``/`` if nec :ref:`String` **remove_char**\ (\ what\: :ref:`int`\ ) |const| :ref:`🔗` -Removes all occurrences of the Unicode character with code ``what``. Faster version of :ref:`replace()` when the key is only one character long and the replacement is ``""``. +Elimina todas las ocurrencias del carácter Unicode con el código ``what``. Versión más rápida de :ref:`replace()` cuando la clave tiene solo un carácter de longitud y el reemplazo es ``""``. .. rst-class:: classref-item-separator @@ -1572,7 +1572,7 @@ Removes all occurrences of the Unicode character with code ``what``. Faster vers :ref:`String` **remove_chars**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes any occurrence of the characters in ``chars``. See also :ref:`remove_char()`. +Elimina cualquier ocurrencia de los caracteres en ``chars``. Véase también :ref:`remove_char()`. .. rst-class:: classref-item-separator @@ -1584,7 +1584,7 @@ Removes any occurrence of the characters in ``chars``. See also :ref:`remove_cha :ref:`String` **repeat**\ (\ count\: :ref:`int`\ ) |const| :ref:`🔗` -Repeats this string a number of times. ``count`` needs to be greater than ``0``. Otherwise, returns an empty string. +Repite esta string un número de veces. ``count`` debe ser mayor que ``0``. De lo contrario, devuelve una string vacía. .. rst-class:: classref-item-separator @@ -1620,7 +1620,7 @@ Replaces all occurrences of the Unicode character with code ``key`` with the Uni :ref:`String` **replace_chars**\ (\ keys\: :ref:`String`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces any occurrence of the characters in ``keys`` with the Unicode character with code ``with``. See also :ref:`replace_char()`. +Reemplaza cualquier ocurrencia de los caracteres en ``keys`` con el carácter Unicode con el código ``with``. Véase también :ref:`replace_char()`. .. rst-class:: classref-item-separator @@ -1632,7 +1632,7 @@ Replaces any occurrence of the characters in ``keys`` with the Unicode character :ref:`String` **replacen**\ (\ what\: :ref:`String`, forwhat\: :ref:`String`\ ) |const| :ref:`🔗` -Replaces all **case-insensitive** occurrences of ``what`` inside the string with the given ``forwhat``. +Reemplaza todas las ocurrencias **insensibles a mayúsculas y minúsculas** de ``what`` dentro de la string con el ``forwhat`` dado. .. rst-class:: classref-item-separator @@ -1644,7 +1644,7 @@ Replaces all **case-insensitive** occurrences of ``what`` inside the string with :ref:`String` **reverse**\ (\ ) |const| :ref:`🔗` -Returns the copy of this string in reverse order. This operation works on unicode codepoints, rather than sequences of codepoints, and may break things like compound letters or emojis. +Devuelve la copia de esta string en orden inverso. Esta operación funciona en puntos de código Unicode, en lugar de secuencias de puntos de código, y puede romper cosas como letras compuestas o emojis. .. rst-class:: classref-item-separator @@ -1656,7 +1656,7 @@ Returns the copy of this string in reverse order. This operation works on unicod :ref:`int` **rfind**\ (\ what\: :ref:`String`, from\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the index of the **last** occurrence of ``what`` in this string, or ``-1`` if there are none. The search's start can be specified with ``from``, continuing to the beginning of the string. This method is the reverse of :ref:`find()`. +Devuelve el índice de la **última** ocurrencia de ``what`` en esta string, o ``-1`` si no hay ninguna. El inicio de la búsqueda se puede especificar con ``from``, continuando hasta el principio de la string. Este método es el inverso de :ref:`find()`. .. rst-class:: classref-item-separator @@ -1668,7 +1668,7 @@ Returns the index of the **last** occurrence of ``what`` in this string, or ``-1 :ref:`int` **rfindn**\ (\ what\: :ref:`String`, from\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the index of the **last** **case-insensitive** occurrence of ``what`` in this string, or ``-1`` if there are none. The starting search index can be specified with ``from``, continuing to the beginning of the string. This method is the reverse of :ref:`findn()`. +Devuelve el índice de la **última** ocurrencia **insensible a mayúsculas y minúsculas** de ``what`` en esta string, o ``-1`` si no hay ninguna. El índice de búsqueda inicial se puede especificar con ``from``, continuando hasta el principio de la string. Este método es el inverso de :ref:`findn()`. .. rst-class:: classref-item-separator @@ -1697,7 +1697,7 @@ Returns the last ``length`` characters from the end of the string. If ``length`` :ref:`String` **rpad**\ (\ min_length\: :ref:`int`, character\: :ref:`String` = " "\ ) |const| :ref:`🔗` -Formats the string to be at least ``min_length`` long, by adding ``character``\ s to the right of the string, if necessary. See also :ref:`lpad()`. +Formatea la string para que tenga al menos ``min_length`` de longitud, añadiendo ``character``\ s a la derecha de la string, si es necesario. Véase también :ref:`lpad()`. .. rst-class:: classref-item-separator @@ -1743,9 +1743,9 @@ If ``maxsplit`` is greater than ``0``, the number of splits may not exceed ``max :ref:`String` **rstrip**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes a set of characters defined in ``chars`` from the string's end. See also :ref:`lstrip()`. +Elimina un conjunto de caracteres definidos en ``chars`` del final de la string. Véase también :ref:`lstrip()`. -\ **Note:** ``chars`` is not a suffix. Use :ref:`trim_suffix()` to remove a single suffix, rather than a set of characters. +\ **Nota:** ``chars`` no es un sufijo. Usa :ref:`trim_suffix()` para eliminar un solo sufijo, en lugar de un conjunto de caracteres. .. rst-class:: classref-item-separator @@ -1757,7 +1757,7 @@ Removes a set of characters defined in ``chars`` from the string's end. See also :ref:`PackedByteArray` **sha1_buffer**\ (\ ) |const| :ref:`🔗` -Returns the `SHA-1 `__ hash of the string as a :ref:`PackedByteArray`. +Devuelve el hash `SHA-1 `__ de la string como un :ref:`PackedByteArray`. .. rst-class:: classref-item-separator @@ -1769,7 +1769,7 @@ Returns the `SHA-1 `__ hash of the string a :ref:`String` **sha1_text**\ (\ ) |const| :ref:`🔗` -Returns the `SHA-1 `__ hash of the string as another **String**. +Devuelve el hash `SHA-1 `__ de la string como otra **String**. .. rst-class:: classref-item-separator @@ -1824,12 +1824,12 @@ Returns the similarity index (`Sørensen-Dice coefficient ` **simplify_path**\ (\ ) |const| :ref:`🔗` -If the string is a valid file path, converts the string into a canonical path. This is the shortest possible path, without ``"./"``, and all the unnecessary ``".."`` and ``"/"``. +Si la string es una ruta de archivo válida, convierte la string en una ruta canónica. Esta es la ruta más corta posible, sin ``"./"``, y todo el ``".."`` y ``"/"`` innecesarios. :: - var simple_path = "./path/to///../file".simplify_path() - print(simple_path) # Prints "path/file" + var ruta_simple = "./ruta/a///../archivo".simplify_path() + print(ruta_simple) # Imprime "ruta/archivo" .. rst-class:: classref-item-separator @@ -2119,7 +2119,7 @@ Devuelve la string convertida a ``MAYÚSCULAS``. :ref:`PackedByteArray` **to_utf8_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-8 `__ encoded :ref:`PackedByteArray`. This method is slightly slower than :ref:`to_ascii_buffer()`, but supports all UTF-8 characters. For most cases, prefer using this method. This is the inverse of :ref:`PackedByteArray.get_string_from_utf8()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-8 `__. Este método es un poco más lento que :ref:`to_ascii_buffer()`, pero soporta todos los caracteres UTF-8. En la mayoría de los casos, es preferible usar este método. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf8()`. .. rst-class:: classref-item-separator @@ -2131,7 +2131,7 @@ Converts the string to a `UTF-8 `__ encoded :ref:`PackedByteArray` **to_utf16_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-16 `__ encoded :ref:`PackedByteArray`. This is the inverse of :ref:`PackedByteArray.get_string_from_utf16()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-16 `__. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf16()`. .. rst-class:: classref-item-separator @@ -2143,7 +2143,7 @@ Converts the string to a `UTF-16 `__ encod :ref:`PackedByteArray` **to_utf32_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-32 `__ encoded :ref:`PackedByteArray`. This is the inverse of :ref:`PackedByteArray.get_string_from_utf32()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-32 `__. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf32()`. .. rst-class:: classref-item-separator @@ -2167,7 +2167,7 @@ Convierte la string en un :ref:`PackedByteArray` codifica :ref:`String` **trim_prefix**\ (\ prefix\: :ref:`String`\ ) |const| :ref:`🔗` -Removes the given ``prefix`` from the start of the string, or returns the string unchanged. +Elimina el ``prefix`` dado del inicio de la string, o devuelve la string sin cambios. .. rst-class:: classref-item-separator @@ -2179,7 +2179,7 @@ Removes the given ``prefix`` from the start of the string, or returns the string :ref:`String` **trim_suffix**\ (\ suffix\: :ref:`String`\ ) |const| :ref:`🔗` -Removes the given ``suffix`` from the end of the string, or returns the string unchanged. +Elimina el ``suffix`` dado del final de la string, o string la cadena sin cambios. .. rst-class:: classref-item-separator @@ -2191,9 +2191,9 @@ Removes the given ``suffix`` from the end of the string, or returns the string u :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Devuelve el código de carácter en la posición ``at``. -See also :ref:`chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Véase también :ref:`chr()`, :ref:`@GDScript.char()` y :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -2265,7 +2265,7 @@ Encodes the string to URL-friendly format. This method is meant to properly enco :ref:`String` **uri_file_decode**\ (\ ) |const| :ref:`🔗` -Decodes the file path from its URL-encoded format. Unlike :ref:`uri_decode()` this method leaves ``+`` as is. +Decodifica la ruta del archivo desde su formato codificado en URL. A diferencia de :ref:`uri_decode()` este método deja ``+`` como está. .. rst-class:: classref-item-separator @@ -2289,7 +2289,7 @@ Returns a copy of the string with all characters that are not allowed in :ref:`i :ref:`String` **validate_node_name**\ (\ ) |const| :ref:`🔗` -Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) replaced with underscores. +Devuelve una copia de la string con todos los caracteres que no están permitidos en :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) reemplazados con guiones bajos. .. rst-class:: classref-item-separator @@ -2301,7 +2301,7 @@ Returns a copy of the string with all characters that are not allowed in :ref:`N :ref:`String` **xml_escape**\ (\ escape_quotes\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns a copy of the string with special characters escaped using the XML standard. If ``escape_quotes`` is ``true``, the single quote (``'``) and double quote (``"``) characters are also escaped. +Devuelve una copia de la string con los caracteres especiales escapados usando el estándar XML. Si ``escape_quotes`` es ``true``, la comilla simple (``'``) y la comilla doble (``"``) también se escapan. .. rst-class:: classref-item-separator @@ -2379,7 +2379,7 @@ For more information, see the :doc:`GDScript format strings <../tutorials/script :ref:`String` **operator +**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Appends ``right`` at the end of this **String**, also known as a string concatenation. +Añade ``right`` al final de esta **String**, también conocido como concatenación de strings. .. rst-class:: classref-item-separator @@ -2391,7 +2391,7 @@ Appends ``right`` at the end of this **String**, also known as a string concaten :ref:`String` **operator +**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Appends ``right`` at the end of this **String**, returning a **String**. This is also known as a string concatenation. +Añade ``right`` al final de esta **String**, devolviendo un **String**. Esto también se conoce como concatenación de strings. .. rst-class:: classref-item-separator @@ -2403,7 +2403,7 @@ Appends ``right`` at the end of this **String**, returning a **String**. This is :ref:`bool` **operator <**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes before ``right`` in `Unicode order `__, which roughly matches the alphabetical order. Useful for sorting. +Devuelve ``true`` si la **String** de la izquierda es anterior a ``right`` en el `orden Unicode `__, que coincide aproximadamente con el orden alfabético. Útil para ordenar. .. rst-class:: classref-item-separator @@ -2415,7 +2415,7 @@ Returns ``true`` if the left **String** comes before ``right`` in `Unicode order :ref:`bool` **operator <=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes before ``right`` in `Unicode order `__, which roughly matches the alphabetical order, or if both are equal. +Devuelve ``true`` si la **String** de la izquierda es anterior a ``right`` en el `orden Unicode `__, que coincide aproximadamente con el orden alfabético, o si ambos son iguales. .. rst-class:: classref-item-separator @@ -2439,7 +2439,7 @@ Returns ``true`` if both strings contain the same sequence of characters. :ref:`bool` **operator ==**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if this **String** is equivalent to the given :ref:`StringName`. +Devuelve ``true`` si esta **String** es equivalente al :ref:`StringName` dado. .. rst-class:: classref-item-separator @@ -2451,7 +2451,7 @@ Returns ``true`` if this **String** is equivalent to the given :ref:`StringName< :ref:`bool` **operator >**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes after ``right`` in `Unicode order `__, which roughly matches the alphabetical order. Useful for sorting. +Devuelve ``true`` si la **String** de la izquierda es posterior a ``right`` en el `orden Unicode `__, que coincide aproximadamente con el orden alfabético. Útil para ordenar. .. rst-class:: classref-item-separator @@ -2463,7 +2463,7 @@ Returns ``true`` if the left **String** comes after ``right`` in `Unicode order :ref:`bool` **operator >=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes after ``right`` in `Unicode order `__, which roughly matches the alphabetical order, or if both are equal. +Devuelve ``true`` si la **String** de la izquierda es posterior a ``right`` en el `orden Unicode `__, que coincide aproximadamente con el orden alfabético, o si ambos son iguales. .. rst-class:: classref-item-separator @@ -2475,7 +2475,7 @@ Returns ``true`` if the left **String** comes after ``right`` in `Unicode order :ref:`String` **operator []**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Returns a new **String** that only contains the character at ``index``. Indices start from ``0``. If ``index`` is greater or equal to ``0``, the character is fetched starting from the beginning of the string. If ``index`` is a negative value, it is fetched starting from the end. Accessing a string out-of-bounds will cause a run-time error, pausing the project execution if run from the editor. +Devuelve una nueva **String** que solo contiene el carácter en ``index``. Los índices comienzan desde ``0``. Si ``index`` es mayor o igual que ``0``, el carácter se obtiene desde el principio de la cadena. Si ``index`` es un valor negativo, se obtiene desde el final. Acceder a una cadena fuera de los límites provocará un error en tiempo de ejecución, pausando la ejecución del proyecto si se ejecuta desde el editor. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_stringname.rst b/classes/es/class_stringname.rst index c9a5d838e8..979f50a475 100644 --- a/classes/es/class_stringname.rst +++ b/classes/es/class_stringname.rst @@ -5,7 +5,7 @@ StringName ========== -A built-in type for unique strings. +Un tipo incorporado para strings únicas. .. rst-class:: classref-introduction-group @@ -331,7 +331,7 @@ Construye un :ref:`PackedStringArray` vacío. :ref:`StringName` **StringName**\ (\ from\: :ref:`StringName`\ ) -Constructs a **StringName** as a copy of the given **StringName**. +Construye un nuevo **StringName** como una copia del **StringName** dado. .. rst-class:: classref-item-separator @@ -341,7 +341,7 @@ Constructs a **StringName** as a copy of the given **StringName**. :ref:`StringName` **StringName**\ (\ from\: :ref:`String`\ ) -Creates a new **StringName** from the given :ref:`String`. In GDScript, ``StringName("example")`` is equivalent to ``&"example"``. +Crea un nuevo **StringName** desde la :ref:`String` dada. En GDScript, ``StringName("ejemplo")`` es equivalente a ``&"ejemplo"``. .. rst-class:: classref-section-separator @@ -358,7 +358,7 @@ Descripciones de Métodos :ref:`bool` **begins_with**\ (\ text\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if the string begins with the given ``text``. See also :ref:`ends_with()`. +Devuelve ``true`` si la string comienza con el ``text`` dado. Véase también :ref:`ends_with()`. .. rst-class:: classref-item-separator @@ -370,11 +370,11 @@ Returns ``true`` if the string begins with the given ``text``. See also :ref:`en :ref:`PackedStringArray` **bigrams**\ (\ ) |const| :ref:`🔗` -Returns an array containing the bigrams (pairs of consecutive characters) of this string. +Devuelve un array que contiene los bigramas (pares de caracteres consecutivos) de esta string. :: - print("Get up!".bigrams()) # Prints ["Ge", "et", "t ", " u", "up", "p!"] + print("Levántate!".bigrams()) # Imprime ["Le", "ev", "vá", "nt", "ta", "at", "te", "e!"] .. rst-class:: classref-item-separator @@ -516,9 +516,9 @@ If you need to know where ``what`` is within the string, use :ref:`find()` **containsn**\ (\ what\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if the string contains ``what``, **ignoring case**. +Devuelve ``true`` si la string contiene ``what``, **ignorando mayúsculas y minúsculas**. -If you need to know where ``what`` is within the string, use :ref:`findn()`. See also :ref:`contains()`. +Si necesitas saber dónde está ``what`` dentro de la string, usa :ref:`findn()`. Véase también :ref:`contains()`. .. rst-class:: classref-item-separator @@ -530,7 +530,7 @@ If you need to know where ``what`` is within the string, use :ref:`findn()` **count**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0, to\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the number of occurrences of the substring ``what`` between ``from`` and ``to`` positions. If ``to`` is 0, the search continues until the end of the string. +Devuelve el número de ocurrencias de la substring ``what`` entre las posiciones ``from`` y ``to``. Si ``to`` es 0, la búsqueda continúa hasta el final de la string. .. rst-class:: classref-item-separator @@ -542,7 +542,7 @@ Returns the number of occurrences of the substring ``what`` between ``from`` and :ref:`int` **countn**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0, to\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the number of occurrences of the substring ``what`` between ``from`` and ``to`` positions, **ignoring case**. If ``to`` is 0, the search continues until the end of the string. +Devuelve el número de ocurrencias de la substring ``what`` entre las posiciones ``from`` y ``to``, **ignorando mayúsculas y minúsculas**. Si ``to`` es 0, la búsqueda continúa hasta el final de la string. .. rst-class:: classref-item-separator @@ -578,7 +578,7 @@ Returns ``true`` if the string ends with the given ``text``. See also :ref:`begi :ref:`String` **erase**\ (\ position\: :ref:`int`, chars\: :ref:`int` = 1\ ) |const| :ref:`🔗` -Returns a string with ``chars`` characters erased starting from ``position``. If ``chars`` goes beyond the string's length given the specified ``position``, fewer characters will be erased from the returned string. Returns an empty string if either ``position`` or ``chars`` is negative. Returns the original string unmodified if ``chars`` is ``0``. +Devuelve una string con ``chars`` caracteres borrados, comenzando desde ``position``. Si ``chars`` excede la longitud de la string dada la ``position`` especificada, se borrarán menos caracteres de la string devuelta. Devuelve una string vacía si ``position`` o ``chars`` son negativos. Devuelve la string original sin modificar si ``chars`` es ``0``. .. rst-class:: classref-item-separator @@ -590,9 +590,9 @@ Returns a string with ``chars`` characters erased starting from ``position``. If :ref:`int` **filecasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Like :ref:`naturalcasecmp_to()` but prioritizes strings that begin with periods (``.``) and underscores (``_``) before any other character. Useful when sorting folders or file names. +Como :ref:`naturalcasecmp_to()` pero prioriza las strings que comienzan con puntos (``.``) y guiones bajos (``_``) antes que cualquier otro carácter. Útil al ordenar carpetas o nombres de archivos. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`filenocasecmp_to()`, :ref:`naturalcasecmp_to()`, and :ref:`casecmp_to()`. +Para obtener un resultado :ref:`bool` de una comparación de strings, usa el operador ``==`` en su lugar. Véase también :ref:`filenocasecmp_to()`, :ref:`naturalcasecmp_to()` y :ref:`casecmp_to()`. .. rst-class:: classref-item-separator @@ -604,9 +604,9 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **filenocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Like :ref:`naturalnocasecmp_to()` but prioritizes strings that begin with periods (``.``) and underscores (``_``) before any other character. Useful when sorting folders or file names. +Como :ref:`naturalnocasecmp_to()` pero prioriza las strings que comienzan con puntos (``.``) y guiones bajos (``_``) antes que cualquier otro carácter. Útil al ordenar carpetas o nombres de archivos. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`filecasecmp_to()`, :ref:`naturalnocasecmp_to()`, and :ref:`nocasecmp_to()`. +Para obtener un resultado :ref:`bool` de una comparación de strings, usa el operador ``==`` en su lugar. Véase también :ref:`filecasecmp_to()`, :ref:`naturalnocasecmp_to()` y :ref:`nocasecmp_to()`. .. rst-class:: classref-item-separator @@ -653,7 +653,7 @@ Returns the index of the **first** occurrence of ``what`` in this string, or ``- :ref:`int` **findn**\ (\ what\: :ref:`String`, from\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the index of the **first** **case-insensitive** occurrence of ``what`` in this string, or ``-1`` if there are none. The starting search index can be specified with ``from``, continuing to the end of the string. +Devuelve el índice de la **primera** ocurrencia **insensible a mayúsculas y minúsculas** de ``what`` en esta string, o ``-1`` si no hay ninguna. El índice de búsqueda inicial se puede especificar con ``from``, continuando hasta el final de la string. .. rst-class:: classref-item-separator @@ -733,11 +733,11 @@ Si la cadena es una ruta de archivo válida, devuelve el nombre del directorio b :ref:`String` **get_basename**\ (\ ) |const| :ref:`🔗` -If the string is a valid file path, returns the full file path, without the extension. +Si la string es una ruta de archivo válida, devuelve la ruta de acceso de archivo completa, sin la extensión. :: - var base = "/path/to/file.txt".get_basename() # base is "/path/to/file" + var base = "/ruta/a/archivo.txt".get_basename() # la base es "/ruta/a/archivo" .. rst-class:: classref-item-separator @@ -789,13 +789,13 @@ If the string is a valid file path, returns the file name, including the extensi :ref:`String` **get_slice**\ (\ delimiter\: :ref:`String`, slice\: :ref:`int`\ ) |const| :ref:`🔗` -Splits the string using a ``delimiter`` and returns the substring at index ``slice``. Returns the original string if ``delimiter`` does not occur in the string. Returns an empty string if the ``slice`` does not exist. +Divide la string usando ``delimiter`` y devuelve la substring en el índice ``slice``. Devuelve la string original si ``delimiter`` no aparece en la string. Devuelve una string vacía si ``slice`` no existe. -This is faster than :ref:`split()`, if you only need one substring. +Esto es más rápido que :ref:`split()`, si solo necesitas una substring. :: - print("i/am/example/hi".get_slice("/", 2)) # Prints "example" + print("i/am/example/hi".get_slice("/", 2)) # Imprime "example" .. rst-class:: classref-item-separator @@ -807,7 +807,7 @@ This is faster than :ref:`split()`, if you only n :ref:`int` **get_slice_count**\ (\ delimiter\: :ref:`String`\ ) |const| :ref:`🔗` -Returns the total number of slices when the string is split with the given ``delimiter`` (see :ref:`split()`). +Devuelve el número total de fragmentos cuando la string se divide con el ``delimiter`` dado (véase :ref:`split()`). .. rst-class:: classref-item-separator @@ -819,9 +819,9 @@ Returns the total number of slices when the string is split with the given ``del :ref:`String` **get_slicec**\ (\ delimiter\: :ref:`int`, slice\: :ref:`int`\ ) |const| :ref:`🔗` -Splits the string using a Unicode character with code ``delimiter`` and returns the substring at index ``slice``. Returns an empty string if the ``slice`` does not exist. +Divide la string usando un carácter Unicode con código ``delimiter`` y devuelve la substring en el índice ``slice``. Devuelve una string vacía si ``slice`` no existe. -This is faster than :ref:`split()`, if you only need one substring. +Esto es más rápido que :ref:`split()` si solo necesitas una substring. .. rst-class:: classref-item-separator @@ -833,9 +833,9 @@ This is faster than :ref:`split()`, if you only n :ref:`int` **hash**\ (\ ) |const| :ref:`🔗` -Returns the 32-bit hash value representing the string's contents. +Devuelve el valor hash de 32 bits que representa el contenido de la string. -\ **Note:** Strings with equal hash values are *not* guaranteed to be the same, as a result of hash collisions. On the contrary, strings with different hash values are guaranteed to be different. +\ **Nota:** *No* se garantiza que las strings con valores hash iguales sean las mismas, como resultado de colisiones hash. Por el contrario, se garantiza que las strings con diferentes valores hash sean diferentes. .. rst-class:: classref-item-separator @@ -903,9 +903,9 @@ Converts the string representing a hexadecimal number into an :ref:`int` **indent**\ (\ prefix\: :ref:`String`\ ) |const| :ref:`🔗` -Indents every line of the string with the given ``prefix``. Empty lines are not indented. See also :ref:`dedent()` to remove indentation. +Indenta cada línea de la string con el ``prefix`` dado. Las líneas vacías no se indentan. Véase también :ref:`dedent()` para eliminar la indentación. -For example, the string can be indented with two tabulations using ``"\t\t"``, or four spaces using ``" "``. +Por ejemplo, la string se puede indentar con dos tabulaciones usando ``"\t\t"``, o cuatro espacios usando ``" "``. .. rst-class:: classref-item-separator @@ -917,7 +917,7 @@ For example, the string can be indented with two tabulations using ``"\t\t"``, o :ref:`String` **insert**\ (\ position\: :ref:`int`, what\: :ref:`String`\ ) |const| :ref:`🔗` -Inserts ``what`` at the given ``position`` in the string. +Inserta ``what`` en la ``position`` dada en la string. .. rst-class:: classref-item-separator @@ -929,9 +929,9 @@ Inserts ``what`` at the given ``position`` in the string. :ref:`bool` **is_absolute_path**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the string is a path to a file or directory, and its starting point is explicitly defined. This method is the opposite of :ref:`is_relative_path()`. +Devuelve ``true`` si la string es una ruta a un archivo o directorio, y su punto de inicio está definido explícitamente. Este método es lo opuesto a :ref:`is_relative_path()`. -This includes all paths starting with ``"res://"``, ``"user://"``, ``"C:\"``, ``"/"``, etc. +Esto incluye todas las rutas que comienzan con ``"res://"``, ``"user://"``, ``"C:\"``, ``"/"``, etc. .. rst-class:: classref-item-separator @@ -955,7 +955,7 @@ Returns ``true`` if the string's length is ``0`` (``""``). See also :ref:`length :ref:`bool` **is_relative_path**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the string is a path, and its starting point is dependent on context. The path could begin from the current directory, or the current :ref:`Node` (if the string is derived from a :ref:`NodePath`), and may sometimes be prefixed with ``"./"``. This method is the opposite of :ref:`is_absolute_path()`. +Devuelve ``true`` si la string es una ruta, y su punto de inicio depende del contexto. La ruta podría comenzar desde el directorio actual, o el :ref:`Node` actual (si la string deriva de un :ref:`NodePath`), y a veces puede tener el prefijo ``"./"``. Este método es lo opuesto a :ref:`is_absolute_path()`. .. rst-class:: classref-item-separator @@ -1198,7 +1198,7 @@ Returns the concatenation of ``parts``' elements, with each element separated by :ref:`String` **json_escape**\ (\ ) |const| :ref:`🔗` -Returns a copy of the string with special characters escaped using the JSON standard. Because it closely matches the C standard, it is possible to use :ref:`c_unescape()` to unescape the string, if necessary. +Devuelve una copia de la string con los caracteres especiales escapados usando el estándar JSON. Debido a que coincide estrechamente con el estándar C, es posible usar :ref:`c_unescape()` para desencapsular la string, si es necesario. .. rst-class:: classref-item-separator @@ -1227,7 +1227,7 @@ Returns the first ``length`` characters from the beginning of the string. If ``l :ref:`int` **length**\ (\ ) |const| :ref:`🔗` -Returns the number of characters in the string. Empty strings (``""``) always return ``0``. See also :ref:`is_empty()`. +Devuelve el número de caracteres en la string. Las strings vacías (``""``) siempre devuelven ``0``. Véase también :ref:`is_empty()`. .. rst-class:: classref-item-separator @@ -1239,7 +1239,7 @@ Returns the number of characters in the string. Empty strings (``""``) always re :ref:`String` **lpad**\ (\ min_length\: :ref:`int`, character\: :ref:`String` = " "\ ) |const| :ref:`🔗` -Formats the string to be at least ``min_length`` long by adding ``character``\ s to the left of the string, if necessary. See also :ref:`rpad()`. +Formatea la string para que tenga al menos ``min_length`` de longitud añadiendo ``character``\ s a la izquierda de la string, si es necesario. Véase también :ref:`rpad()`. .. rst-class:: classref-item-separator @@ -1251,9 +1251,9 @@ Formats the string to be at least ``min_length`` long by adding ``character``\ s :ref:`String` **lstrip**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes a set of characters defined in ``chars`` from the string's beginning. See also :ref:`rstrip()`. +Elimina un conjunto de caracteres definidos en ``chars`` del comienzo de la string. Véase también :ref:`rstrip()`. -\ **Note:** ``chars`` is not a prefix. Use :ref:`trim_prefix()` to remove a single prefix, rather than a set of characters. +\ **Nota:** ``chars`` no es un prefijo. Usa :ref:`trim_prefix()` para eliminar un solo prefijo, en lugar de un conjunto de caracteres. .. rst-class:: classref-item-separator @@ -1265,7 +1265,7 @@ Removes a set of characters defined in ``chars`` from the string's beginning. Se :ref:`bool` **match**\ (\ expr\: :ref:`String`\ ) |const| :ref:`🔗` -Does a simple expression match (also called "glob" or "globbing"), where ``*`` matches zero or more arbitrary characters and ``?`` matches any single character except a period (``.``). An empty string or empty expression always evaluates to ``false``. +Realiza una comparación simple de expresiones (también llamado "glob" o "globbing"), donde ``*`` coincide con cero o más caracteres arbitrarios y ``?`` coincide con cualquier carácter individual excepto un punto (``.``). Una string vacía o una expresión vacía siempre se evalúa como ``false``. .. rst-class:: classref-item-separator @@ -1277,7 +1277,7 @@ Does a simple expression match (also called "glob" or "globbing"), where ``*`` m :ref:`bool` **matchn**\ (\ expr\: :ref:`String`\ ) |const| :ref:`🔗` -Does a simple **case-insensitive** expression match, where ``*`` matches zero or more arbitrary characters and ``?`` matches any single character except a period (``.``). An empty string or empty expression always evaluates to ``false``. +Realiza una comparación simple de expresiones **insensible a mayúsculas/minúsculas**, donde ``*`` coincide con cero o más caracteres arbitrarios y ``?`` coincide con cualquier carácter individual excepto un punto (``.``). Una string vacía o una expresión vacía siempre se evalúa como ``false``. .. rst-class:: classref-item-separator @@ -1403,7 +1403,7 @@ Concatenates ``path`` at the end of the string as a subpath, adding ``/`` if nec :ref:`String` **remove_char**\ (\ what\: :ref:`int`\ ) |const| :ref:`🔗` -Removes all occurrences of the Unicode character with code ``what``. Faster version of :ref:`replace()` when the key is only one character long and the replacement is ``""``. +Elimina todas las ocurrencias del carácter Unicode con el código ``what``. Versión más rápida de :ref:`replace()` cuando la clave tiene solo un carácter de longitud y el reemplazo es ``""``. .. rst-class:: classref-item-separator @@ -1415,7 +1415,7 @@ Removes all occurrences of the Unicode character with code ``what``. Faster vers :ref:`String` **remove_chars**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes any occurrence of the characters in ``chars``. See also :ref:`remove_char()`. +Elimina cualquier ocurrencia de los caracteres en ``chars``. Véase también :ref:`remove_char()`. .. rst-class:: classref-item-separator @@ -1427,7 +1427,7 @@ Removes any occurrence of the characters in ``chars``. See also :ref:`remove_cha :ref:`String` **repeat**\ (\ count\: :ref:`int`\ ) |const| :ref:`🔗` -Repeats this string a number of times. ``count`` needs to be greater than ``0``. Otherwise, returns an empty string. +Repite esta string un número de veces. ``count`` debe ser mayor que ``0``. De lo contrario, devuelve una string vacía. .. rst-class:: classref-item-separator @@ -1463,7 +1463,7 @@ Replaces all occurrences of the Unicode character with code ``key`` with the Uni :ref:`String` **replace_chars**\ (\ keys\: :ref:`String`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces any occurrence of the characters in ``keys`` with the Unicode character with code ``with``. See also :ref:`replace_char()`. +Reemplaza cualquier ocurrencia de los caracteres en ``keys`` con el carácter Unicode con el código ``with``. Véase también :ref:`replace_char()`. .. rst-class:: classref-item-separator @@ -1475,7 +1475,7 @@ Replaces any occurrence of the characters in ``keys`` with the Unicode character :ref:`String` **replacen**\ (\ what\: :ref:`String`, forwhat\: :ref:`String`\ ) |const| :ref:`🔗` -Replaces all **case-insensitive** occurrences of ``what`` inside the string with the given ``forwhat``. +Reemplaza todas las ocurrencias **insensibles a mayúsculas y minúsculas** de ``what`` dentro de la string con el ``forwhat`` dado. .. rst-class:: classref-item-separator @@ -1487,7 +1487,7 @@ Replaces all **case-insensitive** occurrences of ``what`` inside the string with :ref:`String` **reverse**\ (\ ) |const| :ref:`🔗` -Returns the copy of this string in reverse order. This operation works on unicode codepoints, rather than sequences of codepoints, and may break things like compound letters or emojis. +Devuelve la copia de esta string en orden inverso. Esta operación funciona en puntos de código Unicode, en lugar de secuencias de puntos de código, y puede romper cosas como letras compuestas o emojis. .. rst-class:: classref-item-separator @@ -1499,7 +1499,7 @@ Returns the copy of this string in reverse order. This operation works on unicod :ref:`int` **rfind**\ (\ what\: :ref:`String`, from\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the index of the **last** occurrence of ``what`` in this string, or ``-1`` if there are none. The search's start can be specified with ``from``, continuing to the beginning of the string. This method is the reverse of :ref:`find()`. +Devuelve el índice de la **última** ocurrencia de ``what`` en esta string, o ``-1`` si no hay ninguna. El inicio de la búsqueda se puede especificar con ``from``, continuando hasta el principio de la string. Este método es el inverso de :ref:`find()`. .. rst-class:: classref-item-separator @@ -1511,7 +1511,7 @@ Returns the index of the **last** occurrence of ``what`` in this string, or ``-1 :ref:`int` **rfindn**\ (\ what\: :ref:`String`, from\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the index of the **last** **case-insensitive** occurrence of ``what`` in this string, or ``-1`` if there are none. The starting search index can be specified with ``from``, continuing to the beginning of the string. This method is the reverse of :ref:`findn()`. +Devuelve el índice de la **última** ocurrencia **insensible a mayúsculas y minúsculas** de ``what`` en esta string, o ``-1`` si no hay ninguna. El índice de búsqueda inicial se puede especificar con ``from``, continuando hasta el principio de la string. Este método es el inverso de :ref:`findn()`. .. rst-class:: classref-item-separator @@ -1540,7 +1540,7 @@ Returns the last ``length`` characters from the end of the string. If ``length`` :ref:`String` **rpad**\ (\ min_length\: :ref:`int`, character\: :ref:`String` = " "\ ) |const| :ref:`🔗` -Formats the string to be at least ``min_length`` long, by adding ``character``\ s to the right of the string, if necessary. See also :ref:`lpad()`. +Formatea la string para que tenga al menos ``min_length`` de longitud, añadiendo ``character``\ s a la derecha de la string, si es necesario. Véase también :ref:`lpad()`. .. rst-class:: classref-item-separator @@ -1586,9 +1586,9 @@ If ``maxsplit`` is greater than ``0``, the number of splits may not exceed ``max :ref:`String` **rstrip**\ (\ chars\: :ref:`String`\ ) |const| :ref:`🔗` -Removes a set of characters defined in ``chars`` from the string's end. See also :ref:`lstrip()`. +Elimina un conjunto de caracteres definidos en ``chars`` del final de la string. Véase también :ref:`lstrip()`. -\ **Note:** ``chars`` is not a suffix. Use :ref:`trim_suffix()` to remove a single suffix, rather than a set of characters. +\ **Nota:** ``chars`` no es un sufijo. Usa :ref:`trim_suffix()` para eliminar un solo sufijo, en lugar de un conjunto de caracteres. .. rst-class:: classref-item-separator @@ -1600,7 +1600,7 @@ Removes a set of characters defined in ``chars`` from the string's end. See also :ref:`PackedByteArray` **sha1_buffer**\ (\ ) |const| :ref:`🔗` -Returns the `SHA-1 `__ hash of the string as a :ref:`PackedByteArray`. +Devuelve el hash `SHA-1 `__ de la string como un :ref:`PackedByteArray`. .. rst-class:: classref-item-separator @@ -1612,7 +1612,7 @@ Returns the `SHA-1 `__ hash of the string a :ref:`String` **sha1_text**\ (\ ) |const| :ref:`🔗` -Returns the `SHA-1 `__ hash of the string as another :ref:`String`. +Devuelve el hash `SHA-1 `__ de la string como otra :ref:`String`. .. rst-class:: classref-item-separator @@ -1667,12 +1667,12 @@ Returns the similarity index (`Sørensen-Dice coefficient ` **simplify_path**\ (\ ) |const| :ref:`🔗` -If the string is a valid file path, converts the string into a canonical path. This is the shortest possible path, without ``"./"``, and all the unnecessary ``".."`` and ``"/"``. +Si la string es una ruta de archivo válida, convierte la string en una ruta canónica. Esta es la ruta más corta posible, sin ``"./"``, y todo el ``".."`` y ``"/"`` innecesarios. :: - var simple_path = "./path/to///../file".simplify_path() - print(simple_path) # Prints "path/file" + var ruta_simple = "./ruta/a///../archivo".simplify_path() + print(ruta_simple) # Imprime "ruta/archivo" .. rst-class:: classref-item-separator @@ -1962,7 +1962,7 @@ Devuelve la string convertida a ``MAYÚSCULAS``. :ref:`PackedByteArray` **to_utf8_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-8 `__ encoded :ref:`PackedByteArray`. This method is slightly slower than :ref:`to_ascii_buffer()`, but supports all UTF-8 characters. For most cases, prefer using this method. This is the inverse of :ref:`PackedByteArray.get_string_from_utf8()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-8 `__. Este método es un poco más lento que :ref:`to_ascii_buffer()`, pero soporta todos los caracteres UTF-8. En la mayoría de los casos, es preferible usar este método. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf8()`. .. rst-class:: classref-item-separator @@ -1974,7 +1974,7 @@ Converts the string to a `UTF-8 `__ encoded :ref:`PackedByteArray` **to_utf16_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-16 `__ encoded :ref:`PackedByteArray`. This is the inverse of :ref:`PackedByteArray.get_string_from_utf16()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-16 `__. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf16()`. .. rst-class:: classref-item-separator @@ -1986,7 +1986,7 @@ Converts the string to a `UTF-16 `__ encod :ref:`PackedByteArray` **to_utf32_buffer**\ (\ ) |const| :ref:`🔗` -Converts the string to a `UTF-32 `__ encoded :ref:`PackedByteArray`. This is the inverse of :ref:`PackedByteArray.get_string_from_utf32()`. +Convierte la string a un :ref:`PackedByteArray` codificado en `UTF-32 `__. Este es el inverso de :ref:`PackedByteArray.get_string_from_utf32()`. .. rst-class:: classref-item-separator @@ -2010,7 +2010,7 @@ Convierte la string en un :ref:`PackedByteArray` codifica :ref:`String` **trim_prefix**\ (\ prefix\: :ref:`String`\ ) |const| :ref:`🔗` -Removes the given ``prefix`` from the start of the string, or returns the string unchanged. +Elimina el ``prefix`` dado del inicio de la string, o devuelve la string sin cambios. .. rst-class:: classref-item-separator @@ -2022,7 +2022,7 @@ Removes the given ``prefix`` from the start of the string, or returns the string :ref:`String` **trim_suffix**\ (\ suffix\: :ref:`String`\ ) |const| :ref:`🔗` -Removes the given ``suffix`` from the end of the string, or returns the string unchanged. +Elimina el ``suffix`` dado del final de la string, o string la cadena sin cambios. .. rst-class:: classref-item-separator @@ -2034,9 +2034,9 @@ Removes the given ``suffix`` from the end of the string, or returns the string u :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Devuelve el código de carácter en la posición ``at``. -See also :ref:`String.chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Véase también :ref:`String.chr()`, :ref:`@GDScript.char()`, y :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -2108,7 +2108,7 @@ Encodes the string to URL-friendly format. This method is meant to properly enco :ref:`String` **uri_file_decode**\ (\ ) |const| :ref:`🔗` -Decodes the file path from its URL-encoded format. Unlike :ref:`uri_decode()` this method leaves ``+`` as is. +Decodifica la ruta del archivo desde su formato codificado en URL. A diferencia de :ref:`uri_decode()` este método deja ``+`` como está. .. rst-class:: classref-item-separator @@ -2132,7 +2132,7 @@ Returns a copy of the string with all characters that are not allowed in :ref:`i :ref:`String` **validate_node_name**\ (\ ) |const| :ref:`🔗` -Returns a copy of the string with all characters that are not allowed in :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) replaced with underscores. +Devuelve una copia de la string con todos los caracteres que no están permitidos en :ref:`Node.name` (``.`` ``:`` ``@`` ``/`` ``"`` ``%``) reemplazados con guiones bajos. .. rst-class:: classref-item-separator @@ -2144,7 +2144,7 @@ Returns a copy of the string with all characters that are not allowed in :ref:`N :ref:`String` **xml_escape**\ (\ escape_quotes\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns a copy of the string with special characters escaped using the XML standard. If ``escape_quotes`` is ``true``, the single quote (``'``) and double quote (``"``) characters are also escaped. +Devuelve una copia de la string con los caracteres especiales escapados usando el estándar XML. Si ``escape_quotes`` es ``true``, la comilla simple (``'``) y la comilla doble (``"``) también se escapan. .. rst-class:: classref-item-separator @@ -2173,7 +2173,7 @@ Descripciones de Operadores :ref:`bool` **operator !=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if this **StringName** is not equivalent to the given :ref:`String`. +Devuelve ``true`` si este **StringName** no es equivalente al :ref:`String` dado. .. rst-class:: classref-item-separator @@ -2185,7 +2185,7 @@ Returns ``true`` if this **StringName** is not equivalent to the given :ref:`Str :ref:`bool` **operator !=**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the **StringName** and ``right`` do not refer to the same name. Comparisons between **StringName**\ s are much faster than regular :ref:`String` comparisons. +Devuelve ``true`` si el **StringName** y ``right`` no se refieren al mismo nombre. Las comparaciones entre **StringName**\ s son mucho más rápidas que las comparaciones regulares de :ref:`String`. .. rst-class:: classref-item-separator @@ -2213,7 +2213,7 @@ For more information, see the :doc:`GDScript format strings <../tutorials/script :ref:`String` **operator +**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Appends ``right`` at the end of this **StringName**, returning a :ref:`String`. This is also known as a string concatenation. +Añade ``right`` al final de este **StringName**, devolviendo un :ref:`String`. Esto también se conoce como concatenación de strings. .. rst-class:: classref-item-separator @@ -2225,7 +2225,7 @@ Appends ``right`` at the end of this **StringName**, returning a :ref:`String` **operator +**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Appends ``right`` at the end of this **StringName**, returning a :ref:`String`. This is also known as a string concatenation. +Añade ``right`` al final de este **StringName**, devolviendo un :ref:`String`. Esto también se conoce como concatenación de strings. .. rst-class:: classref-item-separator @@ -2237,7 +2237,7 @@ Appends ``right`` at the end of this **StringName**, returning a :ref:`String` **operator <**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the left **StringName**'s pointer comes before ``right``. Note that this will not match their `Unicode order `__. +Devuelve ``true`` si el puntero del **StringName** de la izquierda aparece antes que ``right``. Ten en cuenta que esto no coincidirá con su `orden Unicode `__. .. rst-class:: classref-item-separator @@ -2249,7 +2249,7 @@ Returns ``true`` if the left **StringName**'s pointer comes before ``right``. No :ref:`bool` **operator <=**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the left **StringName**'s pointer comes before ``right`` or if they are the same. Note that this will not match their `Unicode order `__. +Devuelve ``true`` si el puntero del **StringName** de la izquierda aparece antes que ``right`` o si son iguales. Ten en cuenta que esto no coincidirá con su `orden Unicode `__. .. rst-class:: classref-item-separator @@ -2273,7 +2273,7 @@ Returns ``true`` if this **StringName** is equivalent to the given :ref:`String< :ref:`bool` **operator ==**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the **StringName** and ``right`` refer to the same name. Comparisons between **StringName**\ s are much faster than regular :ref:`String` comparisons. +Devuelve ``true`` si el **StringName** y ``right`` se refieren al mismo nombre. Las comparaciones entre **StringName**\ s son mucho más rápidas que las comparaciones regulares de :ref:`String`. .. rst-class:: classref-item-separator @@ -2285,7 +2285,7 @@ Returns ``true`` if the **StringName** and ``right`` refer to the same name. Com :ref:`bool` **operator >**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the left **StringName**'s pointer comes after ``right``. Note that this will not match their `Unicode order `__. +Devuelve ``true`` si el puntero del **StringName** de la izquierda está después de ``right``. Ten en cuenta que esto no coincidirá con su `orden Unicode `__. .. rst-class:: classref-item-separator @@ -2297,7 +2297,7 @@ Returns ``true`` if the left **StringName**'s pointer comes after ``right``. Not :ref:`bool` **operator >=**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if the left **StringName**'s pointer comes after ``right`` or if they are the same. Note that this will not match their `Unicode order `__. +Devuelve ``true`` si el puntero del **StringName** de la izquierda está después de ``right`` o si son el mismo. Ten en cuenta que esto no coincidirá con su `orden Unicode `__. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_stylebox.rst b/classes/es/class_stylebox.rst index c25345ecaf..e605610020 100644 --- a/classes/es/class_stylebox.rst +++ b/classes/es/class_stylebox.rst @@ -117,9 +117,9 @@ It is up to the code using this style box to decide what these contents are: for - |void| **set_content_margin**\ (\ margin\: :ref:`Side`, offset\: :ref:`float`\ ) - :ref:`float` **get_content_margin**\ (\ margin\: :ref:`Side`\ ) |const| -The left margin for the contents of this style box. Increasing this value reduces the space available to the contents from the left. +El margen izquierdo para el contenido de esta caja de estilo. Aumentar este valor reduce el espacio disponible para el contenido desde la izquierda. -Refer to :ref:`content_margin_bottom` for extra considerations. +Véase :ref:`content_margin_bottom` para consideraciones adicionales. .. rst-class:: classref-item-separator @@ -202,7 +202,7 @@ Descripciones de Métodos :ref:`Vector2` **_get_minimum_size**\ (\ ) |virtual| |const| :ref:`🔗` -Virtual method to be implemented by the user. Returns a custom minimum size that the stylebox must respect when drawing. By default :ref:`get_minimum_size()` only takes content margins into account. This method can be overridden to add another size restriction. A combination of the default behavior and the output of this method will be used, to account for both sizes. +Método virtual para ser implementado por el usuario. Devuelve un tamaño mínimo personalizado que el stylebox debe respetar al dibujar. Por defecto, :ref:`get_minimum_size()` solo tiene en cuenta los márgenes de contenido. Este método puede ser sobreescrito para añadir otra restricción de tamaño. Se utilizará una combinación del comportamiento por defecto y la salida de este método, para tener en cuenta ambos tamaños. .. rst-class:: classref-item-separator @@ -228,9 +228,9 @@ Virtual method to be implemented by the user. Returns a custom minimum size that |void| **draw**\ (\ canvas_item\: :ref:`RID`, rect\: :ref:`Rect2`\ ) |const| :ref:`🔗` -Draws this stylebox using a canvas item identified by the given :ref:`RID`. +Dibuja este stylebox usando un elemento del canvas identificado por el :ref:`RID` dado. -The :ref:`RID` value can either be the result of :ref:`CanvasItem.get_canvas_item()` called on an existing :ref:`CanvasItem`-derived node, or directly from creating a canvas item in the :ref:`RenderingServer` with :ref:`RenderingServer.canvas_item_create()`. +El valor de :ref:`RID` puede ser el resultado de :ref:`CanvasItem.get_canvas_item()` llamado en un nodo derivado de :ref:`CanvasItem` existente, o directamente de la creación de un elemento del canvas en el :ref:`RenderingServer` con :ref:`RenderingServer.canvas_item_create()`. .. rst-class:: classref-item-separator @@ -242,7 +242,7 @@ The :ref:`RID` value can either be the result of :ref:`CanvasItem.get :ref:`float` **get_content_margin**\ (\ margin\: :ref:`Side`\ ) |const| :ref:`🔗` -Returns the default margin of the specified :ref:`Side`. +Devuelve el margen por defecto del :ref:`Side` especificado. .. rst-class:: classref-item-separator @@ -266,9 +266,9 @@ Devuelve el :ref:`CanvasItem` que maneja su :ref:`CanvasItem.N :ref:`float` **get_margin**\ (\ margin\: :ref:`Side`\ ) |const| :ref:`🔗` -Returns the content margin offset for the specified :ref:`Side`. +Devuelve el desplazamiento del margen de contenido para el :ref:`Side` especificado. -Positive values reduce size inwards, unlike :ref:`Control`'s margin values. +Los valores positivos reducen el tamaño hacia adentro, a diferencia de los valores de margen de :ref:`Control`. .. rst-class:: classref-item-separator @@ -304,7 +304,7 @@ Devuelve el "desplazamiento" de una caja de estilo. Esta función de ayuda devue |void| **set_content_margin**\ (\ margin\: :ref:`Side`, offset\: :ref:`float`\ ) :ref:`🔗` -Sets the default value of the specified :ref:`Side` to ``offset`` pixels. +Establece el valor por defecto del :ref:`Side` especificado a ``offset`` píxeles. .. rst-class:: classref-item-separator @@ -316,7 +316,7 @@ Sets the default value of the specified :ref:`Side` to ` |void| **set_content_margin_all**\ (\ offset\: :ref:`float`\ ) :ref:`🔗` -Sets the default margin to ``offset`` pixels for all sides. +Establece el margen por defecto a ``offset`` píxeles para todos los lados. .. rst-class:: classref-item-separator @@ -328,7 +328,7 @@ Sets the default margin to ``offset`` pixels for all sides. :ref:`bool` **test_mask**\ (\ point\: :ref:`Vector2`, rect\: :ref:`Rect2`\ ) |const| :ref:`🔗` -Pruebe una posición en un rectángulo, vuelva si pasa la prueba de la máscara. +Prueba una posición en un rectángulo, devolver si pasa la prueba de máscara. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_styleboxempty.rst b/classes/es/class_styleboxempty.rst index be356211b6..fd581b04e6 100644 --- a/classes/es/class_styleboxempty.rst +++ b/classes/es/class_styleboxempty.rst @@ -14,7 +14,7 @@ Una :ref:`StyleBox` vacía (no muestra nada). Descripción ---------------------- -An empty :ref:`StyleBox` that can be used to display nothing instead of the default style (e.g. it can "disable" ``focus`` styles). +Un :ref:`StyleBox` vacío que puede ser usado para no mostrar nada en lugar del estilo por defecto (p.ej. puede "deshabilitar" estilos de ``focus``). .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_styleboxflat.rst b/classes/es/class_styleboxflat.rst index e598d8b70d..777b0ae774 100644 --- a/classes/es/class_styleboxflat.rst +++ b/classes/es/class_styleboxflat.rst @@ -156,9 +156,9 @@ Antialiasing draws a small ring around the edges, which fades to transparency. A - |void| **set_aa_size**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_aa_size**\ (\ ) -This changes the size of the antialiasing effect. ``1.0`` is recommended for an optimal result at 100% scale, identical to how rounded rectangles are rendered in web browsers and most vector drawing software. +Esto cambia el tamaño del efecto de antialiasing. Se recomienda ``1.0`` para un resultado óptimo a escala 100%, idéntico a como se renderizan los rectángulos redondeados en los navegadores web y en la mayoría de los programas de dibujo vectorial. -\ **Note:** Higher values may produce a blur effect but can also create undesired artifacts on small boxes with large-radius corners. +\ **Nota:** Los valores más altos pueden producir un efecto de desenfoque, pero también pueden crear artefactos no deseados en cajas pequeñas con esquinas de gran radio. .. rst-class:: classref-item-separator @@ -606,7 +606,7 @@ Establece el ancho del borde del :ref:`Side` especificad |void| **set_border_width_all**\ (\ width\: :ref:`int`\ ) :ref:`🔗` -Sets the border width to ``width`` pixels for all sides. +Establece el ancho del borde a ``width`` píxeles para todos los lados. .. rst-class:: classref-item-separator @@ -618,7 +618,7 @@ Sets the border width to ``width`` pixels for all sides. |void| **set_corner_radius**\ (\ corner\: :ref:`Corner`, radius\: :ref:`int`\ ) :ref:`🔗` -Sets the corner radius to ``radius`` pixels for the given ``corner``. +Establece el radio de la esquina a ``radius`` píxeles para la ``corner`` dada. .. rst-class:: classref-item-separator @@ -630,7 +630,7 @@ Sets the corner radius to ``radius`` pixels for the given ``corner``. |void| **set_corner_radius_all**\ (\ radius\: :ref:`int`\ ) :ref:`🔗` -Sets the corner radius to ``radius`` pixels for all corners. +Establece el radio de la esquina a ``radius`` píxeles para todas las esquinas. .. rst-class:: classref-item-separator @@ -642,7 +642,7 @@ Sets the corner radius to ``radius`` pixels for all corners. |void| **set_expand_margin**\ (\ margin\: :ref:`Side`, size\: :ref:`float`\ ) :ref:`🔗` -Sets the expand margin to ``size`` pixels for the specified :ref:`Side`. +Establece el margen de expansión a ``size`` píxeles para el :ref:`Side` especificado. .. rst-class:: classref-item-separator @@ -654,7 +654,7 @@ Sets the expand margin to ``size`` pixels for the specified :ref:`Side`\ ) :ref:`🔗` -Sets the expand margin to ``size`` pixels for all sides. +Establece el margen de expansión a ``size`` píxeles para todos los lados. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_styleboxline.rst b/classes/es/class_styleboxline.rst index cd9dee6f92..dca71033ab 100644 --- a/classes/es/class_styleboxline.rst +++ b/classes/es/class_styleboxline.rst @@ -7,14 +7,14 @@ StyleBoxLine **Hereda:** :ref:`StyleBox` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -A :ref:`StyleBox` that displays a single line of a given color and thickness. +Un :ref:`StyleBox` que muestra una sola línea de un color y grosor dados. Se puede usar para dibujar cosas como separadores. .. rst-class:: classref-introduction-group Descripción ---------------------- -A :ref:`StyleBox` that displays a single line of a given color and thickness. The line can be either horizontal or vertical. Useful for separators. +Un :ref:`StyleBox` que muestra una sola línea de un color y grosor dados. La línea puede ser horizontal o vertical. Útil para separadores. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_styleboxtexture.rst b/classes/es/class_styleboxtexture.rst index 6d6428a4b2..b78bd01ddb 100644 --- a/classes/es/class_styleboxtexture.rst +++ b/classes/es/class_styleboxtexture.rst @@ -7,7 +7,7 @@ StyleBoxTexture **Hereda:** :ref:`StyleBox` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -A texture-based nine-patch :ref:`StyleBox`. +Un :ref:`StyleBox` de nueve parches basado en textura. .. rst-class:: classref-introduction-group @@ -135,7 +135,7 @@ Descripciones de Propiedades - |void| **set_h_axis_stretch_mode**\ (\ value\: :ref:`AxisStretchMode`\ ) - :ref:`AxisStretchMode` **get_h_axis_stretch_mode**\ (\ ) -Controls how the stylebox's texture will be stretched or tiled horizontally. +Controla cómo se estirará o enlosará horizontalmente la textura del stylebox. Véase :ref:`AxisStretchMode` para ver los valores posibles. .. rst-class:: classref-item-separator @@ -152,7 +152,7 @@ Controls how the stylebox's texture will be stretched or tiled horizontally. - |void| **set_v_axis_stretch_mode**\ (\ value\: :ref:`AxisStretchMode`\ ) - :ref:`AxisStretchMode` **get_v_axis_stretch_mode**\ (\ ) -Controls how the stylebox's texture will be stretched or tiled vertically. +Controla cómo se estirará o enlosará verticalmente la textura del stylebox. Véase :ref:`AxisStretchMode` para ver los valores posibles. .. rst-class:: classref-item-separator @@ -393,7 +393,7 @@ Descripciones de Métodos :ref:`float` **get_expand_margin**\ (\ margin\: :ref:`Side`\ ) |const| :ref:`🔗` -Returns the expand margin size of the specified :ref:`Side`. +Devuelve el tamaño del margen de expansión del :ref:`Side` especificado. .. rst-class:: classref-item-separator @@ -405,7 +405,7 @@ Returns the expand margin size of the specified :ref:`Side` **get_texture_margin**\ (\ margin\: :ref:`Side`\ ) |const| :ref:`🔗` -Returns the margin size of the specified :ref:`Side`. +Devuelve el tamaño del margen del :ref:`Side` especificado. .. rst-class:: classref-item-separator @@ -417,7 +417,7 @@ Returns the margin size of the specified :ref:`Side`. |void| **set_expand_margin**\ (\ margin\: :ref:`Side`, size\: :ref:`float`\ ) :ref:`🔗` -Sets the expand margin to ``size`` pixels for the specified :ref:`Side`. +Establece el margen de expansión a ``size`` píxeles para el :ref:`Side` especificado. .. rst-class:: classref-item-separator @@ -429,7 +429,7 @@ Sets the expand margin to ``size`` pixels for the specified :ref:`Side`\ ) :ref:`🔗` -Sets the expand margin to ``size`` pixels for all sides. +Establece el margen de expansión a ``size`` píxeles para todos los lados. .. rst-class:: classref-item-separator @@ -441,7 +441,7 @@ Sets the expand margin to ``size`` pixels for all sides. |void| **set_texture_margin**\ (\ margin\: :ref:`Side`, size\: :ref:`float`\ ) :ref:`🔗` -Sets the margin to ``size`` pixels for the specified :ref:`Side`. +Establece el margen a ``size`` píxeles para el :ref:`Side` especificado. .. rst-class:: classref-item-separator diff --git a/classes/es/class_subtweentweener.rst b/classes/es/class_subtweentweener.rst index 13563fc2a1..2a2d90aad4 100644 --- a/classes/es/class_subtweentweener.rst +++ b/classes/es/class_subtweentweener.rst @@ -7,16 +7,16 @@ SubtweenTweener **Hereda:** :ref:`Tweener` **<** :ref:`RefCounted` **<** :ref:`Object` -Runs a :ref:`Tween` nested within another :ref:`Tween`. +Ejecuta un :ref:`Tween` anidado dentro de otro :ref:`Tween`. .. rst-class:: classref-introduction-group Descripción ---------------------- -**SubtweenTweener** is used to execute a :ref:`Tween` as one step in a sequence defined by another :ref:`Tween`. See :ref:`Tween.tween_subtween()` for more usage information. +**SubtweenTweener** se usa para ejecutar un :ref:`Tween` como un paso en una secuencia definida por otro :ref:`Tween`. Véase :ref:`Tween.tween_subtween()` para obtener más información sobre su uso. -\ **Note:** :ref:`Tween.tween_subtween()` is the only correct way to create **SubtweenTweener**. Any **SubtweenTweener** created manually will not function correctly. +\ **Nota:** :ref:`Tween.tween_subtween()` es la única forma correcta de crear **SubtweenTweener**. Cualquier **SubtweenTweener** creado manualmente no funcionará correctamente. .. rst-class:: classref-reftable-group @@ -45,7 +45,7 @@ Descripciones de Métodos :ref:`SubtweenTweener` **set_delay**\ (\ delay\: :ref:`float`\ ) :ref:`🔗` -Sets the time in seconds after which the **SubtweenTweener** will start running the subtween. By default there's no delay. +Establece el tiempo en segundos después del cual el **SubtweenTweener** comenzará a ejecutar el subtween. Por defecto, no hay retardo. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_subviewport.rst b/classes/es/class_subviewport.rst index 693bec5f9d..d4353482a4 100644 --- a/classes/es/class_subviewport.rst +++ b/classes/es/class_subviewport.rst @@ -7,7 +7,7 @@ SubViewport **Hereda:** :ref:`Viewport` **<** :ref:`Node` **<** :ref:`Object` -An interface to a game world that doesn't create a window or draw to the screen directly. +Una interfaz a un mundo de juego que no crea una ventana ni dibuja directamente en la pantalla. .. rst-class:: classref-introduction-group @@ -98,7 +98,7 @@ Nunca despejen el objetivo de renderizado. :ref:`ClearMode` **CLEAR_MODE_ONCE** = ``2`` -Clear the render target on the next frame, then switch to :ref:`CLEAR_MODE_NEVER`. +Limpia el objetivo de renderizado en el siguiente fotograma, luego cambia a :ref:`CLEAR_MODE_NEVER`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_subviewportcontainer.rst b/classes/es/class_subviewportcontainer.rst index 915f560824..e77ededf5e 100644 --- a/classes/es/class_subviewportcontainer.rst +++ b/classes/es/class_subviewportcontainer.rst @@ -70,11 +70,11 @@ Descripciones de Propiedades - |void| **set_mouse_target**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_mouse_target_enabled**\ (\ ) -Configure, if either the **SubViewportContainer** or alternatively the :ref:`Control` nodes of its :ref:`SubViewport` children should be available as targets of mouse-related functionalities, like identifying the drop target in drag-and-drop operations or cursor shape of hovered :ref:`Control` node. +Configura si el **SubViewportContainer** o alternativamente los nodos :ref:`Control` de sus hijos :ref:`SubViewport` deben estar disponibles como objetivos de funcionalidades relacionadas con el ratón, como identificar el objetivo de soltar en operaciones de arrastrar y soltar o la forma del cursor del nodo :ref:`Control` sobre el que se pasa el ratón. -If ``false``, the :ref:`Control` nodes inside its :ref:`SubViewport` children are considered as targets. +Si es ``false``, los nodos :ref:`Control` dentro de sus hijos :ref:`SubViewport` se consideran como objetivos. -If ``true``, the **SubViewportContainer** itself will be considered as a target. +Si es ``true``, el propio **SubViewportContainer** se considerará como un objetivo. .. rst-class:: classref-item-separator @@ -91,9 +91,9 @@ If ``true``, the **SubViewportContainer** itself will be considered as a target. - |void| **set_stretch**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_stretch_enabled**\ (\ ) -If ``true``, the sub-viewport will be automatically resized to the control's size. +Si es ``true``, el sub-viewport se redimensionará automáticamente al tamaño del control. -\ **Note:** If ``true``, this will prohibit changing :ref:`SubViewport.size` of its children manually. +\ **Nota:** Si es ``true``, esto prohibirá cambiar :ref:`SubViewport.size` de sus hijos manualmente. .. rst-class:: classref-item-separator @@ -133,7 +133,7 @@ Descripciones de Métodos **Experimental:** Este método podría ser modificado o eliminado en versiones futuras. -Virtual method to be implemented by the user. If it returns ``true``, the ``event`` is propagated to :ref:`SubViewport` children. Propagation doesn't happen if it returns ``false``. If the function is not implemented, all events are propagated to SubViewports. +Método virtual para ser implementado por el usuario. Si devuelve ``true``, el ``event`` se propaga a los hijos :ref:`SubViewport`. La propagación no ocurre si devuelve ``false``. Si la función no está implementada, todos los eventos se propagan a los SubViewports. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_surfacetool.rst b/classes/es/class_surfacetool.rst index 0c4a48bb9e..5e30ad95e2 100644 --- a/classes/es/class_surfacetool.rst +++ b/classes/es/class_surfacetool.rst @@ -52,7 +52,7 @@ See also :ref:`ArrayMesh`, :ref:`ImmediateMesh` +- :doc:`Usar SurfaceTool <../tutorials/3d/procedural_geometry/surfacetool>` - `Demo de Vóxeles en 3D `__ @@ -298,7 +298,7 @@ Especifica la posición del vértice actual. Debe ser llamado después de especi |void| **append_from**\ (\ existing\: :ref:`Mesh`, surface\: :ref:`int`, transform\: :ref:`Transform3D`\ ) :ref:`🔗` -Append vertices from a given :ref:`Mesh` surface onto the current vertex array with specified :ref:`Transform3D`. +Añade vértices de una superficie :ref:`Mesh` dada al array de vértices actual con la :ref:`Transform3D` especificada. .. rst-class:: classref-item-separator @@ -410,7 +410,7 @@ Elimina el array de índices expandiendo el array de vértices. **Obsoleto:** This method is unused internally, as it does not preserve normals or UVs. Consider using :ref:`ImporterMesh.generate_lods()` instead. -Generates an LOD for a given ``nd_threshold`` in linear units (square root of quadric error metric), using at most ``target_index_count`` indices. +Genera un LOD para un ``nd_threshold`` dado en unidades lineales (raíz cuadrada de la métrica de error cuadrático), utilizando como máximo ``target_index_count`` índices. .. rst-class:: classref-item-separator @@ -438,7 +438,7 @@ Generates normals from vertices so you do not have to do it manually. If ``flip` |void| **generate_tangents**\ (\ ) :ref:`🔗` -Generates a tangent vector for each vertex. Requires that each vertex already has UVs and normals set (see :ref:`generate_normals()`). +Genera un vector tangente para cada vértice. Requiere que cada vértice ya tenga los UV y las normales establecidos (ver :ref:`generate_normals()`). .. rst-class:: classref-item-separator @@ -450,7 +450,7 @@ Generates a tangent vector for each vertex. Requires that each vertex already ha :ref:`AABB` **get_aabb**\ (\ ) |const| :ref:`🔗` -Returns the axis-aligned bounding box of the vertex positions. +Devuelve el cuadro delimitador alineado con los ejes de las posiciones de los vértices. .. rst-class:: classref-item-separator @@ -462,7 +462,7 @@ Returns the axis-aligned bounding box of the vertex positions. :ref:`CustomFormat` **get_custom_format**\ (\ channel_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the format for custom ``channel_index`` (currently up to 4). Returns :ref:`CUSTOM_MAX` if this custom channel is unused. +Devuelve el formato para ``channel_index`` personalizado (actualmente hasta 4). Devuelve :ref:`CUSTOM_MAX` si este canal personalizado no se usa. .. rst-class:: classref-item-separator @@ -474,7 +474,7 @@ Returns the format for custom ``channel_index`` (currently up to 4). Returns :re :ref:`PrimitiveType` **get_primitive_type**\ (\ ) |const| :ref:`🔗` -Returns the type of mesh geometry, such as :ref:`Mesh.PRIMITIVE_TRIANGLES`. +Devuelve el tipo de geometría de la malla, como :ref:`Mesh.PRIMITIVE_TRIANGLES`. .. rst-class:: classref-item-separator @@ -502,7 +502,7 @@ Returns :ref:`SKIN_8_WEIGHTS` if up t |void| **index**\ (\ ) :ref:`🔗` -Shrinks the vertex array by creating an index array. This can improve performance by avoiding vertex reuse. +Reduce el array de vértices creando un array de índice. Esto puede mejorar el rendimiento al evitar la reutilización de vértices. .. rst-class:: classref-item-separator @@ -514,7 +514,7 @@ Shrinks the vertex array by creating an index array. This can improve performanc |void| **optimize_indices_for_cache**\ (\ ) :ref:`🔗` -Optimizes triangle sorting for performance. Requires that :ref:`get_primitive_type()` is :ref:`Mesh.PRIMITIVE_TRIANGLES`. +Optimiza la ordenación de triángulos para mejorar el rendimiento. Requiere que :ref:`get_primitive_type()` sea :ref:`Mesh.PRIMITIVE_TRIANGLES`. .. rst-class:: classref-item-separator @@ -526,7 +526,7 @@ Optimizes triangle sorting for performance. Requires that :ref:`get_primitive_ty |void| **set_bones**\ (\ bones\: :ref:`PackedInt32Array`\ ) :ref:`🔗` -Specifies an array of bones to use for the *next* vertex. ``bones`` must contain 4 integers. +Especifica un array de huesos para usar para el *siguiente* vértice. ``bones`` debe contener 4 enteros. .. rst-class:: classref-item-separator @@ -538,9 +538,9 @@ Specifies an array of bones to use for the *next* vertex. ``bones`` must contain |void| **set_color**\ (\ color\: :ref:`Color`\ ) :ref:`🔗` -Specifies a :ref:`Color` to use for the *next* vertex. If every vertex needs to have this information set and you fail to submit it for the first vertex, this information may not be used at all. +Especifica un :ref:`Color` para usar para el *siguiente* vértice. Si cada vértice necesita tener esta información establecida y no la envías para el primer vértice, es posible que esta información no se utilice en absoluto. -\ **Note:** The material must have :ref:`BaseMaterial3D.vertex_color_use_as_albedo` enabled for the vertex color to be visible. +\ **Nota:** El material debe tener :ref:`BaseMaterial3D.vertex_color_use_as_albedo` activado para que el color del vértice sea visible. .. rst-class:: classref-item-separator @@ -552,9 +552,9 @@ Specifies a :ref:`Color` to use for the *next* vertex. If every ver |void| **set_custom**\ (\ channel_index\: :ref:`int`, custom_color\: :ref:`Color`\ ) :ref:`🔗` -Sets the custom value on this vertex for ``channel_index``. +Establece el valor personalizado en este vértice para ``channel_index``. -\ :ref:`set_custom_format()` must be called first for this ``channel_index``. Formats which are not RGBA will ignore other color channels. +\ :ref:`set_custom_format()` debe ser llamado primero para este ``channel_index``. Los formatos que no son RGBA ignorarán otros canales de color. .. rst-class:: classref-item-separator @@ -566,9 +566,9 @@ Sets the custom value on this vertex for ``channel_index``. |void| **set_custom_format**\ (\ channel_index\: :ref:`int`, format\: :ref:`CustomFormat`\ ) :ref:`🔗` -Sets the color format for this custom ``channel_index``. Use :ref:`CUSTOM_MAX` to disable. +Establece el formato de color para este ``channel_index`` personalizado. Usa :ref:`CUSTOM_MAX` para desactivarlo. -Must be invoked after :ref:`begin()` and should be set before :ref:`commit()` or :ref:`commit_to_arrays()`. +Debe invocarse después de :ref:`begin()` y debe establecerse antes de :ref:`commit()` o :ref:`commit_to_arrays()`. .. rst-class:: classref-item-separator @@ -592,7 +592,7 @@ Establece :ref:`Material` para ser usado por la :ref:`Mesh`\ ) :ref:`🔗` -Specifies a normal to use for the *next* vertex. If every vertex needs to have this information set and you fail to submit it for the first vertex, this information may not be used at all. +Especifica una normal para usar para el *siguiente* vértice. Si cada vértice necesita tener esta información establecida y no la envías para el primer vértice, es posible que esta información no se utilice en absoluto. .. rst-class:: classref-item-separator @@ -620,9 +620,9 @@ By default, only 4 bone influences are used (:ref:`SKIN_4_WEIGHTS`\ ) :ref:`🔗` -Specifies the smooth group to use for the *next* vertex. If this is never called, all vertices will have the default smooth group of ``0`` and will be smoothed with adjacent vertices of the same group. To produce a mesh with flat normals, set the smooth group to ``-1``. +Especifica el grupo suavizado a usar para el *siguiente* vértice. Si nunca se llama a esto, todos los vértices tendrán el grupo suavizado por defecto de ``0`` y se suavizarán con los vértices adyacentes del mismo grupo. Para producir una malla con normales planas, establece el grupo suavizado a ``-1``. -\ **Note:** This function actually takes a ``uint32_t``, so C# users should use ``uint32.MaxValue`` instead of ``-1`` to produce a mesh with flat normals. +\ **Nota:** Esta función en realidad toma un ``uint32_t``, por lo que los usuarios de C# deben usar ``uint32.MaxValue`` en lugar de ``-1`` para producir una malla con normales planas. .. rst-class:: classref-item-separator @@ -634,7 +634,7 @@ Specifies the smooth group to use for the *next* vertex. If this is never called |void| **set_tangent**\ (\ tangent\: :ref:`Plane`\ ) :ref:`🔗` -Specifies a tangent to use for the *next* vertex. If every vertex needs to have this information set and you fail to submit it for the first vertex, this information may not be used at all. +Especifica una tangente para usar para el *siguiente* vértice. Si cada vértice necesita tener esta información establecida y no la envías para el primer vértice, es posible que esta información no se utilice en absoluto. .. rst-class:: classref-item-separator @@ -646,7 +646,7 @@ Specifies a tangent to use for the *next* vertex. If every vertex needs to have |void| **set_uv**\ (\ uv\: :ref:`Vector2`\ ) :ref:`🔗` -Specifies a set of UV coordinates to use for the *next* vertex. If every vertex needs to have this information set and you fail to submit it for the first vertex, this information may not be used at all. +Especifica un conjunto de coordenadas UV para usar para el *siguiente* vértice. Si cada vértice necesita tener esta información establecida y no la envías para el primer vértice, es posible que esta información no se utilice en absoluto. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tabbar.rst b/classes/es/class_tabbar.rst index 38af1da036..c26ffd9226 100644 --- a/classes/es/class_tabbar.rst +++ b/classes/es/class_tabbar.rst @@ -413,7 +413,7 @@ Descripciones de Propiedades - |void| **set_clip_tabs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_clip_tabs**\ (\ ) -If ``true``, tabs overflowing this node's width will be hidden, displaying two navigation buttons instead. Otherwise, this node's minimum size is updated so that all tabs are visible. +Si es ``true``, las pestañas que se desborden del ancho de este nodo se ocultarán, mostrando dos botones de navegación en su lugar. De lo contrario, el tamaño mínimo de este nodo se actualiza para que todas las pestañas sean visibles. .. rst-class:: classref-item-separator @@ -447,7 +447,7 @@ If ``true``, middle clicking on the mouse will fire the :ref:`tab_close_pressed< - |void| **set_current_tab**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_current_tab**\ (\ ) -The index of the current selected tab. A value of ``-1`` means that no tab is selected and can only be set when :ref:`deselect_enabled` is ``true`` or if all tabs are hidden or disabled. +El índice de la pestaña seleccionada actualmente. Un valor de ``-1`` significa que no hay ninguna pestaña seleccionada y sólo se puede establecer cuando :ref:`deselect_enabled` es ``true`` o si todas las pestañas están ocultas o desactivadas. .. rst-class:: classref-item-separator @@ -464,7 +464,7 @@ The index of the current selected tab. A value of ``-1`` means that no tab is se - |void| **set_deselect_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_deselect_enabled**\ (\ ) -If ``true``, all tabs can be deselected so that no tab is selected. Click on the current tab to deselect it. +Si es ``true``, todas las pestañas pueden ser deseleccionadas de modo que ninguna pestaña sea seleccionada. Haz clic en la pestaña actual para deseleccionarla. .. rst-class:: classref-item-separator @@ -498,7 +498,7 @@ Si es ``true``, las pestañas se pueden reorganizar con el arrastre del ratón. - |void| **set_max_tab_width**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_tab_width**\ (\ ) -Sets the maximum width which all tabs should be limited to. Unlimited if set to ``0``. +Establece el ancho máximo al que deben limitarse todas las pestañas. Ilimitado si se establece en ``0``. .. rst-class:: classref-item-separator @@ -515,7 +515,7 @@ Sets the maximum width which all tabs should be limited to. Unlimited if set to - |void| **set_scroll_to_selected**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_scroll_to_selected**\ (\ ) -If ``true``, the tab offset will be changed to keep the currently selected tab visible. +Si es ``true``, el desplazamiento de la pestaña se cambiará para mantener visible la pestaña seleccionada actualmente. .. rst-class:: classref-item-separator @@ -532,7 +532,7 @@ If ``true``, the tab offset will be changed to keep the currently selected tab v - |void| **set_scrolling_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_scrolling_enabled**\ (\ ) -if ``true``, the mouse's scroll wheel can be used to navigate the scroll view. +Si es ``true``, la rueda de desplazamiento del ratón se puede usar para navegar por la vista de desplazamiento. .. rst-class:: classref-item-separator @@ -566,7 +566,7 @@ Si es ``true``, permite seleccionar una pestaña con el botón derecho del rató - |void| **set_tab_alignment**\ (\ value\: :ref:`AlignmentMode`\ ) - :ref:`AlignmentMode` **get_tab_alignment**\ (\ ) -The position at which tabs will be placed. +La posición en la que se colocarán las pestañas. .. rst-class:: classref-item-separator @@ -600,7 +600,7 @@ Cuando aparezca el botón cerrar en las pestañas. - |void| **set_tab_count**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_tab_count**\ (\ ) -The number of tabs currently in the bar. +El número de pestañas que hay actualmente en la barra. .. rst-class:: classref-item-separator @@ -732,7 +732,7 @@ Devuelve el ancho máximo permitido del icono para la pestaña en el índice ``t :ref:`int` **get_tab_idx_at_point**\ (\ point\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns the index of the tab at local coordinates ``point``. Returns ``-1`` if the point is outside the control boundaries or if there's no tab at the queried position. +Devuelve el índice de la pestaña en las coordenadas locales ``point``. Devuelve ``-1`` si el punto está fuera de los límites del control o si no hay ninguna pestaña en la posición consultada. .. rst-class:: classref-item-separator @@ -756,7 +756,7 @@ Devuelve el código de idioma del título de la pestaña. :ref:`Variant` **get_tab_metadata**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the metadata value set to the tab at index ``tab_idx`` using :ref:`set_tab_metadata()`. If no metadata was previously set, returns ``null`` by default. +Devuelve el valor de los metadatos establecidos en la pestaña en el índice ``tab_idx`` utilizando :ref:`set_tab_metadata()`. Si no se han establecido metadatos previamente, devuelve ``null`` por defecto. .. rst-class:: classref-item-separator @@ -804,7 +804,7 @@ Devuelve la dirección de escritura base del texto del título de la pestaña. :ref:`String` **get_tab_title**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the title of the tab at index ``tab_idx``. +Devuelve el título de la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -816,7 +816,7 @@ Returns the title of the tab at index ``tab_idx``. :ref:`String` **get_tab_tooltip**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the tooltip text of the tab at index ``tab_idx``. +Devuelve el texto de la información sobre herramientas de la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -828,7 +828,7 @@ Returns the tooltip text of the tab at index ``tab_idx``. :ref:`bool` **is_tab_disabled**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the tab at index ``tab_idx`` is disabled. +Devuelve ``true`` si la pestaña en el índice ``tab_idx`` está desactivada. .. rst-class:: classref-item-separator @@ -840,7 +840,7 @@ Returns ``true`` if the tab at index ``tab_idx`` is disabled. :ref:`bool` **is_tab_hidden**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the tab at index ``tab_idx`` is hidden. +Devuelve ``true`` si la pestaña en el índice ``tab_idx`` está oculta. .. rst-class:: classref-item-separator @@ -852,7 +852,7 @@ Returns ``true`` if the tab at index ``tab_idx`` is hidden. |void| **move_tab**\ (\ from\: :ref:`int`, to\: :ref:`int`\ ) :ref:`🔗` -Moves a tab from ``from`` to ``to``. +Mueve una pestaña de ``from`` a ``to``. .. rst-class:: classref-item-separator @@ -864,7 +864,7 @@ Moves a tab from ``from`` to ``to``. |void| **remove_tab**\ (\ tab_idx\: :ref:`int`\ ) :ref:`🔗` -Removes the tab at index ``tab_idx``. +Elimina la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -876,7 +876,7 @@ Removes the tab at index ``tab_idx``. :ref:`bool` **select_next_available**\ (\ ) :ref:`🔗` -Selects the first available tab with greater index than the currently selected. Returns ``true`` if tab selection changed. +Selecciona la primera pestaña disponible con un índice mayor que la actualmente seleccionada. Devuelve ``true`` si la selección de la pestaña cambió. .. rst-class:: classref-item-separator @@ -888,7 +888,7 @@ Selects the first available tab with greater index than the currently selected. :ref:`bool` **select_previous_available**\ (\ ) :ref:`🔗` -Selects the first available tab with lower index than the currently selected. Returns ``true`` if tab selection changed. +Selecciona la primera pestaña disponible con un índice menor que la actualmente seleccionada. Devuelve ``true`` si la selección de la pestaña cambió. .. rst-class:: classref-item-separator @@ -900,7 +900,7 @@ Selects the first available tab with lower index than the currently selected. Re |void| **set_tab_button_icon**\ (\ tab_idx\: :ref:`int`, icon\: :ref:`Texture2D`\ ) :ref:`🔗` -Sets an ``icon`` for the button of the tab at index ``tab_idx`` (located to the right, before the close button), making it visible and clickable (See :ref:`tab_button_pressed`). Giving it a ``null`` value will hide the button. +Establece un ``icon`` para el botón de la pestaña en el índice ``tab_idx`` (ubicado a la derecha, antes del botón de cierre), haciéndolo visible y clickable (Ver :ref:`tab_button_pressed`). Darle un valor ``null`` ocultará el botón. .. rst-class:: classref-item-separator @@ -912,7 +912,7 @@ Sets an ``icon`` for the button of the tab at index ``tab_idx`` (located to the |void| **set_tab_disabled**\ (\ tab_idx\: :ref:`int`, disabled\: :ref:`bool`\ ) :ref:`🔗` -If ``disabled`` is ``true``, disables the tab at index ``tab_idx``, making it non-interactable. +Si ``disabled`` es ``true``, desactiva la pestaña en el índice ``tab_idx``, haciéndola no interactiva. .. rst-class:: classref-item-separator @@ -924,7 +924,7 @@ If ``disabled`` is ``true``, disables the tab at index ``tab_idx``, making it no |void| **set_tab_hidden**\ (\ tab_idx\: :ref:`int`, hidden\: :ref:`bool`\ ) :ref:`🔗` -If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappear from the tab area. +Si ``hidden`` es ``true``, oculta la pestaña en el índice ``tab_idx``, haciéndola desaparecer del área de pestañas. .. rst-class:: classref-item-separator @@ -936,7 +936,7 @@ If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappe |void| **set_tab_icon**\ (\ tab_idx\: :ref:`int`, icon\: :ref:`Texture2D`\ ) :ref:`🔗` -Sets an ``icon`` for the tab at index ``tab_idx``. +Establece un ``icon`` para la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -948,7 +948,7 @@ Sets an ``icon`` for the tab at index ``tab_idx``. |void| **set_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`, width\: :ref:`int`\ ) :ref:`🔗` -Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. This limit is applied on top of the default size of the icon and on top of :ref:`icon_max_width`. The height is adjusted according to the icon's ratio. +Establece el ancho máximo permitido del icono para la pestaña en el índice ``tab_idx``. Este límite se aplica sobre el tamaño predeterminado del icono y sobre :ref:`icon_max_width`. La altura se ajusta según la relación del icono. .. rst-class:: classref-item-separator @@ -960,7 +960,7 @@ Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. Thi |void| **set_tab_language**\ (\ tab_idx\: :ref:`int`, language\: :ref:`String`\ ) :ref:`🔗` -Sets language code of tab title used for line-breaking and text shaping algorithms, if left empty current locale is used instead. +Establece el código de idioma del título de la pestaña utilizado para los algoritmos de ajuste de línea y forma del texto, si se deja vacío se utiliza la configuración regional actual. .. rst-class:: classref-item-separator @@ -972,7 +972,7 @@ Sets language code of tab title used for line-breaking and text shaping algorith |void| **set_tab_metadata**\ (\ tab_idx\: :ref:`int`, metadata\: :ref:`Variant`\ ) :ref:`🔗` -Sets the metadata value for the tab at index ``tab_idx``, which can be retrieved later using :ref:`get_tab_metadata()`. +Establece el valor de los metadatos para la pestaña en el índice ``tab_idx``, que se puede recuperar más tarde utilizando :ref:`get_tab_metadata()`. .. rst-class:: classref-item-separator @@ -996,7 +996,7 @@ Establece la dirección de escritura base del título de la pestaña. |void| **set_tab_title**\ (\ tab_idx\: :ref:`int`, title\: :ref:`String`\ ) :ref:`🔗` -Sets a ``title`` for the tab at index ``tab_idx``. +Establece un ``title`` para la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -1008,9 +1008,9 @@ Sets a ``title`` for the tab at index ``tab_idx``. |void| **set_tab_tooltip**\ (\ tab_idx\: :ref:`int`, tooltip\: :ref:`String`\ ) :ref:`🔗` -Sets a ``tooltip`` for tab at index ``tab_idx``. +Establece una ``tooltip`` para la pestaña en el índice ``tab_idx``. -\ **Note:** By default, if the ``tooltip`` is empty and the tab text is truncated (not all characters fit into the tab), the title will be displayed as a tooltip. To hide the tooltip, assign ``" "`` as the ``tooltip`` text. +\ **Nota:** De forma predeterminada, si el ``tooltip`` está vacío y el texto de la pestaña está truncado (no todos los caracteres caben en la pestaña), el título se mostrará como información sobre herramientas. Para ocultar la información sobre herramientas, asigna ``" "`` como el texto de la ``tooltip``. .. rst-class:: classref-section-separator diff --git a/classes/es/class_tabcontainer.rst b/classes/es/class_tabcontainer.rst index 6adf26f248..d6646cce9b 100644 --- a/classes/es/class_tabcontainer.rst +++ b/classes/es/class_tabcontainer.rst @@ -350,7 +350,7 @@ Si es ``true``, todas las pestañas se dibujan delante del panel. Si es ``false` - |void| **set_clip_tabs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_clip_tabs**\ (\ ) -If ``true``, tabs overflowing this node's width will be hidden, displaying two navigation buttons instead. Otherwise, this node's minimum size is updated so that all tabs are visible. +Si es ``true``, las pestañas que se desborden del ancho de este nodo se ocultarán, mostrando dos botones de navegación en su lugar. De lo contrario, el tamaño mínimo de este nodo se actualiza para que todas las pestañas sean visibles. .. rst-class:: classref-item-separator @@ -422,7 +422,7 @@ Si es ``true``, las pestañas se pueden reorganizar con el arrastre del ratón. - |void| **set_tab_alignment**\ (\ value\: :ref:`AlignmentMode`\ ) - :ref:`AlignmentMode` **get_tab_alignment**\ (\ ) -The position at which tabs will be placed. +La posición en la que se colocarán las pestañas. .. rst-class:: classref-item-separator @@ -638,7 +638,7 @@ Devuelve el ancho máximo permitido del icono para la pestaña en el índice ``t :ref:`int` **get_tab_idx_at_point**\ (\ point\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns the index of the tab at local coordinates ``point``. Returns ``-1`` if the point is outside the control boundaries or if there's no tab at the queried position. +Devuelve el índice de la pestaña en las coordenadas locales ``point``. Devuelve ``-1`` si el punto está fuera de los límites del control o si no hay ninguna pestaña en la posición consultada. .. rst-class:: classref-item-separator @@ -662,7 +662,7 @@ Returns the index of the tab tied to the given ``control``. The control must be :ref:`Variant` **get_tab_metadata**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the metadata value set to the tab at index ``tab_idx`` using :ref:`set_tab_metadata()`. If no metadata was previously set, returns ``null`` by default. +Devuelve el valor de los metadatos establecidos en la pestaña en el índice ``tab_idx`` utilizando :ref:`set_tab_metadata()`. Si no se han establecido metadatos previamente, devuelve ``null`` por defecto. .. rst-class:: classref-item-separator @@ -686,7 +686,7 @@ Returns the title of the tab at index ``tab_idx``. Tab titles default to the nam :ref:`String` **get_tab_tooltip**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the tooltip text of the tab at index ``tab_idx``. +Devuelve el texto de la información sobre herramientas de la pestaña en el índice ``tab_idx``. .. rst-class:: classref-item-separator @@ -698,7 +698,7 @@ Returns the tooltip text of the tab at index ``tab_idx``. :ref:`bool` **is_tab_disabled**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the tab at index ``tab_idx`` is disabled. +Devuelve ``true`` si la pestaña en el índice ``tab_idx`` está desactivada. .. rst-class:: classref-item-separator @@ -710,7 +710,7 @@ Returns ``true`` if the tab at index ``tab_idx`` is disabled. :ref:`bool` **is_tab_hidden**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the tab at index ``tab_idx`` is hidden. +Devuelve ``true`` si la pestaña en el índice ``tab_idx`` está oculta. .. rst-class:: classref-item-separator @@ -722,7 +722,7 @@ Returns ``true`` if the tab at index ``tab_idx`` is hidden. :ref:`bool` **select_next_available**\ (\ ) :ref:`🔗` -Selects the first available tab with greater index than the currently selected. Returns ``true`` if tab selection changed. +Selecciona la primera pestaña disponible con un índice mayor que la actualmente seleccionada. Devuelve ``true`` si la selección de la pestaña cambió. .. rst-class:: classref-item-separator @@ -734,7 +734,7 @@ Selects the first available tab with greater index than the currently selected. :ref:`bool` **select_previous_available**\ (\ ) :ref:`🔗` -Selects the first available tab with lower index than the currently selected. Returns ``true`` if tab selection changed. +Selecciona la primera pestaña disponible con un índice menor que la actualmente seleccionada. Devuelve ``true`` si la selección de la pestaña cambió. .. rst-class:: classref-item-separator @@ -770,7 +770,7 @@ Establece el icono del botón de la pestaña en el índice ``tab_idx``. |void| **set_tab_disabled**\ (\ tab_idx\: :ref:`int`, disabled\: :ref:`bool`\ ) :ref:`🔗` -If ``disabled`` is ``true``, disables the tab at index ``tab_idx``, making it non-interactable. +Si ``disabled`` es ``true``, desactiva la pestaña en el índice ``tab_idx``, haciéndola no interactiva. .. rst-class:: classref-item-separator @@ -782,7 +782,7 @@ If ``disabled`` is ``true``, disables the tab at index ``tab_idx``, making it no |void| **set_tab_hidden**\ (\ tab_idx\: :ref:`int`, hidden\: :ref:`bool`\ ) :ref:`🔗` -If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappear from the tab area. +Si ``hidden`` es ``true``, oculta la pestaña en el índice ``tab_idx``, haciéndola desaparecer del área de pestañas. .. rst-class:: classref-item-separator @@ -806,7 +806,7 @@ Establece un icono para la pestaña en el índice ``tab_idx``. |void| **set_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`, width\: :ref:`int`\ ) :ref:`🔗` -Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. This limit is applied on top of the default size of the icon and on top of :ref:`icon_max_width`. The height is adjusted according to the icon's ratio. +Establece el ancho máximo permitido del icono para la pestaña en el índice ``tab_idx``. Este límite se aplica sobre el tamaño predeterminado del icono y sobre :ref:`icon_max_width`. La altura se ajusta según la relación del icono. .. rst-class:: classref-item-separator @@ -818,7 +818,7 @@ Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. Thi |void| **set_tab_metadata**\ (\ tab_idx\: :ref:`int`, metadata\: :ref:`Variant`\ ) :ref:`🔗` -Sets the metadata value for the tab at index ``tab_idx``, which can be retrieved later using :ref:`get_tab_metadata()`. +Establece el valor de los metadatos para la pestaña en el índice ``tab_idx``, que se puede recuperar más tarde utilizando :ref:`get_tab_metadata()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_textedit.rst b/classes/es/class_textedit.rst index 612d252f4e..5764ccc674 100644 --- a/classes/es/class_textedit.rst +++ b/classes/es/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: @@ -618,7 +618,7 @@ Emitida cuando el texto cambia. **text_set**\ (\ ) :ref:`🔗` -Emitida cuando se llama a :ref:`claro()` o se establece\ :ref:`text`. +Emitida cuando se llama a :ref:`clear()` o se establece :ref:`text`. .. rst-class:: classref-section-separator @@ -2754,7 +2754,7 @@ You can add custom menu items or remove standard ones. Make sure your IDs don't :ref:`int` **get_minimap_line_at_pos**\ (\ position\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Devuelve la línea equivalente del minimapa en la ``posición``. +Devuelve la línea equivalente del minimapa en la ``position``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_textserver.rst b/classes/es/class_textserver.rst index 2d81375d9e..7edf6eb264 100644 --- a/classes/es/class_textserver.rst +++ b/classes/es/class_textserver.rst @@ -1332,7 +1332,7 @@ El TextServer admite diseños verticales. :ref:`Feature` **FEATURE_SHAPING** = ``8`` -TextServer supports complex text shaping. +TextServer admite el modelado de texto complejo. .. _class_TextServer_constant_FEATURE_KASHIDA_JUSTIFICATION: @@ -2989,7 +2989,7 @@ Establece el tamaño de la fuente de origen utilizada para generar texturas MSDF Si se establece en ``true``, los glifos de todos los tamaños se renderizan utilizando un único campo de distancia con signo multicanal generado a partir de los datos vectoriales de la fuente dinámica. El renderizado MSDF permite mostrar la fuente a cualquier factor de escala sin que se vea borrosa y sin incurrir en un coste de CPU cuando cambia el tamaño de la fuente (ya que la fuente ya no necesita ser rasterizada en la CPU). Como desventaja, el hinting de fuentes no está disponible con MSDF. La falta de hinting de fuentes puede dar como resultado fuentes menos nítidas y menos legibles en tamaños pequeños. -\ **Nota:** El renderizado de fuentes MSDF no renderiza correctamente los glifos con formas superpuestas. Las formas superpuestas no son válidas según el estándar OpenType, pero aún se encuentran comúnmente en muchos archivos de fuentes, especialmente aquellos convertidos por Google Fonts. Para evitar problemas con los glifos superpuestos, considere descargar el archivo de fuente directamente de la fundición de tipos en lugar de confiar en Google Fonts. +\ **Nota:** El renderizado de fuentes MSDF no renderiza correctamente los glifos con formas superpuestas. Las formas superpuestas no son válidas según el estándar OpenType, pero aún se encuentran comúnmente en muchos archivos de fuentes, especialmente aquellos convertidos por Google Fonts. Para evitar problemas con los glifos superpuestos, considera descargar el archivo de fuente directamente de la fundición de tipos en lugar de confiar en Google Fonts. .. rst-class:: classref-item-separator @@ -3025,7 +3025,7 @@ Establece la sobreescritura del conjunto de características OpenType de la fuen |void| **font_set_oversampling**\ (\ font_rid\: :ref:`RID`, oversampling\: :ref:`float`\ ) :ref:`🔗` -Si se establece en un valor positivo, sobrescribe el factor de sobremuestreo del viewport en la que se utiliza esta fuente. Consulta :ref:`Viewport.oversampling`. Este valor no sobrescribe el parámetro ``oversampling`` de los métodos ``draw_*``. Se utiliza solo con fuentes dinámicas. +Si se establece en un valor positivo, sobrescribe el factor de sobremuestreo del viewport en la que se utiliza esta fuente. Véase :ref:`Viewport.oversampling`. Este valor no sobrescribe el parámetro ``oversampling`` de los métodos ``draw_*``. Se utiliza solo con fuentes dinámicas. .. rst-class:: classref-item-separator @@ -3187,7 +3187,7 @@ Sets thickness of the underline in pixels. |void| **font_set_variation_coordinates**\ (\ font_rid\: :ref:`RID`, variation_coordinates\: :ref:`Dictionary`\ ) :ref:`🔗` -Establece las coordenadas de variación para la entrada de caché de fuente especificada. Consulta :ref:`font_supported_variation_list()` para más información. +Establece las coordenadas de variación para la entrada de caché de fuente especificada. Véase :ref:`font_supported_variation_list()` para más información. .. rst-class:: classref-item-separator @@ -3745,9 +3745,9 @@ Draw shaped text into a canvas item at a given position, with ``color``. ``pos`` |void| **shaped_text_draw_outline**\ (\ shaped\: :ref:`RID`, canvas\: :ref:`RID`, pos\: :ref:`Vector2`, clip_l\: :ref:`float` = -1, clip_r\: :ref:`float` = -1, outline_size\: :ref:`int` = 1, color\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draw the outline of the shaped text into a canvas item at a given position, with ``color``. ``pos`` specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Dibuja el contorno del texto conformado en un elemento del canvas en una posición dada, con ``color``. ``pos`` especifica el punto más a la izquierda de la línea base (para el diseño horizontal) o el punto más alto de la línea base (para el diseño vertical). Si ``oversampling`` es mayor que cero, se utiliza como factor de sobremuestreo de la fuente, de lo contrario, se utiliza la configuración de sobremuestreo del viewport. -\ ``clip_l`` and ``clip_r`` are offsets relative to ``pos``, going to the right in horizontal layout and downward in vertical layout. If ``clip_l`` is not negative, glyphs starting before the offset are clipped. If ``clip_r`` is not negative, glyphs ending after the offset are clipped. +\ ``clip_l`` y ``clip_r`` son desplazamientos relativos a ``pos``, yendo hacia la derecha en el diseño horizontal y hacia abajo en el diseño vertical. Si ``clip_l`` no es negativo, los glifos que comienzan antes del desplazamiento se recortan. Si ``clip_r`` no es negativo, los glifos que terminan después del desplazamiento se recortan. .. rst-class:: classref-item-separator @@ -4125,7 +4125,7 @@ Devuelve el espaciado extra añadido entre glifos o líneas en píxeles. :ref:`int` **shaped_text_get_trim_pos**\ (\ shaped\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the position of the overrun trim. +Devuelve la posición del recorte de desbordamiento. .. rst-class:: classref-item-separator @@ -4471,12 +4471,12 @@ Devuelve ``true`` si es probable que ``string`` sea un intento de confundir al l :ref:`PackedInt32Array` **string_get_character_breaks**\ (\ string\: :ref:`String`, language\: :ref:`String` = ""\ ) |const| :ref:`🔗` -Returns array of the composite character boundaries. +Devuelve un array de los límites de los caracteres compuestos. :: var ts = TextServerManager.get_primary_interface() - print(ts.string_get_character_breaks("Test ❤️‍🔥 Test")) # Prints [1, 2, 3, 4, 5, 9, 10, 11, 12, 13, 14] + print(ts.string_get_character_breaks("Prueba ❤️‍🔥 Prueba")) # Imprime [1, 2, 3, 4, 5, 6, 7, 11, 12, 13, 14, 15, 16, 17, 18] .. rst-class:: classref-item-separator diff --git a/classes/es/class_textserverextension.rst b/classes/es/class_textserverextension.rst index fd31550300..1335f99c55 100644 --- a/classes/es/class_textserverextension.rst +++ b/classes/es/class_textserverextension.rst @@ -1349,7 +1349,7 @@ Returns ``true`` if system fonts can be automatically used as fallbacks. :ref:`bool` **_font_is_force_autohinter**\ (\ font_rid\: :ref:`RID`\ ) |virtual| |const| :ref:`🔗` -Returns ``true`` if auto-hinting is supported and preferred over font built-in hinting. +Devuelve ``true`` si el auto-hinting es compatible y preferido sobre el hinting incorporado de la fuente. .. rst-class:: classref-item-separator @@ -1829,7 +1829,7 @@ Establece el tamaño de la fuente de origen utilizada para generar texturas MSDF |void| **_font_set_multichannel_signed_distance_field**\ (\ font_rid\: :ref:`RID`, msdf\: :ref:`bool`\ ) |virtual| :ref:`🔗` -If set to ``true``, glyphs of all sizes are rendered using single multichannel signed distance field generated from the dynamic font vector data. MSDF rendering allows displaying the font at any scaling factor without blurriness, and without incurring a CPU cost when the font size changes (since the font no longer needs to be rasterized on the CPU). As a downside, font hinting is not available with MSDF. The lack of font hinting may result in less crisp and less readable fonts at small sizes. +Si se establece como ``true``, los glifos de todos los tamaños se renderizan utilizando un único campo de distancia con signo multicanal generado a partir de los datos vectoriales de la fuente dinámica. El renderizado MSDF permite mostrar la fuente a cualquier factor de escala sin que se vea borrosa y sin incurrir en un coste de CPU cuando cambia el tamaño de la fuente (ya que la fuente ya no necesita ser rasterizada en la CPU). Como desventaja, el hinting de fuentes no está disponible con MSDF. La falta de hinting de fuentes puede dar como resultado fuentes menos nítidas y menos legibles en tamaños pequeños. .. rst-class:: classref-item-separator @@ -1865,7 +1865,7 @@ Establece la sobreescritura del conjunto de características OpenType de la fuen |void| **_font_set_oversampling**\ (\ font_rid\: :ref:`RID`, oversampling\: :ref:`float`\ ) |virtual| :ref:`🔗` -Si se establece en un valor positivo, sobrescribe el factor de sobremuestreo del viewport en la que se utiliza esta fuente. Consulta :ref:`Viewport.oversampling`. Este valor no sobrescribe el parámetro ``oversampling`` de los métodos ``draw_*``. Se utiliza solo con fuentes dinámicas. +Si se establece en un valor positivo, sobrescribe el factor de sobremuestreo del viewport en la que se utiliza esta fuente. Véase :ref:`Viewport.oversampling`. Este valor no sobrescribe el parámetro ``oversampling`` de los métodos ``draw_*``. Se utiliza solo con fuentes dinámicas. .. rst-class:: classref-item-separator @@ -2935,7 +2935,7 @@ Devuelve el espaciado extra añadido entre glifos o líneas en píxeles. :ref:`int` **_shaped_text_get_trim_pos**\ (\ shaped\: :ref:`RID`\ ) |virtual| |required| |const| :ref:`🔗` -Returns the position of the overrun trim. +Devuelve la posición del recorte de desbordamiento. .. rst-class:: classref-item-separator diff --git a/classes/es/class_texture2darray.rst b/classes/es/class_texture2darray.rst index ff40d09250..9404169003 100644 --- a/classes/es/class_texture2darray.rst +++ b/classes/es/class_texture2darray.rst @@ -16,7 +16,7 @@ Descripción Una Texture2DArray es diferente de una Texture3D: La Texture2DArray no soporta la interpolación trilineal entre las :ref:`Image`\ s, es decir, sin mezcla. Véase también :ref:`Cubemap` y :ref:`CubemapArray`, que son arreglos de texturas con funciones especializadas de cubemap. -Una Texture2DArray también es diferente de una :ref:`AtlasTexture`: En una Texture2DArray, todas las imágenes se tratan por separado. En un atlas, las regiones (es decir, las imágenes individuales) pueden ser de diferentes tamaños. Además, normalmente necesita añadir un relleno alrededor de las regiones, para evitar el mapeo UV accidental a más de una región. Lo mismo ocurre con el mipmapping: Las cadenas de mipmap se gestionan por separado para cada capa. En un atlas, el corte tiene que hacerse manualmente en el fragment shader. +Una Texture2DArray también es diferente de una :ref:`AtlasTexture`: En una Texture2DArray, todas las imágenes se tratan por separado. En un atlas, las regiones (es decir, las imágenes individuales) pueden ser de diferentes tamaños. Además, normalmente necesita añadir un relleno alrededor de las regiones, para evitar el mapeo UV accidental a más de una región. Lo mismo ocurre con el mipmapping: Las strings de mipmap se gestionan por separado para cada capa. En un atlas, el corte tiene que hacerse manualmente en el fragment shader. Para crear un archivo de textura de este tipo, vuelva a importar sus archivos de imagen utilizando los preajustes de importación del Editor de Godot. Para crear una Texture2DArray desde el código, utiliza :ref:`ImageTextureLayered.create_from_images()` en una instancia de la clase Texture2DArray. diff --git a/classes/es/class_texturebutton.rst b/classes/es/class_texturebutton.rst index 15e3656654..4e6f79332d 100644 --- a/classes/es/class_texturebutton.rst +++ b/classes/es/class_texturebutton.rst @@ -16,7 +16,7 @@ Descripción **TextureButton** tiene la misma funcionalidad que :ref:`Button`, excepto que utiliza sprites en lugar del recurso :ref:`Theme` de Godot. Es más rápido de crear, pero no soporta la localización como los :ref:`Control`\ s más complejos. -Consulta también :ref:`BaseButton`, que contiene propiedades y métodos comunes asociados a este nodo. +Véase también :ref:`BaseButton`, que contiene propiedades y métodos comunes asociados a este nodo. \ **Nota:** Se recomienda establecer una textura para el estado "normal" (:ref:`texture_normal`). Si no se establece :ref:`texture_normal`, **TextureButton** seguirá recibiendo eventos de entrada y se podrá hacer clic en él, pero el usuario no podrá verlo a menos que active otro de sus estados con una textura asignada (por ejemplo, pasar el ratón por encima para mostrar :ref:`texture_hover`). diff --git a/classes/es/class_textureprogressbar.rst b/classes/es/class_textureprogressbar.rst index 3f30ff8dab..c1c4d6f6b2 100644 --- a/classes/es/class_textureprogressbar.rst +++ b/classes/es/class_textureprogressbar.rst @@ -240,7 +240,7 @@ Desplaza :ref:`texture_progress` si :ref:`fill_mode` es :ref:`FILL_CLOCKWISE`, :ref:`FILL_COUNTER_CLOCKWISE` o :ref:`FILL_CLOCKWISE_AND_COUNTER_CLOCKWISE`. Cuando el ``value`` del nodo es igual a su ``max_value``, la textura se rellena hasta este ángulo. -Ver :ref:`Range.value`, :ref:`Range.max_value`. +Véase :ref:`Range.value`, :ref:`Range.max_value`. .. rst-class:: classref-item-separator @@ -361,9 +361,9 @@ La altura de la fila superior del 9-patch. Solo es efectivo si :ref:`nine_patch_ - |void| **set_progress_texture**\ (\ value\: :ref:`Texture2D`\ ) - :ref:`Texture2D` **get_progress_texture**\ (\ ) -:ref:`Texture2D` that clips based on the node's ``value`` and :ref:`fill_mode`. As ``value`` increased, the texture fills up. It shows entirely when ``value`` reaches ``max_value``. It doesn't show at all if ``value`` is equal to ``min_value``. +:ref:`Texture2D` que se recorta según el ``value`` del nodo y :ref:`fill_mode`. A medida que aumenta ``value``, la textura se rellena. Se muestra por completo cuando ``value`` alcanza ``max_value``. No se muestra en absoluto si ``value`` es igual a ``min_value``. -The ``value`` property comes from :ref:`Range`. See :ref:`Range.value`, :ref:`Range.min_value`, :ref:`Range.max_value`. +La propiedad ``value`` proviene de :ref:`Range`. Véase :ref:`Range.value`, :ref:`Range.min_value`, :ref:`Range.max_value`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_theme.rst b/classes/es/class_theme.rst index a3e7cff585..c206c15dc2 100644 --- a/classes/es/class_theme.rst +++ b/classes/es/class_theme.rst @@ -27,7 +27,7 @@ Tutoriales - :doc:`Skinning GUI <../tutorials/ui/gui_skinning>` -- :doc:`Using the theme editor <../tutorials/ui/gui_using_theme_editor>` +- :doc:`Usar el editor de temas <../tutorials/ui/gui_using_theme_editor>` .. rst-class:: classref-reftable-group @@ -1167,7 +1167,7 @@ Esto añade ``theme_type`` como una opción sugerida para :ref:`Control.theme_ty Las variaciones también pueden anidarse, es decir, ``base_type`` puede ser otra variación. Si una cadena de variaciones termina con un ``base_type`` que coincide con la clase del :ref:`Control`, toda la cadena se va a sugerir como opciones. -\ **Nota:** Las sugerencias solo aparecen si este recurso de tema está establecido como el tema predeterminado del proyecto. Consulta :ref:`ProjectSettings.gui/theme/custom`. +\ **Nota:** Las sugerencias solo aparecen si este recurso de tema está establecido como el tema predeterminado del proyecto. Véase :ref:`ProjectSettings.gui/theme/custom`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_themedb.rst b/classes/es/class_themedb.rst index e360d88617..2953de68d2 100644 --- a/classes/es/class_themedb.rst +++ b/classes/es/class_themedb.rst @@ -91,7 +91,7 @@ Descripciones de Propiedades El factor de escala base de reserva de cada nodo :ref:`Control` y recurso :ref:`Theme`. Se utiliza cuando no hay otro valor disponible para el control. -Consulta también :ref:`Theme.default_base_scale`. +Véase también :ref:`Theme.default_base_scale`. .. rst-class:: classref-item-separator @@ -110,7 +110,7 @@ Consulta también :ref:`Theme.default_base_scale` y recurso :ref:`Theme`. Se utiliza cuando no hay otro valor disponible para el control. -Consulta también :ref:`Theme.default_font`. +Véase también :ref:`Theme.default_font`. .. rst-class:: classref-item-separator @@ -129,7 +129,7 @@ Consulta también :ref:`Theme.default_font`. El tamaño de fuente de reserva de cada nodo :ref:`Control` y recurso :ref:`Theme`. Se utiliza cuando no hay otro valor disponible para el control. -Consulta también :ref:`Theme.default_font_size`. +Véase también :ref:`Theme.default_font_size`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tiledata.rst b/classes/es/class_tiledata.rst index 5af3b1368f..5f7f00fb49 100644 --- a/classes/es/class_tiledata.rst +++ b/classes/es/class_tiledata.rst @@ -244,7 +244,7 @@ Probabilidad relativa de que este tile sea seleccionado al dibujar un patrón de - |void| **set_terrain**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_terrain**\ (\ ) -ID of the terrain from the terrain set that the tile uses. +ID del terreno del conjunto de terrenos que usa el tile. .. rst-class:: classref-item-separator @@ -261,7 +261,7 @@ ID of the terrain from the terrain set that the tile uses. - |void| **set_terrain_set**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_terrain_set**\ (\ ) -ID of the terrain set that the tile uses. +ID del conjunto de terrenos que usa el tile. .. rst-class:: classref-item-separator @@ -546,7 +546,7 @@ Devuelve si las colisiones unidireccionales están habilitadas para el polígono :ref:`bool` **is_valid_terrain_peering_bit**\ (\ peering_bit\: :ref:`CellNeighbor`\ ) |const| :ref:`🔗` -Returns whether the given ``peering_bit`` direction is valid for this tile. +Devuelve si la dirección dada ``peering_bit`` es válida para este tile. .. rst-class:: classref-item-separator @@ -666,7 +666,7 @@ Establece el valor de los datos personalizados del tile para la capa de datos pe |void| **set_custom_data_by_layer_id**\ (\ layer_id\: :ref:`int`, value\: :ref:`Variant`\ ) :ref:`🔗` -Sets the tile's custom data value for the TileSet custom data layer with index ``layer_id``. +Establece el valor de datos personalizado del tile para la capa de datos personalizados de TileSet con el índice ``layer_id``. .. rst-class:: classref-item-separator @@ -678,7 +678,7 @@ Sets the tile's custom data value for the TileSet custom data layer with index ` |void| **set_navigation_polygon**\ (\ layer_id\: :ref:`int`, navigation_polygon\: :ref:`NavigationPolygon`\ ) :ref:`🔗` -Sets the navigation polygon for the TileSet navigation layer with index ``layer_id``. +Establece el polígono de navegación para la capa de navegación TileSet con el índice ``layer_id``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tilemap.rst b/classes/es/class_tilemap.rst index 446e1c3efd..1eb360b749 100644 --- a/classes/es/class_tilemap.rst +++ b/classes/es/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: @@ -19,13 +19,13 @@ Nodo para mapas basados en tiles 2D. Descripción ---------------------- -Node for 2D tile-based maps. Tilemaps use a :ref:`TileSet` which contain a list of tiles which are used to create grid-based maps. A TileMap may have several layers, layouting tiles on top of each other. +Nodo para mapas 2D basados en tiles. Los Tilemaps usan un :ref:`TileSet` que contiene una lista de tiles que se utilizan para crear mapas basados en cuadrículas. Un TileMap puede tener varias capas, colocando tiles uno encima del otro. -For performance reasons, all TileMap updates are batched at the end of a frame. Notably, this means that scene tiles from a :ref:`TileSetScenesCollectionSource` may be initialized after their parent. This is only queued when inside the scene tree. +Por razones de rendimiento, todas las actualizaciones de TileMap se procesan por lotes al final de un fotograma. Notablemente, esto significa que los tiles de escena de un :ref:`TileSetScenesCollectionSource` pueden inicializarse después de su padre. Esto solo se pone en cola cuando está dentro del árbol de la escena. -To force an update earlier on, call :ref:`update_internals()`. +Para forzar una actualización antes, llama a :ref:`update_internals()`. -\ **Note:** For performance and compatibility reasons, the coordinates serialized by **TileMap** are limited to 16-bit signed integers, i.e. the range for X and Y coordinates is from ``-32768`` to ``32767``. When saving tile data, tiles outside this range are wrapped. +\ **Nota:** Por razones de rendimiento y compatibilidad, las coordenadas serializadas por **TileMap** están limitadas a enteros con signo de 16 bits, es decir, el rango para las coordenadas X e Y es de ``-32768`` a ``32767``. Al guardar los datos del tile, los tiles fuera de este rango se ajustan. .. rst-class:: classref-introduction-group @@ -40,13 +40,13 @@ Tutoriales - `Demo Hexagonal en 2D `__ -- `2D Grid-based Navigation with AStarGrid2D Demo `__ +- `Demo de navegación 2D basada en cuadrícula con AStarGrid2D `__ - `2D Role Playing Game (RPG) Demo `__ - `Demo de Personaje Cinemático en 2D `__ -- `2D Dynamic TileMap Layers Demo `__ +- `Demo de capas dinámicas de TileMap 2D `__ .. rst-class:: classref-reftable-group @@ -222,7 +222,7 @@ enum **VisibilityMode**: :ref:`🔗` :ref:`VisibilityMode` **VISIBILITY_MODE_DEFAULT** = ``0`` -Use the debug settings to determine visibility. +Usa la configuración de depuración para determinar la visibilidad. .. _class_TileMap_constant_VISIBILITY_MODE_FORCE_HIDE: @@ -260,9 +260,9 @@ Descripciones de Propiedades - |void| **set_collision_animatable**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_collision_animatable**\ (\ ) -If enabled, the TileMap will see its collisions synced to the physics tick and change its collision type from static to kinematic. This is required to create TileMap-based moving platform. +Si está habilitado, el TileMap verá sus colisiones sincronizadas con el tick de la física y cambiará su tipo de colisión de estático a cinemático. Esto es necesario para crear plataformas móviles basadas en TileMap. -\ **Note:** Enabling :ref:`collision_animatable` may have a small performance impact, only do it if the TileMap is moving and has colliding tiles. +\ **Nota:** Habilitar :ref:`collision_animatable` puede tener un pequeño impacto en el rendimiento, solo hazlo si el TileMap se está moviendo y tiene tiles que colisionan. .. rst-class:: classref-item-separator @@ -279,7 +279,7 @@ If enabled, the TileMap will see its collisions synced to the physics tick and c - |void| **set_collision_visibility_mode**\ (\ value\: :ref:`VisibilityMode`\ ) - :ref:`VisibilityMode` **get_collision_visibility_mode**\ (\ ) -Show or hide the TileMap's collision shapes. If set to :ref:`VISIBILITY_MODE_DEFAULT`, this depends on the show collision debug settings. +Muestra u oculta las formas de colisión del TileMap. Si se establece en :ref:`VISIBILITY_MODE_DEFAULT`, esto depende de la configuración de depuración de visualización de colisiones. .. rst-class:: classref-item-separator @@ -296,7 +296,7 @@ Show or hide the TileMap's collision shapes. If set to :ref:`VISIBILITY_MODE_DEF - |void| **set_navigation_visibility_mode**\ (\ value\: :ref:`VisibilityMode`\ ) - :ref:`VisibilityMode` **get_navigation_visibility_mode**\ (\ ) -Show or hide the TileMap's navigation meshes. If set to :ref:`VISIBILITY_MODE_DEFAULT`, this depends on the show navigation debug settings. +Muestra u oculta las mallas de navegación del TileMap. Si se establece en :ref:`VISIBILITY_MODE_DEFAULT`, esto depende de la configuración de depuración de visualización de navegación. .. rst-class:: classref-item-separator @@ -313,11 +313,11 @@ Show or hide the TileMap's navigation meshes. If set to :ref:`VISIBILITY_MODE_DE - |void| **set_rendering_quadrant_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_rendering_quadrant_size**\ (\ ) -The TileMap's quadrant size. A quadrant is a group of tiles to be drawn together on a single canvas item, for optimization purposes. :ref:`rendering_quadrant_size` defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quadrant size groups together ``16 * 16 = 256`` tiles. +El tamaño del cuadrante del TileMap. Un cuadrante es un grupo de tiles que se dibujan juntos en un solo elemento de lienzo, con fines de optimización. :ref:`rendering_quadrant_size` define la longitud del lado de un cuadrado, en el sistema de coordenadas del mapa, que forma el cuadrante. Por lo tanto, el tamaño de cuadrante predeterminado agrupa ``16 * 16 = 256`` tiles. -The quadrant size does not apply on Y-sorted layers, as tiles are grouped by Y position instead in that case. +El tamaño del cuadrante no se aplica en las capas ordenadas en Y, ya que los tiles se agrupan por posición Y en ese caso. -\ **Note:** As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the TileMap's local coordinate system. +\ **Nota:** Como los cuadrantes se crean de acuerdo con el sistema de coordenadas del mapa, la "forma cuadrada" del cuadrante podría no parecerse a un cuadrado en el sistema de coordenadas local del TileMap. .. rst-class:: classref-item-separator @@ -334,7 +334,7 @@ The quadrant size does not apply on Y-sorted layers, as tiles are grouped by Y p - |void| **set_tileset**\ (\ value\: :ref:`TileSet`\ ) - :ref:`TileSet` **get_tileset**\ (\ ) -The :ref:`TileSet` used by this **TileMap**. The textures, collisions, and additional behavior of all available tiles are stored here. +El :ref:`TileSet` utilizado por este **TileMap**. Las texturas, colisiones y el comportamiento adicional de todos los tiles disponibles se almacenan aquí. .. rst-class:: classref-section-separator @@ -351,13 +351,13 @@ Descripciones de Métodos |void| **_tile_data_runtime_update**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, tile_data\: :ref:`TileData`\ ) |virtual| :ref:`🔗` -Called with a TileData object about to be used internally by the TileMap, allowing its modification at runtime. +Se llama con un objeto TileData que está a punto de ser utilizado internamente por el TileMap, lo que permite su modificación en tiempo de ejecución. -This method is only called if :ref:`_use_tile_data_runtime_update()` is implemented and returns ``true`` for the given tile ``coords`` and ``layer``. +Este método solo se llama si :ref:`_use_tile_data_runtime_update()` está implementado y devuelve ``true`` para el tile dado ``coords`` y ``layer``. -\ **Warning:** The ``tile_data`` object's sub-resources are the same as the one in the TileSet. Modifying them might impact the whole TileSet. Instead, make sure to duplicate those resources. +\ **Advertencia:** Los subrecursos del objeto ``tile_data`` son los mismos que los del TileSet. Modificarlos podría afectar a todo el TileSet. En su lugar, asegúrate de duplicar esos recursos. -\ **Note:** If the properties of ``tile_data`` object should change over time, use :ref:`notify_runtime_tile_data_update()` to notify the TileMap it needs an update. +\ **Nota:** Si las propiedades del objeto ``tile_data`` deben cambiar con el tiempo, utiliza :ref:`notify_runtime_tile_data_update()` para notificar al TileMap que necesita una actualización. .. rst-class:: classref-item-separator @@ -369,11 +369,11 @@ This method is only called if :ref:`_use_tile_data_runtime_update()` **_use_tile_data_runtime_update**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`\ ) |virtual| :ref:`🔗` -Should return ``true`` if the tile at coordinates ``coords`` on layer ``layer`` requires a runtime update. +Debería devolver ``true`` si el tile en las coordenadas ``coords`` en la capa ``layer`` requiere una actualización en tiempo de ejecución. -\ **Warning:** Make sure this function only return ``true`` when needed. Any tile processed at runtime without a need for it will imply a significant performance penalty. +\ **Advertencia:** Asegúrate de que esta función solo devuelva ``true`` cuando sea necesario. Cualquier tile procesado en tiempo de ejecución sin necesidad de ello implicará una penalización significativa en el rendimiento. -\ **Note:** If the result of this function should changed, use :ref:`notify_runtime_tile_data_update()` to notify the TileMap it needs an update. +\ **Nota:** Si el resultado de esta función debe cambiar, utiliza :ref:`notify_runtime_tile_data_update()` para notificar al TileMap que necesita una actualización. .. rst-class:: classref-item-separator @@ -385,7 +385,7 @@ Should return ``true`` if the tile at coordinates ``coords`` on layer ``layer`` |void| **add_layer**\ (\ to_position\: :ref:`int`\ ) :ref:`🔗` -Adds a layer at the given position ``to_position`` in the array. If ``to_position`` is negative, the position is counted from the end, with ``-1`` adding the layer at the end of the array. +Añade una capa en la posición dada ``to_position`` en el array. Si ``to_position`` es negativo, la posición se cuenta desde el final, con ``-1`` añadiendo la capa al final del array. .. rst-class:: classref-item-separator @@ -409,9 +409,9 @@ Limpia todas las celdas. |void| **clear_layer**\ (\ layer\: :ref:`int`\ ) :ref:`🔗` -Clears all cells on the given layer. +Limpia todas las celdas en la capa dada. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -423,9 +423,9 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **erase_cell**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`\ ) :ref:`🔗` -Erases the cell on layer ``layer`` at coordinates ``coords``. +Borra la celda en la capa ``layer`` en las coordenadas ``coords``. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -451,7 +451,7 @@ Despeja las celdas que no existen en el tileset. **Obsoleto:** Use :ref:`notify_runtime_tile_data_update()` and/or :ref:`update_internals()` instead. -Forces the TileMap and the layer ``layer`` to update. +Fuerza la actualización del TileMap y la capa ``layer``. .. rst-class:: classref-item-separator @@ -463,11 +463,11 @@ Forces the TileMap and the layer ``layer`` to update. :ref:`int` **get_cell_alternative_tile**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the tile alternative ID of the cell on layer ``layer`` at ``coords``. +Devuelve el ID alternativo del tile de la celda en la capa ``layer`` en ``coords``. -If ``use_proxies`` is ``false``, ignores the :ref:`TileSet`'s tile proxies, returning the raw alternative identifier. See :ref:`TileSet.map_tile_proxy()`. +Si ``use_proxies`` es ``false``, ignora los proxies del tile del :ref:`TileSet`, devolviendo el identificador alternativo sin procesar. Véase :ref:`TileSet.map_tile_proxy()`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -479,11 +479,11 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`Vector2i` **get_cell_atlas_coords**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the tile atlas coordinates ID of the cell on layer ``layer`` at coordinates ``coords``. Returns ``Vector2i(-1, -1)`` if the cell does not exist. +Devuelve el ID de las coordenadas del atlas de tiles de la celda en la capa ``layer`` en las coordenadas ``coords``. Devuelve ``Vector2i(-1, -1)`` si la celda no existe. -If ``use_proxies`` is ``false``, ignores the :ref:`TileSet`'s tile proxies, returning the raw atlas coordinate identifier. See :ref:`TileSet.map_tile_proxy()`. +Si ``use_proxies`` es ``false``, ignora los proxies del tile del :ref:`TileSet`, devolviendo el identificador de coordenadas del atlas sin procesar. Véase :ref:`TileSet.map_tile_proxy()`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -495,11 +495,11 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`int` **get_cell_source_id**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the tile source ID of the cell on layer ``layer`` at coordinates ``coords``. Returns ``-1`` if the cell does not exist. +Devuelve el ID de la fuente del tile de la celda en la capa ``layer`` en las coordenadas ``coords``. Devuelve ``-1`` si la celda no existe. -If ``use_proxies`` is ``false``, ignores the :ref:`TileSet`'s tile proxies, returning the raw source identifier. See :ref:`TileSet.map_tile_proxy()`. +Si ``use_proxies`` es ``false``, ignora los proxies del tile del :ref:`TileSet`, devolviendo el identificador de la fuente sin procesar. Véase :ref:`TileSet.map_tile_proxy()`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -511,21 +511,21 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`TileData` **get_cell_tile_data**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the :ref:`TileData` object associated with the given cell, or ``null`` if the cell does not exist or is not a :ref:`TileSetAtlasSource`. +Devuelve el objeto :ref:`TileData` asociado con la celda dada, o ``null`` si la celda no existe o no es una :ref:`TileSetAtlasSource`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. :: func get_clicked_tile_power(): - var clicked_cell = tile_map.local_to_map(tile_map.get_local_mouse_position()) - var data = tile_map.get_cell_tile_data(0, clicked_cell) - if data: - return data.get_custom_data("power") + var celda_pulsada = tile_map.local_to_map(tile_map.get_local_mouse_position()) + var datos = tile_map.get_cell_tile_data(0, celda_pulsada) + if datos: + return datos.get_custom_data("power") else: return 0 -If ``use_proxies`` is ``false``, ignores the :ref:`TileSet`'s tile proxies. See :ref:`TileSet.map_tile_proxy()`. +Si ``use_proxies`` es ``false``, ignora los proxies del tile del :ref:`TileSet`. Véase :ref:`TileSet.map_tile_proxy()`. .. rst-class:: classref-item-separator @@ -537,7 +537,7 @@ If ``use_proxies`` is ``false``, ignores the :ref:`TileSet`'s til :ref:`Vector2i` **get_coords_for_body_rid**\ (\ body\: :ref:`RID`\ ) :ref:`🔗` -Returns the coordinates of the tile for given physics body RID. Such RID can be retrieved from :ref:`KinematicCollision2D.get_collider_rid()`, when colliding with a tile. +Devuelve las coordenadas del tile para el RID del cuerpo físico dado. Dicho RID se puede obtener de :ref:`KinematicCollision2D.get_collider_rid()`, al colisionar con un tile. .. rst-class:: classref-item-separator @@ -549,7 +549,7 @@ Returns the coordinates of the tile for given physics body RID. Such RID can be :ref:`int` **get_layer_for_body_rid**\ (\ body\: :ref:`RID`\ ) :ref:`🔗` -Returns the tilemap layer of the tile for given physics body RID. Such RID can be retrieved from :ref:`KinematicCollision2D.get_collider_rid()`, when colliding with a tile. +Devuelve la capa del tilemap del tile para el RID del cuerpo físico dado. Dicho RID se puede obtener de :ref:`KinematicCollision2D.get_collider_rid()`, al colisionar con un tile. .. rst-class:: classref-item-separator @@ -561,9 +561,9 @@ Returns the tilemap layer of the tile for given physics body RID. Such RID can b :ref:`Color` **get_layer_modulate**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a TileMap layer's modulate. +Devuelve el modulate de una capa del TileMap. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -575,9 +575,9 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`String` **get_layer_name**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a TileMap layer's name. +Devuelve el nombre de una capa del TileMap. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -589,13 +589,13 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`RID` **get_layer_navigation_map**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`RID` of the :ref:`NavigationServer2D` navigation map assigned to the specified TileMap layer ``layer``. +Devuelve el :ref:`RID` del mapa de navegación :ref:`NavigationServer2D` asignado a la capa ``layer`` del TileMap especificado. -By default the TileMap uses the default :ref:`World2D` navigation map for the first TileMap layer. For each additional TileMap layer a new navigation map is created for the additional layer. +Por defecto, el TileMap utiliza el mapa de navegación :ref:`World2D` por defecto para la primera capa del TileMap. Para cada capa adicional del TileMap, se crea un nuevo mapa de navegación para la capa adicional. -In order to make :ref:`NavigationAgent2D` switch between TileMap layer navigation maps use :ref:`NavigationAgent2D.set_navigation_map()` with the navigation map received from :ref:`get_layer_navigation_map()`. +Para hacer que :ref:`NavigationAgent2D` cambie entre los mapas de navegación de las capas del TileMap, utiliza :ref:`NavigationAgent2D.set_navigation_map()` con el mapa de navegación recibido de :ref:`get_layer_navigation_map()`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -607,9 +607,9 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`int` **get_layer_y_sort_origin**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a TileMap layer's Y sort origin. +Devuelve el origen de ordenamiento Y de una capa del TileMap. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -621,9 +621,9 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`int` **get_layer_z_index**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a TileMap layer's Z-index value. +Devuelve el valor del índice Z de una capa del TileMap. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -649,7 +649,7 @@ Devuelve el número de capas en el TileMap. **Obsoleto:** Use :ref:`get_layer_navigation_map()` instead. -Returns the :ref:`RID` of the :ref:`NavigationServer2D` navigation map assigned to the specified TileMap layer ``layer``. +Devuelve el :ref:`RID` del mapa de navegación :ref:`NavigationServer2D` asignado a la capa ``layer`` del TileMap especificado. .. rst-class:: classref-item-separator @@ -661,7 +661,7 @@ Returns the :ref:`RID` of the :ref:`NavigationServer2D` **get_neighbor_cell**\ (\ coords\: :ref:`Vector2i`, neighbor\: :ref:`CellNeighbor`\ ) |const| :ref:`🔗` -Returns the neighboring cell to the one at coordinates ``coords``, identified by the ``neighbor`` direction. This method takes into account the different layouts a TileMap can take. +Devuelve la celda vecina a la que se encuentra en las coordenadas ``coords``, identificada por la dirección ``neighbor``. Este método tiene en cuenta los diferentes diseños que puede tener un TileMap. .. rst-class:: classref-item-separator @@ -675,7 +675,7 @@ Returns the neighboring cell to the one at coordinates ``coords``, identified by Crea un nuevo :ref:`TileMapPattern` a partir de la capa y el conjunto de celdas indicados. -Si ``capa`` es negativo, se accede a las capas desde la última. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -687,7 +687,7 @@ Si ``capa`` es negativo, se accede a las capas desde la última. :ref:`Array`\[:ref:`Vector2i`\] **get_surrounding_cells**\ (\ coords\: :ref:`Vector2i`\ ) :ref:`🔗` -Returns the list of all neighbourings cells to the one at ``coords``. +Devuelve la lista de todas las celdas vecinas a la que se encuentra en ``coords``. .. rst-class:: classref-item-separator @@ -699,9 +699,9 @@ Returns the list of all neighbourings cells to the one at ``coords``. :ref:`Array`\[:ref:`Vector2i`\] **get_used_cells**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a :ref:`Vector2i` array with the positions of all cells containing a tile in the given layer. A cell is considered empty if its source identifier equals -1, its atlas coordinates identifiers is ``Vector2(-1, -1)`` and its alternative identifier is -1. +Devuelve un array :ref:`Vector2i` con las posiciones de todas las celdas que contienen un tile en la capa dada. Se considera que una celda está vacía si su identificador de fuente es igual a -1, sus identificadores de coordenadas del atlas son ``Vector2(-1, -1)`` y su identificador alternativo es -1. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -713,13 +713,13 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`Array`\[:ref:`Vector2i`\] **get_used_cells_by_id**\ (\ layer\: :ref:`int`, source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns a :ref:`Vector2i` array with the positions of all cells containing a tile in the given layer. Tiles may be filtered according to their source (``source_id``), their atlas coordinates (``atlas_coords``) or alternative id (``alternative_tile``). +Devuelve un array de :ref:`Vector2i` con las posiciones de todas las celdas que contienen un tile en la capa dada. Los tiles pueden filtrarse según su fuente (``source_id``), sus coordenadas de atlas (``atlas_coords``) o su ID alternativo (``alternative_tile``). -If a parameter has its value set to the default one, this parameter is not used to filter a cell. Thus, if all parameters have their respective default value, this method returns the same result as :ref:`get_used_cells()`. +Si un parámetro tiene su valor establecido en el valor predeterminado, este parámetro no se utiliza para filtrar una celda. Por lo tanto, si todos los parámetros tienen su respectivo valor predeterminado, este método devuelve el mismo resultado que :ref:`get_used_cells()`. -A cell is considered empty if its source identifier equals -1, its atlas coordinates identifiers is ``Vector2(-1, -1)`` and its alternative identifier is -1. +Se considera que una celda está vacía si su identificador de fuente es igual a -1, su identificador de coordenadas de atlas es ``Vector2(-1, -1)`` y su identificador alternativo es -1. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -731,7 +731,7 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`Rect2i` **get_used_rect**\ (\ ) |const| :ref:`🔗` -Returns a rectangle enclosing the used (non-empty) tiles of the map, including all layers. +Devuelve un rectángulo que encierra los tiles usados (no vacíos) del mapa, incluyendo todas las capas. .. rst-class:: classref-item-separator @@ -743,7 +743,7 @@ Returns a rectangle enclosing the used (non-empty) tiles of the map, including a :ref:`bool` **is_cell_flipped_h**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is flipped horizontally. The result is valid only for atlas sources. +Devuelve ``true`` si la celda en la capa ``layer`` en las coordenadas ``coords`` se invierte horizontalmente. El resultado solo es válido para fuentes de atlas. .. rst-class:: classref-item-separator @@ -755,7 +755,7 @@ Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is fli :ref:`bool` **is_cell_flipped_v**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is flipped vertically. The result is valid only for atlas sources. +Devuelve ``true`` si la celda en la capa ``layer`` en las coordenadas ``coords`` se invierte verticalmente. El resultado solo es válido para fuentes de atlas. .. rst-class:: classref-item-separator @@ -767,7 +767,7 @@ Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is fli :ref:`bool` **is_cell_transposed**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, use_proxies\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is transposed. The result is valid only for atlas sources. +Devuelve ``true`` si la celda en la capa ``layer`` en las coordenadas ``coords`` está transpuesta. El resultado solo es válido para fuentes de atlas. .. rst-class:: classref-item-separator @@ -779,9 +779,9 @@ Returns ``true`` if the cell on layer ``layer`` at coordinates ``coords`` is tra :ref:`bool` **is_layer_enabled**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns if a layer is enabled. +Devuelve si una capa está habilitada. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -793,7 +793,7 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`bool` **is_layer_navigation_enabled**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns if a layer's built-in navigation regions generation is enabled. +Devuelve si la generación de regiones de navegación incorporada de una capa está habilitada. .. rst-class:: classref-item-separator @@ -805,9 +805,9 @@ Returns if a layer's built-in navigation regions generation is enabled. :ref:`bool` **is_layer_y_sort_enabled**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns if a layer Y-sorts its tiles. +Devuelve si una capa ordena sus tiles en el eje Y. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -819,7 +819,7 @@ If ``layer`` is negative, the layers are accessed from the last one. :ref:`Vector2i` **local_to_map**\ (\ local_position\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns the map coordinates of the cell containing the given ``local_position``. If ``local_position`` is in global coordinates, consider using :ref:`Node2D.to_local()` before passing it to this method. See also :ref:`map_to_local()`. +Devuelve las coordenadas del mapa de la celda que contiene la ``local_position`` dada. Si ``local_position`` está en coordenadas globales, considera usar :ref:`Node2D.to_local()` antes de pasarla a este método. Véase también :ref:`map_to_local()`. .. rst-class:: classref-item-separator @@ -831,7 +831,7 @@ Returns the map coordinates of the cell containing the given ``local_position``. :ref:`Vector2i` **map_pattern**\ (\ position_in_tilemap\: :ref:`Vector2i`, coords_in_pattern\: :ref:`Vector2i`, pattern\: :ref:`TileMapPattern`\ ) :ref:`🔗` -Returns for the given coordinate ``coords_in_pattern`` in a :ref:`TileMapPattern` the corresponding cell coordinates if the pattern was pasted at the ``position_in_tilemap`` coordinates (see :ref:`set_pattern()`). This mapping is required as in half-offset tile shapes, the mapping might not work by calculating ``position_in_tile_map + coords_in_pattern``. +Devuelve para la coordenada dada ``coords_in_pattern`` en un :ref:`TileMapPattern` las coordenadas de celda correspondientes si el patrón se pegó en las coordenadas ``position_in_tilemap`` (ver :ref:`set_pattern()`). Esta asignación es necesaria ya que en las formas de tile de medio desplazamiento, la asignación podría no funcionar calculando ``position_in_tile_map + coords_in_pattern``. .. rst-class:: classref-item-separator @@ -843,9 +843,9 @@ Returns for the given coordinate ``coords_in_pattern`` in a :ref:`TileMapPattern :ref:`Vector2` **map_to_local**\ (\ map_position\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the centered position of a cell in the TileMap's local coordinate space. To convert the returned value into global coordinates, use :ref:`Node2D.to_global()`. See also :ref:`local_to_map()`. +Devuelve la posición centrada de una celda en el espacio de coordenadas local del TileMap. Para convertir el valor devuelto en coordenadas globales, usa :ref:`Node2D.to_global()`. Véase también :ref:`local_to_map()`. -\ **Note:** This may not correspond to the visual position of the tile, i.e. it ignores the :ref:`TileData.texture_origin` property of individual tiles. +\ **Nota:** Esto puede no corresponder a la posición visual del tile, es decir, ignora la propiedad :ref:`TileData.texture_origin` de los tiles individuales. .. rst-class:: classref-item-separator @@ -857,7 +857,7 @@ Returns the centered position of a cell in the TileMap's local coordinate space. |void| **move_layer**\ (\ layer\: :ref:`int`, to_position\: :ref:`int`\ ) :ref:`🔗` -Moves the layer at index ``layer`` to the given position ``to_position`` in the array. +Mueve la capa en el índice ``layer`` a la posición dada ``to_position`` en el array. .. rst-class:: classref-item-separator @@ -869,13 +869,13 @@ Moves the layer at index ``layer`` to the given position ``to_position`` in the |void| **notify_runtime_tile_data_update**\ (\ layer\: :ref:`int` = -1\ ) :ref:`🔗` -Notifies the TileMap node that calls to :ref:`_use_tile_data_runtime_update()` or :ref:`_tile_data_runtime_update()` will lead to different results. This will thus trigger a TileMap update. +Notifica al nodo TileMap que las llamadas a :ref:`_use_tile_data_runtime_update()` o :ref:`_tile_data_runtime_update()` conducirán a resultados diferentes. Esto, por lo tanto, activará una actualización de TileMap. -If ``layer`` is provided, only notifies changes for the given layer. Providing the ``layer`` argument (when applicable) is usually preferred for performance reasons. +Si se proporciona ``layer``, solo notifica los cambios para la capa dada. Proporcionar el argumento ``layer`` (cuando corresponda) suele ser preferible por razones de rendimiento. -\ **Warning:** Updating the TileMap is computationally expensive and may impact performance. Try to limit the number of calls to this function to avoid unnecessary update. +\ **Advertencia:** La actualización del TileMap es computacionalmente costosa y puede afectar el rendimiento. Intenta limitar el número de llamadas a esta función para evitar actualizaciones innecesarias. -\ **Note:** This does not trigger a direct update of the TileMap, the update will be done at the end of the frame as usual (unless you call :ref:`update_internals()`). +\ **Nota:** Esto no activa una actualización directa del TileMap, la actualización se realizará al final del fotograma como de costumbre (a menos que llames a :ref:`update_internals()`). .. rst-class:: classref-item-separator @@ -887,7 +887,7 @@ If ``layer`` is provided, only notifies changes for the given layer. Providing t |void| **remove_layer**\ (\ layer\: :ref:`int`\ ) :ref:`🔗` -Removes the layer at index ``layer``. +Elimina la capa en el índice ``layer``. .. rst-class:: classref-item-separator @@ -899,17 +899,17 @@ Removes the layer at index ``layer``. |void| **set_cell**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`, source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = 0\ ) :ref:`🔗` -Sets the tile identifiers for the cell on layer ``layer`` at coordinates ``coords``. Each tile of the :ref:`TileSet` is identified using three parts: +Establece los identificadores de tile para la celda en la capa ``layer`` en las coordenadas ``coords``. Cada tile del :ref:`TileSet` se identifica mediante tres partes: -- The source identifier ``source_id`` identifies a :ref:`TileSetSource` identifier. See :ref:`TileSet.set_source_id()`, +- El identificador de origen ``source_id`` identifica un identificador :ref:`TileSetSource`. Véase :ref:`TileSet.set_source_id()`, -- The atlas coordinates identifier ``atlas_coords`` identifies a tile coordinates in the atlas (if the source is a :ref:`TileSetAtlasSource`). For :ref:`TileSetScenesCollectionSource` it should always be ``Vector2i(0, 0)``), +- El identificador de las coordenadas del atlas ``atlas_coords`` identifica las coordenadas de un tile en el atlas (si el origen es un :ref:`TileSetAtlasSource`). Para :ref:`TileSetScenesCollectionSource` siempre debe ser ``Vector2i(0, 0)``, -- The alternative tile identifier ``alternative_tile`` identifies a tile alternative in the atlas (if the source is a :ref:`TileSetAtlasSource`), and the scene for a :ref:`TileSetScenesCollectionSource`. +- El identificador de tile alternativo ``alternative_tile`` identifica un tile alternativo en el atlas (si el origen es un :ref:`TileSetAtlasSource`), y la escena para un :ref:`TileSetScenesCollectionSource`. -If ``source_id`` is set to ``-1``, ``atlas_coords`` to ``Vector2i(-1, -1)`` or ``alternative_tile`` to ``-1``, the cell will be erased. An erased cell gets **all** its identifiers automatically set to their respective invalid values, namely ``-1``, ``Vector2i(-1, -1)`` and ``-1``. +Si ``source_id`` se establece en ``-1``, ``atlas_coords`` en ``Vector2i(-1, -1)`` o ``alternative_tile`` en ``-1``, la celda se borrará. Una celda borrada obtiene **todos** sus identificadores automáticamente establecidos en sus respectivos valores no válidos, a saber, ``-1``, ``Vector2i(-1, -1)`` y ``-1``. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -921,13 +921,13 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_cells_terrain_connect**\ (\ layer\: :ref:`int`, cells\: :ref:`Array`\[:ref:`Vector2i`\], terrain_set\: :ref:`int`, terrain\: :ref:`int`, ignore_empty_terrains\: :ref:`bool` = true\ ) :ref:`🔗` -Update all the cells in the ``cells`` coordinates array so that they use the given ``terrain`` for the given ``terrain_set``. If an updated cell has the same terrain as one of its neighboring cells, this function tries to join the two. This function might update neighboring tiles if needed to create correct terrain transitions. +Actualiza todas las celdas en el array de coordenadas ``cells`` para que utilicen el ``terrain`` dado para el ``terrain_set`` dado. Si una celda actualizada tiene el mismo terreno que una de sus celdas vecinas, esta función intenta unir las dos. Esta función podría actualizar los tiles vecinos si es necesario para crear transiciones de terreno correctas. -If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints. +Si ``ignore_empty_terrains`` es ``true``, los terrenos vacíos se ignorarán al intentar encontrar el tile que mejor se adapte a las restricciones de terreno dadas. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. -\ **Note:** To work correctly, this method requires the TileMap's TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results. +\ **Nota:** Para que funcione correctamente, este método requiere que el TileSet de TileMap tenga terrenos configurados con todas las combinaciones de terreno necesarias. De lo contrario, puede producir resultados inesperados. .. rst-class:: classref-item-separator @@ -939,13 +939,13 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_cells_terrain_path**\ (\ layer\: :ref:`int`, path\: :ref:`Array`\[:ref:`Vector2i`\], terrain_set\: :ref:`int`, terrain\: :ref:`int`, ignore_empty_terrains\: :ref:`bool` = true\ ) :ref:`🔗` -Update all the cells in the ``path`` coordinates array so that they use the given ``terrain`` for the given ``terrain_set``. The function will also connect two successive cell in the path with the same terrain. This function might update neighboring tiles if needed to create correct terrain transitions. +Actualiza todas las celdas en el array de coordenadas ``path`` para que utilicen el ``terrain`` dado para el ``terrain_set`` dado. La función también conectará dos celdas sucesivas en la ruta con el mismo terreno. Esta función podría actualizar los tiles vecinos si es necesario para crear transiciones de terreno correctas. -If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints. +Si ``ignore_empty_terrains`` es ``true``, los terrenos vacíos se ignorarán al intentar encontrar el tile que mejor se adapte a las restricciones de terreno dadas. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. -\ **Note:** To work correctly, this method requires the TileMap's TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results. +\ **Nota:** Para que funcione correctamente, este método requiere que el TileSet de TileMap tenga terrenos configurados con todas las combinaciones de terreno necesarias. De lo contrario, puede producir resultados inesperados. .. rst-class:: classref-item-separator @@ -957,9 +957,9 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_enabled**\ (\ layer\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Enables or disables the layer ``layer``. A disabled layer is not processed at all (no rendering, no physics, etc.). +Habilita o deshabilita la capa ``layer``. Una capa deshabilitada no se procesa en absoluto (ni renderizado, ni física, etc.). -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -971,9 +971,9 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_modulate**\ (\ layer\: :ref:`int`, modulate\: :ref:`Color`\ ) :ref:`🔗` -Sets a layer's color. It will be multiplied by tile's color and TileMap's modulate. +Establece el color de una capa. Se multiplicará por el color del tile y el modulate del TileMap. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -985,9 +985,9 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_name**\ (\ layer\: :ref:`int`, name\: :ref:`String`\ ) :ref:`🔗` -Sets a layer's name. This is mostly useful in the editor. +Establece el nombre de una capa. Esto es principalmente útil en el editor. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -999,7 +999,7 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_navigation_enabled**\ (\ layer\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Enables or disables a layer's built-in navigation regions generation. Disable this if you need to bake navigation regions from a TileMap using a :ref:`NavigationRegion2D` node. +Habilita o deshabilita la generación de regiones de navegación incorporada de una capa. Desactiva esto si necesitas procesar regiones de navegación desde un TileMap usando un nodo :ref:`NavigationRegion2D`. .. rst-class:: classref-item-separator @@ -1011,13 +1011,13 @@ Enables or disables a layer's built-in navigation regions generation. Disable th |void| **set_layer_navigation_map**\ (\ layer\: :ref:`int`, map\: :ref:`RID`\ ) :ref:`🔗` -Assigns ``map`` as a :ref:`NavigationServer2D` navigation map for the specified TileMap layer ``layer``. +Asigna ``map`` como un mapa de navegación :ref:`NavigationServer2D` para la capa ``layer`` del TileMap especificado. -By default the TileMap uses the default :ref:`World2D` navigation map for the first TileMap layer. For each additional TileMap layer a new navigation map is created for the additional layer. +Por defecto, el TileMap utiliza el mapa de navegación :ref:`World2D` por defecto para la primera capa del TileMap. Para cada capa adicional del TileMap, se crea un nuevo mapa de navegación para la capa adicional. -In order to make :ref:`NavigationAgent2D` switch between TileMap layer navigation maps use :ref:`NavigationAgent2D.set_navigation_map()` with the navigation map received from :ref:`get_layer_navigation_map()`. +Para hacer que :ref:`NavigationAgent2D` cambie entre los mapas de navegación de las capas del TileMap, utiliza :ref:`NavigationAgent2D.set_navigation_map()` con el mapa de navegación recibido de :ref:`get_layer_navigation_map()`. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -1029,11 +1029,11 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_y_sort_enabled**\ (\ layer\: :ref:`int`, y_sort_enabled\: :ref:`bool`\ ) :ref:`🔗` -Enables or disables a layer's Y-sorting. If a layer is Y-sorted, the layer will behave as a CanvasItem node where each of its tile gets Y-sorted. +Habilita o deshabilita el ordenamiento Y de una capa. Si una capa está ordenada en Y, la capa se comportará como un nodo CanvasItem donde cada uno de sus tiles se ordena en Y. -Y-sorted layers should usually be on different Z-index values than not Y-sorted layers, otherwise, each of those layer will be Y-sorted as whole with the Y-sorted one. This is usually an undesired behavior. +Las capas ordenadas en Y generalmente deben tener diferentes valores de índice Z que las capas no ordenadas en Y, de lo contrario, cada una de esas capas se ordenará en Y como un todo con la ordenada en Y. Este es generalmente un comportamiento no deseado. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -1045,11 +1045,11 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_y_sort_origin**\ (\ layer\: :ref:`int`, y_sort_origin\: :ref:`int`\ ) :ref:`🔗` -Sets a layer's Y-sort origin value. This Y-sort origin value is added to each tile's Y-sort origin value. +Establece el valor de origen de ordenamiento Y de una capa. Este valor de origen de ordenamiento Y se agrega al valor de origen de ordenamiento Y de cada tile. -This allows, for example, to fake a different height level on each layer. This can be useful for top-down view games. +Esto permite, por ejemplo, simular un nivel de altura diferente en cada capa. Esto puede ser útil para juegos con vista desde arriba. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -1061,9 +1061,9 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **set_layer_z_index**\ (\ layer\: :ref:`int`, z_index\: :ref:`int`\ ) :ref:`🔗` -Sets a layers Z-index value. This Z-index is added to each tile's Z-index value. +Establece el valor del índice Z de una capa. Este índice Z se agrega al valor del índice Z de cada tile. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -1077,7 +1077,7 @@ If ``layer`` is negative, the layers are accessed from the last one. **Obsoleto:** Use :ref:`set_layer_navigation_map()` instead. -Assigns ``map`` as a :ref:`NavigationServer2D` navigation map for the specified TileMap layer ``layer``. +Asigna ``map`` como un mapa de navegación :ref:`NavigationServer2D` para la capa ``layer`` del TileMap especificado. .. rst-class:: classref-item-separator @@ -1089,9 +1089,9 @@ Assigns ``map`` as a :ref:`NavigationServer2D` navigat |void| **set_pattern**\ (\ layer\: :ref:`int`, position\: :ref:`Vector2i`, pattern\: :ref:`TileMapPattern`\ ) :ref:`🔗` -Paste the given :ref:`TileMapPattern` at the given ``position`` and ``layer`` in the tile map. +Pega el :ref:`TileMapPattern` dado en la ``position`` y ``layer`` dadas en el mapa de tiles. -If ``layer`` is negative, the layers are accessed from the last one. +Si ``layer`` es negativo, se accede a las capas desde la última. .. rst-class:: classref-item-separator @@ -1103,11 +1103,11 @@ If ``layer`` is negative, the layers are accessed from the last one. |void| **update_internals**\ (\ ) :ref:`🔗` -Triggers a direct update of the TileMap. Usually, calling this function is not needed, as TileMap node updates automatically when one of its properties or cells is modified. +Activa una actualización directa del TileMap. Por lo general, no es necesario llamar a esta función, ya que el nodo TileMap se actualiza automáticamente cuando se modifica una de sus propiedades o celdas. -However, for performance reasons, those updates are batched and delayed to the end of the frame. Calling this function will force the TileMap to update right away instead. +Sin embargo, por razones de rendimiento, esas actualizaciones se procesan por lotes y se retrasan hasta el final del fotograma. Llamar a esta función forzará al TileMap a actualizarse de inmediato. -\ **Warning:** Updating the TileMap is computationally expensive and may impact performance. Try to limit the number of updates and how many tiles they impact. +\ **Advertencia:** La actualización del TileMap es computacionalmente costosa y puede afectar el rendimiento. Intenta limitar el número de actualizaciones y cuántos tiles impactan. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_tilemaplayer.rst b/classes/es/class_tilemaplayer.rst index 29fca36604..f1c46b1ca2 100644 --- a/classes/es/class_tilemaplayer.rst +++ b/classes/es/class_tilemaplayer.rst @@ -14,13 +14,13 @@ Nodo para mapas basados en tiles 2D. Descripción ---------------------- -Node for 2D tile-based maps. A **TileMapLayer** uses a :ref:`TileSet` which contain a list of tiles which are used to create grid-based maps. Unlike the :ref:`TileMap` node, which is deprecated, **TileMapLayer** has only one layer of tiles. You can use several **TileMapLayer** to achieve the same result as a :ref:`TileMap` node. +Nodo para mapas 2D basados en tiles. Un **TileMapLayer** utiliza un :ref:`TileSet` que contiene una lista de tiles que se utilizan para crear mapas basados en cuadrículas. A diferencia del nodo :ref:`TileMap`, que está obsoleto, **TileMapLayer** tiene solo una capa de tiles. Puedes usar varios **TileMapLayer** para lograr el mismo resultado que un nodo :ref:`TileMap`. -For performance reasons, all TileMap updates are batched at the end of a frame. Notably, this means that scene tiles from a :ref:`TileSetScenesCollectionSource` are initialized after their parent. This is only queued when inside the scene tree. +Por razones de rendimiento, todas las actualizaciones de TileMap se procesan por lotes al final de un fotograma. En particular, esto significa que los tiles de escena de un :ref:`TileSetScenesCollectionSource` se inicializan después de su padre. Esto solo se pone en cola cuando está dentro del árbol de escena. -To force an update earlier on, call :ref:`update_internals()`. +Para forzar una actualización antes, llama a :ref:`update_internals()`. -\ **Note:** For performance and compatibility reasons, the coordinates serialized by **TileMapLayer** are limited to 16-bit signed integers, i.e. the range for X and Y coordinates is from ``-32768`` to ``32767``. When saving tile data, tiles outside this range are wrapped. +\ **Nota:** Por razones de rendimiento y compatibilidad, las coordenadas serializadas por **TileMapLayer** están limitadas a enteros firmados de 16 bits, es decir, el rango para las coordenadas X e Y es de ``-32768`` a ``32767``. Al guardar datos de tiles, los tiles fuera de este rango se ajustan. .. rst-class:: classref-introduction-group @@ -35,13 +35,13 @@ Tutoriales - `Demo Hexagonal en 2D `__ -- `2D Grid-based Navigation with AStarGrid2D Demo `__ +- `Demo de navegación 2D basada en cuadrícula con AStarGrid2D `__ - `2D Role Playing Game (RPG) Demo `__ - `Demo de Personaje Cinemático en 2D `__ -- `2D Dynamic TileMap Layers Demo `__ +- `Demo de capas dinámicas de TileMap 2D `__ .. rst-class:: classref-reftable-group @@ -168,9 +168,9 @@ Señales **changed**\ (\ ) :ref:`🔗` -Emitted when this **TileMapLayer**'s properties changes. This includes modified cells, properties, or changes made to its assigned :ref:`TileSet`. +Se emite cuando cambian las propiedades de este **TileMapLayer**. Esto incluye celdas modificadas, propiedades o cambios realizados en su :ref:`TileSet` asignado. -\ **Note:** This signal may be emitted very often when batch-modifying a **TileMapLayer**. Avoid executing complex processing in a connected function, and consider delaying it to the end of the frame instead (i.e. calling :ref:`Object.call_deferred()`). +\ **Nota:** Esta señal puede emitirse muy a menudo al modificar por lotes un **TileMapLayer**. Evita ejecutar procesamiento complejo en una función conectada y considera retrasarlo hasta el final del fotograma (es decir, llamando a :ref:`Object.call_deferred()`). .. rst-class:: classref-section-separator @@ -193,7 +193,7 @@ enum **DebugVisibilityMode**: :ref:`🔗` :ref:`DebugVisibilityMode` **DEBUG_VISIBILITY_MODE_DEFAULT** = ``0`` -Hide the collisions or navigation debug shapes in the editor, and use the debug settings to determine their visibility in game (i.e. :ref:`SceneTree.debug_collisions_hint` or :ref:`SceneTree.debug_navigation_hint`). +Oculta las formas de depuración de colisiones o navegación en el editor y utiliza la configuración de depuración para determinar su visibilidad en el juego (es decir, :ref:`SceneTree.debug_collisions_hint` o :ref:`SceneTree.debug_navigation_hint`). .. _class_TileMapLayer_constant_DEBUG_VISIBILITY_MODE_FORCE_HIDE: @@ -201,7 +201,7 @@ Hide the collisions or navigation debug shapes in the editor, and use the debug :ref:`DebugVisibilityMode` **DEBUG_VISIBILITY_MODE_FORCE_HIDE** = ``2`` -Always hide the collisions or navigation debug shapes. +Siempre oculta las formas de depuración de colisiones o navegación. .. _class_TileMapLayer_constant_DEBUG_VISIBILITY_MODE_FORCE_SHOW: @@ -209,7 +209,7 @@ Always hide the collisions or navigation debug shapes. :ref:`DebugVisibilityMode` **DEBUG_VISIBILITY_MODE_FORCE_SHOW** = ``1`` -Always show the collisions or navigation debug shapes. +Siempre muestra las formas de depuración de colisiones o navegación. .. rst-class:: classref-section-separator @@ -248,7 +248,7 @@ Activa o desactiva las colisiones. - |void| **set_collision_visibility_mode**\ (\ value\: :ref:`DebugVisibilityMode`\ ) - :ref:`DebugVisibilityMode` **get_collision_visibility_mode**\ (\ ) -Show or hide the **TileMapLayer**'s collision shapes. If set to :ref:`DEBUG_VISIBILITY_MODE_DEFAULT`, this depends on the show collision debug settings. +Muestra u oculta las formas de colisión del **TileMapLayer**. Si se establece en :ref:`DEBUG_VISIBILITY_MODE_DEFAULT`, esto depende de la configuración de depuración de visualización de colisiones. .. rst-class:: classref-item-separator @@ -265,7 +265,7 @@ Show or hide the **TileMapLayer**'s collision shapes. If set to :ref:`DEBUG_VISI - |void| **set_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_enabled**\ (\ ) -If ``false``, disables this **TileMapLayer** completely (rendering, collision, navigation, scene tiles, etc.) +Si es ``false``, deshabilita este **TileMapLayer** por completo (renderizado, colisión, navegación, tiles de escena, etc.). .. rst-class:: classref-item-separator @@ -282,7 +282,7 @@ If ``false``, disables this **TileMapLayer** completely (rendering, collision, n - |void| **set_navigation_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_navigation_enabled**\ (\ ) -If ``true``, navigation regions are enabled. +Si es ``true``, las regiones de navegación están habilitadas. .. rst-class:: classref-item-separator @@ -299,7 +299,7 @@ If ``true``, navigation regions are enabled. - |void| **set_navigation_visibility_mode**\ (\ value\: :ref:`DebugVisibilityMode`\ ) - :ref:`DebugVisibilityMode` **get_navigation_visibility_mode**\ (\ ) -Show or hide the **TileMapLayer**'s navigation meshes. If set to :ref:`DEBUG_VISIBILITY_MODE_DEFAULT`, this depends on the show navigation debug settings. +Muestra u oculta las mallas de navegación del **TileMapLayer**. Si se establece en :ref:`DEBUG_VISIBILITY_MODE_DEFAULT`, esto depende de la configuración de depuración de visualización de navegación. .. rst-class:: classref-item-separator @@ -333,11 +333,11 @@ Habilitar o deshabilitar la oclusión de luz. - |void| **set_physics_quadrant_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_physics_quadrant_size**\ (\ ) -The **TileMapLayer**'s physics quadrant size. Within a physics quadrant, cells with similar physics properties are grouped together and their collision shapes get merged. :ref:`physics_quadrant_size` defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quadrant size groups together ``16 * 16 = 256`` tiles. +El tamaño del cuadrante de física de **TileMapLayer**. Dentro de un cuadrante de física, las celdas con propiedades físicas similares se agrupan y sus formas de colisión se fusionan. :ref:`physics_quadrant_size` define la longitud del lado de un cuadrado, en el sistema de coordenadas del mapa, que forma el cuadrante. Por lo tanto, el tamaño de cuadrante predeterminado agrupa juntos ``16 * 16 = 256`` tiles. -\ **Note:** As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the **TileMapLayer**'s local coordinate system. +\ **Nota:** Como los cuadrantes se crean de acuerdo con el sistema de coordenadas del mapa, la "forma cuadrada" del cuadrante podría no parecerse a un cuadrado en el sistema de coordenadas local de **TileMapLayer**. -\ **Note:** This impacts the value returned by :ref:`get_coords_for_body_rid()`. +\ **Nota:** Esto afecta el valor devuelto por :ref:`get_coords_for_body_rid()`. .. rst-class:: classref-item-separator @@ -354,11 +354,11 @@ The **TileMapLayer**'s physics quadrant size. Within a physics quadrant, cells w - |void| **set_rendering_quadrant_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_rendering_quadrant_size**\ (\ ) -The **TileMapLayer**'s rendering quadrant size. A quadrant is a group of tiles to be drawn together on a single canvas item, for optimization purposes. :ref:`rendering_quadrant_size` defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quadrant size groups together ``16 * 16 = 256`` tiles. +El tamaño del cuadrante de renderizado del **TileMapLayer**. Un cuadrante es un grupo de tiles que se dibujan juntos en un solo elemento de lienzo, con fines de optimización. :ref:`rendering_quadrant_size` define la longitud del lado de un cuadrado, en el sistema de coordenadas del mapa, que forma el cuadrante. Por lo tanto, el tamaño de cuadrante predeterminado agrupa juntos ``16 * 16 = 256`` tiles. -The quadrant size does not apply on a Y-sorted **TileMapLayer**, as tiles are grouped by Y position instead in that case. +El tamaño del cuadrante no se aplica en un **TileMapLayer** ordenado por Y, ya que los tiles se agrupan por posición Y en ese caso. -\ **Note:** As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the **TileMapLayer**'s local coordinate system. +\ **Nota:** Como los cuadrantes se crean de acuerdo con el sistema de coordenadas del mapa, la "forma cuadrada" del cuadrante podría no parecerse a un cuadrado en el sistema de coordenadas local de **TileMapLayer**. .. rst-class:: classref-item-separator @@ -375,7 +375,7 @@ The quadrant size does not apply on a Y-sorted **TileMapLayer**, as tiles are gr - |void| **set_tile_map_data_from_array**\ (\ value\: :ref:`PackedByteArray`\ ) - :ref:`PackedByteArray` **get_tile_map_data_as_array**\ (\ ) -The raw tile map data as a byte array. +Los datos del mapa de tiles sin procesar como un array de bytes. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedByteArray` for more details. @@ -394,7 +394,7 @@ The raw tile map data as a byte array. - |void| **set_tile_set**\ (\ value\: :ref:`TileSet`\ ) - :ref:`TileSet` **get_tile_set**\ (\ ) -The :ref:`TileSet` used by this layer. The textures, collisions, and additional behavior of all available tiles are stored here. +El :ref:`TileSet` utilizado por esta capa. Las texturas, colisiones y el comportamiento adicional de todos los tiles disponibles se almacenan aquí. .. rst-class:: classref-item-separator @@ -411,7 +411,7 @@ The :ref:`TileSet` used by this layer. The textures, collisions, - |void| **set_use_kinematic_bodies**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_using_kinematic_bodies**\ (\ ) -If ``true``, this **TileMapLayer** collision shapes will be instantiated as kinematic bodies. This can be needed for moving **TileMapLayer** nodes (i.e. moving platforms). +Si es ``true``, las formas de colisión de este **TileMapLayer** se instanciarán como cuerpos cinemáticos. Esto puede ser necesario para mover nodos **TileMapLayer** (es decir, plataformas móviles). .. rst-class:: classref-item-separator @@ -428,7 +428,7 @@ If ``true``, this **TileMapLayer** collision shapes will be instantiated as kine - |void| **set_x_draw_order_reversed**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_x_draw_order_reversed**\ (\ ) -If :ref:`CanvasItem.y_sort_enabled` is enabled, setting this to ``true`` will reverse the order the tiles are drawn on the X-axis. +Si :ref:`CanvasItem.y_sort_enabled` está habilitado, establecer esto en ``true`` invertirá el orden en que se dibujan los tiles en el eje X. .. rst-class:: classref-item-separator @@ -445,7 +445,7 @@ If :ref:`CanvasItem.y_sort_enabled` is - |void| **set_y_sort_origin**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_y_sort_origin**\ (\ ) -This Y-sort origin value is added to each tile's Y-sort origin value. This allows, for example, to fake a different height level. This can be useful for top-down view games. +Este valor de origen de ordenación Y se agrega al valor de origen de ordenación Y de cada tile. Esto permite, por ejemplo, simular un nivel de altura diferente. Esto puede ser útil para juegos de vista superior. .. rst-class:: classref-section-separator @@ -462,13 +462,13 @@ Descripciones de Métodos |void| **_tile_data_runtime_update**\ (\ coords\: :ref:`Vector2i`, tile_data\: :ref:`TileData`\ ) |virtual| :ref:`🔗` -Called with a :ref:`TileData` object about to be used internally by the **TileMapLayer**, allowing its modification at runtime. +Se llama con un objeto :ref:`TileData` que está a punto de ser utilizado internamente por el **TileMapLayer**, lo que permite su modificación en tiempo de ejecución. -This method is only called if :ref:`_use_tile_data_runtime_update()` is implemented and returns ``true`` for the given tile ``coords``. +Este método solo se llama si :ref:`_use_tile_data_runtime_update()` está implementado y devuelve ``true`` para el ``coords`` del tile dado. -\ **Warning:** The ``tile_data`` object's sub-resources are the same as the one in the TileSet. Modifying them might impact the whole TileSet. Instead, make sure to duplicate those resources. +\ **Advertencia:** Los subrecursos del objeto ``tile_data`` son los mismos que los del TileSet. Modificarlos podría afectar a todo el TileSet. En su lugar, asegúrate de duplicar esos recursos. -\ **Note:** If the properties of ``tile_data`` object should change over time, use :ref:`notify_runtime_tile_data_update()` to notify the **TileMapLayer** it needs an update. +\ **Nota:** Si las propiedades del objeto ``tile_data`` deben cambiar con el tiempo, usa :ref:`notify_runtime_tile_data_update()` para notificar al **TileMapLayer** que necesita una actualización. .. rst-class:: classref-item-separator @@ -480,21 +480,21 @@ This method is only called if :ref:`_use_tile_data_runtime_update()`\[:ref:`Vector2i`\], forced_cleanup\: :ref:`bool`\ ) |virtual| :ref:`🔗` -Called when this **TileMapLayer**'s cells need an internal update. This update may be caused from individual cells being modified or by a change in the :ref:`tile_set` (causing all cells to be queued for an update). The first call to this function is always for initializing all the **TileMapLayer**'s cells. ``coords`` contains the coordinates of all modified cells, roughly in the order they were modified. ``forced_cleanup`` is ``true`` when the **TileMapLayer**'s internals should be fully cleaned up. This is the case when: +Se llama cuando las celdas de este **TileMapLayer** necesitan una actualización interna. Esta actualización puede deberse a que las celdas individuales se están modificando o a un cambio en el :ref:`tile_set` (lo que hace que todas las celdas se pongan en cola para una actualización). La primera llamada a esta función es siempre para inicializar todas las celdas del **TileMapLayer**. ``coords`` contiene las coordenadas de todas las celdas modificadas, aproximadamente en el orden en que fueron modificadas. ``forced_cleanup`` es ``true`` cuando los internos del **TileMapLayer** deben limpiarse por completo. Este es el caso cuando: -- The layer is disabled; +- La capa está deshabilitada; -- The layer is not visible; +- La capa no es visible; -- :ref:`tile_set` is set to ``null``; +- :ref:`tile_set` está establecido en ``null``; -- The node is removed from the tree; +- El nodo se elimina del árbol; -- The node is freed. +- El nodo se libera. -Note that any internal update happening while one of these conditions is verified is considered to be a "cleanup". See also :ref:`update_internals()`. +Ten en cuenta que cualquier actualización interna que ocurra mientras se verifica una de estas condiciones se considera una "limpieza". Véase también :ref:`update_internals()`. -\ **Warning:** Implementing this method may degrade the **TileMapLayer**'s performance. +\ **Advertencia:** La implementación de este método puede degradar el rendimiento del **TileMapLayer**. .. rst-class:: classref-item-separator @@ -506,11 +506,11 @@ Note that any internal update happening while one of these conditions is verifie :ref:`bool` **_use_tile_data_runtime_update**\ (\ coords\: :ref:`Vector2i`\ ) |virtual| :ref:`🔗` -Should return ``true`` if the tile at coordinates ``coords`` requires a runtime update. +Debería devolver ``true`` si el tile en las coordenadas ``coords`` requiere una actualización en tiempo de ejecución. -\ **Warning:** Make sure this function only returns ``true`` when needed. Any tile processed at runtime without a need for it will imply a significant performance penalty. +\ **Advertencia:** Asegúrate de que esta función solo devuelva ``true`` cuando sea necesario. Cualquier tile procesado en tiempo de ejecución sin necesidad de ello implicará una penalización significativa en el rendimiento. -\ **Note:** If the result of this function should change, use :ref:`notify_runtime_tile_data_update()` to notify the **TileMapLayer** it needs an update. +\ **Nota:** Si el resultado de esta función debe cambiar, usa :ref:`notify_runtime_tile_data_update()` para notificar al **TileMapLayer** que necesita una actualización. .. rst-class:: classref-item-separator @@ -534,7 +534,7 @@ Limpia todas las celdas. |void| **erase_cell**\ (\ coords\: :ref:`Vector2i`\ ) :ref:`🔗` -Erases the cell at coordinates ``coords``. +Borra la celda en las coordenadas ``coords``. .. rst-class:: classref-item-separator @@ -546,7 +546,7 @@ Erases the cell at coordinates ``coords``. |void| **fix_invalid_tiles**\ (\ ) :ref:`🔗` -Clears cells containing tiles that do not exist in the :ref:`tile_set`. +Borra las celdas que contienen tiles que no existen en el :ref:`tile_set`. .. rst-class:: classref-item-separator @@ -558,7 +558,7 @@ Clears cells containing tiles that do not exist in the :ref:`tile_set` **get_cell_alternative_tile**\ (\ coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the tile alternative ID of the cell at coordinates ``coords``. +Devuelve el ID alternativo del tile de la celda en las coordenadas ``coords``. .. rst-class:: classref-item-separator @@ -570,7 +570,7 @@ Returns the tile alternative ID of the cell at coordinates ``coords``. :ref:`Vector2i` **get_cell_atlas_coords**\ (\ coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the tile atlas coordinates ID of the cell at coordinates ``coords``. Returns ``Vector2i(-1, -1)`` if the cell does not exist. +Devuelve el ID de las coordenadas del atlas del tile de la celda en las coordenadas ``coords``. Devuelve ``Vector2i(-1, -1)`` si la celda no existe. .. rst-class:: classref-item-separator @@ -582,7 +582,7 @@ Returns the tile atlas coordinates ID of the cell at coordinates ``coords``. Ret :ref:`int` **get_cell_source_id**\ (\ coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the tile source ID of the cell at coordinates ``coords``. Returns ``-1`` if the cell does not exist. +Devuelve el ID de origen del tile de la celda en las coordenadas ``coords``. Devuelve ``-1`` si la celda no existe. .. rst-class:: classref-item-separator @@ -594,15 +594,15 @@ Returns the tile source ID of the cell at coordinates ``coords``. Returns ``-1`` :ref:`TileData` **get_cell_tile_data**\ (\ coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the :ref:`TileData` object associated with the given cell, or ``null`` if the cell does not exist or is not a :ref:`TileSetAtlasSource`. +Devuelve el objeto :ref:`TileData` asociado con la celda dada, o ``null`` si la celda no existe o no es un :ref:`TileSetAtlasSource`. :: func get_clicked_tile_power(): - var clicked_cell = tile_map_layer.local_to_map(tile_map_layer.get_local_mouse_position()) - var data = tile_map_layer.get_cell_tile_data(clicked_cell) - if data: - return data.get_custom_data("power") + var celda_pulsada = tile_map_layer.local_to_map(tile_map_layer.get_local_mouse_position()) + var datos = tile_map_layer.get_cell_tile_data(celda_pulsada) + if datos: + return datos.get_custom_data("power") else: return 0 @@ -616,7 +616,7 @@ Returns the :ref:`TileData` object associated with the given cel :ref:`Vector2i` **get_coords_for_body_rid**\ (\ body\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the coordinates of the physics quadrant (see :ref:`physics_quadrant_size`) for given physics body :ref:`RID`. Such an :ref:`RID` can be retrieved from :ref:`KinematicCollision2D.get_collider_rid()`, when colliding with a tile. +Devuelve las coordenadas del cuadrante de física (ver :ref:`physics_quadrant_size`) para el cuerpo de física :ref:`RID` dado. Dicho :ref:`RID` se puede recuperar de :ref:`KinematicCollision2D.get_collider_rid()`, al colisionar con un tile. .. rst-class:: classref-item-separator @@ -628,9 +628,9 @@ Returns the coordinates of the physics quadrant (see :ref:`physics_quadrant_size :ref:`RID` **get_navigation_map**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`RID` of the :ref:`NavigationServer2D` navigation used by this **TileMapLayer**. +Devuelve el :ref:`RID` de la navegación :ref:`NavigationServer2D` utilizada por este **TileMapLayer**. -By default this returns the default :ref:`World2D` navigation map, unless a custom map was provided using :ref:`set_navigation_map()`. +Por defecto, esto devuelve el mapa de navegación :ref:`World2D` predeterminado, a menos que se haya proporcionado un mapa personalizado usando :ref:`set_navigation_map()`. .. rst-class:: classref-item-separator @@ -642,7 +642,7 @@ By default this returns the default :ref:`World2D` navigation map :ref:`Vector2i` **get_neighbor_cell**\ (\ coords\: :ref:`Vector2i`, neighbor\: :ref:`CellNeighbor`\ ) |const| :ref:`🔗` -Returns the neighboring cell to the one at coordinates ``coords``, identified by the ``neighbor`` direction. This method takes into account the different layouts a TileMap can take. +Devuelve la celda vecina a la que se encuentra en las coordenadas ``coords``, identificada por la dirección ``neighbor``. Este método tiene en cuenta los diferentes diseños que puede tener un TileMap. .. rst-class:: classref-item-separator @@ -690,11 +690,11 @@ Devuelve un array de :ref:`Vector2i` con las posiciones de todas :ref:`Array`\[:ref:`Vector2i`\] **get_used_cells_by_id**\ (\ source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns a :ref:`Vector2i` array with the positions of all cells containing a tile. Tiles may be filtered according to their source (``source_id``), their atlas coordinates (``atlas_coords``), or alternative id (``alternative_tile``). +Devuelve un array :ref:`Vector2i` con las posiciones de todas las celdas que contienen un tile. Los tiles pueden filtrarse según su origen (``source_id``), sus coordenadas del atlas (``atlas_coords``) o el ID alternativo (``alternative_tile``). -If a parameter has its value set to the default one, this parameter is not used to filter a cell. Thus, if all parameters have their respective default values, this method returns the same result as :ref:`get_used_cells()`. +Si un parámetro tiene su valor establecido en el predeterminado, este parámetro no se utiliza para filtrar una celda. Por lo tanto, si todos los parámetros tienen sus respectivos valores predeterminados, este método devuelve el mismo resultado que :ref:`get_used_cells()`. -A cell is considered empty if its source identifier equals ``-1``, its atlas coordinate identifier is ``Vector2(-1, -1)`` and its alternative identifier is ``-1``. +Se considera que una celda está vacía si su identificador de origen es igual a ``-1``, su identificador de coordenadas del atlas es ``Vector2(-1, -1)`` y su identificador alternativo es ``-1``. .. rst-class:: classref-item-separator @@ -766,7 +766,7 @@ Devuelve ``true`` si la celda en las coordenadas ``coords`` está transpuesta. E :ref:`Vector2i` **local_to_map**\ (\ local_position\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns the map coordinates of the cell containing the given ``local_position``. If ``local_position`` is in global coordinates, consider using :ref:`Node2D.to_local()` before passing it to this method. See also :ref:`map_to_local()`. +Devuelve las coordenadas del mapa de la celda que contiene la ``local_position`` dada. Si ``local_position`` está en coordenadas globales, considera usar :ref:`Node2D.to_local()` antes de pasarla a este método. Véase también :ref:`map_to_local()`. .. rst-class:: classref-item-separator @@ -778,7 +778,7 @@ Returns the map coordinates of the cell containing the given ``local_position``. :ref:`Vector2i` **map_pattern**\ (\ position_in_tilemap\: :ref:`Vector2i`, coords_in_pattern\: :ref:`Vector2i`, pattern\: :ref:`TileMapPattern`\ ) :ref:`🔗` -Returns for the given coordinates ``coords_in_pattern`` in a :ref:`TileMapPattern` the corresponding cell coordinates if the pattern was pasted at the ``position_in_tilemap`` coordinates (see :ref:`set_pattern()`). This mapping is required as in half-offset tile shapes, the mapping might not work by calculating ``position_in_tile_map + coords_in_pattern``. +Devuelve para las coordenadas dadas ``coords_in_pattern`` en un :ref:`TileMapPattern` las coordenadas de celda correspondientes si el patrón se pegó en las coordenadas ``position_in_tilemap`` (ver :ref:`set_pattern()`). Esta asignación es necesaria ya que en las formas de tile de medio desplazamiento, la asignación podría no funcionar calculando ``position_in_tile_map + coords_in_pattern``. .. rst-class:: classref-item-separator @@ -790,9 +790,9 @@ Returns for the given coordinates ``coords_in_pattern`` in a :ref:`TileMapPatter :ref:`Vector2` **map_to_local**\ (\ map_position\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the centered position of a cell in the **TileMapLayer**'s local coordinate space. To convert the returned value into global coordinates, use :ref:`Node2D.to_global()`. See also :ref:`local_to_map()`. +Devuelve la posición centrada de una celda en el espacio de coordenadas local del **TileMapLayer**. Para convertir el valor devuelto en coordenadas globales, usa :ref:`Node2D.to_global()`. Véase también :ref:`local_to_map()`. -\ **Note:** This may not correspond to the visual position of the tile, i.e. it ignores the :ref:`TileData.texture_origin` property of individual tiles. +\ **Nota:** Esto puede no corresponder a la posición visual del tile, es decir, ignora la propiedad :ref:`TileData.texture_origin` de los tiles individuales. .. rst-class:: classref-item-separator @@ -804,11 +804,11 @@ Returns the centered position of a cell in the **TileMapLayer**'s local coordina |void| **notify_runtime_tile_data_update**\ (\ ) :ref:`🔗` -Notifies the **TileMapLayer** node that calls to :ref:`_use_tile_data_runtime_update()` or :ref:`_tile_data_runtime_update()` will lead to different results. This will thus trigger a **TileMapLayer** update. +Notifica al nodo **TileMapLayer** que las llamadas a :ref:`_use_tile_data_runtime_update()` o :ref:`_tile_data_runtime_update()` conducirán a resultados diferentes. Esto activará así una actualización de **TileMapLayer**. -\ **Warning:** Updating the **TileMapLayer** is computationally expensive and may impact performance. Try to limit the number of calls to this function to avoid unnecessary update. +\ **Advertencia:** La actualización del **TileMapLayer** es computacionalmente costosa y puede afectar el rendimiento. Intenta limitar el número de llamadas a esta función para evitar actualizaciones innecesarias. -\ **Note:** This does not trigger a direct update of the **TileMapLayer**, the update will be done at the end of the frame as usual (unless you call :ref:`update_internals()`). +\ **Nota:** Esto no activa una actualización directa del **TileMapLayer**, la actualización se realizará al final del fotograma como de costumbre (a menos que llames a :ref:`update_internals()`). .. rst-class:: classref-item-separator @@ -820,15 +820,15 @@ Notifies the **TileMapLayer** node that calls to :ref:`_use_tile_data_runtime_up |void| **set_cell**\ (\ coords\: :ref:`Vector2i`, source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = 0\ ) :ref:`🔗` -Sets the tile identifiers for the cell at coordinates ``coords``. Each tile of the :ref:`TileSet` is identified using three parts: +Establece los identificadores de tile para la celda en las coordenadas ``coords``. Cada tile del :ref:`TileSet` se identifica utilizando tres partes: -- The source identifier ``source_id`` identifies a :ref:`TileSetSource` identifier. See :ref:`TileSet.set_source_id()`, +- El identificador de origen ``source_id`` identifica un identificador :ref:`TileSetSource`. Véase :ref:`TileSet.set_source_id()`, -- The atlas coordinate identifier ``atlas_coords`` identifies a tile coordinates in the atlas (if the source is a :ref:`TileSetAtlasSource`). For :ref:`TileSetScenesCollectionSource` it should always be ``Vector2i(0, 0)``, +- El identificador de coordenadas del atlas ``atlas_coords`` identifica las coordenadas de un tile en el atlas (si el origen es un :ref:`TileSetAtlasSource`). Para :ref:`TileSetScenesCollectionSource` siempre debe ser ``Vector2i(0, 0)``, -- The alternative tile identifier ``alternative_tile`` identifies a tile alternative in the atlas (if the source is a :ref:`TileSetAtlasSource`), and the scene for a :ref:`TileSetScenesCollectionSource`. +- El identificador de tile alternativo ``alternative_tile`` identifica un tile alternativo en el atlas (si el origen es un :ref:`TileSetAtlasSource`), y la escena para un :ref:`TileSetScenesCollectionSource`. -If ``source_id`` is set to ``-1``, ``atlas_coords`` to ``Vector2i(-1, -1)``, or ``alternative_tile`` to ``-1``, the cell will be erased. An erased cell gets **all** its identifiers automatically set to their respective invalid values, namely ``-1``, ``Vector2i(-1, -1)`` and ``-1``. +Si ``source_id`` se establece en ``-1``, ``atlas_coords`` en ``Vector2i(-1, -1)``, o ``alternative_tile`` en ``-1``, la celda se borrará. Una celda borrada obtiene **todos** sus identificadores establecidos automáticamente en sus respectivos valores no válidos, a saber, ``-1``, ``Vector2i(-1, -1)`` y ``-1``. .. rst-class:: classref-item-separator @@ -840,11 +840,11 @@ If ``source_id`` is set to ``-1``, ``atlas_coords`` to ``Vector2i(-1, -1)``, or |void| **set_cells_terrain_connect**\ (\ cells\: :ref:`Array`\[:ref:`Vector2i`\], terrain_set\: :ref:`int`, terrain\: :ref:`int`, ignore_empty_terrains\: :ref:`bool` = true\ ) :ref:`🔗` -Update all the cells in the ``cells`` coordinates array so that they use the given ``terrain`` for the given ``terrain_set``. If an updated cell has the same terrain as one of its neighboring cells, this function tries to join the two. This function might update neighboring tiles if needed to create correct terrain transitions. +Actualiza todas las celdas en el array de coordenadas ``cells`` para que utilicen el ``terrain`` dado para el ``terrain_set`` dado. Si una celda actualizada tiene el mismo terreno que una de sus celdas vecinas, esta función intenta unir las dos. Esta función podría actualizar los tiles vecinos si es necesario para crear transiciones de terreno correctas. -If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints. +Si ``ignore_empty_terrains`` es ``true``, los terrenos vacíos se ignorarán al intentar encontrar el tile que mejor se adapte a las restricciones de terreno dadas. -\ **Note:** To work correctly, this method requires the **TileMapLayer**'s TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results. +\ **Nota:** Para que funcione correctamente, este método requiere que el TileSet del **TileMapLayer** tenga terrenos configurados con todas las combinaciones de terreno necesarias. De lo contrario, puede producir resultados inesperados. .. rst-class:: classref-item-separator @@ -856,11 +856,11 @@ If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when tr |void| **set_cells_terrain_path**\ (\ path\: :ref:`Array`\[:ref:`Vector2i`\], terrain_set\: :ref:`int`, terrain\: :ref:`int`, ignore_empty_terrains\: :ref:`bool` = true\ ) :ref:`🔗` -Update all the cells in the ``path`` coordinates array so that they use the given ``terrain`` for the given ``terrain_set``. The function will also connect two successive cell in the path with the same terrain. This function might update neighboring tiles if needed to create correct terrain transitions. +Actualiza todas las celdas en el array de coordenadas ``path`` para que utilicen el ``terrain`` dado para el ``terrain_set`` dado. La función también conectará dos celdas sucesivas en la ruta con el mismo terreno. Esta función podría actualizar los tiles vecinos si es necesario para crear transiciones de terreno correctas. -If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when trying to find the best fitting tile for the given terrain constraints. +Si ``ignore_empty_terrains`` es ``true``, los terrenos vacíos se ignorarán al intentar encontrar el tile que mejor se adapte a las restricciones de terreno dadas. -\ **Note:** To work correctly, this method requires the **TileMapLayer**'s TileSet to have terrains set up with all required terrain combinations. Otherwise, it may produce unexpected results. +\ **Nota:** Para que funcione correctamente, este método requiere que el TileSet del **TileMapLayer** tenga terrenos configurados con todas las combinaciones de terreno necesarias. De lo contrario, puede producir resultados inesperados. .. rst-class:: classref-item-separator @@ -872,7 +872,7 @@ If ``ignore_empty_terrains`` is ``true``, empty terrains will be ignored when tr |void| **set_navigation_map**\ (\ map\: :ref:`RID`\ ) :ref:`🔗` -Sets a custom ``map`` as a :ref:`NavigationServer2D` navigation map. If not set, uses the default :ref:`World2D` navigation map instead. +Establece un ``map`` personalizado como un mapa de navegación :ref:`NavigationServer2D`. Si no se establece, se utiliza el mapa de navegación :ref:`World2D` predeterminado en su lugar. .. rst-class:: classref-item-separator @@ -884,7 +884,7 @@ Sets a custom ``map`` as a :ref:`NavigationServer2D` n |void| **set_pattern**\ (\ position\: :ref:`Vector2i`, pattern\: :ref:`TileMapPattern`\ ) :ref:`🔗` -Pastes the :ref:`TileMapPattern` at the given ``position`` in the tile map. See also :ref:`get_pattern()`. +Pega el :ref:`TileMapPattern` en la ``position`` dada en el mapa de tiles. Véase también :ref:`get_pattern()`. .. rst-class:: classref-item-separator @@ -896,11 +896,11 @@ Pastes the :ref:`TileMapPattern` at the given ``position`` |void| **update_internals**\ (\ ) :ref:`🔗` -Triggers a direct update of the **TileMapLayer**. Usually, calling this function is not needed, as **TileMapLayer** node updates automatically when one of its properties or cells is modified. +Activa una actualización directa del **TileMapLayer**. Por lo general, no es necesario llamar a esta función, ya que el nodo **TileMapLayer** se actualiza automáticamente cuando se modifica una de sus propiedades o celdas. -However, for performance reasons, those updates are batched and delayed to the end of the frame. Calling this function will force the **TileMapLayer** to update right away instead. +Sin embargo, por razones de rendimiento, esas actualizaciones se procesan por lotes y se retrasan hasta el final del fotograma. Llamar a esta función forzará al **TileMapLayer** a actualizarse de inmediato. -\ **Warning:** Updating the **TileMapLayer** is computationally expensive and may impact performance. Try to limit the number of updates and how many tiles they impact. +\ **Advertencia:** La actualización del **TileMapLayer** es computacionalmente costosa y puede afectar el rendimiento. Intenta limitar el número de actualizaciones y cuántos tiles impactan. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_tilemappattern.rst b/classes/es/class_tilemappattern.rst index f8a822e2ad..be1ee9fa0a 100644 --- a/classes/es/class_tilemappattern.rst +++ b/classes/es/class_tilemappattern.rst @@ -7,16 +7,16 @@ TileMapPattern **Hereda:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Holds a pattern to be copied from or pasted into :ref:`TileMap`\ s. +Contiene un patrón para copiar o pegar en :ref:`TileMap`\ s. .. rst-class:: classref-introduction-group Descripción ---------------------- -This resource holds a set of cells to help bulk manipulations of :ref:`TileMap`. +Este recurso contiene un conjunto de celdas para ayudar a las manipulaciones masivas de :ref:`TileMap`. -A pattern always starts at the ``(0, 0)`` coordinates and cannot have cells with negative coordinates. +Un patrón siempre comienza en las coordenadas ``(0, 0)`` y no puede tener celdas con coordenadas negativas. .. rst-class:: classref-reftable-group @@ -87,7 +87,7 @@ Devuelve el ID de las coordenadas del atlas del tile en ``coords``. :ref:`int` **get_cell_source_id**\ (\ coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the tile source ID of the cell at ``coords``. +Devuelve el ID de la fuente de tile de la celda en ``coords``. .. rst-class:: classref-item-separator @@ -159,7 +159,7 @@ Elimina la celda en las coordenadas dadas. |void| **set_cell**\ (\ coords\: :ref:`Vector2i`, source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = -1\ ) :ref:`🔗` -Sets the tile identifiers for the cell at coordinates ``coords``. See :ref:`TileMap.set_cell()`. +Establece los identificadores de tile para la celda en las coordenadas ``coords``. Véase :ref:`TileMap.set_cell()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tileset.rst b/classes/es/class_tileset.rst index 2f42fd26ed..f43bf74e2f 100644 --- a/classes/es/class_tileset.rst +++ b/classes/es/class_tileset.rst @@ -14,17 +14,17 @@ Biblioteca de tile para tilemaps. Descripción ---------------------- -A TileSet is a library of tiles for a :ref:`TileMapLayer`. A TileSet handles a list of :ref:`TileSetSource`, each of them storing a set of tiles. +Un TileSet es una librería de tiles para un :ref:`TileMapLayer`. Un TileSet maneja una lista de :ref:`TileSetSource`, cada uno de ellos almacenando un conjunto de tiles. -Tiles can either be from a :ref:`TileSetAtlasSource`, which renders tiles out of a texture with support for physics, navigation, etc., or from a :ref:`TileSetScenesCollectionSource`, which exposes scene-based tiles. +Los tiles pueden ser de un :ref:`TileSetAtlasSource`, que renderiza tiles fuera de una textura con soporte para física, navegación, etc., o de un :ref:`TileSetScenesCollectionSource`, que expone tiles basados en escenas. -Tiles are referenced by using three IDs: their source ID, their atlas coordinates ID, and their alternative tile ID. +Se hace referencia a los tiles utilizando tres ID: su ID de origen, su ID de coordenadas del atlas y su ID de tile alternativo. -A TileSet can be configured so that its tiles expose more or fewer properties. To do so, the TileSet resources use property layers, which you can add or remove depending on your needs. +Se puede configurar un TileSet para que sus tiles expongan más o menos propiedades. Para ello, los recursos TileSet utilizan capas de propiedades, que puedes añadir o eliminar según tus necesidades. -For example, adding a physics layer allows giving collision shapes to your tiles. Each layer has dedicated properties (physics layer and mask), so you may add several TileSet physics layers for each type of collision you need. +Por ejemplo, añadir una capa de física permite dar formas de colisión a tus tiles. Cada capa tiene propiedades dedicadas (capa de física y máscara), por lo que puedes añadir varias capas de física TileSet para cada tipo de colisión que necesites. -See the functions to add new layers for more information. +Consulta las funciones para añadir nuevas capas para obtener más información. .. rst-class:: classref-introduction-group @@ -39,7 +39,7 @@ Tutoriales - `Demo Hexagonal en 2D `__ -- `2D Grid-based Navigation with AStarGrid2D Demo `__ +- `Demo de navegación 2D basada en cuadrícula con AStarGrid2D `__ - `2D Role Playing Game (RPG) Demo `__ @@ -262,9 +262,9 @@ Forma de tile rectangular. :ref:`TileShape` **TILE_SHAPE_ISOMETRIC** = ``1`` -Diamond tile shape (for isometric look). +Forma de tile de diamante (para apariencia isométrica). -\ **Note:** Isometric **TileSet** works best if all sibling :ref:`TileMapLayer`\ s and their parent inheriting from :ref:`Node2D` have Y-sort enabled. +\ **Nota:** El **TileSet** isométrico funciona mejor si todos los :ref:`TileMapLayer` hermanos y su padre que hereda de :ref:`Node2D` tienen la ordenación Y habilitada. .. _class_TileSet_constant_TILE_SHAPE_HALF_OFFSET_SQUARE: @@ -272,7 +272,7 @@ Diamond tile shape (for isometric look). :ref:`TileShape` **TILE_SHAPE_HALF_OFFSET_SQUARE** = ``2`` -Rectangular tile shape with one row/column out of two offset by half a tile. +Forma de tile rectangular con una fila/columna de cada dos desplazada por la mitad de un tile. .. _class_TileSet_constant_TILE_SHAPE_HEXAGON: @@ -298,7 +298,7 @@ enum **TileLayout**: :ref:`🔗` :ref:`TileLayout` **TILE_LAYOUT_STACKED** = ``0`` -Tile coordinates layout where both axis stay consistent with their respective local horizontal and vertical axis. +Diseño de coordenadas de tile donde ambos ejes se mantienen consistentes con sus respectivos ejes horizontal y vertical locales. .. _class_TileSet_constant_TILE_LAYOUT_STACKED_OFFSET: @@ -306,7 +306,7 @@ Tile coordinates layout where both axis stay consistent with their respective lo :ref:`TileLayout` **TILE_LAYOUT_STACKED_OFFSET** = ``1`` -Same as :ref:`TILE_LAYOUT_STACKED`, but the first half-offset is negative instead of positive. +Igual que :ref:`TILE_LAYOUT_STACKED`, pero el primer medio offset es negativo en lugar de positivo. .. _class_TileSet_constant_TILE_LAYOUT_STAIRS_RIGHT: @@ -314,7 +314,7 @@ Same as :ref:`TILE_LAYOUT_STACKED`, :ref:`TileLayout` **TILE_LAYOUT_STAIRS_RIGHT** = ``2`` -Tile coordinates layout where the horizontal axis stay horizontal, and the vertical one goes down-right. +Diseño de coordenadas de tile donde el eje horizontal se mantiene horizontal y el vertical va hacia abajo-derecha. .. _class_TileSet_constant_TILE_LAYOUT_STAIRS_DOWN: @@ -322,7 +322,7 @@ Tile coordinates layout where the horizontal axis stay horizontal, and the verti :ref:`TileLayout` **TILE_LAYOUT_STAIRS_DOWN** = ``3`` -Tile coordinates layout where the vertical axis stay vertical, and the horizontal one goes down-right. +Diseño de coordenadas de tile donde el eje vertical se mantiene vertical y el horizontal va hacia abajo-derecha. .. _class_TileSet_constant_TILE_LAYOUT_DIAMOND_RIGHT: @@ -330,7 +330,7 @@ Tile coordinates layout where the vertical axis stay vertical, and the horizonta :ref:`TileLayout` **TILE_LAYOUT_DIAMOND_RIGHT** = ``4`` -Tile coordinates layout where the horizontal axis goes up-right, and the vertical one goes down-right. +Diseño de coordenadas de tile donde el eje horizontal va hacia arriba-derecha y el vertical va hacia abajo-derecha. .. _class_TileSet_constant_TILE_LAYOUT_DIAMOND_DOWN: @@ -338,7 +338,7 @@ Tile coordinates layout where the horizontal axis goes up-right, and the vertica :ref:`TileLayout` **TILE_LAYOUT_DIAMOND_DOWN** = ``5`` -Tile coordinates layout where the horizontal axis goes down-right, and the vertical one goes down-left. +Diseño de coordenadas de tile donde el eje horizontal va hacia abajo-derecha y el vertical va hacia abajo-izquierda. .. rst-class:: classref-item-separator @@ -430,7 +430,7 @@ Vecino en la esquina inferior. :ref:`CellNeighbor` **CELL_NEIGHBOR_BOTTOM_LEFT_SIDE** = ``6`` -Neighbor on the bottom left side. +Vecino en el lado inferior izquierdo. .. _class_TileSet_constant_CELL_NEIGHBOR_BOTTOM_LEFT_CORNER: @@ -462,7 +462,7 @@ Vecino en la esquina izquierda. :ref:`CellNeighbor` **CELL_NEIGHBOR_TOP_LEFT_SIDE** = ``10`` -Neighbor on the top left side. +Vecino en el lado superior izquierdo. .. _class_TileSet_constant_CELL_NEIGHBOR_TOP_LEFT_CORNER: @@ -478,7 +478,7 @@ Vecino en la esquina superior izquierda. :ref:`CellNeighbor` **CELL_NEIGHBOR_TOP_SIDE** = ``12`` -Neighbor on the top side. +Vecino en el lado superior. .. _class_TileSet_constant_CELL_NEIGHBOR_TOP_CORNER: @@ -494,7 +494,7 @@ Vecino en la esquina superior. :ref:`CellNeighbor` **CELL_NEIGHBOR_TOP_RIGHT_SIDE** = ``14`` -Neighbor on the top right side. +Vecino en el lado superior derecho. .. _class_TileSet_constant_CELL_NEIGHBOR_TOP_RIGHT_CORNER: @@ -520,7 +520,7 @@ enum **TerrainMode**: :ref:`🔗` :ref:`TerrainMode` **TERRAIN_MODE_MATCH_CORNERS_AND_SIDES** = ``0`` -Requires both corners and side to match with neighboring tiles' terrains. +Requiere que tanto las esquinas como el lado coincidan con los terrenos de los tiles vecinos. .. _class_TileSet_constant_TERRAIN_MODE_MATCH_CORNERS: @@ -528,7 +528,7 @@ Requires both corners and side to match with neighboring tiles' terrains. :ref:`TerrainMode` **TERRAIN_MODE_MATCH_CORNERS** = ``1`` -Requires corners to match with neighboring tiles' terrains. +Requiere que las esquinas coincidan con los terrenos de los tiles vecinos. .. _class_TileSet_constant_TERRAIN_MODE_MATCH_SIDES: @@ -536,7 +536,7 @@ Requires corners to match with neighboring tiles' terrains. :ref:`TerrainMode` **TERRAIN_MODE_MATCH_SIDES** = ``2`` -Requires sides to match with neighboring tiles' terrains. +Requiere que los lados coincidan con los terrenos de los tiles vecinos. .. rst-class:: classref-section-separator @@ -558,7 +558,7 @@ Descripciones de Propiedades - |void| **set_tile_layout**\ (\ value\: :ref:`TileLayout`\ ) - :ref:`TileLayout` **get_tile_layout**\ (\ ) -For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), changes the way tiles are indexed in the :ref:`TileMapLayer` grid. +Para todas las formas de medio offset (Isométrico, Hexagonal y Cuadrado de Medio Offset), cambia la forma en que se indexan los tiles en la cuadrícula de :ref:`TileMapLayer`. .. rst-class:: classref-item-separator @@ -575,7 +575,7 @@ For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), change - |void| **set_tile_offset_axis**\ (\ value\: :ref:`TileOffsetAxis`\ ) - :ref:`TileOffsetAxis` **get_tile_offset_axis**\ (\ ) -For all half-offset shapes (Isometric, Hexagonal and Half-Offset square), determines the offset axis. +Para todas las formas de medio offset (Isométrico, Hexagonal y Cuadrado de Medio Offset), determina el eje de offset. .. rst-class:: classref-item-separator @@ -609,7 +609,7 @@ La forma del tile. - |void| **set_tile_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_tile_size**\ (\ ) -The tile size, in pixels. For all tile shapes, this size corresponds to the encompassing rectangle of the tile shape. This is thus the minimal cell size required in an atlas. +El tamaño del tile, en píxeles. Para todas las formas de tile, este tamaño corresponde al rectángulo envolvente de la forma del tile. Por lo tanto, este es el tamaño de celda mínimo requerido en un atlas. .. rst-class:: classref-item-separator @@ -626,7 +626,7 @@ The tile size, in pixels. For all tile shapes, this size corresponds to the enco - |void| **set_uv_clipping**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_uv_clipping**\ (\ ) -Enables/Disable uv clipping when rendering the tiles. +Activa/desactiva el recorte UV al renderizar los tiles. .. rst-class:: classref-section-separator @@ -643,9 +643,9 @@ Descripciones de Métodos |void| **add_custom_data_layer**\ (\ to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a custom data layer to the TileSet at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade una capa de datos personalizada al TileSet en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, la añade al final del array. -Custom data layers allow assigning custom properties to atlas tiles. +Las capas de datos personalizadas permiten asignar propiedades personalizadas a los tiles del atlas. .. rst-class:: classref-item-separator @@ -657,9 +657,9 @@ Custom data layers allow assigning custom properties to atlas tiles. |void| **add_navigation_layer**\ (\ to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a navigation layer to the TileSet at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade una capa de navegación al TileSet en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, la añade al final del array. -Navigation layers allow assigning a navigable area to atlas tiles. +Las capas de navegación permiten asignar un área navegable a los tiles del atlas. .. rst-class:: classref-item-separator @@ -671,9 +671,9 @@ Navigation layers allow assigning a navigable area to atlas tiles. |void| **add_occlusion_layer**\ (\ to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds an occlusion layer to the TileSet at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade una capa de oclusión al TileSet en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, la añade al final del array. -Occlusion layers allow assigning occlusion polygons to atlas tiles. +Las capas de oclusión permiten asignar polígonos de oclusión a los tiles del atlas. .. rst-class:: classref-item-separator @@ -685,7 +685,7 @@ Occlusion layers allow assigning occlusion polygons to atlas tiles. :ref:`int` **add_pattern**\ (\ pattern\: :ref:`TileMapPattern`, index\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a :ref:`TileMapPattern` to be stored in the TileSet resource. If provided, insert it at the given ``index``. +Añade un :ref:`TileMapPattern` para ser almacenado en el recurso TileSet. Si se proporciona, lo inserta en el ``index`` dado. .. rst-class:: classref-item-separator @@ -697,9 +697,9 @@ Adds a :ref:`TileMapPattern` to be stored in the TileSet r |void| **add_physics_layer**\ (\ to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a physics layer to the TileSet at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade una capa de física al TileSet en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, la añade al final del array. -Physics layers allow assigning collision polygons to atlas tiles. +Las capas de física permiten asignar polígonos de colisión a los tiles del atlas. .. rst-class:: classref-item-separator @@ -711,11 +711,11 @@ Physics layers allow assigning collision polygons to atlas tiles. :ref:`int` **add_source**\ (\ source\: :ref:`TileSetSource`, atlas_source_id_override\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a :ref:`TileSetSource` to the TileSet. If ``atlas_source_id_override`` is not -1, also set its source ID. Otherwise, a unique identifier is automatically generated. +Añade un :ref:`TileSetSource` al TileSet. Si ``atlas_source_id_override`` no es -1, también establece su ID de origen. De lo contrario, se genera automáticamente un identificador único. -The function returns the added source ID or -1 if the source could not be added. +La función devuelve el ID de origen añadido o -1 si no se pudo añadir el origen. -\ **Warning:** A source cannot belong to two TileSets at the same time. If the added source was attached to another **TileSet**, it will be removed from that one. +\ **Advertencia:** Un origen no puede pertenecer a dos TileSets al mismo tiempo. Si el origen añadido estaba adjunto a otro **TileSet**, se eliminará de ese. .. rst-class:: classref-item-separator @@ -727,7 +727,7 @@ The function returns the added source ID or -1 if the source could not be added. |void| **add_terrain**\ (\ terrain_set\: :ref:`int`, to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a new terrain to the given terrain set ``terrain_set`` at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade un nuevo terreno al conjunto de terrenos dado ``terrain_set`` en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, lo añade al final del array. .. rst-class:: classref-item-separator @@ -739,7 +739,7 @@ Adds a new terrain to the given terrain set ``terrain_set`` at the given positio |void| **add_terrain_set**\ (\ to_position\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a new terrain set at the given position ``to_position`` in the array. If ``to_position`` is -1, adds it at the end of the array. +Añade un nuevo conjunto de terrenos en la posición dada ``to_position`` en el array. Si ``to_position`` es -1, lo añade al final del array. .. rst-class:: classref-item-separator @@ -751,7 +751,7 @@ Adds a new terrain set at the given position ``to_position`` in the array. If `` |void| **cleanup_invalid_tile_proxies**\ (\ ) :ref:`🔗` -Clears tile proxies pointing to invalid tiles. +Limpia los proxies de tiles que apuntan a tiles inválidos. .. rst-class:: classref-item-separator @@ -763,7 +763,7 @@ Clears tile proxies pointing to invalid tiles. |void| **clear_tile_proxies**\ (\ ) :ref:`🔗` -Clears all tile proxies. +Limpia todos los proxies de tiles. .. rst-class:: classref-item-separator @@ -775,9 +775,9 @@ Clears all tile proxies. :ref:`Array` **get_alternative_level_tile_proxy**\ (\ source_from\: :ref:`int`, coords_from\: :ref:`Vector2i`, alternative_from\: :ref:`int`\ ) :ref:`🔗` -Returns the alternative-level proxy for the given identifiers. The returned array contains the three proxie's target identifiers (source ID, atlas coords ID and alternative tile ID). +Devuelve el proxy de nivel alternativo para los identificadores dados. El array devuelto contiene los tres identificadores de destino del proxy (ID de origen, ID de coordenadas del atlas e ID de tile alternativo). -If the TileSet has no proxy for the given identifiers, returns an empty Array. +Si el TileSet no tiene proxy para los identificadores dados, devuelve un Array vacío. .. rst-class:: classref-item-separator @@ -789,9 +789,9 @@ If the TileSet has no proxy for the given identifiers, returns an empty Array. :ref:`Array` **get_coords_level_tile_proxy**\ (\ source_from\: :ref:`int`, coords_from\: :ref:`Vector2i`\ ) :ref:`🔗` -Returns the coordinate-level proxy for the given identifiers. The returned array contains the two target identifiers of the proxy (source ID and atlas coordinates ID). +Devuelve el proxy de nivel de coordenada para los identificadores dados. El array devuelto contiene los dos identificadores de destino del proxy (ID de origen e ID de coordenadas del atlas). -If the TileSet has no proxy for the given identifiers, returns an empty Array. +Si el TileSet no tiene proxy para los identificadores dados, devuelve un Array vacío. .. rst-class:: classref-item-separator @@ -887,7 +887,7 @@ Devuelve el número de capas de navegación. :ref:`int` **get_next_source_id**\ (\ ) |const| :ref:`🔗` -Returns a new unused source ID. This generated ID is the same that a call to :ref:`add_source()` would return. +Devuelve un nuevo ID de origen no utilizado. Este ID generado es el mismo que devolvería una llamada a :ref:`add_source()`. .. rst-class:: classref-item-separator @@ -959,7 +959,7 @@ Devuelve el número de :ref:`TileMapPattern` que maneja es :ref:`int` **get_physics_layer_collision_layer**\ (\ layer_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the collision layer (as in the physics server) bodies on the given TileSet's physics layer are in. +Devuelve la capa de colisión (como en el servidor de física) en la que se encuentran los cuerpos en la capa de física del TileSet dado. .. rst-class:: classref-item-separator @@ -1019,7 +1019,7 @@ Devuelve el número de capas de físicas. :ref:`TileSetSource` **get_source**\ (\ source_id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`TileSetSource` with ID ``source_id``. +Devuelve el :ref:`TileSetSource` con el ID ``source_id``. .. rst-class:: classref-item-separator @@ -1117,7 +1117,7 @@ Devuelve el número de terrain sets. :ref:`int` **get_terrains_count**\ (\ terrain_set\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the number of terrains in the given terrain set. +Devuelve el número de terrenos en el conjunto de terrenos dado. .. rst-class:: classref-item-separator @@ -1253,7 +1253,7 @@ Mueve la capa de físicas en el índice ``layer_index`` a la posición dada ``to |void| **move_terrain**\ (\ terrain_set\: :ref:`int`, terrain_index\: :ref:`int`, to_position\: :ref:`int`\ ) :ref:`🔗` -Moves the terrain at index ``terrain_index`` for terrain set ``terrain_set`` to the given position ``to_position`` in the array. Also updates the atlas tiles accordingly. +Mueve el terreno en el índice ``terrain_index`` para el conjunto de terreno ``terrain_set`` a la posición dada ``to_position`` en el array. También actualiza los tiles del atlas en consecuencia. .. rst-class:: classref-item-separator @@ -1265,7 +1265,7 @@ Moves the terrain at index ``terrain_index`` for terrain set ``terrain_set`` to |void| **move_terrain_set**\ (\ terrain_set\: :ref:`int`, to_position\: :ref:`int`\ ) :ref:`🔗` -Moves the terrain set at index ``terrain_set`` to the given position ``to_position`` in the array. Also updates the atlas tiles accordingly. +Mueve el conjunto de terrenos en el índice ``terrain_set`` a la posición dada ``to_position`` en el array. También actualiza los tiles del atlas en consecuencia. .. rst-class:: classref-item-separator @@ -1373,7 +1373,7 @@ Elimina la fuente con el ID de fuente dado. |void| **remove_source_level_tile_proxy**\ (\ source_from\: :ref:`int`\ ) :ref:`🔗` -Removes a source-level tile proxy. +Elimina un proxy de tiles a nivel de fuente. .. rst-class:: classref-item-separator @@ -1545,7 +1545,7 @@ Establece la prioridad de colisión para los cuerpos en la capa de físicas del |void| **set_physics_layer_physics_material**\ (\ layer_index\: :ref:`int`, physics_material\: :ref:`PhysicsMaterial`\ ) :ref:`🔗` -Sets the physics material for bodies in the given TileSet physics layer. +Establece el material físico para los cuerpos en la capa de física del TileSet dado. .. rst-class:: classref-item-separator @@ -1569,9 +1569,9 @@ Cambia el ID de una fuente. |void| **set_source_level_tile_proxy**\ (\ source_from\: :ref:`int`, source_to\: :ref:`int`\ ) :ref:`🔗` -Creates a source-level proxy for the given source ID. A proxy will map set of tile identifiers to another set of identifiers. Both the atlas coordinates ID and the alternative tile ID are kept the same when using source-level proxies. +Crea un proxy a nivel de fuente para el ID de origen dado. Un proxy mapeará un conjunto de identificadores de tiles a otro conjunto de identificadores. Tanto el ID de las coordenadas del atlas como el ID del tile alternativo se mantienen iguales cuando se utilizan proxies a nivel de fuente. -Proxied tiles can be automatically replaced in TileMapLayer nodes using the editor. +Los tiles proxy se pueden reemplazar automáticamente en los nodos TileMapLayer utilizando el editor. .. rst-class:: classref-item-separator @@ -1583,7 +1583,7 @@ Proxied tiles can be automatically replaced in TileMapLayer nodes using the edit |void| **set_terrain_color**\ (\ terrain_set\: :ref:`int`, terrain_index\: :ref:`int`, color\: :ref:`Color`\ ) :ref:`🔗` -Sets a terrain's color. This color is used for identifying the different terrains in the TileSet editor. +Establece el color de un terreno. Este color se utiliza para identificar los diferentes terrenos en el editor de TileSet. .. rst-class:: classref-item-separator @@ -1607,7 +1607,7 @@ Establece el nombre de un terreno. |void| **set_terrain_set_mode**\ (\ terrain_set\: :ref:`int`, mode\: :ref:`TerrainMode`\ ) :ref:`🔗` -Sets a terrain mode. Each mode determines which bits of a tile shape is used to match the neighboring tiles' terrains. +Establece un modo de terreno. Cada modo determina qué bits de una forma de tile se utilizan para que coincidan con los terrenos de los tiles vecinos. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_tilesetatlassource.rst b/classes/es/class_tilesetatlassource.rst index 253b58b4d9..db36da6fee 100644 --- a/classes/es/class_tilesetatlassource.rst +++ b/classes/es/class_tilesetatlassource.rst @@ -7,22 +7,22 @@ TileSetAtlasSource **Hereda:** :ref:`TileSetSource` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Exposes a 2D atlas texture as a set of tiles for a :ref:`TileSet` resource. +Expone una textura atlas 2D como un conjunto de tiles para un recurso :ref:`TileSet`. .. rst-class:: classref-introduction-group Descripción ---------------------- -An atlas is a grid of tiles laid out on a texture. Each tile in the grid must be exposed using :ref:`create_tile()`. Those tiles are then indexed using their coordinates in the grid. +Un atlas es una cuadrícula de tiles dispuestas en una textura. Cada tile en la cuadrícula debe exponerse utilizando :ref:`create_tile()`. Esos tiles se indexan luego utilizando sus coordenadas en la cuadrícula. -Each tile can also have a size in the grid coordinates, making it more or less cells in the atlas. +Cada tile también puede tener un tamaño en las coordenadas de la cuadrícula, haciéndolo más o menos celdas en el atlas. -Alternatives version of a tile can be created using :ref:`create_alternative_tile()`, which are then indexed using an alternative ID. The main tile (the one in the grid), is accessed with an alternative ID equal to 0. +Se pueden crear versiones alternativas de un tile utilizando :ref:`create_alternative_tile()`, que luego se indexan utilizando un ID alternativo. Se accede al tile principal (el que está en la cuadrícula) con un ID alternativo igual a 0. -Each tile alternate has a set of properties that is defined by the source's :ref:`TileSet` layers. Those properties are stored in a TileData object that can be accessed and modified using :ref:`get_tile_data()`. +Cada alternativa de tile tiene un conjunto de propiedades que se definen mediante las capas :ref:`TileSet` del origen. Esas propiedades se almacenan en un objeto TileData al que se puede acceder y modificar utilizando :ref:`get_tile_data()`. -As TileData properties are stored directly in the TileSetAtlasSource resource, their properties might also be set using ``TileSetAtlasSource.set("://")``. +Como las propiedades de TileData se almacenan directamente en el recurso TileSetAtlasSource, sus propiedades también se pueden establecer utilizando ``TileSetAtlasSource.set("://")``. .. rst-class:: classref-reftable-group @@ -137,7 +137,7 @@ enum **TileAnimationMode**: :ref:`🔗` **TILE_ANIMATION_MODE_DEFAULT** = ``0`` -Tile animations start at same time, looking identical. +Las animaciones de los tiles comienzan al mismo tiempo, pareciendo idénticas. .. _class_TileSetAtlasSource_constant_TILE_ANIMATION_MODE_RANDOM_START_TIMES: @@ -145,7 +145,7 @@ Tile animations start at same time, looking identical. :ref:`TileAnimationMode` **TILE_ANIMATION_MODE_RANDOM_START_TIMES** = ``1`` -Tile animations start at random times, looking varied. +Las animaciones de los tiles comienzan en momentos aleatorios, pareciendo variadas. .. _class_TileSetAtlasSource_constant_TILE_ANIMATION_MODE_MAX: @@ -170,16 +170,16 @@ Constantes **TRANSFORM_FLIP_H** = ``4096`` :ref:`🔗` -Represents cell's horizontal flip flag. Should be used directly with :ref:`TileMapLayer` to flip placed tiles by altering their alternative IDs. +Representa la bandera de volteo horizontal de la celda. Debe usarse directamente con :ref:`TileMapLayer` para voltear los tiles colocados alterando sus IDs alternativos. :: - var alternate_id = $TileMapLayer.get_cell_alternative_tile(Vector2i(2, 2)) - if not alternate_id & TileSetAtlasSource.TRANSFORM_FLIP_H: - # If tile is not already flipped, flip it. - $TileMapLayer.set_cell(Vector2i(2, 2), source_id, atlas_coords, alternate_id | TileSetAtlasSource.TRANSFORM_FLIP_H) + var id_alternativo = $TileMapLayer.get_cell_alternative_tile(Vector2i(2, 2)) + if not id_alternativo & TileSetAtlasSource.TRANSFORM_FLIP_H: + # Si el tile aún no está volteado, voltéalo. + $TileMapLayer.set_cell(Vector2i(2, 2), source_id, atlas_coords, id_alternativo | TileSetAtlasSource.TRANSFORM_FLIP_H) -\ **Note:** These transformations can be combined to do the equivalent of 0, 90, 180, and 270 degree rotations, as shown below: +\ **Nota:** Estas transformaciones pueden combinarse para hacer el equivalente a rotaciones de 0, 90, 180 y 270 grados, como se muestra a continuación: :: @@ -196,7 +196,7 @@ Represents cell's horizontal flip flag. Should be used directly with :ref:`TileM **TRANSFORM_FLIP_V** = ``8192`` :ref:`🔗` -Represents cell's vertical flip flag. See :ref:`TRANSFORM_FLIP_H` for usage. +Representa la bandera de volteo vertical de la celda. Véase :ref:`TRANSFORM_FLIP_H` para su uso. .. _class_TileSetAtlasSource_constant_TRANSFORM_TRANSPOSE: @@ -204,7 +204,7 @@ Represents cell's vertical flip flag. See :ref:`TRANSFORM_FLIP_H` -Represents cell's transposed flag. See :ref:`TRANSFORM_FLIP_H` for usage. +Representa la bandera de transposición de la celda. Véase :ref:`TRANSFORM_FLIP_H` para su uso. .. rst-class:: classref-section-separator @@ -277,7 +277,7 @@ La textura del atlas. - |void| **set_texture_region_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_texture_region_size**\ (\ ) -The base tile size in the texture (in pixel). This size must be bigger than or equal to the TileSet's ``tile_size`` value. +El tamaño base del tile en la textura (en píxeles). Este tamaño debe ser mayor o igual que el valor ``tile_size`` del TileSet. .. rst-class:: classref-item-separator @@ -294,9 +294,9 @@ The base tile size in the texture (in pixel). This size must be bigger than or e - |void| **set_use_texture_padding**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_use_texture_padding**\ (\ ) -If ``true``, generates an internal texture with an additional one pixel padding around each tile. Texture padding avoids a common artifact where lines appear between tiles. +Si es ``true``, genera una textura interna con un relleno adicional de un píxel alrededor de cada tile. El relleno de la textura evita un artefacto común donde aparecen líneas entre los tiles. -Disabling this setting might lead a small performance improvement, as generating the internal texture requires both memory and processing time when the TileSetAtlasSource resource is modified. +Deshabilitar esta opción podría conducir a una pequeña mejora en el rendimiento, ya que generar la textura interna requiere tanto memoria como tiempo de procesamiento cuando se modifica el recurso TileSetAtlasSource. .. rst-class:: classref-section-separator @@ -313,7 +313,7 @@ Descripciones de Métodos |void| **clear_tiles_outside_texture**\ (\ ) :ref:`🔗` -Removes all tiles that don't fit the available texture area. This method iterates over all the source's tiles, so it's advised to use :ref:`has_tiles_outside_texture()` beforehand. +Elimina todos los tiles que no encajan en el área de textura disponible. Este método itera sobre todos los tiles del origen, por lo que se aconseja utilizar :ref:`has_tiles_outside_texture()` de antemano. .. rst-class:: classref-item-separator @@ -325,9 +325,9 @@ Removes all tiles that don't fit the available texture area. This method iterate :ref:`int` **create_alternative_tile**\ (\ atlas_coords\: :ref:`Vector2i`, alternative_id_override\: :ref:`int` = -1\ ) :ref:`🔗` -Creates an alternative tile for the tile at coordinates ``atlas_coords``. If ``alternative_id_override`` is -1, give it an automatically generated unique ID, or assigns it the given ID otherwise. +Crea un tile alternativo para el tile en las coordenadas ``atlas_coords``. Si ``alternative_id_override`` es -1, le da un ID único generado automáticamente, o le asigna el ID dado de lo contrario. -Returns the new alternative identifier, or -1 if the alternative could not be created with a provided ``alternative_id_override``. +Devuelve el nuevo identificador alternativo, o -1 si la alternativa no pudo ser creada con un ``alternative_id_override`` proporcionado. .. rst-class:: classref-item-separator @@ -339,7 +339,7 @@ Returns the new alternative identifier, or -1 if the alternative could not be cr |void| **create_tile**\ (\ atlas_coords\: :ref:`Vector2i`, size\: :ref:`Vector2i` = Vector2i(1, 1)\ ) :ref:`🔗` -Creates a new tile at coordinates ``atlas_coords`` with the given ``size``. +Crea un nuevo tile en las coordenadas ``atlas_coords`` con el ``size`` dado. .. rst-class:: classref-item-separator @@ -351,7 +351,7 @@ Creates a new tile at coordinates ``atlas_coords`` with the given ``size``. :ref:`Vector2i` **get_atlas_grid_size**\ (\ ) |const| :ref:`🔗` -Returns the atlas grid size, which depends on how many tiles can fit in the texture. It thus depends on the :ref:`texture`'s size, the atlas :ref:`margins`, and the tiles' :ref:`texture_region_size`. +Devuelve el tamaño de la cuadrícula del atlas, que depende de cuántos tiles caben en la textura. Por lo tanto, depende del tamaño de :ref:`texture`, los :ref:`margins` del atlas y el :ref:`texture_region_size` de los tiles. .. rst-class:: classref-item-separator @@ -363,7 +363,7 @@ Returns the atlas grid size, which depends on how many tiles can fit in the text :ref:`int` **get_next_alternative_tile_id**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the alternative ID a following call to :ref:`create_alternative_tile()` would return. +Devuelve el ID alternativo que devolvería una llamada posterior a :ref:`create_alternative_tile()`. .. rst-class:: classref-item-separator @@ -375,7 +375,7 @@ Returns the alternative ID a following call to :ref:`create_alternative_tile()` **get_runtime_texture**\ (\ ) |const| :ref:`🔗` -If :ref:`use_texture_padding` is ``false``, returns :ref:`texture`. Otherwise, returns and internal :ref:`ImageTexture` created that includes the padding. +Si :ref:`use_texture_padding` es ``false``, devuelve :ref:`texture`. De lo contrario, devuelve una :ref:`ImageTexture` interna creada que incluye el relleno. .. rst-class:: classref-item-separator @@ -387,9 +387,9 @@ If :ref:`use_texture_padding` **get_runtime_tile_texture_region**\ (\ atlas_coords\: :ref:`Vector2i`, frame\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the region of the tile at coordinates ``atlas_coords`` for the given ``frame`` inside the texture returned by :ref:`get_runtime_texture()`. +Devuelve la región del tile en las coordenadas ``atlas_coords`` para el ``frame`` dado dentro de la textura devuelta por :ref:`get_runtime_texture()`. -\ **Note:** If :ref:`use_texture_padding` is ``false``, returns the same as :ref:`get_tile_texture_region()`. +\ **Nota:** Si :ref:`use_texture_padding` es ``false``, devuelve lo mismo que :ref:`get_tile_texture_region()`. .. rst-class:: classref-item-separator @@ -401,7 +401,7 @@ Returns the region of the tile at coordinates ``atlas_coords`` for the given ``f :ref:`int` **get_tile_animation_columns**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns how many columns the tile at ``atlas_coords`` has in its animation layout. +Devuelve cuántas columnas tiene el tile en ``atlas_coords`` en su diseño de animación. .. rst-class:: classref-item-separator @@ -413,7 +413,7 @@ Returns how many columns the tile at ``atlas_coords`` has in its animation layou :ref:`float` **get_tile_animation_frame_duration**\ (\ atlas_coords\: :ref:`Vector2i`, frame_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the animation frame duration of frame ``frame_index`` for the tile at coordinates ``atlas_coords``. +Devuelve la duración del fotograma de animación ``frame_index`` para el tile en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -425,7 +425,7 @@ Returns the animation frame duration of frame ``frame_index`` for the tile at co :ref:`int` **get_tile_animation_frames_count**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns how many animation frames has the tile at coordinates ``atlas_coords``. +Devuelve cuántos fotogramas de animación tiene el tile en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -437,7 +437,7 @@ Returns how many animation frames has the tile at coordinates ``atlas_coords``. :ref:`TileAnimationMode` **get_tile_animation_mode**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the tile animation mode of the tile at ``atlas_coords``. See also :ref:`set_tile_animation_mode()`. +Devuelve el modo de animación del tile en ``atlas_coords``. Véase también :ref:`set_tile_animation_mode()`. .. rst-class:: classref-item-separator @@ -449,7 +449,7 @@ Returns the tile animation mode of the tile at ``atlas_coords``. See also :ref:` :ref:`Vector2i` **get_tile_animation_separation**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the separation (as in the atlas grid) between each frame of an animated tile at coordinates ``atlas_coords``. +Devuelve la separación (como en la cuadrícula del atlas) entre cada fotograma de un tile animado en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -461,7 +461,7 @@ Returns the separation (as in the atlas grid) between each frame of an animated :ref:`float` **get_tile_animation_speed**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the animation speed of the tile at coordinates ``atlas_coords``. +Devuelve la velocidad de animación del tile en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -473,7 +473,7 @@ Returns the animation speed of the tile at coordinates ``atlas_coords``. :ref:`float` **get_tile_animation_total_duration**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the sum of the sum of the frame durations of the tile at coordinates ``atlas_coords``. This value needs to be divided by the animation speed to get the actual animation loop duration. +Devuelve la suma de la suma de las duraciones de los fotogramas del tile en las coordenadas ``atlas_coords``. Este valor debe dividirse por la velocidad de animación para obtener la duración real del bucle de animación. .. rst-class:: classref-item-separator @@ -485,7 +485,7 @@ Returns the sum of the sum of the frame durations of the tile at coordinates ``a :ref:`Vector2i` **get_tile_at_coords**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -If there is a tile covering the ``atlas_coords`` coordinates, returns the top-left coordinates of the tile (thus its coordinate ID). Returns ``Vector2i(-1, -1)`` otherwise. +Si hay un tile que cubre las coordenadas ``atlas_coords``, devuelve las coordenadas de la esquina superior izquierda del tile (por lo tanto, su ID de coordenada). De lo contrario, devuelve ``Vector2i(-1, -1)``. .. rst-class:: classref-item-separator @@ -497,7 +497,7 @@ If there is a tile covering the ``atlas_coords`` coordinates, returns the top-le :ref:`TileData` **get_tile_data**\ (\ atlas_coords\: :ref:`Vector2i`, alternative_tile\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`TileData` object for the given atlas coordinates and alternative ID. +Devuelve el objeto :ref:`TileData` para las coordenadas del atlas y el ID alternativo dados. .. rst-class:: classref-item-separator @@ -509,7 +509,7 @@ Returns the :ref:`TileData` object for the given atlas coordinat :ref:`Vector2i` **get_tile_size_in_atlas**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the size of the tile (in the grid coordinates system) at coordinates ``atlas_coords``. +Devuelve el tamaño del tile (en el sistema de coordenadas de la cuadrícula) en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -521,7 +521,7 @@ Returns the size of the tile (in the grid coordinates system) at coordinates ``a :ref:`Rect2i` **get_tile_texture_region**\ (\ atlas_coords\: :ref:`Vector2i`, frame\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns a tile's texture region in the atlas texture. For animated tiles, a ``frame`` argument might be provided for the different frames of the animation. +Devuelve la región de textura de un tile en la textura del atlas. Para los tiles animados, se puede proporcionar un argumento ``frame`` para los diferentes fotogramas de la animación. .. rst-class:: classref-item-separator @@ -533,7 +533,7 @@ Returns a tile's texture region in the atlas texture. For animated tiles, a ``fr :ref:`PackedVector2Array` **get_tiles_to_be_removed_on_change**\ (\ texture\: :ref:`Texture2D`, margins\: :ref:`Vector2i`, separation\: :ref:`Vector2i`, texture_region_size\: :ref:`Vector2i`\ ) :ref:`🔗` -Returns an array of tiles coordinates ID that will be automatically removed when modifying one or several of those properties: ``texture``, ``margins``, ``separation`` or ``texture_region_size``. This can be used to undo changes that would have caused tiles data loss. +Devuelve un array de ID de coordenadas de tiles que se eliminarán automáticamente al modificar una o varias de estas propiedades: ``texture``, ``margins``, ``separation`` o ``texture_region_size``. Esto se puede utilizar para deshacer los cambios que habrían causado la pérdida de datos de los tiles. .. rst-class:: classref-item-separator @@ -545,7 +545,7 @@ Returns an array of tiles coordinates ID that will be automatically removed when :ref:`bool` **has_room_for_tile**\ (\ atlas_coords\: :ref:`Vector2i`, size\: :ref:`Vector2i`, animation_columns\: :ref:`int`, animation_separation\: :ref:`Vector2i`, frames_count\: :ref:`int`, ignored_tile\: :ref:`Vector2i` = Vector2i(-1, -1)\ ) |const| :ref:`🔗` -Returns whether there is enough room in an atlas to create/modify a tile with the given properties. If ``ignored_tile`` is provided, act as is the given tile was not present in the atlas. This may be used when you want to modify a tile's properties. +Devuelve si hay suficiente espacio en un atlas para crear/modificar un tile con las propiedades dadas. Si se proporciona ``ignored_tile``, actúa como si el tile dado no estuviera presente en el atlas. Esto se puede utilizar cuando quieres modificar las propiedades de un tile. .. rst-class:: classref-item-separator @@ -557,7 +557,7 @@ Returns whether there is enough room in an atlas to create/modify a tile with th :ref:`bool` **has_tiles_outside_texture**\ (\ ) |const| :ref:`🔗` -Checks if the source has any tiles that don't fit the texture area (either partially or completely). +Comprueba si el origen tiene algún tile que no se ajuste al área de textura (ya sea parcial o completamente). .. rst-class:: classref-item-separator @@ -569,11 +569,11 @@ Checks if the source has any tiles that don't fit the texture area (either parti |void| **move_tile_in_atlas**\ (\ atlas_coords\: :ref:`Vector2i`, new_atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), new_size\: :ref:`Vector2i` = Vector2i(-1, -1)\ ) :ref:`🔗` -Move the tile and its alternatives at the ``atlas_coords`` coordinates to the ``new_atlas_coords`` coordinates with the ``new_size`` size. This functions will fail if a tile is already present in the given area. +Mueve el tile y sus alternativas en las coordenadas ``atlas_coords`` a las coordenadas ``new_atlas_coords`` con el tamaño ``new_size``. Esta función fallará si ya hay un tile presente en el área dada. -If ``new_atlas_coords`` is ``Vector2i(-1, -1)``, keeps the tile's coordinates. If ``new_size`` is ``Vector2i(-1, -1)``, keeps the tile's size. +Si ``new_atlas_coords`` es ``Vector2i(-1, -1)``, mantiene las coordenadas del tile. Si ``new_size`` es ``Vector2i(-1, -1)``, mantiene el tamaño del tile. -To avoid an error, first check if a move is possible using :ref:`has_room_for_tile()`. +Para evitar un error, primero comprueba si un movimiento es posible usando :ref:`has_room_for_tile()`. .. rst-class:: classref-item-separator @@ -585,9 +585,9 @@ To avoid an error, first check if a move is possible using :ref:`has_room_for_ti |void| **remove_alternative_tile**\ (\ atlas_coords\: :ref:`Vector2i`, alternative_tile\: :ref:`int`\ ) :ref:`🔗` -Remove a tile's alternative with alternative ID ``alternative_tile``. +Elimina la alternativa de un tile con el ID alternativo ``alternative_tile``. -Calling this function with ``alternative_tile`` equals to 0 will fail, as the base tile alternative cannot be removed. +Llamar a esta función con ``alternative_tile`` igual a 0 fallará, ya que la alternativa del tile base no se puede eliminar. .. rst-class:: classref-item-separator @@ -599,7 +599,7 @@ Calling this function with ``alternative_tile`` equals to 0 will fail, as the ba |void| **remove_tile**\ (\ atlas_coords\: :ref:`Vector2i`\ ) :ref:`🔗` -Remove a tile and its alternative at coordinates ``atlas_coords``. +Elimina un tile y su alternativa en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator @@ -611,9 +611,9 @@ Remove a tile and its alternative at coordinates ``atlas_coords``. |void| **set_alternative_tile_id**\ (\ atlas_coords\: :ref:`Vector2i`, alternative_tile\: :ref:`int`, new_id\: :ref:`int`\ ) :ref:`🔗` -Change a tile's alternative ID from ``alternative_tile`` to ``new_id``. +Cambia el ID alternativo de un tile de ``alternative_tile`` a ``new_id``. -Calling this function with ``new_id`` of 0 will fail, as the base tile alternative cannot be moved. +Llamar a esta función con ``new_id`` de 0 fallará, ya que la alternativa del tile base no se puede mover. .. rst-class:: classref-item-separator @@ -625,7 +625,7 @@ Calling this function with ``new_id`` of 0 will fail, as the base tile alternati |void| **set_tile_animation_columns**\ (\ atlas_coords\: :ref:`Vector2i`, frame_columns\: :ref:`int`\ ) :ref:`🔗` -Sets the number of columns in the animation layout of the tile at coordinates ``atlas_coords``. If set to 0, then the different frames of the animation are laid out as a single horizontal line in the atlas. +Establece el número de columnas en el diseño de animación del tile en las coordenadas ``atlas_coords``. Si se establece en 0, los diferentes fotogramas de la animación se disponen como una sola línea horizontal en el atlas. .. rst-class:: classref-item-separator @@ -637,7 +637,7 @@ Sets the number of columns in the animation layout of the tile at coordinates `` |void| **set_tile_animation_frame_duration**\ (\ atlas_coords\: :ref:`Vector2i`, frame_index\: :ref:`int`, duration\: :ref:`float`\ ) :ref:`🔗` -Sets the animation frame ``duration`` of frame ``frame_index`` for the tile at coordinates ``atlas_coords``. +Establece la duración ``duration`` del fotograma de animación ``frame_index`` para el tile en las coordenadas ``atlas_coords``. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tilesetscenescollectionsource.rst b/classes/es/class_tilesetscenescollectionsource.rst index 4b3e7e538f..3fe801d388 100644 --- a/classes/es/class_tilesetscenescollectionsource.rst +++ b/classes/es/class_tilesetscenescollectionsource.rst @@ -7,7 +7,7 @@ TileSetScenesCollectionSource **Hereda:** :ref:`TileSetSource` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Exposes a set of scenes as tiles for a :ref:`TileSet` resource. +Expone un conjunto de escenas como tiles para un recurso :ref:`TileSet`. .. rst-class:: classref-introduction-group @@ -98,9 +98,9 @@ Descripciones de Métodos :ref:`int` **create_scene_tile**\ (\ packed_scene\: :ref:`PackedScene`, id_override\: :ref:`int` = -1\ ) :ref:`🔗` -Creates a scene-based tile out of the given scene. +Crea un tile basado en una escena a partir de la escena dada. -Returns a newly generated unique ID. +Devuelve un ID único recién generado. .. rst-class:: classref-item-separator @@ -112,7 +112,7 @@ Returns a newly generated unique ID. :ref:`int` **get_next_scene_tile_id**\ (\ ) |const| :ref:`🔗` -Returns the scene ID a following call to :ref:`create_scene_tile()` would return. +Devuelve el ID de escena que una llamada posterior a :ref:`create_scene_tile()` devolvería. .. rst-class:: classref-item-separator @@ -124,7 +124,7 @@ Returns the scene ID a following call to :ref:`create_scene_tile()` **get_scene_tile_display_placeholder**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns whether the scene tile with ``id`` displays a placeholder in the editor. +Devuelve si el tile de escena con ``id`` muestra un marcador de posición en el editor. .. rst-class:: classref-item-separator @@ -136,7 +136,7 @@ Returns whether the scene tile with ``id`` displays a placeholder in the editor. :ref:`int` **get_scene_tile_id**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Returns the scene tile ID of the scene tile at ``index``. +Devuelve el ID del tile de escena en ``index``. .. rst-class:: classref-item-separator @@ -148,7 +148,7 @@ Returns the scene tile ID of the scene tile at ``index``. :ref:`PackedScene` **get_scene_tile_scene**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`PackedScene` resource of scene tile with ``id``. +Devuelve el recurso :ref:`PackedScene` del tile de escena con ``id``. .. rst-class:: classref-item-separator @@ -160,7 +160,7 @@ Returns the :ref:`PackedScene` resource of scene tile with `` :ref:`int` **get_scene_tiles_count**\ (\ ) :ref:`🔗` -Returns the number or scene tiles this TileSet source has. +Devuelve el número de tiles de escena que tiene este origen TileSet. .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ Returns the number or scene tiles this TileSet source has. :ref:`bool` **has_scene_tile_id**\ (\ id\: :ref:`int`\ ) :ref:`🔗` -Returns whether this TileSet source has a scene tile with ``id``. +Devuelve si este origen TileSet tiene un tile de escena con ``id``. .. rst-class:: classref-item-separator @@ -196,7 +196,7 @@ Eliminar el mosaico de escena con ``id``. |void| **set_scene_tile_display_placeholder**\ (\ id\: :ref:`int`, display_placeholder\: :ref:`bool`\ ) :ref:`🔗` -Sets whether or not the scene tile with ``id`` should display a placeholder in the editor. This might be useful for scenes that are not visible. +Establece si el tile de escena con ``id`` debe mostrar o no un marcador de posición en el editor. Esto podría ser útil para escenas que no son visibles. .. rst-class:: classref-item-separator @@ -208,7 +208,7 @@ Sets whether or not the scene tile with ``id`` should display a placeholder in t |void| **set_scene_tile_id**\ (\ id\: :ref:`int`, new_id\: :ref:`int`\ ) :ref:`🔗` -Changes a scene tile's ID from ``id`` to ``new_id``. This will fail if there is already a tile with an ID equal to ``new_id``. +Cambia el ID de un tile de escena de ``id`` a ``new_id``. Esto fallará si ya hay un tile con un ID igual a ``new_id``. .. rst-class:: classref-item-separator @@ -220,7 +220,7 @@ Changes a scene tile's ID from ``id`` to ``new_id``. This will fail if there is |void| **set_scene_tile_scene**\ (\ id\: :ref:`int`, packed_scene\: :ref:`PackedScene`\ ) :ref:`🔗` -Assigns a :ref:`PackedScene` resource to the scene tile with ``id``. This will fail if the scene does not extend :ref:`CanvasItem`, as positioning properties are needed to place the scene on the :ref:`TileMapLayer`. +Asigna un recurso :ref:`PackedScene` al tile de escena con ``id``. Esto fallará si la escena no extiende :ref:`CanvasItem`, ya que se necesitan propiedades de posicionamiento para colocar la escena en :ref:`TileMapLayer`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_tilesetsource.rst b/classes/es/class_tilesetsource.rst index 08bc0347dd..80b734d629 100644 --- a/classes/es/class_tilesetsource.rst +++ b/classes/es/class_tilesetsource.rst @@ -9,22 +9,22 @@ TileSetSource **Heredado por:** :ref:`TileSetAtlasSource`, :ref:`TileSetScenesCollectionSource` -Exposes a set of tiles for a :ref:`TileSet` resource. +Expone un conjunto de tiles para un recurso :ref:`TileSet`. .. rst-class:: classref-introduction-group Descripción ---------------------- -Exposes a set of tiles for a :ref:`TileSet` resource. +Expone un conjunto de tiles para un recurso :ref:`TileSet`. -Tiles in a source are indexed with two IDs, coordinates ID (of type Vector2i) and an alternative ID (of type int), named according to their use in the :ref:`TileSetAtlasSource` class. +Los tiles de un origen se indexan con dos IDs, un ID de coordenadas (de tipo Vector2i) y un ID alternativo (de tipo int), denominados según su uso en la clase :ref:`TileSetAtlasSource`. -Depending on the TileSet source type, those IDs might have restrictions on their values, this is why the base **TileSetSource** class only exposes getters for them. +Dependiendo del tipo de origen TileSet, esos IDs pueden tener restricciones en sus valores, por eso la clase base **TileSetSource** solo expone getters para ellos. -You can iterate over all tiles exposed by a TileSetSource by first iterating over coordinates IDs using :ref:`get_tiles_count()` and :ref:`get_tile_id()`, then over alternative IDs using :ref:`get_alternative_tiles_count()` and :ref:`get_alternative_tile_id()`. +Puedes iterar sobre todos los tiles expuestos por un TileSetSource iterando primero sobre los ID de coordenadas usando :ref:`get_tiles_count()` y :ref:`get_tile_id()`, luego sobre los ID alternativos usando :ref:`get_alternative_tiles_count()` y :ref:`get_alternative_tile_id()`. -\ **Warning:** **TileSetSource** can only be added to one TileSet at the same time. Calling :ref:`TileSet.add_source()` on a second :ref:`TileSet` will remove the source from the first one. +\ **Advertencia:** **TileSetSource** solo se puede añadir a un TileSet al mismo tiempo. Llamar a :ref:`TileSet.add_source()` en un segundo :ref:`TileSet` eliminará el origen del primero. .. rst-class:: classref-reftable-group @@ -63,7 +63,7 @@ Descripciones de Métodos :ref:`int` **get_alternative_tile_id**\ (\ atlas_coords\: :ref:`Vector2i`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the alternative ID for the tile with coordinates ID ``atlas_coords`` at index ``index``. +Devuelve el ID alternativo para el tile con ID de coordenadas ``atlas_coords`` en el índice ``index``. .. rst-class:: classref-item-separator @@ -75,11 +75,11 @@ Returns the alternative ID for the tile with coordinates ID ``atlas_coords`` at :ref:`int` **get_alternative_tiles_count**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns the number of alternatives tiles for the coordinates ID ``atlas_coords``. +Devuelve el número de tiles alternativos para el ID de coordenadas ``atlas_coords``. -For :ref:`TileSetAtlasSource`, this always return at least 1, as the base tile with ID 0 is always part of the alternatives list. +Para :ref:`TileSetAtlasSource`, esto siempre devuelve al menos 1, ya que el tile base con ID 0 siempre forma parte de la lista de alternativas. -Returns -1 if there is not tile at the given coords. +Devuelve -1 si no hay tile en las coordenadas dadas. .. rst-class:: classref-item-separator @@ -91,7 +91,7 @@ Returns -1 if there is not tile at the given coords. :ref:`Vector2i` **get_tile_id**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the tile coordinates ID of the tile with index ``index``. +Devuelve el ID de las coordenadas del tile con el índice ``index``. .. rst-class:: classref-item-separator @@ -103,7 +103,7 @@ Returns the tile coordinates ID of the tile with index ``index``. :ref:`int` **get_tiles_count**\ (\ ) |const| :ref:`🔗` -Returns how many tiles this atlas source defines (not including alternative tiles). +Devuelve cuántos tiles define este origen del atlas (sin incluir los tiles alternativos). .. rst-class:: classref-item-separator @@ -115,7 +115,7 @@ Returns how many tiles this atlas source defines (not including alternative tile :ref:`bool` **has_alternative_tile**\ (\ atlas_coords\: :ref:`Vector2i`, alternative_tile\: :ref:`int`\ ) |const| :ref:`🔗` -Returns if the base tile at coordinates ``atlas_coords`` has an alternative with ID ``alternative_tile``. +Devuelve si el tile base en las coordenadas ``atlas_coords`` tiene una alternativa con ID ``alternative_tile``. .. rst-class:: classref-item-separator @@ -127,7 +127,7 @@ Returns if the base tile at coordinates ``atlas_coords`` has an alternative with :ref:`bool` **has_tile**\ (\ atlas_coords\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns if this atlas has a tile with coordinates ID ``atlas_coords``. +Devuelve si este atlas tiene un tile con ID de coordenadas ``atlas_coords``. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_time.rst b/classes/es/class_time.rst index 8c5cd86aea..52d23c6248 100644 --- a/classes/es/class_time.rst +++ b/classes/es/class_time.rst @@ -7,22 +7,22 @@ Time **Hereda:** :ref:`Object` -A singleton for working with time data. +Un singleton para trabajar con datos de tiempo. .. rst-class:: classref-introduction-group Descripción ---------------------- -The Time singleton allows converting time between various formats and also getting time information from the system. +El singleton Time permite convertir el tiempo entre varios formatos y también obtener información del tiempo del sistema. -This class conforms with as many of the ISO 8601 standards as possible. All dates follow the Proleptic Gregorian calendar. As such, the day before ``1582-10-15`` is ``1582-10-14``, not ``1582-10-04``. The year before 1 AD (aka 1 BC) is number ``0``, with the year before that (2 BC) being ``-1``, etc. +Esta clase cumple con la mayor cantidad posible de estándares ISO 8601. Todas las fechas siguen el calendario gregoriano proléptico. Como tal, el día anterior a ``1582-10-15`` es ``1582-10-14``, no ``1582-10-04``. El año anterior a 1 d.C. (también conocido como 1 a.C.) es el número ``0``, y el año anterior a ese (2 a.C.) es ``-1``, etc. -Conversion methods assume "the same timezone", and do not handle timezone conversions or DST automatically. Leap seconds are also not handled, they must be done manually if desired. Suffixes such as "Z" are not handled, you need to strip them away manually. +Los métodos de conversión asumen "la misma zona horaria" y no manejan las conversiones de zona horaria o el horario de verano automáticamente. Los segundos bisiestos tampoco se manejan, deben hacerse manualmente si se desea. Los sufijos como "Z" no se manejan, debes eliminarlos manualmente. -When getting time information from the system, the time can either be in the local timezone or UTC depending on the ``utc`` parameter. However, the :ref:`get_unix_time_from_system()` method always uses UTC as it returns the seconds passed since the `Unix epoch `__. +Al obtener información de tiempo del sistema, el tiempo puede estar en la zona horaria local o en UTC dependiendo del parámetro ``utc``. Sin embargo, el método :ref:`get_unix_time_from_system()` siempre usa UTC ya que devuelve los segundos transcurridos desde la `época de Unix `__. -\ **Important:** The ``_from_system`` methods use the system clock that the user can manually set. **Never use** this method for precise time calculation since its results are subject to automatic adjustments by the user or the operating system. **Always use** :ref:`get_ticks_usec()` or :ref:`get_ticks_msec()` for precise time calculation instead, since they are guaranteed to be monotonic (i.e. never decrease). +\ **Importante:** Los métodos ``_from_system`` usan el reloj del sistema que el usuario puede configurar manualmente. **Nunca uses** este método para cálculos de tiempo precisos ya que sus resultados están sujetos a ajustes automáticos por parte del usuario o del sistema operativo. **Usa siempre** :ref:`get_ticks_usec()` o :ref:`get_ticks_msec()` para cálculos de tiempo precisos en su lugar, ya que se garantiza que sean monótonos (es decir, que nunca disminuyan). .. rst-class:: classref-reftable-group @@ -268,9 +268,9 @@ Descripciones de Métodos :ref:`Dictionary` **get_date_dict_from_system**\ (\ utc\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current date as a dictionary of keys: ``year``, ``month``, ``day``, and ``weekday``. +Devuelve la fecha actual como un diccionario de claves: ``year``, ``month``, ``day`` y ``weekday``. -The returned values are in the system's local time when ``utc`` is ``false``, otherwise they are in UTC. +Los valores devueltos están en la hora local del sistema cuando ``utc`` es ``false``, de lo contrario, están en UTC. .. rst-class:: classref-item-separator @@ -282,7 +282,7 @@ The returned values are in the system's local time when ``utc`` is ``false``, ot :ref:`Dictionary` **get_date_dict_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given Unix timestamp to a dictionary of keys: ``year``, ``month``, ``day``, and ``weekday``. +Convierte la marca de tiempo de Unix dada en un diccionario de claves: ``year``, ``month``, ``day`` y ``weekday``. .. rst-class:: classref-item-separator @@ -294,9 +294,9 @@ Converts the given Unix timestamp to a dictionary of keys: ``year``, ``month``, :ref:`String` **get_date_string_from_system**\ (\ utc\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current date as an ISO 8601 date string (YYYY-MM-DD). +Devuelve la fecha actual como una cadena de fecha ISO 8601 (AAAA-MM-DD). -The returned values are in the system's local time when ``utc`` is ``false``, otherwise they are in UTC. +Los valores devueltos están en la hora local del sistema cuando ``utc`` es ``false``, de lo contrario, están en UTC. .. rst-class:: classref-item-separator @@ -308,7 +308,7 @@ The returned values are in the system's local time when ``utc`` is ``false``, ot :ref:`String` **get_date_string_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given Unix timestamp to an ISO 8601 date string (YYYY-MM-DD). +Convierte la marca de tiempo de Unix dada en una cadena de fecha ISO 8601 (AAAA-MM-DD). .. rst-class:: classref-item-separator @@ -336,7 +336,7 @@ If ``weekday`` is ``false``, then the ``weekday`` entry is excluded (the calcula :ref:`Dictionary` **get_datetime_dict_from_system**\ (\ utc\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current date as a dictionary of keys: ``year``, ``month``, ``day``, ``weekday``, ``hour``, ``minute``, ``second``, and ``dst`` (Daylight Savings Time). +Devuelve la fecha actual como un diccionario de claves: ``year``, ``month``, ``day``, ``weekday``, ``hour``, ``minute``, ``second`` y ``dst`` (horario de verano). .. rst-class:: classref-item-separator @@ -348,9 +348,9 @@ Returns the current date as a dictionary of keys: ``year``, ``month``, ``day``, :ref:`Dictionary` **get_datetime_dict_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given Unix timestamp to a dictionary of keys: ``year``, ``month``, ``day``, ``weekday``, ``hour``, ``minute``, and ``second``. +Convierte la marca de tiempo de Unix dada en un diccionario de claves: ``year``, ``month``, ``day``, ``weekday``, ``hour``, ``minute`` y ``second``. -The returned Dictionary's values will be the same as the :ref:`get_datetime_dict_from_system()` if the Unix timestamp is the current time, with the exception of Daylight Savings Time as it cannot be determined from the epoch. +Los valores del diccionario devuelto serán los mismos que los de :ref:`get_datetime_dict_from_system()` si la marca de tiempo de Unix es la hora actual, con la excepción del horario de verano, ya que no se puede determinar a partir de la época. .. rst-class:: classref-item-separator @@ -362,13 +362,13 @@ The returned Dictionary's values will be the same as the :ref:`get_datetime_dict :ref:`String` **get_datetime_string_from_datetime_dict**\ (\ datetime\: :ref:`Dictionary`, use_space\: :ref:`bool`\ ) |const| :ref:`🔗` -Converts the given dictionary of keys to an ISO 8601 date and time string (YYYY-MM-DDTHH:MM:SS). +Convierte el diccionario de claves dado en una cadena de fecha y hora ISO 8601 (AAAA-MM-DDTHH:MM:SS). -The given dictionary can be populated with the following keys: ``year``, ``month``, ``day``, ``hour``, ``minute``, and ``second``. Any other entries (including ``dst``) are ignored. +El diccionario dado se puede rellenar con las siguientes claves: ``year``, ``month``, ``day``, ``hour``, ``minute`` y ``second``. Cualquier otra entrada (incluyendo ``dst``) se ignora. -If the dictionary is empty, ``0`` is returned. If some keys are omitted, they default to the equivalent values for the Unix epoch timestamp 0 (1970-01-01 at 00:00:00). +Si el diccionario está vacío, se devuelve ``0``. Si se omiten algunas claves, el valor predeterminado es el equivalente a la marca de tiempo de la época de Unix 0 (1970-01-01 a las 00:00:00). -If ``use_space`` is ``true``, the date and time bits are separated by an empty space character instead of the letter T. +Si ``use_space`` es ``true``, los bits de fecha y hora se separan con un carácter de espacio vacío en lugar de la letra T. .. rst-class:: classref-item-separator @@ -380,11 +380,11 @@ If ``use_space`` is ``true``, the date and time bits are separated by an empty s :ref:`String` **get_datetime_string_from_system**\ (\ utc\: :ref:`bool` = false, use_space\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current date and time as an ISO 8601 date and time string (YYYY-MM-DDTHH:MM:SS). +Devuelve la fecha y hora actuales como una cadena de fecha y hora ISO 8601 (AAAA-MM-DDTHH:MM:SS). -The returned values are in the system's local time when ``utc`` is ``false``, otherwise they are in UTC. +Los valores devueltos están en la hora local del sistema cuando ``utc`` es ``false``; de lo contrario, están en UTC. -If ``use_space`` is ``true``, the date and time bits are separated by an empty space character instead of the letter T. +Si ``use_space`` es ``true``, los bits de fecha y hora se separan con un carácter de espacio vacío en lugar de la letra T. .. rst-class:: classref-item-separator @@ -396,9 +396,9 @@ If ``use_space`` is ``true``, the date and time bits are separated by an empty s :ref:`String` **get_datetime_string_from_unix_time**\ (\ unix_time_val\: :ref:`int`, use_space\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Converts the given Unix timestamp to an ISO 8601 date and time string (YYYY-MM-DDTHH:MM:SS). +Convierte la marca de tiempo de Unix dada en una cadena de fecha y hora ISO 8601 (AAAA-MM-DDTHH:MM:SS). -If ``use_space`` is ``true``, the date and time bits are separated by an empty space character instead of the letter T. +Si ``use_space`` es ``true``, los bits de fecha y hora se separan con un carácter de espacio vacío en lugar de la letra T. .. rst-class:: classref-item-separator @@ -410,7 +410,7 @@ If ``use_space`` is ``true``, the date and time bits are separated by an empty s :ref:`String` **get_offset_string_from_offset_minutes**\ (\ offset_minutes\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given timezone offset in minutes to a timezone offset string. For example, -480 returns "-08:00", 345 returns "+05:45", and 0 returns "+00:00". +Convierte el desplazamiento de la zona horaria dado en minutos en una cadena de desplazamiento de la zona horaria. Por ejemplo, -480 devuelve "-08:00", 345 devuelve "+05:45" y 0 devuelve "+00:00". .. rst-class:: classref-item-separator @@ -422,9 +422,9 @@ Converts the given timezone offset in minutes to a timezone offset string. For e :ref:`int` **get_ticks_msec**\ (\ ) |const| :ref:`🔗` -Returns the amount of time passed in milliseconds since the engine started. +Devuelve la cantidad de tiempo transcurrido en milisegundos desde que se inició el motor. -Will always be positive or 0 and uses a 64-bit value (it will wrap after roughly 500 million years). +Siempre será positivo o 0 y utiliza un valor de 64 bits (se ajustará después de aproximadamente 500 millones de años). .. rst-class:: classref-item-separator @@ -436,9 +436,9 @@ Will always be positive or 0 and uses a 64-bit value (it will wrap after roughly :ref:`int` **get_ticks_usec**\ (\ ) |const| :ref:`🔗` -Returns the amount of time passed in microseconds since the engine started. +Devuelve la cantidad de tiempo transcurrido en microsegundos desde que se inició el motor. -Will always be positive or 0 and uses a 64-bit value (it will wrap after roughly half a million years). +Siempre será positivo o 0 y utiliza un valor de 64 bits (se ajustará después de aproximadamente medio millón de años). .. rst-class:: classref-item-separator @@ -450,9 +450,9 @@ Will always be positive or 0 and uses a 64-bit value (it will wrap after roughly :ref:`Dictionary` **get_time_dict_from_system**\ (\ utc\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current time as a dictionary of keys: ``hour``, ``minute``, and ``second``. +Devuelve la hora actual como un diccionario de claves: ``hour``, ``minute`` y ``second``. -The returned values are in the system's local time when ``utc`` is ``false``, otherwise they are in UTC. +Los valores devueltos están en la hora local del sistema cuando ``utc`` es ``false``; de lo contrario, están en UTC. .. rst-class:: classref-item-separator @@ -464,7 +464,7 @@ The returned values are in the system's local time when ``utc`` is ``false``, ot :ref:`Dictionary` **get_time_dict_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given time to a dictionary of keys: ``hour``, ``minute``, and ``second``. +Convierte la hora dada en un diccionario de claves: ``hour``, ``minute`` y ``second``. .. rst-class:: classref-item-separator @@ -476,9 +476,9 @@ Converts the given time to a dictionary of keys: ``hour``, ``minute``, and ``sec :ref:`String` **get_time_string_from_system**\ (\ utc\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the current time as an ISO 8601 time string (HH:MM:SS). +Devuelve la hora actual como una cadena de hora ISO 8601 (HH:MM:SS). -The returned values are in the system's local time when ``utc`` is ``false``, otherwise they are in UTC. +Los valores devueltos están en la hora local del sistema cuando ``utc`` es ``false``; de lo contrario, están en UTC. .. rst-class:: classref-item-separator @@ -490,7 +490,7 @@ The returned values are in the system's local time when ``utc`` is ``false``, ot :ref:`String` **get_time_string_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converts the given Unix timestamp to an ISO 8601 time string (HH:MM:SS). +Convierte la marca de tiempo de Unix dada en una cadena de hora ISO 8601 (HH:MM:SS). .. rst-class:: classref-item-separator @@ -502,11 +502,11 @@ Converts the given Unix timestamp to an ISO 8601 time string (HH:MM:SS). :ref:`Dictionary` **get_time_zone_from_system**\ (\ ) |const| :ref:`🔗` -Returns the current time zone as a dictionary of keys: ``bias`` and ``name``. +Devuelve la zona horaria actual como un diccionario de claves: ``bias`` y ``name``. -- ``bias`` is the offset from UTC in minutes, since not all time zones are multiples of an hour from UTC. +- ``bias`` es la diferencia con respecto a UTC en minutos, ya que no todas las zonas horarias son múltiplos de una hora con respecto a UTC. -- ``name`` is the localized name of the time zone, according to the OS locale settings of the current user. +- ``name`` es el nombre localizado de la zona horaria, de acuerdo con la configuración regional del sistema operativo del usuario actual. .. rst-class:: classref-item-separator @@ -518,15 +518,15 @@ Returns the current time zone as a dictionary of keys: ``bias`` and ``name``. :ref:`int` **get_unix_time_from_datetime_dict**\ (\ datetime\: :ref:`Dictionary`\ ) |const| :ref:`🔗` -Converts a dictionary of time values to a Unix timestamp. +Convierte un diccionario de valores de tiempo a un timestamp de Unix. -The given dictionary can be populated with the following keys: ``year``, ``month``, ``day``, ``hour``, ``minute``, and ``second``. Any other entries (including ``dst``) are ignored. +El diccionario dado puede ser rellenado con las siguientes claves: ``year``, ``month``, ``day``, ``hour``, ``minute``, y ``second``. Cualquier otra entrada (incluyendo ``dst``) se ignora. -If the dictionary is empty, ``0`` is returned. If some keys are omitted, they default to the equivalent values for the Unix epoch timestamp 0 (1970-01-01 at 00:00:00). +Si el diccionario está vacío, se devuelve ``0``. Si algunas claves se omiten, se establece por defecto el valor equivalente para el timestamp de la época de Unix 0 (1970-01-01 a las 00:00:00). -You can pass the output from :ref:`get_datetime_dict_from_unix_time()` directly into this function and get the same as what was put in. +Puedes pasar la salida de :ref:`get_datetime_dict_from_unix_time()` directamente a esta función y obtener lo mismo que se introdujo. -\ **Note:** Unix timestamps are often in UTC. This method does not do any timezone conversion, so the timestamp will be in the same timezone as the given datetime dictionary. +\ **Nota:** Los timestamps de Unix suelen estar en UTC. Este método no realiza ninguna conversión de zona horaria, por lo que el timestamp estará en la misma zona horaria que el diccionario de fecha y hora dado. .. rst-class:: classref-item-separator @@ -538,11 +538,11 @@ You can pass the output from :ref:`get_datetime_dict_from_unix_time()` **get_unix_time_from_datetime_string**\ (\ datetime\: :ref:`String`\ ) |const| :ref:`🔗` -Converts the given ISO 8601 date and/or time string to a Unix timestamp. The string can contain a date only, a time only, or both. +Convierte la cadena de fecha y/u hora ISO 8601 dada a un timestamp de Unix. La cadena puede contener solo una fecha, solo una hora o ambas. -\ **Note:** Unix timestamps are often in UTC. This method does not do any timezone conversion, so the timestamp will be in the same timezone as the given datetime string. +\ **Nota:** Los timestamps de Unix suelen estar en UTC. Este método no realiza ninguna conversión de zona horaria, por lo que el timestamp estará en la misma zona horaria que la cadena de fecha y hora dada. -\ **Note:** Any decimal fraction in the time string will be ignored silently. +\ **Nota:** Cualquier fracción decimal en la cadena de tiempo se ignorará silenciosamente. .. rst-class:: classref-item-separator @@ -554,9 +554,9 @@ Converts the given ISO 8601 date and/or time string to a Unix timestamp. The str :ref:`float` **get_unix_time_from_system**\ (\ ) |const| :ref:`🔗` -Returns the current Unix timestamp in seconds based on the system time in UTC. This method is implemented by the operating system and always returns the time in UTC. The Unix timestamp is the number of seconds passed since 1970-01-01 at 00:00:00, the `Unix epoch `__. +Devuelve el timestamp de Unix actual en segundos basado en la hora del sistema en UTC. Este método es implementado por el sistema operativo y siempre devuelve la hora en UTC. El timestamp de Unix es el número de segundos transcurridos desde 1970-01-01 a las 00:00:00, la `época de Unix `__. -\ **Note:** Unlike other methods that use integer timestamps, this method returns the timestamp as a :ref:`float` for sub-second precision. +\ **Nota:** A diferencia de otros métodos que utilizan timestamps enteros, este método devuelve el timestamp como un :ref:`float` para una precisión de sub-segundos. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_timer.rst b/classes/es/class_timer.rst index 9d1cfa7d6d..cff4bf8dec 100644 --- a/classes/es/class_timer.rst +++ b/classes/es/class_timer.rst @@ -14,20 +14,20 @@ Un temporizador de cuenta atrás. Descripción ---------------------- -The **Timer** node is a countdown timer and is the simplest way to handle time-based logic in the engine. When a timer reaches the end of its :ref:`wait_time`, it will emit the :ref:`timeout` signal. +El nodo **Timer** es un temporizador de cuenta regresiva y es la forma más sencilla de manejar la lógica basada en el tiempo en el motor. Cuando un temporizador alcanza el final de su :ref:`wait_time`, emitirá la señal :ref:`timeout`. -After a timer enters the scene tree, it can be manually started with :ref:`start()`. A timer node is also started automatically if :ref:`autostart` is ``true``. +Después de que un temporizador entra en el árbol de escenas, se puede iniciar manualmente con :ref:`start()`. Un nodo temporizador también se inicia automáticamente si :ref:`autostart` es ``true``. -Without requiring much code, a timer node can be added and configured in the editor. The :ref:`timeout` signal it emits can also be connected through the Node dock in the editor: +Sin requerir mucho código, se puede agregar y configurar un nodo temporizador en el editor. La señal :ref:`timeout` que emite también se puede conectar a través del dock de Nodos en el editor: :: func _on_timer_timeout(): - print("Time to attack!") + print("¡Hora de atacar!") -\ **Note:** To create a one-shot timer without instantiating a node, use :ref:`SceneTree.create_timer()`. +\ **Nota:** Para crear un temporizador de un solo disparo sin instanciar un nodo, usa :ref:`SceneTree.create_timer()`. -\ **Note:** Timers are affected by :ref:`Engine.time_scale` unless :ref:`ignore_time_scale` is ``true``. The higher the time scale, the sooner timers will end. How often a timer processes may depend on the framerate or :ref:`Engine.physics_ticks_per_second`. +\ **Nota:** Los temporizadores se ven afectados por :ref:`Engine.time_scale` a menos que :ref:`ignore_time_scale` sea ``true``. Cuanto mayor sea la escala de tiempo, antes terminarán los temporizadores. La frecuencia con la que un temporizador procesa puede depender de la velocidad de fotogramas o de :ref:`Engine.physics_ticks_per_second`. .. rst-class:: classref-introduction-group @@ -114,7 +114,7 @@ enum **TimerProcessCallback**: :ref:`🔗` :ref:`TimerProcessCallback` **TIMER_PROCESS_PHYSICS** = ``0`` -Update the timer every physics process frame (see :ref:`Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS`). +Actualiza el temporizador en cada frame del proceso de física (véase :ref:`Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS`). .. _class_Timer_constant_TIMER_PROCESS_IDLE: @@ -122,7 +122,7 @@ Update the timer every physics process frame (see :ref:`Node.NOTIFICATION_INTERN :ref:`TimerProcessCallback` **TIMER_PROCESS_IDLE** = ``1`` -Update the timer every process (rendered) frame (see :ref:`Node.NOTIFICATION_INTERNAL_PROCESS`). +Actualiza el temporizador en cada frame del proceso (renderizado) (ver :ref:`Node.NOTIFICATION_INTERNAL_PROCESS`). .. rst-class:: classref-section-separator @@ -199,7 +199,7 @@ If ``true``, the timer will stop after reaching the end. Otherwise, as by defaul - |void| **set_paused**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_paused**\ (\ ) -If ``true``, the timer is paused. A paused timer does not process until this property is set back to ``false``, even when :ref:`start()` is called. See also :ref:`stop()`. +Si es ``true``, el temporizador se pausa. Un temporizador en pausa no se procesa hasta que esta propiedad se vuelve a establecer en ``false``, incluso cuando se llama a :ref:`start()`. Véase también :ref:`stop()`. .. rst-class:: classref-item-separator @@ -216,7 +216,7 @@ If ``true``, the timer is paused. A paused timer does not process until this pro - |void| **set_timer_process_callback**\ (\ value\: :ref:`TimerProcessCallback`\ ) - :ref:`TimerProcessCallback` **get_timer_process_callback**\ (\ ) -Specifies when the timer is updated during the main loop. +Especifica cuándo se actualiza el temporizador durante el bucle principal. .. rst-class:: classref-item-separator @@ -251,9 +251,9 @@ El tiempo restante del temporizador en segundos. Siempre es ``0`` si el temporiz - |void| **set_wait_time**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_wait_time**\ (\ ) -The time required for the timer to end, in seconds. This property can also be set every time :ref:`start()` is called. +El tiempo requerido para que el temporizador termine, en segundos. Esta propiedad también se puede establecer cada vez que se llama a :ref:`start()`. -\ **Note:** Timers can only process once per physics or process frame (depending on the :ref:`process_callback`). An unstable framerate may cause the timer to end inconsistently, which is especially noticeable if the wait time is lower than roughly ``0.05`` seconds. For very short timers, it is recommended to write your own code instead of using a **Timer** node. Timers are also affected by :ref:`Engine.time_scale`. +\ **Nota:** Los temporizadores solo pueden procesarse una vez por frame de física o de proceso (dependiendo del :ref:`process_callback`). Una velocidad de fotogramas inestable puede causar que el temporizador termine de manera inconsistente, lo cual es especialmente notable si el tiempo de espera es menor a aproximadamente ``0.05`` segundos. Para temporizadores muy cortos, se recomienda escribir tu propio código en lugar de usar un nodo **Timer**. Los temporizadores también se ven afectados por :ref:`Engine.time_scale`. .. rst-class:: classref-section-separator @@ -270,7 +270,7 @@ Descripciones de Métodos :ref:`bool` **is_stopped**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the timer is stopped or has not started. +Devuelve ``true`` si el temporizador está detenido o no ha comenzado. .. rst-class:: classref-item-separator @@ -282,9 +282,9 @@ Returns ``true`` if the timer is stopped or has not started. |void| **start**\ (\ time_sec\: :ref:`float` = -1\ ) :ref:`🔗` -Starts the timer, or resets the timer if it was started already. Fails if the timer is not inside the scene tree. If ``time_sec`` is greater than ``0``, this value is used for the :ref:`wait_time`. +Inicia el temporizador, o reinicia el temporizador si ya se ha iniciado. Falla si el temporizador no está dentro del árbol de escenas. Si ``time_sec`` es mayor que ``0``, este valor se utiliza para :ref:`wait_time`. -\ **Note:** This method does not resume a paused timer. See :ref:`paused`. +\ **Nota:** Este método no reanuda un temporizador en pausa. Consulta :ref:`paused`. .. rst-class:: classref-item-separator @@ -296,9 +296,9 @@ Starts the timer, or resets the timer if it was started already. Fails if the ti |void| **stop**\ (\ ) :ref:`🔗` -Stops the timer. See also :ref:`paused`. Unlike :ref:`start()`, this can safely be called if the timer is not inside the scene tree. +Detiene el temporizador. Véase también :ref:`paused`. A diferencia de :ref:`start()`, esto se puede llamar de forma segura si el temporizador no está dentro del árbol de escenas. -\ **Note:** Calling :ref:`stop()` does not emit the :ref:`timeout` signal, as the timer is not considered to have timed out. If this is desired, use ``$Timer.timeout.emit()`` after calling :ref:`stop()` to manually emit the signal. +\ **Nota:** Llamar a :ref:`stop()` no emite la señal :ref:`timeout`, ya que no se considera que el temporizador se haya agotado. Si se desea, utiliza ``$Timer.timeout.emit()`` después de llamar a :ref:`stop()` para emitir manualmente la señal. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_tlsoptions.rst b/classes/es/class_tlsoptions.rst index c56f408803..29e3bc166a 100644 --- a/classes/es/class_tlsoptions.rst +++ b/classes/es/class_tlsoptions.rst @@ -14,20 +14,20 @@ Configuración TLS para clientes y servidores. Descripción ---------------------- -TLSOptions abstracts the configuration options for the :ref:`StreamPeerTLS` and :ref:`PacketPeerDTLS` classes. +TLSOptions abstrae las opciones de configuración para las clases :ref:`StreamPeerTLS` y :ref:`PacketPeerDTLS`. -Objects of this class cannot be instantiated directly, and one of the static methods :ref:`client()`, :ref:`client_unsafe()`, or :ref:`server()` should be used instead. +Los objetos de esta clase no se pueden instanciar directamente, y en su lugar se debe utilizar uno de los métodos estáticos :ref:`client()`, :ref:`client_unsafe()` o :ref:`server()`. .. tabs:: .. code-tab:: gdscript - # Create a TLS client configuration which uses our custom trusted CA chain. + # Crea una configuración de cliente TLS que usa nuestra cadena CA de confianza personalizada. var client_trusted_cas = load("res://my_trusted_cas.crt") var client_tls_options = TLSOptions.client(client_trusted_cas) - # Create a TLS server configuration. + # Crea una configuración de servidor TLS. var server_certs = load("res://my_server_cas.crt") var server_key = load("res://my_server_key.key") var server_tls_options = TLSOptions.server(server_key, server_certs) diff --git a/classes/es/class_touchscreenbutton.rst b/classes/es/class_touchscreenbutton.rst index fea454294c..c10671088e 100644 --- a/classes/es/class_touchscreenbutton.rst +++ b/classes/es/class_touchscreenbutton.rst @@ -174,7 +174,7 @@ La máscara del botón. - |void| **set_passby_press**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_passby_press_enabled**\ (\ ) -Si ``true``, las señales :ref:`pressed` y :ref:`released` se emiten cada vez que un dedo presionado entra y sale del botón, incluso si la presión comenzó fuera del área activa del botón. +Si es ``true``, las señales :ref:`pressed` y :ref:`released` se emiten cada vez que un dedo presionado entra y sale del botón, incluso si la presión comenzó fuera del área activa del botón. \ **Nota:** Este es un modo de presión de "pasar por" (no "pasar por alto"). diff --git a/classes/es/class_translation.rst b/classes/es/class_translation.rst index 358930c6f6..5cb08a3137 100644 --- a/classes/es/class_translation.rst +++ b/classes/es/class_translation.rst @@ -9,7 +9,7 @@ Translation **Heredado por:** :ref:`OptimizedTranslation` -Una traducción de idioma que asigna una colección de cadenas a sus traducciones individuales. +Una traducción de idioma que asigna una colección de strings a sus traducciones individuales. .. rst-class:: classref-introduction-group diff --git a/classes/es/class_translationdomain.rst b/classes/es/class_translationdomain.rst index 5e41051fa2..6076aa47d0 100644 --- a/classes/es/class_translationdomain.rst +++ b/classes/es/class_translationdomain.rst @@ -115,7 +115,7 @@ Si es ``true``, la traducción está activada. De lo contrario, :ref:`translate( Reemplaza todos los caracteres con sus variantes acentuadas durante la seudolocalización. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -134,7 +134,7 @@ Reemplaza todos los caracteres con sus variantes acentuadas durante la seudoloca Duplica las vocales en las strings durante la seudolocalización para simular el alargamiento del texto debido a la localización. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -153,7 +153,7 @@ Duplica las vocales en las strings durante la seudolocalización para simular el Si es ``true``, activa la seudolocalización para el proyecto. Esto se puede utilizar para detectar strings no traducibles o problemas de diseño que pueden ocurrir una vez que el proyecto se localiza a idiomas que tienen strings más largas que el idioma de origen. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ Si es ``true``, activa la seudolocalización para el proyecto. Esto se puede uti La relación de expansión a utilizar durante la seudolocalización. Un valor de ``0.3`` es suficiente para la mayoría de los propósitos prácticos, y aumentará la longitud de cada cadena en un 30%. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -191,7 +191,7 @@ La relación de expansión a utilizar durante la seudolocalización. Un valor de Si es ``true``, emula texto bidireccional (de derecha a izquierda) cuando la seudolocalización está activada. Esto se puede utilizar para detectar problemas con el diseño RTL y la duplicación de la interfaz de usuario que surgirán si el proyecto se localiza a idiomas RTL como el árabe o el hebreo. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -210,7 +210,7 @@ Si es ``true``, emula texto bidireccional (de derecha a izquierda) cuando la seu Reemplaza todos los caracteres de la cadena con ``*``. Útil para encontrar strings no localizables. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -229,7 +229,7 @@ Reemplaza todos los caracteres de la cadena con ``*``. Útil para encontrar stri Prefijo que se añadirá a la cadena pseudolocalizada. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -248,7 +248,7 @@ Prefijo que se añadirá a la cadena pseudolocalizada. Omite los marcadores de posición para el formato de strings como ``%s`` o ``%f`` durante la seudolocalización. Útil para identificar strings que necesitan caracteres de control adicionales para mostrarse correctamente. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-item-separator @@ -267,7 +267,7 @@ Omite los marcadores de posición para el formato de strings como ``%s`` o ``%f` Sufijo que se añadirá a la cadena pseudolocalizada. -\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. +\ **Nota:** La actualización de esta propiedad no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la notificación :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente después de que hayas terminado de modificar las opciones relacionadas con la seudolocalización. .. rst-class:: classref-section-separator @@ -360,7 +360,7 @@ Establece la anulación de la configuración regional del dominio. Si ``locale`` es una cadena vacía, la anulación de la configuración regional está desactivada. De lo contrario, ``locale`` se estandarizará para que coincida con las configuraciones regionales conocidas (por ejemplo, ``en-US`` se correspondería con ``en_US``). -\ **Nota:** Llamar a este método no actualiza automáticamente los textos en el árbol de la escena. Por favor, propaga la señal :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente. +\ **Nota:** Llamar a este método no actualiza automáticamente los textos en el árbol de escenas. Por favor, propaga la señal :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` manualmente. .. rst-class:: classref-item-separator diff --git a/classes/es/class_translationserver.rst b/classes/es/class_translationserver.rst index 4819d5d8f4..2ca6be9924 100644 --- a/classes/es/class_translationserver.rst +++ b/classes/es/class_translationserver.rst @@ -117,7 +117,7 @@ Descripciones de Propiedades - |void| **set_pseudolocalization_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_pseudolocalization_enabled**\ (\ ) -Si es ``true``, habilita el uso de pseudolocalización en el dominio de traducción principal. Consulta :ref:`ProjectSettings.internationalization/pseudolocalization/use_pseudolocalization` para más detalles. +Si es ``true``, habilita el uso de pseudolocalización en el dominio de traducción principal. Véase :ref:`ProjectSettings.internationalization/pseudolocalization/use_pseudolocalization` para más detalles. .. rst-class:: classref-section-separator @@ -244,7 +244,7 @@ Devuelve un array de todas las configuraciones regionales cargadas del proyecto. Devuelve la configuración regional actual del proyecto. -Consulta también :ref:`OS.get_locale()` y :ref:`OS.get_locale_language()` para consultar la configuración regional del sistema del usuario. +Véase también :ref:`OS.get_locale()` y :ref:`OS.get_locale_language()` para consultar la configuración regional del sistema del usuario. .. rst-class:: classref-item-separator diff --git a/classes/es/class_tree.rst b/classes/es/class_tree.rst index b3b2547753..5896816325 100644 --- a/classes/es/class_tree.rst +++ b/classes/es/class_tree.rst @@ -1289,7 +1289,7 @@ Establece el título de una columna. |void| **set_column_title_alignment**\ (\ column\: :ref:`int`, title_alignment\: :ref:`HorizontalAlignment`\ ) :ref:`🔗` -Establece la alineación del título de la columna. Tenga en cuenta que :ref:`@GlobalScope.HORIZONTAL_ALIGNMENT_FILL` no es compatible con los títulos de las columnas. +Establece la alineación del título de la columna. Ten en cuenta que :ref:`@GlobalScope.HORIZONTAL_ALIGNMENT_FILL` no es compatible con los títulos de las columnas. .. rst-class:: classref-item-separator diff --git a/classes/es/class_trianglemesh.rst b/classes/es/class_trianglemesh.rst index 0e110596dc..e950f43168 100644 --- a/classes/es/class_trianglemesh.rst +++ b/classes/es/class_trianglemesh.rst @@ -85,11 +85,11 @@ Prueba la intersección con un rayo que comienza en ``begin`` y mira hacia ``dir Si se produce una intersección con un triángulo, devuelve un :ref:`Dictionary` con los siguientes campos: -\ ``position``: La posición en el triángulo intersectado. +\ ``position``: La posición en el triángulo intersecado. -\ ``normal``: La normal del triángulo intersectado. +\ ``normal``: La normal del triángulo intersecado. -\ ``face_index``: El índice del triángulo intersectado. +\ ``face_index``: El índice del triángulo intersecado. Devuelve un :ref:`Dictionary` vacío si no se produce ninguna intersección. @@ -109,11 +109,11 @@ Prueba la intersección con un segmento que va desde ``begin`` hasta ``end``. Si se produce una intersección con un triángulo, devuelve un :ref:`Dictionary` con los siguientes campos: -\ ``position``: La posición en el triángulo intersectado. +\ ``position``: La posición en el triángulo intersecado. -\ ``normal``: La normal del triángulo intersectado. +\ ``normal``: La normal del triángulo intersecado. -\ ``face_index``: El índice del triángulo intersectado. +\ ``face_index``: El índice del triángulo intersecado. Devuelve un :ref:`Dictionary` vacío si no se produce ninguna intersección. diff --git a/classes/es/class_vector2.rst b/classes/es/class_vector2.rst index 3dceb32149..06d783e07d 100644 --- a/classes/es/class_vector2.rst +++ b/classes/es/class_vector2.rst @@ -16,7 +16,7 @@ Estructura de 2 elementos que se puede usar para representar coordenadas 2D o cu Utiliza coordenadas de punto flotante. De forma predeterminada, estos valores de punto flotante utilizan una precisión de 32 bits, a diferencia de :ref:`float` que siempre tiene 64 bits. Si se necesita una precisión doble, compila el motor con la opción ``precision=double``. -Ver :ref:`Vector2i` para su contraparte entera. +Véase :ref:`Vector2i` para su contraparte entera. \ **Nota:** En un contexto booleano, un Vector2 se evaluará como ``false`` si es igual a ``Vector2(0, 0)``. De lo contrario, un Vector2 siempre se evaluará como ``true``. diff --git a/classes/es/class_vector2i.rst b/classes/es/class_vector2i.rst index 06e1c6d95c..7b724c40c7 100644 --- a/classes/es/class_vector2i.rst +++ b/classes/es/class_vector2i.rst @@ -14,7 +14,7 @@ Descripción Una estructura de 2 elementos que se puede utilizar para representar coordenadas de cuadrícula 2D o cualquier otro par de enteros. -Utiliza coordenadas enteras y, por lo tanto, es preferible a :ref:`Vector2` cuando se requiere una precisión exacta. Tenga en cuenta que los valores están limitados a 32 bits y, a diferencia de :ref:`Vector2`, esto no se puede configurar con una opción de compilación del motor. Utilice :ref:`int` o :ref:`PackedInt64Array` si se necesitan valores de 64 bits. +Utiliza coordenadas enteras y, por lo tanto, es preferible a :ref:`Vector2` cuando se requiere una precisión exacta. Ten en cuenta que los valores están limitados a 32 bits y, a diferencia de :ref:`Vector2`, esto no se puede configurar con una opción de compilación del motor. Utiliza :ref:`int` o :ref:`PackedInt64Array` si se necesitan valores de 64 bits. \ **Nota:** En un contexto booleano, un Vector2i se evaluará como ``false`` si es igual a ``Vector2i(0, 0)``. De lo contrario, un Vector2i siempre se evaluará como ``true``. @@ -321,7 +321,7 @@ Construye un **Vector2i** como una copia del **Vector2i** dado. :ref:`Vector2i` **Vector2i**\ (\ from\: :ref:`Vector2`\ ) -Construye un nuevo **Vector2i** a partir del :ref:`Vector2` dado truncando las partes fraccionarias de los componentes (redondeando hacia cero). Para un comportamiento diferente, considere pasar el resultado de :ref:`Vector2.ceil()`, :ref:`Vector2.floor()` o :ref:`Vector2.round()` a este constructor en su lugar. +Construye un nuevo **Vector2i** a partir del :ref:`Vector2` dado truncando las partes fraccionarias de los componentes (redondeando hacia cero). Para un comportamiento diferente, considera pasar el resultado de :ref:`Vector2.ceil()`, :ref:`Vector2.floor()` o :ref:`Vector2.round()` a este constructor en su lugar. .. rst-class:: classref-item-separator diff --git a/classes/es/class_vector3.rst b/classes/es/class_vector3.rst index cc3ad6ac88..d776014ce8 100644 --- a/classes/es/class_vector3.rst +++ b/classes/es/class_vector3.rst @@ -16,7 +16,7 @@ Estructura de 3 elementos que puede ser usada para representar coordenadas 3D o Utiliza coordenadas de punto flotante. De forma predeterminada, estos valores de punto flotante utilizan una precisión de 32 bits, a diferencia de :ref:`float` que siempre es de 64 bits. Si se necesita una precisión doble, compila el motor con la opción ``precision=double``. -Ver :ref:`Vector3i` para su contraparte entera. +Véase :ref:`Vector3i` para su contraparte entera. \ **Nota:** En un contexto booleano, un Vector3 se evaluará como ``false`` si es igual a ``Vector3(0, 0, 0)``. De lo contrario, un Vector3 siempre se evaluará como ``true``. @@ -337,7 +337,7 @@ Vector de la unidad inferior. **FORWARD** = ``Vector3(0, 0, -1)`` :ref:`🔗` -Vector unitario hacia adelante. Representa la dirección local de avance y la dirección global del norte. Tenga en cuenta que la dirección de avance para las luces, las cámaras, etc. es diferente de los activos 3D como los personajes, que miran hacia la cámara por convención. Utilice :ref:`MODEL_FRONT` y constantes similares cuando trabaje en el espacio de activos 3D. +Vector unitario hacia adelante. Representa la dirección local de avance y la dirección global del norte. Ten en cuenta que la dirección de avance para las luces, las cámaras, etc. es diferente de los activos 3D como los personajes, que miran hacia la cámara por convención. Utiliza :ref:`MODEL_FRONT` y constantes similares cuando trabaje en el espacio de activos 3D. .. _class_Vector3_constant_BACK: @@ -864,7 +864,7 @@ Devuelve el mínimo componente a componente de este y ``with``, equivalente a `` :ref:`int` **min_axis_index**\ (\ ) |const| :ref:`🔗` -Devuelve el eje del valor más bajo del vector. Consulta las constantes ``AXIS_*``. Si todos los componentes son iguales, este método devuelve la constante ``AXIS_Z``. +Devuelve el eje del valor más bajo del vector. Consulta las constantes ``AXIS_*``. Si todos los componentes son iguales, este método devuelve la constante :ref:`AXIS_Z`. .. rst-class:: classref-item-separator @@ -1129,7 +1129,7 @@ Devuelve ``true`` si los vectores no son iguales. Transforma inversamente (multiplica) el **Vector3** por la matriz :ref:`Basis` dada, bajo el supuesto de que la base es ortonormal (es decir, la rotación/reflexión está bien, la escala/sesgo no lo está). -\ ``vector * basis`` es equivalente a ``basis.transposed() * vector``. Ver :ref:`Basis.transposed()`. +\ ``vector * basis`` es equivalente a ``basis.transposed() * vector``. Véase :ref:`Basis.transposed()`. Para transformar por la inversa de una base no ortonormal (por ejemplo, con escalado) se puede utilizar ``basis.inverse() * vector`` en su lugar. Véase :ref:`Basis.inverse()`. diff --git a/classes/es/class_vector3i.rst b/classes/es/class_vector3i.rst index 7398e7fcd6..4c7c1d5e3d 100644 --- a/classes/es/class_vector3i.rst +++ b/classes/es/class_vector3i.rst @@ -231,7 +231,7 @@ Vector mínimo, un vector con todos los componentes iguales a ``INT32_MIN``. Se **MAX** = ``Vector3i(2147483647, 2147483647, 2147483647)`` :ref:`🔗` -Vector máximo, un vector con todos los componentes iguales a ``INT32_MAX``. Se puede utilizar como un entero equivalente a ``constante Vector3.INF``. +Vector máximo, un vector con todos los componentes iguales a ``INT32_MAX``. Se puede utilizar como un entero equivalente a :ref:`Vector3.INF`. .. _class_Vector3i_constant_LEFT: @@ -520,7 +520,7 @@ Devuelve el mínimo componente por componente de este y ``with``, equivalente a :ref:`int` **min_axis_index**\ (\ ) |const| :ref:`🔗` -Devuelve el eje del valor más bajo del vector. Consulta las constantes ``AXIS_*``. Si todos los componentes son iguales, este método devuelve la constante ``AXIS_Z``. +Devuelve el eje del valor más bajo del vector. Consulta las constantes ``AXIS_*``. Si todos los componentes son iguales, este método devuelve la constante :ref:`AXIS_Z`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_vector4.rst b/classes/es/class_vector4.rst index 0c3e55343c..f324053d86 100644 --- a/classes/es/class_vector4.rst +++ b/classes/es/class_vector4.rst @@ -16,7 +16,7 @@ Una estructura de 4 elementos que se puede usar para representar coordenadas 4D Utiliza coordenadas de punto flotante. De forma predeterminada, estos valores de punto flotante utilizan una precisión de 32 bits, a diferencia de :ref:`float`, que siempre tiene 64 bits. Si se necesita precisión doble, compila el motor con la opción ``precision=double``. -Consulta :ref:`Vector4i` para su contraparte entera. +Véase :ref:`Vector4i` para su contraparte entera. \ **Nota:** En un contexto booleano, un Vector4 se evaluará como ``false`` si es igual a ``Vector4(0, 0, 0, 0)``. De lo contrario, un Vector4 siempre se evaluará como ``true``. diff --git a/classes/es/class_vehiclewheel3d.rst b/classes/es/class_vehiclewheel3d.rst index 065cdfb765..9f51d2d502 100644 --- a/classes/es/class_vehiclewheel3d.rst +++ b/classes/es/class_vehiclewheel3d.rst @@ -230,7 +230,7 @@ La rigidez de la suspensión, medida en Newtons por milímetro (N/mm), o megagra - |void| **set_suspension_travel**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_suspension_travel**\ (\ ) -Esta es la distancia que puede recorrer la suspensión. Como las unidades Godot equivalen a metros, mantenga este ajuste relativamente bajo. Pruebe con un valor entre 0,1 y 0,3 dependiendo del tipo de coche. +Esta es la distancia que puede recorrer la suspensión. Como las unidades Godot equivalen a metros, mantén este ajuste relativamente bajo. Prueba con un valor entre 0,1 y 0,3 dependiendo del tipo de coche. .. rst-class:: classref-item-separator diff --git a/classes/es/class_viewport.rst b/classes/es/class_viewport.rst index e27795e318..b3a185dc1b 100644 --- a/classes/es/class_viewport.rst +++ b/classes/es/class_viewport.rst @@ -733,7 +733,7 @@ Los objetos se muestran sin información de iluminación y sus texturas son reem :ref:`DebugDraw` **DEBUG_DRAW_VOXEL_GI_ALBEDO** = ``6`` -Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -743,7 +743,7 @@ Los objetos se muestran solo con el valor albedo de los :ref:`VoxelGI` **DEBUG_DRAW_VOXEL_GI_LIGHTING** = ``7`` -Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -753,7 +753,7 @@ Los objetos se muestran solo con el valor de iluminación de los :ref:`VoxelGI` **DEBUG_DRAW_VOXEL_GI_EMISSION** = ``8`` -Los objetos se muestran solo con el color de emisión de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido horneado para tener un efecto visible. +Los objetos se muestran solo con el color de emisión de los :ref:`VoxelGI`. Requiere al menos un nodo :ref:`VoxelGI` visible que haya sido procesado para tener un efecto visible. \ **Nota:** Solo se admite cuando se utiliza el método de renderizado Forward+. @@ -855,7 +855,7 @@ No hace nada si el :ref:`Environment.sdfgi_enabled` **DEBUG_DRAW_GI_BUFFER** = ``18`` -Dibuja el búfer utilizado para la iluminación global de :ref:`VoxelGI` o SDFGI. Requiere que :ref:`VoxelGI` (al menos un nodo VoxelGI horneado visible) o SDFGI (:ref:`Environment.sdfgi_enabled`) estén habilitados para tener un efecto visible. +Dibuja el búfer utilizado para la iluminación global de :ref:`VoxelGI` o SDFGI. Requiere que :ref:`VoxelGI` (al menos un nodo VoxelGI procesado visible) o SDFGI (:ref:`Environment.sdfgi_enabled`) estén habilitados para tener un efecto visible. \ **Nota:** Sólo se admite cuando se utiliza el método de renderizado Forward+. @@ -2373,7 +2373,7 @@ Devuelve el RID del viewport del :ref:`RenderingServer`. :ref:`Rect2` **get_visible_rect**\ (\ ) |const| :ref:`🔗` -Devuelve el RID del viewport del ``VisualServer``. +Returns the visible rectangle in global screen coordinates. .. rst-class:: classref-item-separator diff --git a/classes/es/class_visibleonscreenenabler3d.rst b/classes/es/class_visibleonscreenenabler3d.rst index 5bfd2d1fb0..c9d516e605 100644 --- a/classes/es/class_visibleonscreenenabler3d.rst +++ b/classes/es/class_visibleonscreenenabler3d.rst @@ -16,7 +16,7 @@ Descripción **VisibleOnScreenEnabler3D** contiene una región con forma de caja del espacio 3D y un nodo objetivo. El nodo objetivo se activará automáticamente (a través de su propiedad :ref:`Node.process_mode`) cuando cualquier parte de esta región se haga visible en la pantalla, y se desactivará automáticamente en caso contrario. Esto puede, por ejemplo, utilizarse para activar a los enemigos sólo cuando el jugador se acerca a ellos. -Consulta :ref:`VisibleOnScreenNotifier3D` si sólo quieres que se te notifique cuando la región sea visible en la pantalla. +Véase :ref:`VisibleOnScreenNotifier3D` si sólo quieres que se te notifique cuando la región sea visible en la pantalla. \ **Nota:** **VisibleOnScreenEnabler3D** utiliza una heurística aproximada que no tiene en cuenta las paredes y otras oclusiones, a menos que se utilice el culling por oclusión. Tampoco funcionará a menos que :ref:`Node3D.visible` esté establecido en ``true``. @@ -110,7 +110,7 @@ Determina cómo se habilita el nodo objetivo. Corresponde a :ref:`ProcessMode`\ ) - :ref:`NodePath` **get_enable_node_path**\ (\ ) -La ruta al nodo objetivo, relativa al **VisibleOnScreenEnabler3D**. El nodo objetivo se almacena en caché; solo se asigna al establecer esta propiedad (si el **VisibleOnScreenEnabler3D** está dentro del árbol de la escena) y cada vez que el **VisibleOnScreenEnabler3D** entra en el árbol de la escena. Si la ruta está vacía, ningún nodo se verá afectado. Si la ruta no es válida, también se genera un error. +La ruta al nodo objetivo, relativa al **VisibleOnScreenEnabler3D**. El nodo objetivo se almacena en caché; solo se asigna al establecer esta propiedad (si el **VisibleOnScreenEnabler3D** está dentro del árbol de escenas) y cada vez que el **VisibleOnScreenEnabler3D** entra en el árbol de escenas. Si la ruta está vacía, ningún nodo se verá afectado. Si la ruta no es válida, también se genera un error. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visibleonscreennotifier3d.rst b/classes/es/class_visibleonscreennotifier3d.rst index 7711157375..7e06bf7fca 100644 --- a/classes/es/class_visibleonscreennotifier3d.rst +++ b/classes/es/class_visibleonscreennotifier3d.rst @@ -114,7 +114,7 @@ Descripciones de Métodos Si es ``true``, el cuadro delimitador está en la pantalla. -\ **Nota:** Se necesita un fotograma para que se evalúe la visibilidad del **VisibleOnScreenNotifier3D** una vez que se añade al árbol de la escena, por lo que este método siempre devolverá ``false`` justo después de que se instancie. +\ **Nota:** Se necesita un fotograma para que se evalúe la visibilidad del **VisibleOnScreenNotifier3D** una vez que se añade al árbol de escenas, por lo que este método siempre devolverá ``false`` justo después de que se instancie. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualinstance3d.rst b/classes/es/class_visualinstance3d.rst index d3ebb80cf1..53731344c9 100644 --- a/classes/es/class_visualinstance3d.rst +++ b/classes/es/class_visualinstance3d.rst @@ -153,7 +153,7 @@ Descripciones de Métodos :ref:`AABB` **get_aabb**\ (\ ) |const| :ref:`🔗` -Devuelve el :ref:`AABB` (también conocido como el cuadro delimitador) para este ``VisualInstance``. Véase también :ref:`get_transformed_aabb()`. +Devuelve el :ref:`AABB` (también conocido como el cuadro delimitador) para este **VisualInstance3D**. .. rst-class:: classref-item-separator diff --git a/classes/es/class_visualshadernodebillboard.rst b/classes/es/class_visualshadernodebillboard.rst index c7f9c36fb5..db53a42b7e 100644 --- a/classes/es/class_visualshadernodebillboard.rst +++ b/classes/es/class_visualshadernodebillboard.rst @@ -122,7 +122,7 @@ Controla cómo el objeto mira a la cámara. - |void| **set_keep_scale_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_keep_scale_enabled**\ (\ ) -Si es ``true``, el shader mantendrá la escala establecida para la malla. De lo contrario, la escala se perderá cuando se haga billboarding. Sólo se aplica cuando :ref:`billboard_mode` es :ref:`BILLBOARD_ENABLED`. +Si es ``true``, el shader mantendrá la escala establecida para la malla. De lo contrario, la escala se perderá cuando se haga billboarding. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodebooleanparameter.rst b/classes/es/class_visualshadernodebooleanparameter.rst index 14c6d6e7cd..468b912240 100644 --- a/classes/es/class_visualshadernodebooleanparameter.rst +++ b/classes/es/class_visualshadernodebooleanparameter.rst @@ -14,7 +14,7 @@ Un parámetro booleano para ser usado dentro del gráfico de shader visual. Descripción ---------------------- -Traducido a ``bool`` uniforme en el lenguaje de los shaders. +Traducido a ``uniform bool`` uniforme en el lenguaje de los shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodecolorparameter.rst b/classes/es/class_visualshadernodecolorparameter.rst index 33c51ffe56..81351ee612 100644 --- a/classes/es/class_visualshadernodecolorparameter.rst +++ b/classes/es/class_visualshadernodecolorparameter.rst @@ -14,7 +14,7 @@ Un parámetro :ref:`Color` para ser usado dentro del gráfico de sh Descripción ---------------------- -Traducido a ``uniform vec4`` en el lenguaje de shader. +Traducido a ``uniform vec4`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodecubemap.rst b/classes/es/class_visualshadernodecubemap.rst index 87951f8f05..13a98721b2 100644 --- a/classes/es/class_visualshadernodecubemap.rst +++ b/classes/es/class_visualshadernodecubemap.rst @@ -14,7 +14,7 @@ Un nodo de muestreo :ref:`Cubemap` para ser usado dentro del grá Descripción ---------------------- -Traducido a ``texture(cubemap, vec3)`` en el lenguaje de shader. Devuelve un vector de color y un canal alfa como escalar. +Traducido a ``texture(cubemap, vec3)`` en el lenguaje de shaders. Devuelve un vector de color y un canal alfa como escalar. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodecubemapparameter.rst b/classes/es/class_visualshadernodecubemapparameter.rst index f292f19d76..ee3c15e1eb 100644 --- a/classes/es/class_visualshadernodecubemapparameter.rst +++ b/classes/es/class_visualshadernodecubemapparameter.rst @@ -14,7 +14,7 @@ Un nodo de parámetro :ref:`Cubemap` que se utilizará dentro del Descripción ---------------------- -Traducido a ``uniform samplerCube`` en el lenguaje de shader. El valor de salida se puede utilizar como puerto para :ref:`VisualShaderNodeCubemap`. +Traducido a ``uniform samplerCube`` en el lenguaje de shaders. El valor de salida se puede utilizar como puerto para :ref:`VisualShaderNodeCubemap`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodedeterminant.rst b/classes/es/class_visualshadernodedeterminant.rst index a22efe4839..fa6d683fe8 100644 --- a/classes/es/class_visualshadernodedeterminant.rst +++ b/classes/es/class_visualshadernodedeterminant.rst @@ -14,7 +14,7 @@ Calcula el determinante de una :ref:`Transform3D` dentro del Descripción ---------------------- -Se traduce a ``determinant(x)`` en el lenguaje de shader. +Se traduce a ``determinant(x)`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodedotproduct.rst b/classes/es/class_visualshadernodedotproduct.rst index 258604de93..74633558ab 100644 --- a/classes/es/class_visualshadernodedotproduct.rst +++ b/classes/es/class_visualshadernodedotproduct.rst @@ -14,7 +14,7 @@ Calcula un producto escalar de dos vectores dentro del gráfico shader visual. Descripción ---------------------- -Se traduce a ``dot(a, b)`` en el lenguaje de shader. +Se traduce a ``dot(a, b)`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodefaceforward.rst b/classes/es/class_visualshadernodefaceforward.rst index dbcccb5ef5..1b54919dcc 100644 --- a/classes/es/class_visualshadernodefaceforward.rst +++ b/classes/es/class_visualshadernodefaceforward.rst @@ -14,7 +14,7 @@ Devuelve el vector que apunta en la misma dirección que un vector de referencia Descripción ---------------------- -Se traduce a ``faceforward(N, I, Nref)`` en el lenguaje de shader. La función tiene tres parámetros vectoriales: ``N``, el vector a orientar, ``I``, el vector incidente y ``Nref``, el vector de referencia. Si el producto punto de ``I`` y ``Nref`` es menor que cero, el valor de retorno es ``N``. De lo contrario, se devuelve ``-N``. +Se traduce a ``faceforward(N, I, Nref)`` en el lenguaje de shaders. La función tiene tres parámetros vectoriales: ``N``, el vector a orientar, ``I``, el vector incidente y ``Nref``, el vector de referencia. Si el producto punto de ``I`` y ``Nref`` es menor que cero, el valor de retorno es ``N``. De lo contrario, se devuelve ``-N``. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodefloatconstant.rst b/classes/es/class_visualshadernodefloatconstant.rst index 9e08a05fc0..fde23db911 100644 --- a/classes/es/class_visualshadernodefloatconstant.rst +++ b/classes/es/class_visualshadernodefloatconstant.rst @@ -14,7 +14,7 @@ Una constante escalar de punto flotante que se utilizará dentro del gráfico de Descripción ---------------------- -Traducido a ``float`` en el lenguaje de shader. +Traducido a ``float`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodefloatfunc.rst b/classes/es/class_visualshadernodefloatfunc.rst index 2bfae6e0d8..0b8368fe16 100644 --- a/classes/es/class_visualshadernodefloatfunc.rst +++ b/classes/es/class_visualshadernodefloatfunc.rst @@ -49,7 +49,7 @@ enum **Function**: :ref:`🔗` :ref:`Function` **FUNC_SIN** = ``0`` -Devuelve el seno del parámetro. Se traduce a ``sin(x)`` en el lenguaje de shader de Godot. +Devuelve el seno del parámetro. Se traduce a ``sin(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_COS: @@ -57,7 +57,7 @@ Devuelve el seno del parámetro. Se traduce a ``sin(x)`` en el lenguaje de shade :ref:`Function` **FUNC_COS** = ``1`` -Devuelve el coseno del parámetro. Se traduce a ``cos(x)`` en el lenguaje de shader de Godot. +Devuelve el coseno del parámetro. Se traduce a ``cos(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_TAN: @@ -65,7 +65,7 @@ Devuelve el coseno del parámetro. Se traduce a ``cos(x)`` en el lenguaje de sha :ref:`Function` **FUNC_TAN** = ``2`` -Devuelve la tangente del parámetro. Se traduce a ``tan(x)`` en el lenguaje de shader de Godot. +Devuelve la tangente del parámetro. Se traduce a ``tan(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ASIN: @@ -73,7 +73,7 @@ Devuelve la tangente del parámetro. Se traduce a ``tan(x)`` en el lenguaje de s :ref:`Function` **FUNC_ASIN** = ``3`` -Devuelve el arcoseno del parámetro. Se traduce a ``asin(x)`` en el lenguaje de shader de Godot. +Devuelve el arcoseno del parámetro. Se traduce a ``asin(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ACOS: @@ -81,7 +81,7 @@ Devuelve el arcoseno del parámetro. Se traduce a ``asin(x)`` en el lenguaje de :ref:`Function` **FUNC_ACOS** = ``4`` -Devuelve el arcocoseno del parámetro. Se traduce a ``acos(x)`` en el lenguaje de shader de Godot. +Devuelve el arcocoseno del parámetro. Se traduce a ``acos(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ATAN: @@ -89,7 +89,7 @@ Devuelve el arcocoseno del parámetro. Se traduce a ``acos(x)`` en el lenguaje d :ref:`Function` **FUNC_ATAN** = ``5`` -Devuelve la arcotangente del parámetro. Se traduce a ``atan(x)`` en el lenguaje de shader de Godot. +Devuelve la arcotangente del parámetro. Se traduce a ``atan(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_SINH: @@ -97,7 +97,7 @@ Devuelve la arcotangente del parámetro. Se traduce a ``atan(x)`` en el lenguaje :ref:`Function` **FUNC_SINH** = ``6`` -Devuelve el seno hiperbólico del parámetro. Se traduce a ``sinh(x)`` en el lenguaje de shader de Godot. +Devuelve el seno hiperbólico del parámetro. Se traduce a ``sinh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_COSH: @@ -105,7 +105,7 @@ Devuelve el seno hiperbólico del parámetro. Se traduce a ``sinh(x)`` en el len :ref:`Function` **FUNC_COSH** = ``7`` -Devuelve el coseno hiperbólico del parámetro. Se traduce a ``cosh(x)`` en el lenguaje de shader de Godot. +Devuelve el coseno hiperbólico del parámetro. Se traduce a ``cosh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_TANH: @@ -113,7 +113,7 @@ Devuelve el coseno hiperbólico del parámetro. Se traduce a ``cosh(x)`` en el l :ref:`Function` **FUNC_TANH** = ``8`` -Devuelve la tangente hiperbólica del parámetro. Se traduce a ``tanh(x)`` en el lenguaje de shader de Godot. +Devuelve la tangente hiperbólica del parámetro. Se traduce a ``tanh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_LOG: @@ -121,7 +121,7 @@ Devuelve la tangente hiperbólica del parámetro. Se traduce a ``tanh(x)`` en el :ref:`Function` **FUNC_LOG** = ``9`` -Devuelve el logaritmo natural del parámetro. Se traduce a ``log(x)`` en el lenguaje de shader de Godot. +Devuelve el logaritmo natural del parámetro. Se traduce a ``log(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_EXP: @@ -129,7 +129,7 @@ Devuelve el logaritmo natural del parámetro. Se traduce a ``log(x)`` en el leng :ref:`Function` **FUNC_EXP** = ``10`` -Devuelve la exponenciación natural del parámetro. Se traduce a ``exp(x)`` en el lenguaje de shader de Godot. +Devuelve la exponenciación natural del parámetro. Se traduce a ``exp(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_SQRT: @@ -137,7 +137,7 @@ Devuelve la exponenciación natural del parámetro. Se traduce a ``exp(x)`` en e :ref:`Function` **FUNC_SQRT** = ``11`` -Devuelve la raíz cuadrada del parámetro. Se traduce a ``sqrt(x)`` en el lenguaje de shader de Godot. +Devuelve la raíz cuadrada del parámetro. Se traduce a ``sqrt(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ABS: @@ -145,7 +145,7 @@ Devuelve la raíz cuadrada del parámetro. Se traduce a ``sqrt(x)`` en el lengua :ref:`Function` **FUNC_ABS** = ``12`` -Devuelve el valor absoluto del parámetro. Se traduce a ``abs(x)`` en el lenguaje de shader de Godot. +Devuelve el valor absoluto del parámetro. Se traduce a ``abs(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_SIGN: @@ -153,7 +153,7 @@ Devuelve el valor absoluto del parámetro. Se traduce a ``abs(x)`` en el lenguaj :ref:`Function` **FUNC_SIGN** = ``13`` -Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shader de Godot. +Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_FLOOR: @@ -161,7 +161,7 @@ Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shade :ref:`Function` **FUNC_FLOOR** = ``14`` -Encuentra el entero más cercano menor o igual que el parámetro. Se traduce a ``floor(x)`` en el lenguaje de shader de Godot. +Encuentra el entero más cercano menor o igual que el parámetro. Se traduce a ``floor(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ROUND: @@ -169,7 +169,7 @@ Encuentra el entero más cercano menor o igual que el parámetro. Se traduce a ` :ref:`Function` **FUNC_ROUND** = ``15`` -Encuentra el entero más cercano al parámetro. Se traduce a ``round(x)`` en el lenguaje de shader de Godot. +Encuentra el entero más cercano al parámetro. Se traduce a ``round(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_CEIL: @@ -177,7 +177,7 @@ Encuentra el entero más cercano al parámetro. Se traduce a ``round(x)`` en el :ref:`Function` **FUNC_CEIL** = ``16`` -Encuentra el entero más cercano que es mayor o igual que el parámetro. Se traduce a ``ceil(x)`` en el lenguaje de shader de Godot. +Encuentra el entero más cercano que es mayor o igual que el parámetro. Se traduce a ``ceil(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_FRACT: @@ -185,7 +185,7 @@ Encuentra el entero más cercano que es mayor o igual que el parámetro. Se trad :ref:`Function` **FUNC_FRACT** = ``17`` -Calcula la parte fraccionaria del argumento. Se traduce a ``fract(x)`` en el lenguaje de shader de Godot. +Calcula la parte fraccionaria del argumento. Se traduce a ``fract(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_SATURATE: @@ -209,7 +209,7 @@ Niega el ``x`` usando ``-(x)``. :ref:`Function` **FUNC_ACOSH** = ``20`` -Devuelve el arcocoseno hiperbólico del parámetro. Se traduce a ``acosh(x)`` en el lenguaje de shader de Godot. +Devuelve el arcocoseno hiperbólico del parámetro. Se traduce a ``acosh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ASINH: @@ -217,7 +217,7 @@ Devuelve el arcocoseno hiperbólico del parámetro. Se traduce a ``acosh(x)`` en :ref:`Function` **FUNC_ASINH** = ``21`` -Devuelve el arcoseno hiperbólico del parámetro. Se traduce a ``asinh(x)`` en el lenguaje de shader de Godot. +Devuelve el arcoseno hiperbólico del parámetro. Se traduce a ``asinh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ATANH: @@ -225,7 +225,7 @@ Devuelve el arcoseno hiperbólico del parámetro. Se traduce a ``asinh(x)`` en e :ref:`Function` **FUNC_ATANH** = ``22`` -Devuelve la arco tangente hiperbólica del parámetro. Se traduce a ``atanh(x)`` en el lenguaje de shader de Godot. +Devuelve la arco tangente hiperbólica del parámetro. Se traduce a ``atanh(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_DEGREES: @@ -233,7 +233,7 @@ Devuelve la arco tangente hiperbólica del parámetro. Se traduce a ``atanh(x)`` :ref:`Function` **FUNC_DEGREES** = ``23`` -Convierte una cantidad en radianes a grados. Se traduce a ``degrees(x)`` en el lenguaje de shader de Godot. +Convierte una cantidad en radianes a grados. Se traduce a ``degrees(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_EXP2: @@ -241,7 +241,7 @@ Convierte una cantidad en radianes a grados. Se traduce a ``degrees(x)`` en el l :ref:`Function` **FUNC_EXP2** = ``24`` -Devuelve 2 elevado a la potencia del parámetro. Se traduce a ``exp2(x)`` en el lenguaje de shader de Godot. +Devuelve 2 elevado a la potencia del parámetro. Se traduce a ``exp2(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_INVERSE_SQRT: @@ -249,7 +249,7 @@ Devuelve 2 elevado a la potencia del parámetro. Se traduce a ``exp2(x)`` en el :ref:`Function` **FUNC_INVERSE_SQRT** = ``25`` -Devuelve la inversa de la raíz cuadrada del parámetro. Se traduce a ``inversesqrt(x)`` en el lenguaje de shader de Godot. +Devuelve la inversa de la raíz cuadrada del parámetro. Se traduce a ``inversesqrt(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_LOG2: @@ -257,7 +257,7 @@ Devuelve la inversa de la raíz cuadrada del parámetro. Se traduce a ``inverses :ref:`Function` **FUNC_LOG2** = ``26`` -Devuelve el logaritmo en base 2 del parámetro. Se traduce a ``log2(x)`` en el lenguaje de shader de Godot. +Devuelve el logaritmo en base 2 del parámetro. Se traduce a ``log2(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_RADIANS: @@ -265,7 +265,7 @@ Devuelve el logaritmo en base 2 del parámetro. Se traduce a ``log2(x)`` en el l :ref:`Function` **FUNC_RADIANS** = ``27`` -Convierte una cantidad en grados a radianes. Se traduce a ``radians(x)`` en el lenguaje de shader de Godot. +Convierte una cantidad en grados a radianes. Se traduce a ``radians(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_RECIPROCAL: @@ -281,7 +281,7 @@ Encuentra el valor recíproco de dividir 1 por ``x`` (es decir, ``1 / x``). :ref:`Function` **FUNC_ROUNDEVEN** = ``29`` -Encuentra el entero par más cercano al parámetro. Se traduce a ``roundEven(x)`` en el lenguaje de shader de Godot. +Encuentra el entero par más cercano al parámetro. Se traduce a ``roundEven(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_TRUNC: @@ -289,7 +289,7 @@ Encuentra el entero par más cercano al parámetro. Se traduce a ``roundEven(x)` :ref:`Function` **FUNC_TRUNC** = ``30`` -Devuelve un valor igual al entero más cercano a ``x`` cuyo valor absoluto no es mayor que el valor absoluto de ``x``. Se traduce a ``trunc(x)`` en el lenguaje de shader de Godot. +Devuelve un valor igual al entero más cercano a ``x`` cuyo valor absoluto no es mayor que el valor absoluto de ``x``. Se traduce a ``trunc(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatFunc_constant_FUNC_ONEMINUS: diff --git a/classes/es/class_visualshadernodefloatop.rst b/classes/es/class_visualshadernodefloatop.rst index 4ce224d739..89aa0cb7fa 100644 --- a/classes/es/class_visualshadernodefloatop.rst +++ b/classes/es/class_visualshadernodefloatop.rst @@ -81,7 +81,7 @@ Divide dos números usando ``a / b``. :ref:`Operator` **OP_MOD** = ``4`` -Calcula el resto de dos números. Se traduce a ``mod(a, b)`` en el lenguaje de shader de Godot. +Calcula el resto de dos números. Se traduce a ``mod(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatOp_constant_OP_POW: @@ -89,7 +89,7 @@ Calcula el resto de dos números. Se traduce a ``mod(a, b)`` en el lenguaje de s :ref:`Operator` **OP_POW** = ``5`` -Eleva ``a`` a la potencia de ``b``. Se traduce a ``pow(a, b)`` en el lenguaje de shader de Godot. +Eleva ``a`` a la potencia de ``b``. Se traduce a ``pow(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatOp_constant_OP_MAX: @@ -97,7 +97,7 @@ Eleva ``a`` a la potencia de ``b``. Se traduce a ``pow(a, b)`` en el lenguaje de :ref:`Operator` **OP_MAX** = ``6`` -Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shader de Godot. +Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatOp_constant_OP_MIN: @@ -105,7 +105,7 @@ Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de :ref:`Operator` **OP_MIN** = ``7`` -Devuelve el menor de dos números. Se traduce a ``min(a, b)`` en el lenguaje de shader de Godot. +Devuelve el menor de dos números. Se traduce a ``min(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatOp_constant_OP_ATAN2: @@ -113,7 +113,7 @@ Devuelve el menor de dos números. Se traduce a ``min(a, b)`` en el lenguaje de :ref:`Operator` **OP_ATAN2** = ``8`` -Devuelve la arcotangente de los parámetros. Se traduce a ``atan(a, b)`` en el lenguaje de shader de Godot. +Devuelve la arcotangente de los parámetros. Se traduce a ``atan(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeFloatOp_constant_OP_STEP: diff --git a/classes/es/class_visualshadernodefloatparameter.rst b/classes/es/class_visualshadernodefloatparameter.rst index 766e4f4c95..29a3561bfd 100644 --- a/classes/es/class_visualshadernodefloatparameter.rst +++ b/classes/es/class_visualshadernodefloatparameter.rst @@ -14,7 +14,7 @@ Un parámetro escalar de punto flotante para ser utilizado dentro del gráfico d Descripción ---------------------- -Traducido a ``uniform float`` en el lenguaje de shader. +Traducido a ``uniform float`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodeintconstant.rst b/classes/es/class_visualshadernodeintconstant.rst index 13a479a800..4abd4b9c6c 100644 --- a/classes/es/class_visualshadernodeintconstant.rst +++ b/classes/es/class_visualshadernodeintconstant.rst @@ -14,7 +14,7 @@ Una constante escalar entera para ser usada dentro del grafo de shader visual. Descripción ---------------------- -Traducido a ``int`` en el lenguaje de shader. +Traducido a ``int`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodeintfunc.rst b/classes/es/class_visualshadernodeintfunc.rst index c9ed7bb70b..bc8e4712be 100644 --- a/classes/es/class_visualshadernodeintfunc.rst +++ b/classes/es/class_visualshadernodeintfunc.rst @@ -49,7 +49,7 @@ enum **Function**: :ref:`🔗` :ref:`Function` **FUNC_ABS** = ``0`` -Devuelve el valor absoluto del parámetro. Se traduce a ``abs(x)`` en el lenguaje de shader de Godot. +Devuelve el valor absoluto del parámetro. Se traduce a ``abs(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntFunc_constant_FUNC_NEGATE: @@ -65,7 +65,7 @@ Niega el ``x`` usando ``-(x)``. :ref:`Function` **FUNC_SIGN** = ``2`` -Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shader de Godot. +Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntFunc_constant_FUNC_BITWISE_NOT: @@ -73,7 +73,7 @@ Extrae el signo del parámetro. Se traduce a ``sign(x)`` en el lenguaje de shade :ref:`Function` **FUNC_BITWISE_NOT** = ``3`` -Devuelve el resultado de la operación ``NOT`` bit a bit en el entero. Se traduce a ``~a`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``NOT`` bit a bit en el entero. Se traduce a ``~a`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntFunc_constant_FUNC_MAX: diff --git a/classes/es/class_visualshadernodeintop.rst b/classes/es/class_visualshadernodeintop.rst index be2cbd919d..8fe323b389 100644 --- a/classes/es/class_visualshadernodeintop.rst +++ b/classes/es/class_visualshadernodeintop.rst @@ -89,7 +89,7 @@ Calcula el resto de dos números usando ``a % b``. :ref:`Operator` **OP_MAX** = ``5`` -Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shader de Godot. +Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_MIN: @@ -97,7 +97,7 @@ Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de :ref:`Operator` **OP_MIN** = ``6`` -Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shader de Godot. +Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_BITWISE_AND: @@ -105,7 +105,7 @@ Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de :ref:`Operator` **OP_BITWISE_AND** = ``7`` -Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduce a ``a & b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduce a ``a & b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_BITWISE_OR: @@ -113,7 +113,7 @@ Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduc :ref:`Operator` **OP_BITWISE_OR** = ``8`` -Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se traduce a ``a | b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se traduce a ``a | b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_BITWISE_XOR: @@ -121,7 +121,7 @@ Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se tra :ref:`Operator` **OP_BITWISE_XOR** = ``9`` -Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se traduce a ``a ^ b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se traduce a ``a ^ b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_BITWISE_LEFT_SHIFT: @@ -129,7 +129,7 @@ Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se tr :ref:`Operator` **OP_BITWISE_LEFT_SHIFT** = ``10`` -Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bit en el entero. Se traduce a ``a << b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bit en el entero. Se traduce a ``a << b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_BITWISE_RIGHT_SHIFT: @@ -137,7 +137,7 @@ Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bi :ref:`Operator` **OP_BITWISE_RIGHT_SHIFT** = ``11`` -Devuelve el resultado de la operación de desplazamiento a la derecha bit a bit en el entero. Se traduce a ``a >> b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación de desplazamiento a la derecha bit a bit en el entero. Se traduce a ``a >> b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeIntOp_constant_OP_ENUM_SIZE: diff --git a/classes/es/class_visualshadernodemix.rst b/classes/es/class_visualshadernodemix.rst index 6ed5af762e..1b9babf1f4 100644 --- a/classes/es/class_visualshadernodemix.rst +++ b/classes/es/class_visualshadernodemix.rst @@ -14,7 +14,7 @@ Interpola linealmente entre dos valores dentro del gráfico de shader visual. Descripción ---------------------- -Se traduce a ``mix(a, b, weight)`` en el lenguaje de shader. +Se traduce a ``mix(a, b, weight)`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodescreenuvtosdf.rst b/classes/es/class_visualshadernodescreenuvtosdf.rst index c4617f5706..2b7126c123 100644 --- a/classes/es/class_visualshadernodescreenuvtosdf.rst +++ b/classes/es/class_visualshadernodescreenuvtosdf.rst @@ -14,7 +14,7 @@ Una función para convertir UV de pantalla a un SDF (campo de distancia firmado) Descripción ---------------------- -Se traduce a ``screen_uv_to_sdf(uv)`` en el lenguaje de shader. Si el puerto UV no está conectado, se utiliza ``SCREEN_UV`` en su lugar. +Se traduce a ``screen_uv_to_sdf(uv)`` en el lenguaje de shaders. Si el puerto UV no está conectado, se utiliza ``SCREEN_UV`` en su lugar. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodesdftoscreenuv.rst b/classes/es/class_visualshadernodesdftoscreenuv.rst index 7d1274b088..e205916e2a 100644 --- a/classes/es/class_visualshadernodesdftoscreenuv.rst +++ b/classes/es/class_visualshadernodesdftoscreenuv.rst @@ -14,7 +14,7 @@ Una función para convertir un SDF (campo de distancia firmado) a UV de pantalla Descripción ---------------------- -Se traduce a ``sdf_to_screen_uv(sdf_pos)`` en el lenguaje de shader. +Se traduce a ``sdf_to_screen_uv(sdf_pos)`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodestep.rst b/classes/es/class_visualshadernodestep.rst index 67b1a7b1e1..80f12d89d3 100644 --- a/classes/es/class_visualshadernodestep.rst +++ b/classes/es/class_visualshadernodestep.rst @@ -14,7 +14,7 @@ Calcula una función Step dentro del gráfico de shader visual. Descripción ---------------------- -Se traduce a ``step(edge, x)`` en el lenguaje de shader. +Se traduce a ``step(edge, x)`` en el lenguaje de shaders. Devuelve ``0.0`` si ``x`` es más pequeño que ``edge`` y ``1.0`` en caso contrario. diff --git a/classes/es/class_visualshadernodetexture2darray.rst b/classes/es/class_visualshadernodetexture2darray.rst index e17aa49ca7..e6a99c7011 100644 --- a/classes/es/class_visualshadernodetexture2darray.rst +++ b/classes/es/class_visualshadernodetexture2darray.rst @@ -14,7 +14,7 @@ Un array uniforme de texturas 2D para usar dentro del grafo de shader visual. Descripción ---------------------- -Traducido a ``uniform sampler2DArray`` en el lenguaje de shader. +Traducido a ``uniform sampler2DArray`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodetexture2dparameter.rst b/classes/es/class_visualshadernodetexture2dparameter.rst index 8147a42734..ae9b7b616f 100644 --- a/classes/es/class_visualshadernodetexture2dparameter.rst +++ b/classes/es/class_visualshadernodetexture2dparameter.rst @@ -14,7 +14,7 @@ Proporciona un parámetro de textura 2D dentro del gráfico de shader visual. Descripción ---------------------- -Traducido a ``uniform sampler2D`` en el lenguaje de shader. +Traducido a ``uniform sampler2D`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodetexture3dparameter.rst b/classes/es/class_visualshadernodetexture3dparameter.rst index 07ba63990f..c90784f605 100644 --- a/classes/es/class_visualshadernodetexture3dparameter.rst +++ b/classes/es/class_visualshadernodetexture3dparameter.rst @@ -14,7 +14,7 @@ Proporciona un parámetro de textura 3D dentro del gráfico de shader visual. Descripción ---------------------- -Traducido a ``uniform sampler3D`` en el lenguaje de shader. +Traducido a ``uniform sampler3D`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodetransformparameter.rst b/classes/es/class_visualshadernodetransformparameter.rst index 6d52e95ba8..2bcbcce49d 100644 --- a/classes/es/class_visualshadernodetransformparameter.rst +++ b/classes/es/class_visualshadernodetransformparameter.rst @@ -14,7 +14,7 @@ Un parámetro :ref:`Transform3D` para usar dentro del gráfic Descripción ---------------------- -Traducido a ``uniform mat4`` en el lenguaje de shader. +Traducido a ``uniform mat4`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodeuintconstant.rst b/classes/es/class_visualshadernodeuintconstant.rst index 60fd7b0ea5..f9e2bab410 100644 --- a/classes/es/class_visualshadernodeuintconstant.rst +++ b/classes/es/class_visualshadernodeuintconstant.rst @@ -14,7 +14,7 @@ Una constante entera escalar sin signo para ser usada dentro del grafo de shader Descripción ---------------------- -Traducido a ``uint`` en el lenguaje de shader. +Traducido a ``uint`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodeuintfunc.rst b/classes/es/class_visualshadernodeuintfunc.rst index eac8746f4b..0fbed26d39 100644 --- a/classes/es/class_visualshadernodeuintfunc.rst +++ b/classes/es/class_visualshadernodeuintfunc.rst @@ -57,7 +57,7 @@ Niega el ``x`` usando ``-(x)``. :ref:`Function` **FUNC_BITWISE_NOT** = ``1`` -Devuelve el resultado de la operación ``NOT`` bit a bit en el entero. Se traduce a ``~a`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``NOT`` bit a bit en el entero. Se traduce a ``~a`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntFunc_constant_FUNC_MAX: diff --git a/classes/es/class_visualshadernodeuintop.rst b/classes/es/class_visualshadernodeuintop.rst index f9740d0797..7c10848850 100644 --- a/classes/es/class_visualshadernodeuintop.rst +++ b/classes/es/class_visualshadernodeuintop.rst @@ -89,7 +89,7 @@ Calcula el resto de dos números usando ``a % b``. :ref:`Operator` **OP_MAX** = ``5`` -Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shader de Godot. +Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_MIN: @@ -97,7 +97,7 @@ Devuelve el mayor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de :ref:`Operator` **OP_MIN** = ``6`` -Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shader de Godot. +Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_BITWISE_AND: @@ -105,7 +105,7 @@ Devuelve el menor de dos números. Se traduce a ``max(a, b)`` en el lenguaje de :ref:`Operator` **OP_BITWISE_AND** = ``7`` -Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduce a ``a & b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduce a ``a & b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_BITWISE_OR: @@ -113,7 +113,7 @@ Devuelve el resultado de la operación ``AND`` bit a bit en el entero. Se traduc :ref:`Operator` **OP_BITWISE_OR** = ``8`` -Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se traduce a ``a | b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se traduce a ``a | b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_BITWISE_XOR: @@ -121,7 +121,7 @@ Devuelve el resultado de la operación ``OR`` bit a bit para dos enteros. Se tra :ref:`Operator` **OP_BITWISE_XOR** = ``9`` -Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se traduce a ``a ^ b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se traduce a ``a ^ b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_BITWISE_LEFT_SHIFT: @@ -129,7 +129,7 @@ Devuelve el resultado de la operación ``XOR`` bit a bit para dos enteros. Se tr :ref:`Operator` **OP_BITWISE_LEFT_SHIFT** = ``10`` -Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bit en el entero. Se traduce a ``a << b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bit en el entero. Se traduce a ``a << b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_BITWISE_RIGHT_SHIFT: @@ -137,7 +137,7 @@ Devuelve el resultado de la operación de desplazamiento a la izquierda bit a bi :ref:`Operator` **OP_BITWISE_RIGHT_SHIFT** = ``11`` -Devuelve el resultado de la operación de desplazamiento a la derecha bit a bit en el entero. Se traduce a ``a >> b`` en el lenguaje de shader de Godot. +Devuelve el resultado de la operación de desplazamiento a la derecha bit a bit en el entero. Se traduce a ``a >> b`` en el lenguaje de shaders de Godot. .. _class_VisualShaderNodeUIntOp_constant_OP_ENUM_SIZE: diff --git a/classes/es/class_visualshadernodevec2parameter.rst b/classes/es/class_visualshadernodevec2parameter.rst index d3d955e560..6840267e21 100644 --- a/classes/es/class_visualshadernodevec2parameter.rst +++ b/classes/es/class_visualshadernodevec2parameter.rst @@ -14,7 +14,7 @@ Un parámetro :ref:`Vector2` que se utilizará dentro del gráfic Descripción ---------------------- -Traducido a ``uniform vec2`` en el lenguaje de shader. +Traducido a ``uniform vec2`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodevec3parameter.rst b/classes/es/class_visualshadernodevec3parameter.rst index b0c74d4788..0ea6074b15 100644 --- a/classes/es/class_visualshadernodevec3parameter.rst +++ b/classes/es/class_visualshadernodevec3parameter.rst @@ -14,7 +14,7 @@ Un parámetro :ref:`Vector3` que se utilizará dentro del gráfic Descripción ---------------------- -Traducido a ``uniform vec3`` en el lenguaje de shader. +Traducido a ``uniform vec3`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodevec4parameter.rst b/classes/es/class_visualshadernodevec4parameter.rst index cfa138dbf9..02df29c5a8 100644 --- a/classes/es/class_visualshadernodevec4parameter.rst +++ b/classes/es/class_visualshadernodevec4parameter.rst @@ -14,7 +14,7 @@ Un parámetro de vector 4D para ser usado dentro del gráfico de shader visual. Descripción ---------------------- -Traducido a ``uniform vec4`` en el lenguaje de shader. +Traducido a ``uniform vec4`` en el lenguaje de shaders. .. rst-class:: classref-reftable-group diff --git a/classes/es/class_visualshadernodevectordistance.rst b/classes/es/class_visualshadernodevectordistance.rst index 57e3e1e4e7..a708384b46 100644 --- a/classes/es/class_visualshadernodevectordistance.rst +++ b/classes/es/class_visualshadernodevectordistance.rst @@ -16,7 +16,7 @@ Descripción Calcula la distancia desde el punto representado por el vector ``p0`` hasta el vector ``p1``. -Traducido a ``distance(p0, p1)`` en el lenguaje de shader. +Traducido a ``distance(p0, p1)`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodevectorlen.rst b/classes/es/class_visualshadernodevectorlen.rst index 62c713669d..29af1fc61d 100644 --- a/classes/es/class_visualshadernodevectorlen.rst +++ b/classes/es/class_visualshadernodevectorlen.rst @@ -14,7 +14,7 @@ Devuelve la longitud de un :ref:`Vector3` dentro del gráfico sha Descripción ---------------------- -Traducido a ``length(p0)`` en el lenguaje de shader. +Traducido a ``length(p0)`` en el lenguaje de shaders. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_visualshadernodevectorrefract.rst b/classes/es/class_visualshadernodevectorrefract.rst index c0eb1d17bb..fb20630341 100644 --- a/classes/es/class_visualshadernodevectorrefract.rst +++ b/classes/es/class_visualshadernodevectorrefract.rst @@ -14,7 +14,7 @@ Devuelve el vector que apunta en la dirección de refracción. Para usar en el g Descripción ---------------------- -Traducido a ``refract(I, N, eta)`` en el lenguaje de shader, donde ``I`` es el vector incidente, ``N`` es el vector normal y ``eta`` es la relación de los índices de la refracción. +Traducido a ``refract(I, N, eta)`` en el lenguaje de shaders, donde ``I`` es el vector incidente, ``N`` es el vector normal y ``eta`` es la relación de los índices de la refracción. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/class_voxelgi.rst b/classes/es/class_voxelgi.rst index f0bdeaa190..b04599168b 100644 --- a/classes/es/class_voxelgi.rst +++ b/classes/es/class_voxelgi.rst @@ -14,13 +14,13 @@ Sonda de iluminación global (GI) en tiempo real. Descripción ---------------------- -Los **VoxelGI** se utilizan para proporcionar luz indirecta y reflejos en tiempo real de alta calidad a las escenas. Precálculan el efecto de los objetos que emiten luz y el efecto de la geometría estática para simular el comportamiento de la luz compleja en tiempo real. Los **VoxelGI** necesitan ser horneados antes de tener un efecto visible. Sin embargo, una vez horneados, los objetos dinámicos recibirán luz de ellos. Además, las luces pueden ser totalmente dinámicas u horneadas. +Los **VoxelGI** se utilizan para proporcionar luz indirecta y reflejos en tiempo real de alta calidad a las escenas. Precálculan el efecto de los objetos que emiten luz y el efecto de la geometría estática para simular el comportamiento de la luz compleja en tiempo real. Los **VoxelGI** necesitan ser procesados antes de tener un efecto visible. Sin embargo, una vez procesados, los objetos dinámicos recibirán luz de ellos. Además, las luces pueden ser totalmente dinámicas u horneadas. \ **Nota:** **VoxelGI** solo se admite en el método de renderizado Forward+, no en Mobile o Compatibility. \ **Generación procedural:** **VoxelGI** se puede procesar en un proyecto exportado, lo que lo hace adecuado para niveles generados proceduralmente o construidos por el usuario, siempre y cuando toda la geometría se genere de antemano. Para los juegos en los que la geometría se genera en cualquier momento durante el juego, SDFGI es más adecuado (véase :ref:`Environment.sdfgi_enabled`). -\ **Rendimiento:** **VoxelGI** es relativamente exigente con la GPU y no es adecuado para hardware de gama baja, como los gráficos integrados (en su lugar, considere :ref:`LightmapGI`). Para mejorar el rendimiento, ajuste :ref:`ProjectSettings.rendering/global_illumination/voxel_gi/quality` y active :ref:`ProjectSettings.rendering/global_illumination/gi/use_half_resolution` en la Configuración del proyecto. Para proporcionar una alternativa para hardware de gama baja, considere la posibilidad de añadir una opción para desactivar **VoxelGI** en los menús de opciones de su proyecto. Un nodo **VoxelGI** puede ser desactivado ocultándolo. +\ **Rendimiento:** **VoxelGI** es relativamente exigente con la GPU y no es adecuado para hardware de gama baja, como los gráficos integrados (en su lugar, considera :ref:`LightmapGI`). Para mejorar el rendimiento, ajuste :ref:`ProjectSettings.rendering/global_illumination/voxel_gi/quality` y active :ref:`ProjectSettings.rendering/global_illumination/gi/use_half_resolution` en la Configuración del proyecto. Para proporcionar una alternativa para hardware de gama baja, considera la posibilidad de añadir una opción para desactivar **VoxelGI** en los menús de opciones de su proyecto. Un nodo **VoxelGI** puede ser desactivado ocultándolo. \ **Nota:** Las mallas deben tener paredes suficientemente gruesas para evitar fugas de luz (evite las paredes de una sola cara). Para los niveles interiores, encierre la geometría de su nivel en una caja suficientemente grande y una los bucles para cerrar la malla. Para evitar aún más las fugas de luz, también puede colocar estratégicamente nodos temporales :ref:`MeshInstance3D` con su :ref:`GeometryInstance3D.gi_mode` establecido en :ref:`GeometryInstance3D.GI_MODE_STATIC`. Estos nodos temporales pueden ser ocultados después de procesar el nodo **VoxelGI**. @@ -140,7 +140,7 @@ Descripciones de Propiedades - |void| **set_camera_attributes**\ (\ value\: :ref:`CameraAttributes`\ ) - :ref:`CameraAttributes` **get_camera_attributes**\ (\ ) -El recurso :ref:`CameraAttributes` que especifica los niveles de exposición para hornear. Las propiedades de autoexposición y no exposición se ignorarán. La configuración de exposición debe usarse para reducir el rango dinámico presente al hornear. Si la exposición es demasiado alta, el **VoxelGI** tendrá artefactos de bandas o puede tener artefactos de sobreexposición. +El recurso :ref:`CameraAttributes` que especifica los niveles de exposición para procesar. Las propiedades de autoexposición y no exposición se ignorarán. La configuración de exposición debe usarse para reducir el rango dinámico presente al procesar. Si la exposición es demasiado alta, el **VoxelGI** tendrá artefactos de bandas o puede tener artefactos de sobreexposición. .. rst-class:: classref-item-separator diff --git a/classes/es/class_voxelgidata.rst b/classes/es/class_voxelgidata.rst index 0ce1116cb8..d573ef28ab 100644 --- a/classes/es/class_voxelgidata.rst +++ b/classes/es/class_voxelgidata.rst @@ -144,7 +144,7 @@ La energía de la iluminación indirecta y los reflejos producidos por el nodo : - |void| **set_interior**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_interior**\ (\ ) -Si es ``true``, la iluminación :ref:`Environment` es ignorada por el nodo :ref:`VoxelGI`. Si es ``false``, la iluminación :ref:`Environment` es tomada en cuenta por el nodo :ref:`VoxelGI`. La iluminación :ref:`Environment` se actualiza en tiempo real, lo que significa que se puede cambiar sin tener que volver a hornear el nodo :ref:`VoxelGI`. +Si es ``true``, la iluminación :ref:`Environment` es ignorada por el nodo :ref:`VoxelGI`. Si es ``false``, la iluminación :ref:`Environment` es tomada en cuenta por el nodo :ref:`VoxelGI`. La iluminación :ref:`Environment` se actualiza en tiempo real, lo que significa que se puede cambiar sin tener que volver a procesar el nodo :ref:`VoxelGI`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_websocketmultiplayerpeer.rst b/classes/es/class_websocketmultiplayerpeer.rst index 0b515eff1d..fe6fb356d1 100644 --- a/classes/es/class_websocketmultiplayerpeer.rst +++ b/classes/es/class_websocketmultiplayerpeer.rst @@ -16,7 +16,7 @@ Descripción Clase base para el servidor y el cliente de WebSocket, que permite utilizarlos como pares multijugador para la :ref:`MultiplayerAPI`. -\ **Nota:** Al exportar a Android, asegúrese de habilitar el permiso ``INTERNET`` en el preajuste de exportación de Android antes de exportar el proyecto o utilizar la implementación con un solo clic. De lo contrario, la comunicación de red de cualquier tipo será bloqueada por Android. +\ **Nota:** Al exportar a Android, asegúrate de habilitar el permiso ``INTERNET`` en el preajuste de exportación de Android antes de exportar el proyecto o utilizar la implementación con un solo clic. De lo contrario, la comunicación de red de cualquier tipo será bloqueada por Android. .. rst-class:: classref-reftable-group @@ -186,7 +186,7 @@ Descripciones de Métodos :ref:`Error` **create_client**\ (\ url\: :ref:`String`, tls_client_options\: :ref:`TLSOptions` = null\ ) :ref:`🔗` -Inicia un nuevo cliente multijugador que se conecta a la ``url`` dada. Los certificados TLS se verificarán con el nombre de host al conectarse usando el protocolo ``wss://``. Puedes pasar el parámetro opcional ``tls_client_options`` para personalizar las autoridades de certificación de confianza, o deshabilitar la verificación de nombre común. Consulte :ref:`TLSOptions.client()` y :ref:`TLSOptions.client_unsafe()`. +Inicia un nuevo cliente multijugador que se conecta a la ``url`` dada. Los certificados TLS se verificarán con el nombre de host al conectarse usando el protocolo ``wss://``. Puedes pasar el parámetro opcional ``tls_client_options`` para personalizar las autoridades de certificación de confianza, o deshabilitar la verificación de nombre común. Consulta :ref:`TLSOptions.client()` y :ref:`TLSOptions.client_unsafe()`. \ **Nota:** Se recomienda especificar la parte del esquema de la URL, es decir, la ``url`` debe comenzar con ``ws://`` o ``wss://``. @@ -200,7 +200,7 @@ Inicia un nuevo cliente multijugador que se conecta a la ``url`` dada. Los certi :ref:`Error` **create_server**\ (\ port\: :ref:`int`, bind_address\: :ref:`String` = "*", tls_server_options\: :ref:`TLSOptions` = null\ ) :ref:`🔗` -Inicia un nuevo servidor multijugador escuchando en el ``port`` dado. Opcionalmente puede especificar una ``bind_address``, y proporcionar válidas ``tls_server_options`` para usar TLS. Consulte :ref:`TLSOptions.server()`. +Inicia un nuevo servidor multijugador escuchando en el ``port`` dado. Opcionalmente puede especificar una ``bind_address``, y proporcionar válidas ``tls_server_options`` para usar TLS. Consulta :ref:`TLSOptions.server()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_websocketpeer.rst b/classes/es/class_websocketpeer.rst index 3aa5595b16..47b511e592 100644 --- a/classes/es/class_websocketpeer.rst +++ b/classes/es/class_websocketpeer.rst @@ -336,7 +336,7 @@ Cierra esta conexión WebSocket. ``code`` es el código de estado para el cierre \ **Nota:** Para lograr un cierre limpio, deberá seguir sonedeando hasta que se alcance :ref:`STATE_CLOSED`. -\ **Nota:** Es posible que la exportación Web no admita todos los códigos de estado. Consulte la documentación específica del navegador para obtener más detalles. +\ **Nota:** Es posible que la exportación Web no admita todos los códigos de estado. Consulta la documentación específica del navegador para obtener más detalles. .. rst-class:: classref-item-separator @@ -348,11 +348,11 @@ Cierra esta conexión WebSocket. ``code`` es el código de estado para el cierre :ref:`Error` **connect_to_url**\ (\ url\: :ref:`String`, tls_client_options\: :ref:`TLSOptions` = null\ ) :ref:`🔗` -Conecta a la URL dada. Los certificados TLS se verificarán con el nombre de host al conectarse mediante el protocolo ``wss://``. Puedes pasar el parámetro opcional ``tls_client_options`` para personalizar las autoridades de certificación de confianza, o desactivar la verificación del nombre común. Consulte :ref:`TLSOptions.client()` y :ref:`TLSOptions.client_unsafe()`. +Conecta a la URL dada. Los certificados TLS se verificarán con el nombre de host al conectarse mediante el protocolo ``wss://``. Puedes pasar el parámetro opcional ``tls_client_options`` para personalizar las autoridades de certificación de confianza, o desactivar la verificación del nombre común. Consulta :ref:`TLSOptions.client()` y :ref:`TLSOptions.client_unsafe()`. -\ **Nota:** Este método no es bloqueante, y devolverá :ref:`@GlobalScope.OK` antes de que se establezca la conexión, siempre y cuando los parámetros proporcionados sean válidos y el par no esté en un estado inválido (por ejemplo, ya conectado). Llame regularmente a :ref:`poll()` (por ejemplo, durante el proceso de :ref:`Node`) y compruebe el resultado de :ref:`get_ready_state()` para saber si la conexión tiene éxito o falla. +\ **Nota:** Este método no es bloqueante, y devolverá :ref:`@GlobalScope.OK` antes de que se establezca la conexión, siempre y cuando los parámetros proporcionados sean válidos y el par no esté en un estado inválido (por ejemplo, ya conectado). Llama regularmente a :ref:`poll()` (por ejemplo, durante el proceso de :ref:`Node`) y comprueba el resultado de :ref:`get_ready_state()` para saber si la conexión tiene éxito o falla. -\ **Nota:** Para evitar avisos o errores de contenido mixto en la Web, es posible que tenga que utilizar una ``url`` que comience con ``wss://`` (seguro) en lugar de ``ws://``. Al hacerlo, asegúrese de utilizar el nombre de dominio completo que coincida con el definido en el certificado TLS del servidor. No se conecte directamente a través de la dirección IP para las conexiones ``wss://``, ya que no coincidirá con el certificado TLS. +\ **Nota:** Para evitar avisos o errores de contenido mixto en la Web, es posible que tengas que utilizar una ``url`` que comience con ``wss://`` (seguro) en lugar de ``ws://``. Al hacerlo, asegúrate de utilizar el nombre de dominio completo que coincida con el definido en el certificado TLS del servidor. No te conectes directamente a través de la dirección IP para las conexiones ``wss://``, ya que no coincidirá con el certificado TLS. .. rst-class:: classref-item-separator @@ -500,7 +500,7 @@ Envía el ``message`` dado utilizando el modo de texto WebSocket. Es preferible |void| **set_no_delay**\ (\ enabled\: :ref:`bool`\ ) :ref:`🔗` -Desactiva el algoritmo de Nagle en el socket TCP subyacente (por defecto). Consulta :ref:`StreamPeerTCP.set_no_delay()` para obtener más información. +Desactiva el algoritmo de Nagle en el socket TCP subyacente (por defecto). Véase :ref:`StreamPeerTCP.set_no_delay()` para obtener más información. \ **Nota:** No disponible en la exportación Web. diff --git a/classes/es/class_webxrinterface.rst b/classes/es/class_webxrinterface.rst index 31e60038f0..c5a4a047fd 100644 --- a/classes/es/class_webxrinterface.rst +++ b/classes/es/class_webxrinterface.rst @@ -198,7 +198,7 @@ Emitida para indicar que el espacio de referencia se ha restablecido o reconfigu Cuándo (o si) se emite esto depende del navegador o dispositivo del usuario, pero puede incluir cuando el usuario ha cambiado las dimensiones de su espacio de juego (al que puede acceder a través de :ref:`XRInterface.get_play_area()`) o ha presionado/mantenido presionado un botón para recentrar su posición. -Consulta `el evento de restablecimiento XRReferenceSpace de WebXR `__ para obtener más información. +Véase `el evento de restablecimiento XRReferenceSpace de WebXR `__ para obtener más información. .. rst-class:: classref-item-separator diff --git a/classes/es/class_window.rst b/classes/es/class_window.rst index 5c75c5e8ea..a718e6117d 100644 --- a/classes/es/class_window.rst +++ b/classes/es/class_window.rst @@ -1005,7 +1005,7 @@ Descripciones de Propiedades - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La descripción del nodo legible por humanos que se reporta a las aplicaciones de asistencia. .. rst-class:: classref-item-separator @@ -1407,7 +1407,7 @@ Establece el modo actual de la ventana. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -Si es ``true``, todos los eventos del ratón se pasarán a la ventana subyacente de la misma aplicación. Consulta también :ref:`mouse_passthrough_polygon`. +Si es ``true``, todos los eventos del ratón se pasarán a la ventana subyacente de la misma aplicación. Véase también :ref:`mouse_passthrough_polygon`. \ **Nota:** Esta propiedad está implementada en Linux (X11), macOS y Windows. @@ -1979,7 +1979,7 @@ Devuelve el tamaño de la ventana incluyendo su borde. Devuelve un :ref:`Color` del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un elemento de color con el ``name`` y el ``theme_type`` especificados. -Consulta :ref:`Control.get_theme_color()` para obtener más detalles. +Véase :ref:`Control.get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -1993,7 +1993,7 @@ Consulta :ref:`Control.get_theme_color()` Devuelve una constante del primer :ref:`Theme` coincidente en el árbol si ese :ref:`Theme` tiene un elemento constante con el ``name`` y el ``theme_type`` especificados. -Consulta :ref:`Control.get_theme_color()` para obtener más detalles. +Véase :ref:`Control.get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -2141,7 +2141,7 @@ Devuelve ``true`` si la ventana está enfocada. Devuelve ``true`` si hay un :ref:`Theme` coincidente en el árbol que tiene un elemento de color con el ``name`` y el ``theme_type`` especificados. -Consulta :ref:`Control.get_theme_color()` para obtener más detalles. +Véase :ref:`Control.get_theme_color()` para obtener más detalles. .. rst-class:: classref-item-separator @@ -2153,9 +2153,9 @@ Consulta :ref:`Control.get_theme_color()` :ref:`bool` **has_theme_color_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`Color` with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si hay una sobreescritura local para un :ref:`Color` de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_color_override()`. +Véase :ref:`add_theme_color_override()`. .. rst-class:: classref-item-separator @@ -2181,9 +2181,9 @@ Véase :ref:`Control.get_theme_color()` pa :ref:`bool` **has_theme_constant_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme constant with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si existe una sobreescritura local para una constante de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_constant_override()`. +Véase :ref:`add_theme_constant_override()`. .. rst-class:: classref-item-separator @@ -2209,9 +2209,9 @@ Véase :ref:`Control.get_theme_color()` pa :ref:`bool` **has_theme_font_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`Font` with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si hay una sobreescritura local para una :ref:`Font` de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_font_override()`. +Véase :ref:`add_theme_font_override()`. .. rst-class:: classref-item-separator @@ -2237,9 +2237,9 @@ Véase :ref:`Control.get_theme_color()` pa :ref:`bool` **has_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme font size with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si hay una sobreescritura local para un tamaño de fuente de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_font_size_override()`. +Véase :ref:`add_theme_font_size_override()`. .. rst-class:: classref-item-separator @@ -2265,9 +2265,9 @@ Véase :ref:`Control.get_theme_color()` pa :ref:`bool` **has_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme icon with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si hay una sobreescritura local para un icono de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_icon_override()`. +Véase :ref:`add_theme_icon_override()`. .. rst-class:: classref-item-separator @@ -2293,9 +2293,9 @@ Véase :ref:`Control.get_theme_color()` pa :ref:`bool` **has_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`StyleBox` with the specified ``name`` in this :ref:`Control` node. +Devuelve ``true`` si hay una sobreescritura local para un :ref:`StyleBox` de tema con el ``name`` especificado en este nodo :ref:`Control`. -See :ref:`add_theme_stylebox_override()`. +Véase :ref:`add_theme_stylebox_override()`. .. rst-class:: classref-item-separator diff --git a/classes/es/class_worldenvironment.rst b/classes/es/class_worldenvironment.rst index 4872983181..4a0ab55bb0 100644 --- a/classes/es/class_worldenvironment.rst +++ b/classes/es/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: @@ -19,7 +19,7 @@ Descripción El nodo **WorldEnvironment** se utiliza para configurar el :ref:`Environment` por defecto para la escena. -Los parámetros definidos en **WorldEnvironment** pueden ser sobreescritos por un nodo :ref:`Environment` establecido en la ``Camera`` actual. Además, solo se puede instanciar un **WorldEnvironment** en una escena dada a la vez. +Los parámetros definidos en **WorldEnvironment** pueden ser sobreescritos por un nodo :ref:`Environment` establecido en la :ref:`Camera3D` actual. Además, solo se puede instanciar un **WorldEnvironment** en una escena dada a la vez. El **WorldEnvironment** permite al usuario especificar los parámetros de iluminación por defecto (p.ej. iluminación ambiental), varios efectos de post-procesamiento (p.ej. SSAO, DOF, Tonemapping), y cómo dibujar el fondo (p.ej. color sólido, skybox). Normalmente, estos se añaden para mejorar el realismo/equilibrio de color de la escena. diff --git a/classes/es/class_xrnode3d.rst b/classes/es/class_xrnode3d.rst index 1e06008871..d635722682 100644 --- a/classes/es/class_xrnode3d.rst +++ b/classes/es/class_xrnode3d.rst @@ -76,7 +76,7 @@ Señales **tracking_changed**\ (\ tracking\: :ref:`bool`\ ) :ref:`🔗` -Emitida cuando el ``seguimiento de miembros`` comienza o deja de recibir datos de seguimiento actualizados para la ``pose de miembro`` que se está rastreando. El argumento ``seguimiento de parámetros`` indica si el rastreador recibe datos de seguimiento actualizados. +Emitida cuando el :ref:`tracker` comienza o deja de recibir datos de seguimiento actualizados para la :ref:`pose` que se está rastreando. El argumento ``tracking`` indica si el rastreador recibe datos de seguimiento actualizados. .. rst-class:: classref-section-separator diff --git a/classes/es/class_zipreader.rst b/classes/es/class_zipreader.rst index 083cafdf59..78ac609015 100644 --- a/classes/es/class_zipreader.rst +++ b/classes/es/class_zipreader.rst @@ -157,7 +157,7 @@ Abre el archivo zip en la ``path`` dada y lee su índice de archivos. Carga en memoria todo el contenido de un archivo .zip cargado y lo devuelve. -Debe llamarse después de :ref:`abierto()`. +Debe llamarse después de :ref:`open()`. .. |virtual| replace:: :abbr:`virtual (Normalmente, este método debería ser sobreescrito por el usuario para que tenga algún efecto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/es/index.rst b/classes/es/index.rst index 9e9bef0cec..af1eca5fd7 100644 --- a/classes/es/index.rst +++ b/classes/es/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: Todas las clases diff --git a/classes/fr/class_@gdscript.rst b/classes/fr/class_@gdscript.rst index 14513d3fe4..665ab7c931 100644 --- a/classes/fr/class_@gdscript.rst +++ b/classes/fr/class_@gdscript.rst @@ -249,7 +249,7 @@ Vous permet de définir un indice personnalisé, une chaîne d'indice et des dra @export_custom(PROPERTY_HINT_NONE, "suffix:m") var suffix: Vector3 -\ **Remarque :** Quelle que soit la valeur de ``usage``, le drapeau\ :ref:`@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE` est toujours ajouté, comme pour toute variable de script explicitement déclarée. +\ **Remarque :** Quelle que soit la valeur de ``usage``, le drapeau :ref:`@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE` est toujours ajouté, comme pour toute variable de script explicitement déclarée. .. rst-class:: classref-item-separator @@ -382,20 +382,20 @@ Voir également :ref:`@GlobalScope.PROPERTY_HINT_FLAGS`\ :: - @export_flags("Feu", "Eau", "Terre", "Vent") var phase_elements: Array[int] + @export_flags("Fire", "Water", "Earth", "Wind") var phase_elements: Array[int] .. rst-class:: classref-item-separator @@ -605,16 +605,16 @@ Voir aussi :ref:`@GlobalScope.PROPERTY_USAGE_GROUP` localisée à ``path`` dans le systè :: # Créer une instance d'une scène. - var diamant = preload("res://diamant.tscn").instantiate() + var diamond = preload("res://diamond.tscn").instantiate() \ **Note :** :ref:`preload()` est un mot-clé, pas une fonction. Vous ne pouvez donc pas y accéder en tant que :ref:`Callable`. diff --git a/classes/fr/class_acceptdialog.rst b/classes/fr/class_acceptdialog.rst index 794201c7af..8bbcd46326 100644 --- a/classes/fr/class_acceptdialog.rst +++ b/classes/fr/class_acceptdialog.rst @@ -331,7 +331,7 @@ Descriptions des propriétés du thème :ref:`int` **buttons_min_height** = ``0`` :ref:`🔗` -La hauteur minimum de chaque bouton du rang du bas (comme OK/Annuler) en pixels. Cette valeur peut être augmentée pour faire en sorte que les boutons avec des textes courts soit plus facilement clickable. +La hauteur minimale de chaque bouton de la ligne inférieure (comme OK/Annuler) en pixels. Cela peut être augmenté pour rendre les boutons avec des textes courts plus faciles à cliquer/presser. .. rst-class:: classref-item-separator @@ -343,7 +343,7 @@ La hauteur minimum de chaque bouton du rang du bas (comme OK/Annuler) en pixels. :ref:`int` **buttons_min_width** = ``0`` :ref:`🔗` -La largeur minimale de chaque bouton dans la ligne inférieure (comme OK/Annuler) en pixels. Cela peut être augmenté pour rendre les boutons avec des textes courts plus faciles à cliquer/presser. +La largeur minimale de chaque bouton de la ligne inférieure (comme OK/Annuler) en pixels. Cela peut être augmenté pour rendre les boutons avec des textes courts plus faciles à cliquer/presser. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_area2d.rst b/classes/fr/class_area2d.rst index e4fe2df776..aaebd0047a 100644 --- a/classes/fr/class_area2d.rst +++ b/classes/fr/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/fr/class_area3d.rst b/classes/fr/class_area3d.rst index eeaee78fcf..4e4c68fa4d 100644 --- a/classes/fr/class_area3d.rst +++ b/classes/fr/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/fr/class_array.rst b/classes/fr/class_array.rst index 6c32a86f55..6db0c66672 100644 --- a/classes/fr/class_array.rst +++ b/classes/fr/class_array.rst @@ -12,7 +12,7 @@ Une structure de données intégrée qui contient une suite d'éléments. Description ----------- -Une structure de données en tableau qui peut contenir une suite d'éléments de n'importe quel type :ref:`Variant`. Les éléments sont accessibles par un indice numérique commençant à ``0``. Les indices négatifs peuvent être utilisés pour obtenir une position à partir de la fin du tableau (``-1`` est le dernier élément, ``-2`` est l'avant-dernier, etc...). +Une structure de données en tableau qui peut contenir une suite d'éléments de n'importe quel type :ref:`Variant` par défaut. Les valeurs peuvent être limitées à un type spécifique en créant un *tableau typé*. Les éléments sont accessibles par un indice numérique commençant à ``0``. Les indices négatifs peuvent être utilisés pour obtenir une position à partir de la fin du tableau (``-1`` est le dernier élément, ``-2`` est l'avant-dernier, etc...). .. tabs:: @@ -28,6 +28,10 @@ Une structure de données en tableau qui peut contenir une suite d'éléments de print(array[1]) # Affiche "Second" print(array[-3]) # Affiche "Second" + # Ce tableau typé ne peut contenir que des nombres entiers. + # Tenter d'ajouter un autre type retourne une erreur. + var tableau_typé: Array[int] = [1, 2, 3] + .. code-tab:: csharp Godot.Collections.Array tableau= ["Premier", 2, 3, "Dernier"]; @@ -39,6 +43,10 @@ Une structure de données en tableau qui peut contenir une suite d'éléments de GD.Print(array[1]); // Affiche "Second" GD.Print(array[^3]); // Affiche "Second" + // Ce tableau typé ne peut contenir que des nombres entiers. + // Tenter d'ajouter un autre type retourne une erreur. + Godot.Collections.Array tableauTypé = [1, 2, 3]; + \ **Note :** Les tableaux sont toujours passés par **référence**. Pour obtenir une copie d'un tableau qui peut être modifié indépendamment de l'original, utilisez :ref:`duplicate()`. diff --git a/classes/fr/class_audiolistener2d.rst b/classes/fr/class_audiolistener2d.rst index 6b1bc56cdb..a0cb0e93a5 100644 --- a/classes/fr/class_audiolistener2d.rst +++ b/classes/fr/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/fr/class_audiolistener3d.rst b/classes/fr/class_audiolistener3d.rst index 192bd3cba5..f7fd8b94c8 100644 --- a/classes/fr/class_audiolistener3d.rst +++ b/classes/fr/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/fr/class_audiostreamplayer.rst b/classes/fr/class_audiostreamplayer.rst index f83e2ec6f2..4ee304ede1 100644 --- a/classes/fr/class_audiostreamplayer.rst +++ b/classes/fr/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/fr/class_audiostreamplayer2d.rst b/classes/fr/class_audiostreamplayer2d.rst index a99bf2f4f9..77677c5a5e 100644 --- a/classes/fr/class_audiostreamplayer2d.rst +++ b/classes/fr/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/fr/class_audiostreamplayer3d.rst b/classes/fr/class_audiostreamplayer3d.rst index 48fb02569a..fd91bf720a 100644 --- a/classes/fr/class_audiostreamplayer3d.rst +++ b/classes/fr/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/fr/class_boneattachment3d.rst b/classes/fr/class_boneattachment3d.rst index 2c90abc4d9..369598cd77 100644 --- a/classes/fr/class_boneattachment3d.rst +++ b/classes/fr/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/fr/class_buttongroup.rst b/classes/fr/class_buttongroup.rst index 06854c2dbe..42f98ad76c 100644 --- a/classes/fr/class_buttongroup.rst +++ b/classes/fr/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/fr/class_cameraserver.rst b/classes/fr/class_cameraserver.rst index 188455b57c..4ea72e3593 100644 --- a/classes/fr/class_cameraserver.rst +++ b/classes/fr/class_cameraserver.rst @@ -91,7 +91,7 @@ Signaux **camera_feeds_updated**\ (\ ) :ref:`🔗` -Emitted when camera feeds are updated. +Émis lorsque les flux de caméra sont mis à jour. .. rst-class:: classref-section-separator diff --git a/classes/fr/class_canvasmodulate.rst b/classes/fr/class_canvasmodulate.rst index 1252cd7c62..0b0fc2735d 100644 --- a/classes/fr/class_canvasmodulate.rst +++ b/classes/fr/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/fr/class_characterbody2d.rst b/classes/fr/class_characterbody2d.rst index 1afb0f7460..ebea848237 100644 --- a/classes/fr/class_characterbody2d.rst +++ b/classes/fr/class_characterbody2d.rst @@ -441,6 +441,8 @@ Vecteur pointant vers le haut, utilisé pour déterminer ce qui est un mur et ce Vecteur de vitesse actuel en pixels par seconde, utilisé et modifié pendant les appels à :ref:`move_and_slide()`. +Cette propriété ne doit pas être assignée une valeur multipliée par ``delta``, car cela est appliqué en interne dans :ref:`move_and_slide()`. Dans le cas contraire, la simulation avancera à une vitesse incorrecte. + .. rst-class:: classref-item-separator ---- @@ -704,6 +706,8 @@ Renvoie ``true`` si le corps était entré seulement en collision avec un mur lo Déplace le corps selon la vitesse :ref:`velocity`. Si le corps entre en collision avec un autre, il glisse sur l'autre corps (par défaut seulement sur le sol) plutôt que de s'arrêter immédiatement. Si l'autre corps est un **CharacterBody2D** ou un :ref:`RigidBody2D`, il sera également affecté par le mouvement de l'autre corps. Vous pouvez utiliser ceci pour faire des plates-formes mobiles et tournantes, ou pour faire que des nœuds poussent d'autres nœuds. +Cette méthode doit être utilisée dans :ref:`Node._physics_process()` (ou dans une méthode appelée par :ref:`Node._physics_process()`), car elle utilise automatique la valeur ``delta`` de l'étape de physique dans son calcul. Dans le cas contraire, la simulation avancera à une vitesse incorrecte. + Modifie :ref:`velocity` si une collision de glissement s'est produite. Pour obtenir la dernière collision, appelez :ref:`get_last_slide_collision()`, pour des informations plus détaillées sur les collisions qui se sont produites, utilisez :ref:`get_slide_collision()`. Lorsque le corps touche une plate-forme mobile, la vitesse de la plateforme est automatiquement ajoutée au mouvement du corps. Si une collision survient en raison du mouvement de la plate-forme, elle sera toujours la première dans les collisions de glissement. diff --git a/classes/fr/class_characterbody3d.rst b/classes/fr/class_characterbody3d.rst index ac96a2d8ae..202434b75f 100644 --- a/classes/fr/class_characterbody3d.rst +++ b/classes/fr/class_characterbody3d.rst @@ -443,7 +443,9 @@ Vecteur pointant vers le haut, utilisé pour déterminer ce qui est un mur et ce - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -Vecteur de vitesse actuelle (typiquement en mères par seconde), utilisé et modifié pendant les appels à :ref:`move_and_slide()`. +Vecteur de vitesse actuel (typiquement en mètres par seconde), utilisé et modifié pendant les appels à :ref:`move_and_slide()`. + +Cette propriété ne doit pas être assignée une valeur multipliée par ``delta``, car cela est appliqué en interne dans :ref:`move_and_slide()`. Dans le cas contraire, la simulation avancera à une vitesse incorrecte. .. rst-class:: classref-item-separator @@ -699,6 +701,8 @@ Renvoie ``true`` si le corps était entré seulement en collision avec un mur lo Déplace le corps selon la vitesse :ref:`velocity`. Si le corps entre en collision avec un autre, il glisse sur l'autre corps plutôt que de s'arrêter immédiatement. Si l'autre corps est un **CharacterBody3D** ou un :ref:`RigidBody3D`, il sera également affecté par le mouvement de l'autre corps. Vous pouvez utiliser ceci pour faire des plates-formes mobiles et tournantes, ou pour faire que des nœuds poussent d'autres nœuds. +Cette méthode doit être utilisée dans :ref:`Node._physics_process()` (ou dans une méthode appelée par :ref:`Node._physics_process()`), car elle utilise automatique la valeur ``delta`` de l'étape de physique dans son calcul. Dans le cas contraire, la simulation avancera à une vitesse incorrecte. + Modifie :ref:`velocity` si une collision de glissement s'est produite. Pour obtenir la dernière collision, appelez :ref:`get_last_slide_collision()`, pour des informations plus détaillées sur les collisions qui se sont produites, utilisez :ref:`get_slide_collision()`. Lorsque le corps touche une plate-forme mobile, la vitesse de la plateforme est automatiquement ajoutée au mouvement du corps. Si une collision survient en raison du mouvement de la plate-forme, elle sera toujours la première dans les collisions de glissement. diff --git a/classes/fr/class_checkbutton.rst b/classes/fr/class_checkbutton.rst index 679affa50a..89d93fd67d 100644 --- a/classes/fr/class_checkbutton.rst +++ b/classes/fr/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/fr/class_container.rst b/classes/fr/class_container.rst index 2295421a9b..6e341fe9df 100644 --- a/classes/fr/class_container.rst +++ b/classes/fr/class_container.rst @@ -107,7 +107,7 @@ Notification juste avant que les enfants ne soient triés, au cas où il y a que **NOTIFICATION_SORT_CHILDREN** = ``51`` :ref:`🔗` -La notification pour le tri des enfants, à laquelle faut l'obéir immédiatement. +Notification lors du tri des enfants, à laquelle il faut obéir immédiatement. .. rst-class:: classref-section-separator @@ -164,7 +164,7 @@ Ajuste un contrôle enfant dans un rectangle donné. Il s'agit principalement d' |void| **queue_sort**\ (\ ) :ref:`🔗` -Ajoute un commande de tri pour les contrôles enfants. Ceci est appelé automatiquement de tous les cas, mais peut être appelé sur demande. +Ajoute un commande de tri pour les enfants contenus. Ceci est appelé automatiquement dans tous les cas, mais peut être appelé sur demande. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_control.rst b/classes/fr/class_control.rst index 1542fb2ac5..03fb99002f 100644 --- a/classes/fr/class_control.rst +++ b/classes/fr/class_control.rst @@ -49,7 +49,7 @@ Tutoriels - :doc:`Galerie des nœuds de contrôle <../tutorials/ui/control_node_gallery>` -- :doc:`Multiples résolutions <../tutorials/rendering/multiple_resolutions>` +- :doc:`Résolutions multiples <../tutorials/rendering/multiple_resolutions>` - `Toutes les démos d'interface graphique `__ @@ -480,7 +480,7 @@ Emitted when the mouse cursor leaves the control's (and all child control's) vis **theme_changed**\ (\ ) :ref:`🔗` -Emitted when the :ref:`NOTIFICATION_THEME_CHANGED` notification is sent. +Émis lorsque la notification :ref:`NOTIFICATION_THEME_CHANGED` est envoyée. .. rst-class:: classref-section-separator @@ -1386,7 +1386,7 @@ The paths to the nodes which are describing this node. - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La description facilement lisible du nœud qui est rapportée aux applications d'assistance. .. rst-class:: classref-item-separator @@ -1454,7 +1454,7 @@ The mode with which a live region updates. A live region is a :ref:`Node`\ ) - :ref:`String` **get_accessibility_name**\ (\ ) -The human-readable node name that is reported to assistive apps. +Le nom facilement lisible du nœud qui est rapporté aux applications d'assistance. .. rst-class:: classref-item-separator @@ -1537,7 +1537,7 @@ Anchors the top edge of the node to the origin, the center or the end of its par **Obsolète :** Use :ref:`Node.auto_translate_mode` and :ref:`Node.can_auto_translate()` instead. -Toggles if any text should automatically change to its translated version depending on the current locale. +Active/désactive si du texte devrait automatiquement changer en sa version traduite selon la langue actuelle. .. rst-class:: classref-item-separator @@ -2140,9 +2140,9 @@ Signale au :ref:`Container` parent qu'il devrait redimensionner - |void| **set_theme**\ (\ value\: :ref:`Theme`\ ) - :ref:`Theme` **get_theme**\ (\ ) -The :ref:`Theme` resource this node and all its **Control** and :ref:`Window` children use. If a child node has its own :ref:`Theme` resource set, theme items are merged with child's definitions having higher priority. +La ressource :ref:`Theme` que ce nœud et tous ses enfants **Control** et :ref:`Window` utilisent. Si un nœud enfant a son propre ensemble de ressources :ref:`Theme`, les éléments de thème sont fusionnés avec les définitions de l'enfant ayant une priorité plus élevée. -\ **Note:** :ref:`Window` styles will have no effect unless the window is embedded. +\ **Note :** Les styles de :ref:`Window` n'auront aucun effet à moins que la fenêtre ne soit intégrée. .. rst-class:: classref-item-separator @@ -2640,7 +2640,7 @@ See also :ref:`get_theme_color()`. |void| **add_theme_constant_override**\ (\ name\: :ref:`StringName`, constant\: :ref:`int`\ ) :ref:`🔗` -Crée une redéfinition locale pour une constante de thème avec le nom ``name`` spécifié. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une surcharge peut être supprimée avec la méthode :ref:`remove_theme_constant_override()`. +Crée une redéfinition locale pour une constante de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une surcharge peut être supprimée avec la méthode :ref:`remove_theme_constant_override()`. Voir aussi :ref:`get_theme_constant()`. @@ -2654,7 +2654,7 @@ Voir aussi :ref:`get_theme_constant()`. |void| **add_theme_font_override**\ (\ name\: :ref:`StringName`, font\: :ref:`Font`\ ) :ref:`🔗` -Crée une redéfinition locale pour la police :ref:`Font` du thème nommé ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_override()`. +Crée une redéfinition locale pour une :ref:`Font` de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_override()`. Voir aussi :ref:`get_theme_font()`. @@ -2668,7 +2668,7 @@ Voir aussi :ref:`get_theme_font()`. |void| **add_theme_font_size_override**\ (\ name\: :ref:`StringName`, font_size\: :ref:`int`\ ) :ref:`🔗` -Crée une redéfinition locale pour la taille de police du thème nommé ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_size_override()`. +Crée une redéfinition locale pour une taille de police de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_size_override()`. Voir aussi :ref:`get_theme_font_size()`. @@ -2741,7 +2741,7 @@ See also :ref:`get_theme_stylebox()`. |void| **begin_bulk_theme_override**\ (\ ) :ref:`🔗` -Prevents ``*_theme_*_override`` methods from emitting :ref:`NOTIFICATION_THEME_CHANGED` until :ref:`end_bulk_theme_override()` is called. +Empêche les méthodes ``*_theme_*_override`` d'émettre :ref:`NOTIFICATION_THEME_CHANGED` jusqu'à ce que :ref:`end_bulk_theme_override()` soit appelée. .. rst-class:: classref-item-separator @@ -2753,7 +2753,7 @@ Prevents ``*_theme_*_override`` methods from emitting :ref:`NOTIFICATION_THEME_C |void| **end_bulk_theme_override**\ (\ ) :ref:`🔗` -Ends a bulk theme override update. See :ref:`begin_bulk_theme_override()`. +Termine une mise à jour de masse de redéfinition du thème. Voir :ref:`begin_bulk_theme_override()`. .. rst-class:: classref-item-separator @@ -3251,7 +3251,7 @@ Voir :ref:`get_theme_color()` pour plus de :ref:`bool` **has_theme_color_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition locale pour la :ref:`Color` de thème avec le nom ``name`` spécifié dans ce nœud **Control**. +Renvoie ``true`` s'il y a une redéfinition locale pour une :ref:`Color` de thème nommée ``name`` dans ce nœud **Control**. Voir :ref:`add_theme_color_override()`. @@ -3279,7 +3279,7 @@ Voir :ref:`get_theme_color()` pour plus de :ref:`bool` **has_theme_constant_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition locale pour une constante de thème avec le nom ``name`` spécifié dans ce nœud **Control**. +Renvoie ``true`` s'il y a une redéfinition locale pour une constante de thème nommée ``name`` dans ce nœud **Control**. Voir :ref:`add_theme_constant_override()`. @@ -3307,7 +3307,7 @@ Voir :ref:`get_theme_color()` pour plus de :ref:`bool` **has_theme_font_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition pour la :ref:`Font` du thème avec le nom ``name`` spécifié dans ce nœud **Control**. +Renvoie ``true`` s'il y a une redéfinition pour une :ref:`Font` de thème nommée ``name`` dans ce nœud **Control**. Voir :ref:`add_theme_font_override()`. @@ -3335,9 +3335,9 @@ Voir :ref:`get_theme_color()` pour les dé :ref:`bool` **has_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme font size with the specified ``name`` in this **Control** node. +Renvoie ``true`` s'il y a une redéfinition locale pour une taille de police de thème nommée ``name`` dans ce nœud **Control**. -See :ref:`add_theme_font_size_override()`. +Voir :ref:`add_theme_font_size_override()`. .. rst-class:: classref-item-separator @@ -3363,9 +3363,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme icon with the specified ``name`` in this **Control** node. +Renvoie ``true`` s'il y a une redéfinition locale pour une icône de thème nommée ``name`` dans ce nœud **Control**. -See :ref:`add_theme_icon_override()`. +Voir :ref:`add_theme_icon_override()`. .. rst-class:: classref-item-separator @@ -3391,9 +3391,9 @@ See :ref:`get_theme_color()` for details. :ref:`bool` **has_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`StyleBox` with the specified ``name`` in this **Control** node. +Renvoie ``true`` s'il y a une redéfinition locale pour une :ref:`StyleBox` de thème nommée ``name`` dans ce nœud **Control**. -See :ref:`add_theme_stylebox_override()`. +Voir :ref:`add_theme_stylebox_override()`. .. rst-class:: classref-item-separator @@ -3443,7 +3443,7 @@ Give up the focus. No other control will be able to receive input. |void| **remove_theme_color_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`Color` with the specified ``name`` previously added by :ref:`add_theme_color_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`Color` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_color_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -3467,7 +3467,7 @@ Supprime une redéfinition locale pour une constante de thème nommée ``name`` |void| **remove_theme_font_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`Font` with the specified ``name`` previously added by :ref:`add_theme_font_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`Font` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_font_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -3479,7 +3479,7 @@ Removes a local override for a theme :ref:`Font` with the specified |void| **remove_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme font size with the specified ``name`` previously added by :ref:`add_theme_font_size_override()` or via the Inspector dock. +Retire une redéfinition locale pour une taille de police de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_font_size_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -3491,7 +3491,7 @@ Removes a local override for a theme font size with the specified ``name`` previ |void| **remove_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme icon with the specified ``name`` previously added by :ref:`add_theme_icon_override()` or via the Inspector dock. +Retire une redéfinition locale pour une icône de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_icon_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -3503,7 +3503,7 @@ Removes a local override for a theme icon with the specified ``name`` previously |void| **remove_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`StyleBox` with the specified ``name`` previously added by :ref:`add_theme_stylebox_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`StyleBox` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_stylebox_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_cubemap.rst b/classes/fr/class_cubemap.rst index c73da2b99b..53d45c2b10 100644 --- a/classes/fr/class_cubemap.rst +++ b/classes/fr/class_cubemap.rst @@ -77,7 +77,7 @@ Descriptions des méthodes :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderCubemap`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderCubemap`). .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_cubemaparray.rst b/classes/fr/class_cubemaparray.rst index cc32aca12f..843665294f 100644 --- a/classes/fr/class_cubemaparray.rst +++ b/classes/fr/class_cubemaparray.rst @@ -63,7 +63,7 @@ Descriptions des méthodes :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderCubemapArray`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderCubemapArray`). .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_decal.rst b/classes/fr/class_decal.rst index c55ff5e5ec..eba15b9845 100644 --- a/classes/fr/class_decal.rst +++ b/classes/fr/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/fr/class_dictionary.rst b/classes/fr/class_dictionary.rst index c8c26a29a3..076b099d67 100644 --- a/classes/fr/class_dictionary.rst +++ b/classes/fr/class_dictionary.rst @@ -129,7 +129,7 @@ To add a key to an existing dictionary, access it like an existing key and assig -Finally, dictionaries can contain different types of keys and values in the same dictionary: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: @@ -180,6 +180,45 @@ The keys of a dictionary can be iterated with the ``for`` keyword: +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: + + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + \ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. \ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. @@ -539,7 +578,7 @@ Renvoie l'instance :ref:`Script` associée aux valeurs de ce dicti :ref:`bool` **has**\ (\ key\: :ref:`Variant`\ ) |const| :ref:`🔗` -Returns ``true`` if the dictionary contains an entry with the given ``key``. +Renvoie ``true`` si le dictionnaire contient une entrée avec la clé ``key`` donnée. .. tabs:: @@ -547,13 +586,13 @@ Returns ``true`` if the dictionary contains an entry with the given ``key``. .. code-tab:: gdscript var my_dict = { - "Godot" : 4, - 210 : null, + "Godot" : 4, + 210 : null, } - print(my_dict.has("Godot")) # Prints true - print(my_dict.has(210)) # Prints true - print(my_dict.has(4)) # Prints false + print(my_dict.has("Godot")) # Affiche true + print(my_dict.has(210)) # Affiche true + print(my_dict.has(4)) # Affiche false .. code-tab:: csharp @@ -563,20 +602,20 @@ Returns ``true`` if the dictionary contains an entry with the given ``key``. { 210, default }, }; - GD.Print(myDict.ContainsKey("Godot")); // Prints True - GD.Print(myDict.ContainsKey(210)); // Prints True - GD.Print(myDict.ContainsKey(4)); // Prints False + GD.Print(myDict.ContainsKey("Godot")); // Affiche True + GD.Print(myDict.ContainsKey(210)); // Affiche True + GD.Print(myDict.ContainsKey(4)); // Affiche False -In GDScript, this is equivalent to the ``in`` operator: +En GDScript, cela équivaut à l'opérateur ``in``\  : :: - if "Godot" in { "Godot": 4 }: - print("The key is here!") # Will be printed. + if "Godot" in {"Godot": 4}: + print("La clé est ici !") # Sera affiché. -\ **Note:** This method returns ``true`` as long as the ``key`` exists, even if its corresponding value is ``null``. +\ **Note:** Cette méthode renvoie ``true`` tant que la ``key`` existe, même si sa valeur correspondante est ``null``. .. rst-class:: classref-item-separator @@ -605,7 +644,7 @@ Returns ``true`` if the dictionary contains all keys in the given ``keys`` array :ref:`int` **hash**\ (\ ) |const| :ref:`🔗` -Returns a hashed 32-bit integer value representing the dictionary contents. +Renvoie une valeur d'entier de 32 bits hachée représentant le contenu du dictionnaire. .. tabs:: @@ -615,21 +654,21 @@ Returns a hashed 32-bit integer value representing the dictionary contents. var dict1 = { "A": 10, "B": 2 } var dict2 = { "A": 10, "B": 2 } - print(dict1.hash() == dict2.hash()) # Prints true + print(dict1.hash() == dict2.hash()) # Affiche true .. code-tab:: csharp var dict1 = new Godot.Collections.Dictionary { { "A", 10 }, { "B", 2 } }; var dict2 = new Godot.Collections.Dictionary { { "A", 10 }, { "B", 2 } }; - // Godot.Collections.Dictionary has no Hash() method. Use GD.Hash() instead. - GD.Print(GD.Hash(dict1) == GD.Hash(dict2)); // Prints True + // Godot.Collections.Dictionary n'a pas de méthode Hash(). Utilisez GD.Hash() à la place. + GD.Print(GD.Hash(dict1) == GD.Hash(dict2)); // Affiche True -\ **Note:** Dictionaries with the same entries but in a different order will not have the same hash. +\ **Note :** Les dictionnaires avec les mêmes entrées mais dans un ordre différent n'auront pas le même hachage. -\ **Note:** Dictionaries with equal hash values are *not* guaranteed to be the same, because of hash collisions. On the contrary, dictionaries with different hash values are guaranteed to be different. +\ **Note :** Les dictionnaires avec des valeurs de hachage égales ne sont *pas* garantis d'être le même, en raison des collisions de hachage. Au contraire, les dictionnaires avec différentes valeurs de hachage sont garantis d'être différents. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_diraccess.rst b/classes/fr/class_diraccess.rst index cf5be78dec..69401cf955 100644 --- a/classes/fr/class_diraccess.rst +++ b/classes/fr/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/fr/class_directionallight2d.rst b/classes/fr/class_directionallight2d.rst index cbaf3b2383..e1cf0543bc 100644 --- a/classes/fr/class_directionallight2d.rst +++ b/classes/fr/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/fr/class_directionallight3d.rst b/classes/fr/class_directionallight3d.rst index 6a087dfc13..4ae86aef12 100644 --- a/classes/fr/class_directionallight3d.rst +++ b/classes/fr/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/fr/class_displayserver.rst b/classes/fr/class_displayserver.rst index 674ccbc2e1..19e288075e 100644 --- a/classes/fr/class_displayserver.rst +++ b/classes/fr/class_displayserver.rst @@ -2105,7 +2105,7 @@ enum **WindowMode**: :ref:`🔗` :ref:`WindowMode` **WINDOW_MODE_WINDOWED** = ``0`` -Windowed mode, i.e. :ref:`Window` doesn't occupy the whole screen (unless set to the size of the screen). +Mode fenêtré, c'est-à-dire que :ref:`Window` n'occupe pas l'écran entier (sauf si définie à la taille de l'écran). .. _class_DisplayServer_constant_WINDOW_MODE_MINIMIZED: @@ -2113,7 +2113,7 @@ Windowed mode, i.e. :ref:`Window` doesn't occupy the whole screen :ref:`WindowMode` **WINDOW_MODE_MINIMIZED** = ``1`` -Minimized window mode, i.e. :ref:`Window` is not visible and available on window manager's window list. Normally happens when the minimize button is pressed. +Mode de fenêtre minimisée, c.-à-d. :ref:`Window` n'est pas visible et est disponible dans la liste des fenêtres du gestionnaire de fenêtre. Se produit normalement lorsque le bouton de minimisation est appuyé. .. _class_DisplayServer_constant_WINDOW_MODE_MAXIMIZED: @@ -2121,7 +2121,7 @@ Minimized window mode, i.e. :ref:`Window` is not visible and avail :ref:`WindowMode` **WINDOW_MODE_MAXIMIZED** = ``2`` -Maximized window mode, i.e. :ref:`Window` will occupy whole screen area except task bar and still display its borders. Normally happens when the maximize button is pressed. +Mode de fenêtre maximisée, c.-à-d. :ref:`Window` occupera tout l'écran sauf la barre des tâches et affichera toujours ses bordures. Se produit normalement lorsque le bouton de maximisation est appuyé. .. _class_DisplayServer_constant_WINDOW_MODE_FULLSCREEN: @@ -2129,15 +2129,15 @@ Maximized window mode, i.e. :ref:`Window` will occupy whole screen :ref:`WindowMode` **WINDOW_MODE_FULLSCREEN** = ``3`` -Full screen mode with full multi-window support. +Mode plein écran avec support multi-fenêtres complet. -Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed. +La fenêtre en plein écran couvre toute la zone d'affichage d'un écran et n'a pas de décorations. Le mode vidéo de l'écran n'est pas modifié. -\ **On Android:** This enables immersive mode. +\ ** Sur Android :** Cela active le mode immersif. -\ **On macOS:** A new desktop is used to display the running project. +\ ** Sur macOS :** Un nouveau bureau est utilisé pour afficher le projet en cours d'exécution. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Note :** Quelle que soit la plate-forme, activer le plein écran changera la taille de la fenêtre pour correspondre à la taille du moniteur. Par conséquent, assurez-vous que votre projet supporte des :doc:`résolutions multiples <../tutorials/rendering/multiple_résolutions>` lors de l'activation du mode plein écran. .. _class_DisplayServer_constant_WINDOW_MODE_EXCLUSIVE_FULLSCREEN: @@ -2285,9 +2285,9 @@ Signals the window manager that this window is supposed to be an implementation- :ref:`WindowFlags` **WINDOW_FLAG_MINIMIZE_DISABLED** = ``11`` -Window minimize button is disabled. +Le bouton de minimisation de la fenêtre est désactivé. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Note :** Ce drapeau est implémenté sur macOS et Windows. .. _class_DisplayServer_constant_WINDOW_FLAG_MAXIMIZE_DISABLED: @@ -2295,9 +2295,9 @@ Window minimize button is disabled. :ref:`WindowFlags` **WINDOW_FLAG_MAXIMIZE_DISABLED** = ``12`` -Window maximize button is disabled. +Le bouton de maximisation de la fenêtre est désactivé. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Note :** Ce drapeau est implémenté sur macOS et Windows. .. _class_DisplayServer_constant_WINDOW_FLAG_MAX: diff --git a/classes/fr/class_editorexportplatformios.rst b/classes/fr/class_editorexportplatformios.rst index c4e99f06fb..2cc440eee7 100644 --- a/classes/fr/class_editorexportplatformios.rst +++ b/classes/fr/class_editorexportplatformios.rst @@ -838,7 +838,7 @@ Enabling this option limits supported devices to: iPhone 15 Pro and newer. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator @@ -850,7 +850,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorexportplatformlinuxbsd.rst b/classes/fr/class_editorexportplatformlinuxbsd.rst index 02f14240f3..01b625ee69 100644 --- a/classes/fr/class_editorexportplatformlinuxbsd.rst +++ b/classes/fr/class_editorexportplatformlinuxbsd.rst @@ -99,7 +99,7 @@ If ``true``, project resources are embedded into the executable. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator @@ -111,7 +111,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorexportplatformmacos.rst b/classes/fr/class_editorexportplatformmacos.rst index d2e9d8b4bc..70f6392e19 100644 --- a/classes/fr/class_editorexportplatformmacos.rst +++ b/classes/fr/class_editorexportplatformmacos.rst @@ -1107,7 +1107,7 @@ Can be overridden with the environment variable ``GODOT_MACOS_CODESIGN_PROVISION :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator @@ -1119,7 +1119,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorexportplatformvisionos.rst b/classes/fr/class_editorexportplatformvisionos.rst index c502cba4eb..42addcd8b0 100644 --- a/classes/fr/class_editorexportplatformvisionos.rst +++ b/classes/fr/class_editorexportplatformvisionos.rst @@ -720,7 +720,7 @@ Enabling this option limits supported devices to: iPhone 15 Pro and newer. :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator @@ -732,7 +732,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorexportplatformwindows.rst b/classes/fr/class_editorexportplatformwindows.rst index 90b48646f1..957d55c873 100644 --- a/classes/fr/class_editorexportplatformwindows.rst +++ b/classes/fr/class_editorexportplatformwindows.rst @@ -256,7 +256,7 @@ If enabled, icon and metadata of the exported executable is set according to the :ref:`String` **application/product_name** :ref:`🔗` -Name of the application. Required. See `StringFileInfo `__. +Nom de l'application. Requis. Voir `StringFileInfo `__. .. rst-class:: classref-item-separator @@ -268,7 +268,7 @@ Name of the application. Required. See `StringFileInfo ` **application/product_version** :ref:`🔗` -Application version visible to the user. Falls back to :ref:`ProjectSettings.application/config/version` if left empty. See `StringFileInfo `__. +Version d'application visible par l'utilisateur. Revient à :ref:`ProjectSettings.application/config/version` si laissé vide. Voir `StringFileInfo `__. .. rst-class:: classref-item-separator @@ -280,7 +280,7 @@ Application version visible to the user. Falls back to :ref:`ProjectSettings.app :ref:`String` **application/trademarks** :ref:`🔗` -Trademarks and registered trademarks that apply to the file. Optional. See `StringFileInfo `__. +Marques et marques déposées qui s'appliquent au fichier. Facultatif. Voir `StringFileInfo `__. .. rst-class:: classref-item-separator @@ -292,9 +292,9 @@ Trademarks and registered trademarks that apply to the file. Optional. See `Stri :ref:`String` **binary_format/architecture** :ref:`🔗` -Application executable architecture. +Architecture de l'exécutable de l'application. -Supported architectures: ``x86_32``, ``x86_64``, and ``arm64``. +Architectures supportées : ``x86_32``, ``x86_64``, et ``arm64``. .. rst-class:: classref-item-separator @@ -434,7 +434,7 @@ URL of the time stamp server. If left empty, the default server is used. See `Si :ref:`String` **custom_template/debug** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator @@ -446,7 +446,7 @@ Path to the custom export template. If left empty, default template is used. :ref:`String` **custom_template/release** :ref:`🔗` -Path to the custom export template. If left empty, default template is used. +Chemin vers le modèle d'export personnalisé. Si laissé vide, le modèle par défaut est utilisé. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorexportplugin.rst b/classes/fr/class_editorexportplugin.rst index 039a4fe7a5..bed51a61ba 100644 --- a/classes/fr/class_editorexportplugin.rst +++ b/classes/fr/class_editorexportplugin.rst @@ -228,7 +228,7 @@ This is called when the customization process for resources ends. |void| **_end_customize_scenes**\ (\ ) |virtual| :ref:`🔗` -This is called when the customization process for scenes ends. +Ceci est appelé lorsque le processus de personnalisation pour les scènes se termine. .. rst-class:: classref-item-separator @@ -486,7 +486,7 @@ Implementing this method is required. :ref:`bool` **_should_update_export_options**\ (\ platform\: :ref:`EditorExportPlatform`\ ) |virtual| |const| :ref:`🔗` -Return ``true`` if the result of :ref:`_get_export_options()` has changed and the export options of the preset corresponding to ``platform`` should be updated. +Renvoie ``true`` si le résultat de :ref:`_get_export_options()` a changé et les options d'export du préréglage correspondant à ``platform`` devraient être mises à jour. .. rst-class:: classref-item-separator @@ -498,7 +498,7 @@ Return ``true`` if the result of :ref:`_get_export_options()` **_supports_platform**\ (\ platform\: :ref:`EditorExportPlatform`\ ) |virtual| |const| :ref:`🔗` -Return ``true`` if the plugin supports the given ``platform``. +Renvoie ``true`` si le plugin supporte la plate-forme ``platform`` donnée. .. rst-class:: classref-item-separator @@ -762,7 +762,7 @@ In case of a directory code-sign will error if you place non code object in dire :ref:`EditorExportPlatform` **get_export_platform**\ (\ ) |const| :ref:`🔗` -Returns currently used export platform. +Renvoie la plateforme d'export actuellement utilisée. .. rst-class:: classref-item-separator @@ -774,7 +774,7 @@ Returns currently used export platform. :ref:`EditorExportPreset` **get_export_preset**\ (\ ) |const| :ref:`🔗` -Returns currently used export preset. +Renvoie le préreglage d'export actuellement utilisé. .. rst-class:: classref-item-separator @@ -786,7 +786,7 @@ Returns currently used export preset. :ref:`Variant` **get_option**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns the current value of an export option supplied by :ref:`_get_export_options()`. +Renvoie la valeur actuelle d'une option d'export fournie par :ref:`_get_export_options()`. .. rst-class:: classref-item-separator @@ -798,7 +798,7 @@ Returns the current value of an export option supplied by :ref:`_get_export_opti |void| **skip**\ (\ ) :ref:`🔗` -To be called inside :ref:`_export_file()`. Skips the current file, so it's not included in the export. +Sera appelée dans :ref:`_export_file()`. Ignore le fichier actuel, il ne figurera donc pas dans l'export. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_editorexportpreset.rst b/classes/fr/class_editorexportpreset.rst index 499a990019..2e1f507f22 100644 --- a/classes/fr/class_editorexportpreset.rst +++ b/classes/fr/class_editorexportpreset.rst @@ -7,7 +7,7 @@ EditorExportPreset **Hérite de :** :ref:`RefCounted` **<** :ref:`Object` -Export preset configuration. +Configuration de préreglage d'export. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_editorfeatureprofile.rst b/classes/fr/class_editorfeatureprofile.rst index 8b7f0e2400..658910e2d6 100644 --- a/classes/fr/class_editorfeatureprofile.rst +++ b/classes/fr/class_editorfeatureprofile.rst @@ -260,7 +260,7 @@ If ``disable`` is ``true``, disables the class specified by ``class_name``. When |void| **set_disable_class_editor**\ (\ class_name\: :ref:`StringName`, disable\: :ref:`bool`\ ) :ref:`🔗` -If ``disable`` is ``true``, disables editing for the class specified by ``class_name``. When disabled, the class will still appear in the Create New Node dialog but the Inspector will be read-only when selecting a node that extends the class. +Si ``disable`` vaut ``true``, désactive l'édition de la classe nommée ``class_name``. Lorsqu'elle est désactivée, la classe apparaîtra toujours dans la fenêtre "Créer un nouveau nœud", mais l'inspecteur sera en lecture-seule lors de la sélection d'un nœud qui étend cette classe. .. rst-class:: classref-item-separator @@ -272,7 +272,7 @@ If ``disable`` is ``true``, disables editing for the class specified by ``class_ |void| **set_disable_class_property**\ (\ class_name\: :ref:`StringName`, property\: :ref:`StringName`, disable\: :ref:`bool`\ ) :ref:`🔗` -If ``disable`` is ``true``, disables editing for ``property`` in the class specified by ``class_name``. When a property is disabled, it won't appear in the Inspector when selecting a node that extends the class specified by ``class_name``. +Si ``disable`` vaut ``true``, désactive l'édition de la ``property`` dans la classe nommée ``class_name``. Lorsqu'une propriété est désactivée, elle n'apparaît plus dans l'inspecteur lors de la sélection d'un nœud qui étend la classe spécifiée par ``class_name``. .. rst-class:: classref-item-separator @@ -284,7 +284,7 @@ If ``disable`` is ``true``, disables editing for ``property`` in the class speci |void| **set_disable_feature**\ (\ feature\: :ref:`Feature`, disable\: :ref:`bool`\ ) :ref:`🔗` -If ``disable`` is ``true``, disables the editor feature specified in ``feature``. When a feature is disabled, it will disappear from the editor entirely. +Si ``disable`` vaut ``true``, désactive la fonctionnalité d'éditeur spécifiée dans ``feature``. Lorsqu'une fonctionnalité est désactivée, elle disparaîtra entièrement de l'éditeur. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_editorfiledialog.rst b/classes/fr/class_editorfiledialog.rst index 87865641d9..ce8bac9dd8 100644 --- a/classes/fr/class_editorfiledialog.rst +++ b/classes/fr/class_editorfiledialog.rst @@ -598,9 +598,9 @@ Returns a :ref:`Dictionary` with the selected values of the ad :ref:`VBoxContainer` **get_vbox**\ (\ ) :ref:`🔗` -Returns the :ref:`VBoxContainer` used to display the file system. +Renvoie le :ref:`VBoxContainer` utilisé pour afficher le système de fichiers. -\ **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their :ref:`CanvasItem.visible` property. +\ **Avertissement :** Il s'agit d'un nœud requis en interne, l'enlever et le libérer peut causer un plantage. Si vous voulez le cacher lui ou un de ses enfants, utilisez leur propriété :ref:`CanvasItem.visible`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorfilesystemdirectory.rst b/classes/fr/class_editorfilesystemdirectory.rst index 2e8f74cad8..894d903ed3 100644 --- a/classes/fr/class_editorfilesystemdirectory.rst +++ b/classes/fr/class_editorfilesystemdirectory.rst @@ -81,7 +81,7 @@ Returns the index of the directory with name ``name`` or ``-1`` if not found. :ref:`int` **find_file_index**\ (\ name\: :ref:`String`\ ) |const| :ref:`🔗` -Returns the index of the file with name ``name`` or ``-1`` if not found. +Renvoie l'index du fichier nommé ``name`` ou ``-1`` s'il n'est pas trouvé. .. rst-class:: classref-item-separator @@ -93,7 +93,7 @@ Returns the index of the file with name ``name`` or ``-1`` if not found. :ref:`String` **get_file**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the name of the file at index ``idx``. +Renvoie le nom du fichier à l'index ``idx``. .. rst-class:: classref-item-separator @@ -117,7 +117,7 @@ Renvoie le nombre de fichiers dans ce dossier. :ref:`bool` **get_file_import_is_valid**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the file at index ``idx`` imported properly. +Renvoie ``true`` si le fichier à l'index ``idx`` à été importé correctement. .. rst-class:: classref-item-separator @@ -129,7 +129,7 @@ Returns ``true`` if the file at index ``idx`` imported properly. :ref:`String` **get_file_path**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the path to the file at index ``idx``. +Renvoie le chemin du fichier à l'index ``idx``. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorimportplugin.rst b/classes/fr/class_editorimportplugin.rst index 4b2882ded5..c0b708ccfc 100644 --- a/classes/fr/class_editorimportplugin.rst +++ b/classes/fr/class_editorimportplugin.rst @@ -260,7 +260,7 @@ Obtient le nom unique de l'importateur. :ref:`bool` **_get_option_visibility**\ (\ path\: :ref:`String`, option_name\: :ref:`StringName`, options\: :ref:`Dictionary`\ ) |virtual| |const| :ref:`🔗` -Gets whether the import option specified by ``option_name`` should be visible in the Import dock. The default implementation always returns ``true``, making all options visible. This is mainly useful for hiding options that depend on others if one of them is disabled. +Obtient si l'option d'importation spécifiée par ``option_name`` devrait être visible dans le dock Import. L'implémentation par défaut renvoie toujours ``true``, rendant toutes les options visibles. Ceci est principalement utile pour cacher des options qui dépendent des autres si l'une d'entre elle est désactivée. .. tabs:: @@ -268,9 +268,9 @@ Gets whether the import option specified by ``option_name`` should be visible in .. code-tab:: gdscript func _get_option_visibility(path, option_name, options): - # Only show the lossy quality setting if the compression mode is set to "Lossy". + # Affiche seulement le réglage de la qualité avec perte si le mode de compression est défini à "Lossy". if option_name == "compress/lossy_quality" and options.has("compress/mode"): - return int(options["compress/mode"]) == COMPRESS_LOSSY # This is a constant that you set + return int(options["compress/mode"]) == COMPRESS_LOSSY # Il s'agit d'une constante que vous définissez return true @@ -278,10 +278,10 @@ Gets whether the import option specified by ``option_name`` should be visible in public override bool _GetOptionVisibility(string path, StringName optionName, Godot.Collections.Dictionary options) { - // Only show the lossy quality setting if the compression mode is set to "Lossy". + // Affiche seulement le réglage de la qualité avec perte si le mode de compression est défini à "Lossy". if (optionName == "compress/lossy_quality" && options.ContainsKey("compress/mode")) { - return (int)options["compress/mode"] == CompressLossy; // This is a constant you set + return (int)options["compress/mode"] == CompressLossy; // Il s'agit d'une constante que vous définissez } return true; diff --git a/classes/fr/class_editorinspector.rst b/classes/fr/class_editorinspector.rst index 3b45109fca..29ec7c9afa 100644 --- a/classes/fr/class_editorinspector.rst +++ b/classes/fr/class_editorinspector.rst @@ -206,7 +206,7 @@ Shows the properties of the given ``object`` in this inspector for editing. To c :ref:`Object` **get_edited_object**\ (\ ) :ref:`🔗` -Returns the object currently selected in this inspector. +Renvoie l'objet actuellement sélectionné dans cet inspecteur. .. rst-class:: classref-item-separator @@ -218,7 +218,7 @@ Returns the object currently selected in this inspector. :ref:`String` **get_selected_path**\ (\ ) |const| :ref:`🔗` -Gets the path of the currently selected property. +Obtient le chemin de la propriété actuellement sélectionnée. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorinterface.rst b/classes/fr/class_editorinterface.rst index 0e43613720..beb7568a8b 100644 --- a/classes/fr/class_editorinterface.rst +++ b/classes/fr/class_editorinterface.rst @@ -288,9 +288,9 @@ Renvoie le conteneur principal de la fenêtre de l'éditeur de Godot. Par exempl :ref:`EditorCommandPalette` **get_command_palette**\ (\ ) |const| :ref:`🔗` -Returns the editor's :ref:`EditorCommandPalette` instance. +Renvoie l'instance :ref:`EditorCommandPalette` de l'éditeur. -\ **Warning:** Removing and freeing this node will render a part of the editor useless and may cause a crash. +\ **Avertissement :** Enlever et libérer ce nœud rendra une partie de l'éditeur inutile et peut causer un plantage. .. rst-class:: classref-item-separator @@ -662,7 +662,7 @@ Returns mesh previews rendered at the given size as an :ref:`Array` |void| **mark_scene_as_unsaved**\ (\ ) :ref:`🔗` -Marks the current scene tab as unsaved. +Marque l'onglet de la scène actuelle comme non sauvegardée. .. rst-class:: classref-item-separator @@ -674,7 +674,7 @@ Marks the current scene tab as unsaved. |void| **open_scene_from_path**\ (\ scene_filepath\: :ref:`String`, set_inherited\: :ref:`bool` = false\ ) :ref:`🔗` -Opens the scene at the given path. If ``set_inherited`` is ``true``, creates a new inherited scene. +Ouvre la scène au chemin donné. Si ``set_inherited`` vaut ``true``, crée une nouvelle scène héritée. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editornode3dgizmo.rst b/classes/fr/class_editornode3dgizmo.rst index fa0f9bfde7..8545557a6c 100644 --- a/classes/fr/class_editornode3dgizmo.rst +++ b/classes/fr/class_editornode3dgizmo.rst @@ -263,7 +263,7 @@ Adds the specified ``segments`` to the gizmo's collision shape for picking. Call |void| **add_collision_triangles**\ (\ triangles\: :ref:`TriangleMesh`\ ) :ref:`🔗` -Adds collision triangles to the gizmo for picking. A :ref:`TriangleMesh` can be generated from a regular :ref:`Mesh` too. Call this method during :ref:`_redraw()`. +Ajoute des triangles de collision au manipulateur pour la sélection. Un :ref:`TriangleMesh` peut aussi être généré à partir d'un :ref:`Mesh` habituel. Appelez cette fonction durant :ref:`_redraw()`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_editorsettings.rst b/classes/fr/class_editorsettings.rst index 599f0c10a1..63939e89f9 100644 --- a/classes/fr/class_editorsettings.rst +++ b/classes/fr/class_editorsettings.rst @@ -3425,15 +3425,15 @@ Input accumulation can be disabled to get slightly more precise/reactive input a :ref:`int` **interface/accessibility/accessibility_support** :ref:`🔗` -Editor accessibility support mode: +Mode de support d'accessibilité de l'éditeur : -- **Auto** (``0``): Accessibility support is enabled, but updates to the accessibility information are processed only if an assistive app (such as a screen reader or a Braille display) is active (default). +- **Auto** (``0``) : Le support d'accessibilité est activé, mais les mises à jour d'information d'accessibilité ne sont traitées que si une application d'assistance (p. ex. lecteur d'écran ou affichage en braille) est active (par défaut). -- **Always Active** (``1``): Accessibility support is enabled, and updates to the accessibility information are always processed, regardless of the status of assistive apps. +- **Toujours actif** (``1``) : Le support d'accessibilité est activé et les mises à jour d'information d'accessibilité sont traitées indépendamment du statut des applications d'assistance. -- **Disabled** (``2``): Accessibility support is fully disabled. +- **Désactivé** (``2``) : Le support d'accessibilité est entièrement désactivé. -\ **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, Accessibility Inspector (macOS), or AT-SPI Browser (Linux/BSD) do not count as assistive apps. To test your project with these tools, use **Always Active**. +\ **Note :** Les outils de débogage d'accessibilité, tels que Accessibility Insights pour Windows, l'inspecteur d'accessibilité (macOS) ou le navigateur AT-SPI (Linux/BDS) ne comptent pas comme des applications d'assistance. Pour tester votre application avec ces outils, utilisez ``Toujours actif``. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_environment.rst b/classes/fr/class_environment.rst index 562d0b6e9c..6c244d29e7 100644 --- a/classes/fr/class_environment.rst +++ b/classes/fr/class_environment.rst @@ -278,7 +278,7 @@ enum **BGMode**: :ref:`🔗` :ref:`BGMode` **BG_CLEAR_COLOR** = ``0`` -Clears the background using the clear color defined in :ref:`ProjectSettings.rendering/environment/defaults/default_clear_color`. +Efface l'arrière-plan en utilisant la couleur d'effacement définie dans :ref:`ProjectSettings.rendering/environment/defaults/default_clear_color`. .. _class_Environment_constant_BG_COLOR: @@ -310,7 +310,7 @@ Affiche un :ref:`CanvasLayer` en arrière-plan. :ref:`BGMode` **BG_KEEP** = ``4`` -Keeps on screen every pixel drawn in the background. This is the fastest background mode, but it can only be safely used in fully-interior scenes (no visible sky or sky reflections). If enabled in a scene where the background is visible, "ghost trail" artifacts will be visible when moving the camera. +Garde à l'écran chaque pixel dessiné à l'arrière-plan. Il s'agit du mode d'arrière-plan le plus rapide, mais il ne peut être utilisé en toute sécurité que dans des scènes entièrement intérieures (pas de ciel visible ou de reflets du ciel). S'il est activé dans une scène où l'arrière-plan est visible, des artéfacts de "ghost trail" (traînées fantômes) seront visibles lors du déplacement de la caméra. .. _class_Environment_constant_BG_CAMERA_FEED: @@ -344,7 +344,7 @@ enum **AmbientSource**: :ref:`🔗` :ref:`AmbientSource` **AMBIENT_SOURCE_BG** = ``0`` -Gather ambient light from whichever source is specified as the background. +Recueillir la lumière ambiante depuis la source spécifiée comme arrière-plan. .. _class_Environment_constant_AMBIENT_SOURCE_DISABLED: @@ -352,7 +352,7 @@ Gather ambient light from whichever source is specified as the background. :ref:`AmbientSource` **AMBIENT_SOURCE_DISABLED** = ``1`` -Disable ambient light. This provides a slight performance boost over :ref:`AMBIENT_SOURCE_SKY`. +Désactiver la lumière ambiante. Ceci fournit un léger boost de performance par rapport à :ref:`AMBIENT_SOURCE_SKY`. .. _class_Environment_constant_AMBIENT_SOURCE_COLOR: @@ -360,7 +360,7 @@ Disable ambient light. This provides a slight performance boost over :ref:`AMBIE :ref:`AmbientSource` **AMBIENT_SOURCE_COLOR** = ``2`` -Specify a specific :ref:`Color` for ambient light. This provides a slight performance boost over :ref:`AMBIENT_SOURCE_SKY`. +Spécifier une :ref:`Color` spécifique pour la lumière ambiante. Ceci fournit un léger boost de performance par rapport à :ref:`AMBIENT_SOURCE_SKY`. .. _class_Environment_constant_AMBIENT_SOURCE_SKY: @@ -368,7 +368,7 @@ Specify a specific :ref:`Color` for ambient light. This provides a :ref:`AmbientSource` **AMBIENT_SOURCE_SKY** = ``3`` -Gather ambient light from the :ref:`Sky` regardless of what the background is. +Recueillir la lumière ambiante depuis le :ref:`Sky` peu importe de ce qu'est l'arrière-plan. .. rst-class:: classref-item-separator @@ -394,7 +394,7 @@ Utiliser l'arrière-plan pour les réflexions. :ref:`ReflectionSource` **REFLECTION_SOURCE_DISABLED** = ``1`` -Disable reflections. This provides a slight performance boost over other options. +Désactiver les réflexions. Cela donne un léger boost de performance par rapport aux autres options. .. _class_Environment_constant_REFLECTION_SOURCE_SKY: @@ -402,7 +402,7 @@ Disable reflections. This provides a slight performance boost over other options :ref:`ReflectionSource` **REFLECTION_SOURCE_SKY** = ``2`` -Use the :ref:`Sky` for reflections regardless of what the background is. +Utiliser le :ref:`Sky` pour les réflexions quel que soit l'arrière-plan. .. rst-class:: classref-item-separator @@ -508,7 +508,7 @@ Mode de mélange de glow en remplacement. Remplace toutes les couleurs des pixel :ref:`GlowBlendMode` **GLOW_BLEND_MODE_MIX** = ``4`` -Mixes the glow with the underlying color to avoid increasing brightness as much while still maintaining a glow effect. +Mélange le glow avec la couleur sous-jacente pour éviter d'augmenter la luminosité tout en maintenant un effet de glow. .. rst-class:: classref-item-separator @@ -526,7 +526,7 @@ enum **FogMode**: :ref:`🔗` :ref:`FogMode` **FOG_MODE_EXPONENTIAL** = ``0`` -Use a physically-based fog model defined primarily by fog density. +Utiliser un modèle de brouillard physique défini principalement par la densité du brouillard. .. _class_Environment_constant_FOG_MODE_DEPTH: @@ -534,7 +534,7 @@ Use a physically-based fog model defined primarily by fog density. :ref:`FogMode` **FOG_MODE_DEPTH** = ``1`` -Use a simple fog model defined by start and end positions and a custom curve. While not physically accurate, this model can be useful when you need more artistic control. +Utiliser un modèle de brouillard simple défini par les positions de démarrage et de fin et une courbe personnalisée. Bien qu'il ne soit pas physiquement exact, ce modèle peut être utile lorsque vous avez besoin d'un contrôle plus artistique. .. rst-class:: classref-item-separator @@ -1452,11 +1452,11 @@ La source de lumineuse réfléchie (spéculaire). - |void| **set_sdfgi_bounce_feedback**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_bounce_feedback**\ (\ ) -The energy multiplier applied to light every time it bounces from a surface when using SDFGI. Values greater than ``0.0`` will simulate multiple bounces, resulting in a more realistic appearance. Increasing :ref:`sdfgi_bounce_feedback` generally has no performance impact. See also :ref:`sdfgi_energy`. +Le multiplicateur d'énergie appliqué à la lumière chaque fois qu'elle rebondit d'une surface lors de l'utilisation du SDFGI. Les valeurs supérieures à ``0.0`` simulent plusieurs rebonds, ce qui donne une apparence plus réaliste. Augmenter :ref:`sdfgi_bounce_feedback` n'a généralement pas d'impact sur les performances. Voir aussi :ref:`sdfgi_energy`. -\ **Note:** Values greater than ``0.5`` can cause infinite feedback loops and should be avoided in scenes with bright materials. +\ **Note :** Les valeurs supérieures à ``0.5`` peuvent provoquer des boucles de rétroaction infinies et devraient être évitées dans des scènes avec des matériaux clairs. -\ **Note:** If :ref:`sdfgi_bounce_feedback` is ``0.0``, indirect lighting will not be represented in reflections as light will only bounce one time. +\ **Note :** Si :ref:`sdfgi_bounce_feedback` vaut ``0.0``, l'éclairage indirect ne sera pas représenté dans les réflexions car la lumière ne rebondira qu'une fois. .. rst-class:: classref-item-separator @@ -1473,7 +1473,7 @@ The energy multiplier applied to light every time it bounces from a surface when - |void| **set_sdfgi_cascade0_distance**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_cascade0_distance**\ (\ ) -**Note:** This property is linked to :ref:`sdfgi_min_cell_size` and :ref:`sdfgi_max_distance`. Changing its value will automatically change those properties as well. +**Note :** Cette propriété est liée à :ref:`sdfgi_min_cell_size` et :ref:`sdfgi_max_distance`. Changer sa valeur va automatiquement aussi changer ces propriétés. .. rst-class:: classref-item-separator @@ -1490,7 +1490,7 @@ The energy multiplier applied to light every time it bounces from a surface when - |void| **set_sdfgi_cascades**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_sdfgi_cascades**\ (\ ) -The number of cascades to use for SDFGI (between 1 and 8). A higher number of cascades allows displaying SDFGI further away while preserving detail up close, at the cost of performance. When using SDFGI on small-scale levels, :ref:`sdfgi_cascades` can often be decreased between ``1`` and ``4`` to improve performance. +Le nombre de cascades à utiliser pour la SDFGI (entre 1 et 8). Un plus grand nombre de cascades permet d'afficher la SDFGI plus loin tout en préservant le détail à proximité, avec un coût sur la performance. Lors de l'utilisation de la SDFGI dans des niveaux à petite échelle, :ref:`sdfgi_cascades` peut souvent être diminué entre ``1`` et ``4`` pour améliorer les performances. .. rst-class:: classref-item-separator @@ -1507,13 +1507,13 @@ The number of cascades to use for SDFGI (between 1 and 8). A higher number of ca - |void| **set_sdfgi_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_sdfgi_enabled**\ (\ ) -If ``true``, enables signed distance field global illumination for meshes that have their :ref:`GeometryInstance3D.gi_mode` set to :ref:`GeometryInstance3D.GI_MODE_STATIC`. SDFGI is a real-time global illumination technique that works well with procedurally generated and user-built levels, including in situations where geometry is created during gameplay. The signed distance field is automatically generated around the camera as it moves. Dynamic lights are supported, but dynamic occluders and emissive surfaces are not. +Si ``true``, active l'illumination globale par champ de distance signée (SDFGI) pour les maillages ayant leur :ref:`GeometryInstance3D.gi_mode` défini à :ref:`GeometryInstance3D.GI_MODE_STATIC`. La SDFGI est une technique d'illumination globale en temps réel qui fonctionne bien avec les niveaux générés procéduralement ou construits par les utilisateurs, y compris dans les situations où la géométrie est créée durant le gameplay. Le champ de distance signée est généré automatiquement autour de la caméra pendant qu'elle se déplace. Les lumières dynamiques sont supportées, mais les occulteurs dynamiques et les surfaces émissives ne le sont pas. -\ **Note:** SDFGI is only supported in the Forward+ rendering method, not Mobile or Compatibility. +\ **Note :** La SDFGI n'est supportée que dans la méthode de rendu Forward+, pas Mobile ou Compatibilité. -\ **Performance:** SDFGI is relatively demanding on the GPU and is not suited to low-end hardware such as integrated graphics (consider :ref:`LightmapGI` instead). To improve SDFGI performance, enable :ref:`ProjectSettings.rendering/global_illumination/gi/use_half_resolution` in the Project Settings. +\ **Performance :** La SDFGI est relativement exigeante sur le GPU et n'est pas adaptée au matériel de bas de gamme tel que les graphismes intégrés (considérez plutôt :ref:`LightmapGI`). Pour améliorer la performance de la SDFGI, activez :ref:`ProjectSettings.rendering/global_illumination/gi/use_half_resolution` dans les paramètres du projet. -\ **Note:** Meshes should have sufficiently thick walls to avoid light leaks (avoid one-sided walls). For interior levels, enclose your level geometry in a sufficiently large box and bridge the loops to close the mesh. +\ **Note :** Les maillages doivent avoir des parois suffisamment épaisses pour éviter les fuites de lumière (évitez les murs à un seul côté). Pour les niveaux en intérieur, enfermez votre géométrie du niveau dans une boîte suffisamment grande et collez les extrémités pour fermer le maillage. .. rst-class:: classref-item-separator @@ -1530,7 +1530,7 @@ If ``true``, enables signed distance field global illumination for meshes that h - |void| **set_sdfgi_energy**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_energy**\ (\ ) -The energy multiplier to use for SDFGI. Higher values will result in brighter indirect lighting and reflections. See also :ref:`sdfgi_bounce_feedback`. +Le multiplicateur d'énergie à utiliser pour la SDFGI. Des valeurs plus élevées résulteront un éclairage et des réflexions indirectes plus lumineux. Voir aussi :ref:`sdfgi_bounce_feedback`. .. rst-class:: classref-item-separator @@ -1547,9 +1547,9 @@ The energy multiplier to use for SDFGI. Higher values will result in brighter in - |void| **set_sdfgi_max_distance**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_max_distance**\ (\ ) -The maximum distance at which SDFGI is visible. Beyond this distance, environment lighting or other sources of GI such as :ref:`ReflectionProbe` will be used as a fallback. +La distance maximale à laquelle la SDFGI est visible. Au-delà de cette distance, l'éclairage de l'environnement ou d'autres sources d'illumination globale telles que les :ref:`ReflectionProbe`\ s seront utilisées en repli. -\ **Note:** This property is linked to :ref:`sdfgi_min_cell_size` and :ref:`sdfgi_cascade0_distance`. Changing its value will automatically change those properties as well. +\ **Note :** Cette propriété est liée à :ref:`sdfgi_min_cell_size` et :ref:`sdfgi_cascade0_distance`. Changer sa valeur va automatiquement aussi changer ces propriétés. .. rst-class:: classref-item-separator @@ -1566,9 +1566,9 @@ The maximum distance at which SDFGI is visible. Beyond this distance, environmen - |void| **set_sdfgi_min_cell_size**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_min_cell_size**\ (\ ) -The cell size to use for the closest SDFGI cascade (in 3D units). Lower values allow SDFGI to be more precise up close, at the cost of making SDFGI updates more demanding. This can cause stuttering when the camera moves fast. Higher values allow SDFGI to cover more ground, while also reducing the performance impact of SDFGI updates. +La taille de cellule à utiliser pour la cascade de SDFGI la plus proche (en unités 3D). Les valeurs inférieures permettent à la SDFGI d'être plus précise, au prix de rendre les mises à jour de la SDFGI plus exigeantes. Cela peut causer du stuttering lorsque la caméra se déplace rapidement. Des valeurs plus élevées permettent à la SDFGI de couvrir plus de terrain, tout en réduisant l'impact sur la performance des mises à jour de la SDFGI. -\ **Note:** This property is linked to :ref:`sdfgi_max_distance` and :ref:`sdfgi_cascade0_distance`. Changing its value will automatically change those properties as well. +\ **Note :** Cette propriété est liée à :ref:`sdfgi_max_distance` et :ref:`sdfgi_cascade0_distance`. Changer sa valeur va automatiquement aussi changer ces propriétés. .. rst-class:: classref-item-separator @@ -1585,7 +1585,7 @@ The cell size to use for the closest SDFGI cascade (in 3D units). Lower values a - |void| **set_sdfgi_normal_bias**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_normal_bias**\ (\ ) -The normal bias to use for SDFGI probes. Increasing this value can reduce visible streaking artifacts on sloped surfaces, at the cost of increased light leaking. +Le biais des normales à utiliser pour les sondes de la SDFGI. L'augmentation de cette valeur peut réduire les artefacts de traînées visibles sur les surfaces en pente, au coût de fuites de lumière accrues. .. rst-class:: classref-item-separator @@ -1602,7 +1602,7 @@ The normal bias to use for SDFGI probes. Increasing this value can reduce visibl - |void| **set_sdfgi_probe_bias**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sdfgi_probe_bias**\ (\ ) -The constant bias to use for SDFGI probes. Increasing this value can reduce visible streaking artifacts on sloped surfaces, at the cost of increased light leaking. +Le biais constant à utiliser pour les sondes de la SDFGI. L'augmentation de cette valeur peut réduire les artefacts de traînées visibles sur les surfaces en pente, au coût de fuites de lumière accrues. .. rst-class:: classref-item-separator @@ -1619,7 +1619,7 @@ The constant bias to use for SDFGI probes. Increasing this value can reduce visi - |void| **set_sdfgi_read_sky_light**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_sdfgi_reading_sky_light**\ (\ ) -If ``true``, SDFGI takes the environment lighting into account. This should be set to ``false`` for interior scenes. +Si ``true``, la SDFGI prend en compte l'éclairage de l'environnement. Cela devrait être défini sur ``false`` pour les scènes en intérieur. .. rst-class:: classref-item-separator @@ -1636,7 +1636,7 @@ If ``true``, SDFGI takes the environment lighting into account. This should be s - |void| **set_sdfgi_use_occlusion**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_sdfgi_using_occlusion**\ (\ ) -If ``true``, SDFGI uses an occlusion detection approach to reduce light leaking. Occlusion may however introduce dark blotches in certain spots, which may be undesired in mostly outdoor scenes. :ref:`sdfgi_use_occlusion` has a performance impact and should only be enabled when needed. +Si ``true``, la SDFGI utilise une approche de détection d'occlusion pour réduire les fuites de lumière. L'occlusion peut cependant introduire des taches sombres à certains endroits, qui peuvent être indésirables dans les scènes principalement en extérieur. :ref:`sdfgi_use_occlusion` a un impact sur les performances et ne devrait être activé que lorsque nécessaire. .. rst-class:: classref-item-separator @@ -1653,7 +1653,7 @@ If ``true``, SDFGI uses an occlusion detection approach to reduce light leaking. - |void| **set_sdfgi_y_scale**\ (\ value\: :ref:`SDFGIYScale`\ ) - :ref:`SDFGIYScale` **get_sdfgi_y_scale**\ (\ ) -The Y scale to use for SDFGI cells. Lower values will result in SDFGI cells being packed together more closely on the Y axis. This is used to balance between quality and covering a lot of vertical ground. :ref:`sdfgi_y_scale` should be set depending on how vertical your scene is (and how fast your camera may move on the Y axis). +L'échelle Y à utiliser pour les cellules de la SDFGI. Les valeurs inférieures résulteront en des cellules SDFGI regroupées plus étroitement sur l'axe Y. Ceci est utilisé pour équilibrer entre la qualité et couvrir beaucoup de terrain vertical. :ref:`sdfgi_y_scale` doit être défini en fonction de la verticalité de votre scène (et de la vitesse à laquelle votre caméra peut déplacer sur l'axe Y). .. rst-class:: classref-item-separator @@ -1670,7 +1670,7 @@ The Y scale to use for SDFGI cells. Lower values will result in SDFGI cells bein - |void| **set_sky**\ (\ value\: :ref:`Sky`\ ) - :ref:`Sky` **get_sky**\ (\ ) -The :ref:`Sky` resource used for this **Environment**. +La ressource :ref:`Sky` utilisée pour cet **Environment**. .. rst-class:: classref-item-separator @@ -1687,7 +1687,7 @@ The :ref:`Sky` resource used for this **Environment**. - |void| **set_sky_custom_fov**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sky_custom_fov**\ (\ ) -If set to a value greater than ``0.0``, overrides the field of view to use for sky rendering. If set to ``0.0``, the same FOV as the current :ref:`Camera3D` is used for sky rendering. +Si défini à une valeur supérieur à ``0.0``, redéfinit le champ de vision à utiliser pour le rendu du ciel. Si défini à ``0.0``, le même FOV que la :ref:`Camera3D` actuelle est utilisé pour le rendu du ciel. .. rst-class:: classref-item-separator @@ -1738,7 +1738,7 @@ L'intensité de l'occlusion ambiante de l'espace-écran sur les matériaux qui o - |void| **set_ssao_detail**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_ssao_detail**\ (\ ) -Sets the strength of the additional level of detail for the screen-space ambient occlusion effect. A high value makes the detail pass more prominent, but it may contribute to aliasing in your final image. +Définit la force du niveau de détail supplémentaire pour l'effet d'occlusion ambiante de l'espace-écran. Une valeur élevée rend la passe de détails plus importante, mais peut contribuer à du crénelage dans votre image finale. .. rst-class:: classref-item-separator @@ -1755,9 +1755,9 @@ Sets the strength of the additional level of detail for the screen-space ambient - |void| **set_ssao_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_ssao_enabled**\ (\ ) -If ``true``, the screen-space ambient occlusion effect is enabled. This darkens objects' corners and cavities to simulate ambient light not reaching the entire object as in real life. This works well for small, dynamic objects, but baked lighting or ambient occlusion textures will do a better job at displaying ambient occlusion on large static objects. Godot uses a form of SSAO called Adaptive Screen Space Ambient Occlusion which is itself a form of Horizon Based Ambient Occlusion. +Si ``true``, l'effet d'occlusion ambiante de l'espace-écran est activé. Cela obscurcit les angles et les cavités des objets pour simuler la lumière ambiante qui n'atteint pas l'objet en entier comme dans la vie réelle. Cela fonctionne bien pour les petits objets dynamiques, mais l'éclairage pré-calculé ou les textures d'occlusion ambiante feront un meilleur travail pour afficher l'occlusion ambiante sur les grands objets statiques. Godot utilise une forme de SSAO appelée Occlusion ambiante de l'espace d'écran adaptatif qui est elle-même une forme d'occlusion ambiante basée sur l'horizon. -\ **Note:** SSAO is only supported in the Forward+ rendering method, not Mobile or Compatibility. +\ **Note :** La SSAO n'est supportée que dans la méthode de rendu Forward+, pas dans Mobile ou Compatibilité. .. rst-class:: classref-item-separator @@ -1791,7 +1791,7 @@ The threshold for considering whether a given point on a surface is occluded or - |void| **set_ssao_intensity**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_ssao_intensity**\ (\ ) -The primary screen-space ambient occlusion intensity. Acts as a multiplier for the screen-space ambient occlusion effect. A higher value results in darker occlusion. +L'intensité de l'occlusion ambiante de l'espace-écran primaire. Agit comme un multiplicateur pour l'effet d'occlusion ambiante de l'espace-écran. Une valeur plus élevée résulte en une occlusion plus sombre. .. rst-class:: classref-item-separator @@ -1825,7 +1825,7 @@ L'intensité de l'occlusion ambiante dans l'espace écran sous lumière directe. - |void| **set_ssao_power**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_ssao_power**\ (\ ) -The distribution of occlusion. A higher value results in darker occlusion, similar to :ref:`ssao_intensity`, but with a sharper falloff. +La distribution de l'occlusion. Une valeur plus élevée résulte en une occlusion plus sombre, semblable à :ref:`ssao_intensity`, mais avec une décroissance plus nette. .. rst-class:: classref-item-separator @@ -1842,7 +1842,7 @@ The distribution of occlusion. A higher value results in darker occlusion, simil - |void| **set_ssao_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_ssao_radius**\ (\ ) -The distance at which objects can occlude each other when calculating screen-space ambient occlusion. Higher values will result in occlusion over a greater distance at the cost of performance and quality. +La distance à laquelle des objets peuvent s'obstruer l'un l'autre lors du calcul de l'occlusion ambiante de l'espace-écran. Des valeurs plus élevées résulteront en de l'occlusion sur une plus grande distance au coût de la performance et de la qualité. .. rst-class:: classref-item-separator @@ -1859,7 +1859,7 @@ The distance at which objects can occlude each other when calculating screen-spa - |void| **set_ssao_sharpness**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_ssao_sharpness**\ (\ ) -The amount that the screen-space ambient occlusion effect is allowed to blur over the edges of objects. Setting too high will result in aliasing around the edges of objects. Setting too low will make object edges appear blurry. +La quantité avec laquelle l'effet d'occlusion ambiante de l'espace-écran est autorisé à flouter les bords des objets. Définir ceci trop élevé va résulter en du crénelage autour des bords des objets. Définir ceci trop bas va rendre les bords de l'objet flous. .. rst-class:: classref-item-separator @@ -2158,11 +2158,11 @@ The direction of scattered light as it goes through the volumetric fog. A value - |void| **set_volumetric_fog_density**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_volumetric_fog_density**\ (\ ) -The base *exponential* density of the volumetric fog. Set this to the lowest density you want to have globally. :ref:`FogVolume`\ s can be used to add to or subtract from this density in specific areas. Fog rendering is exponential as in real life. +La densité *exponentielle* de base du brouillard volumétrique. Définissez ceci à la plus basse densité que vous voulez avoir globalement. Des :ref:`FogVolume`\ s peuvent être utilisés pour ajouter ou soustraire à cette densité dans des zones spécifiques. Le rendu du brouillard est exponentiel comme dans la vie réelle. -A value of ``0.0`` disables global volumetric fog while allowing :ref:`FogVolume`\ s to display volumetric fog in specific areas. +Une valeur de ``0.0`` désactive le brouillard volumétrique global tout en permettant à des :ref:`FogVolume`\ s d'afficher du brouillard volumétrique dans des zones spécifiques. -To make volumetric fog work as a volumetric *lighting* solution, set :ref:`volumetric_fog_density` to the lowest non-zero value (``0.0001``) then increase lights' :ref:`Light3D.light_volumetric_fog_energy` to values between ``10000`` and ``100000`` to compensate for the very low density. +Pour que le brouillard volumétrique fonctionne comme une solution d'*éclairage* volumique, définissez :ref:`volumetric_fog_density` à la valeur non nulle la plus basse (``0.0001``) puis augmentez la valeur des :ref:`Light3D.light_volumetric_fog_energy` des lumières à des valeurs entre ``10000`` et ``100000`` pour compenser la très faible densité. .. rst-class:: classref-item-separator @@ -2196,7 +2196,7 @@ The distribution of size down the length of the froxel buffer. A higher value co - |void| **set_volumetric_fog_emission**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_volumetric_fog_emission**\ (\ ) -The emitted light from the volumetric fog. Even with emission, volumetric fog will not cast light onto other surfaces. Emission is useful to establish an ambient color. As the volumetric fog effect uses single-scattering only, fog tends to need a little bit of emission to soften the harsh shadows. +La lumière émise par le brouillard volumétrique. Même avec l'émission, le brouillard volumétrique ne projettera pas de lumière sur d'autres surfaces. Les émissions sont utiles pour établir une couleur ambiante. Comme l'effet de brouillard volumétrique n'utilise que de la diffusion unique, le brouillard a tendance à avoir besoin d'un peu d'émission pour adoucir les ombres trop nettes. .. rst-class:: classref-item-separator @@ -2213,7 +2213,7 @@ The emitted light from the volumetric fog. Even with emission, volumetric fog wi - |void| **set_volumetric_fog_emission_energy**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_volumetric_fog_emission_energy**\ (\ ) -The brightness of the emitted light from the volumetric fog. +La luminosité de la lumière émise dans le brouillard volumétrique. .. rst-class:: classref-item-separator @@ -2230,9 +2230,9 @@ The brightness of the emitted light from the volumetric fog. - |void| **set_volumetric_fog_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_volumetric_fog_enabled**\ (\ ) -Enables the volumetric fog effect. Volumetric fog uses a screen-aligned froxel buffer to calculate accurate volumetric scattering in the short to medium range. Volumetric fog interacts with :ref:`FogVolume`\ s and lights to calculate localized and global fog. Volumetric fog uses a PBR single-scattering model based on extinction, scattering, and emission which it exposes to users as density, albedo, and emission. +Active l'effet de brouillard volumétrique. Le brouillard volumétrique utilise un buffer de froxels alignés sur l'écran pour calculer la diffusion volumétrique exacte à courte et moyenne portée. Le brouillard volumique interagit avec les :ref:`FogVolume`\ s et les lumières pour calculer le brouillard local et global. Le brouillard volumétrique utilise un modèle PBR à diffusion unique basé sur l'extinction, la diffusion et l'émission qu'il expose aux utilisateurs par la densité, l'albédo et l'émission. -\ **Note:** Volumetric fog is only supported in the Forward+ rendering method, not Mobile or Compatibility. +\ **Note :** Le brouillard volumétrique n'est supporté que dans la méthode de rendu Forward+, et non Mobile ou Compatibilité. .. rst-class:: classref-item-separator @@ -2249,11 +2249,11 @@ Enables the volumetric fog effect. Volumetric fog uses a screen-aligned froxel b - |void| **set_volumetric_fog_gi_inject**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_volumetric_fog_gi_inject**\ (\ ) -Scales the strength of Global Illumination used in the volumetric fog's albedo color. A value of ``0.0`` means that Global Illumination will not impact the volumetric fog. :ref:`volumetric_fog_gi_inject` has a small performance cost when set above ``0.0``. +Redimensionne la force de l'illumination globale utilisée dans la couleur d'albédo du brouillard volumétrique. Une valeur de ``0.0`` signifie que l'illumination globale n'affectera pas le brouillard volumétrique. :ref:`volumetric_fog_gi_inject` a un petit coût de performance lorsque il est défini au dessus de ``0.0``. -\ **Note:** This has no visible effect if :ref:`volumetric_fog_density` is ``0.0`` or if :ref:`volumetric_fog_albedo` is a fully black color. +\ **Note :** Cela n'a aucun effet visible si :ref:`volumetric_fog_density` vaut ``0.0`` ou si :ref:`volumetric_fog_albedo` a une couleur entièrement noire. -\ **Note:** Only :ref:`VoxelGI` and SDFGI (:ref:`sdfgi_enabled`) are taken into account when using :ref:`volumetric_fog_gi_inject`. Global illumination from :ref:`LightmapGI`, :ref:`ReflectionProbe` and SSIL (see :ref:`ssil_enabled`) will be ignored by volumetric fog. +\ **Note :** Seuls :ref:`VoxelGI` et SDFGI (:ref:`sdfgi_enabled`) sont pris en compte lors de l'utilisation de :ref:`volumetric_fog_gi_inject`. L'illumination globale de :ref:`LightmapGI`, :ref:`ReflectionProbe` et SSIL (voir :ref:`ssil_enabled`) sera ignorée par le brouillard volumétrique. .. rst-class:: classref-item-separator @@ -2270,7 +2270,7 @@ Scales the strength of Global Illumination used in the volumetric fog's albedo c - |void| **set_volumetric_fog_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_volumetric_fog_length**\ (\ ) -The distance over which the volumetric fog is computed. Increase to compute fog over a greater range, decrease to add more detail when a long range is not needed. For best quality fog, keep this as low as possible. See also :ref:`ProjectSettings.rendering/environment/volumetric_fog/volume_depth`. +La distance sur laquelle le brouillard volumétrique est calculé. Augmentez la pour calculer le brouillard sur une plus grande portée, diminuez la pour ajouter plus de détails quand une longue portée n'est pas nécessaire. Pour un brouillard de meilleure qualité, gardez ceci aussi bas que possible. Voir aussi :ref:`ProjectSettings.rendering/environment/volumetric_fog/volume_depth`. .. rst-class:: classref-item-separator @@ -2287,9 +2287,9 @@ The distance over which the volumetric fog is computed. Increase to compute fog - |void| **set_volumetric_fog_sky_affect**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_volumetric_fog_sky_affect**\ (\ ) -The factor to use when affecting the sky with volumetric fog. ``1.0`` means that volumetric fog can fully obscure the sky. Lower values reduce the impact of volumetric fog on sky rendering, with ``0.0`` not affecting sky rendering at all. +Le facteur à utiliser le brouillard volumétrique affecte le ciel. ``1.0`` signifie que le brouillard volumétrique peut masquer pleinement le ciel. Les valeurs inférieures réduisent l'impact du brouillard volumétrique sur le rendu du ciel, avec ``0.0`` qui n'affecte pas du tout le rendu du ciel. -\ **Note:** :ref:`volumetric_fog_sky_affect` also affects :ref:`FogVolume`\ s, even if :ref:`volumetric_fog_density` is ``0.0``. If you notice :ref:`FogVolume`\ s are disappearing when looking towards the sky, set :ref:`volumetric_fog_sky_affect` to ``1.0``. +\ **Note :** :ref:`volumetric_fog_sky_affect` affecte également les :ref:`FogVolume`\ s, même si :ref:`volumetric_fog_density` vaut ``0.0``. Si vous remarquez que des :ref:`FogVolume`\ s disparaissent en regardant vers le ciel, définissez :ref:`volumetric_fog_sky_affect` à ``1.0``. .. rst-class:: classref-item-separator @@ -2323,7 +2323,7 @@ The amount by which to blend the last frame with the current frame. A higher num - |void| **set_volumetric_fog_temporal_reprojection_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_volumetric_fog_temporal_reprojection_enabled**\ (\ ) -Enables temporal reprojection in the volumetric fog. Temporal reprojection blends the current frame's volumetric fog with the last frame's volumetric fog to smooth out jagged edges. The performance cost is minimal; however, it leads to moving :ref:`FogVolume`\ s and :ref:`Light3D`\ s "ghosting" and leaving a trail behind them. When temporal reprojection is enabled, try to avoid moving :ref:`FogVolume`\ s or :ref:`Light3D`\ s too fast. Short-lived dynamic lighting effects should have :ref:`Light3D.light_volumetric_fog_energy` set to ``0.0`` to avoid ghosting. +Active la reprojection temporelle dans le brouillard volumétrique. La reprojection temporelle mélange le brouillard volumétrique de la trame actuelle avec le brouillard volumétrique de la dernière trame pour lisser les bords irréguliers. Le coût en performance est minime, cependant, cela conduit à du "ghosting" sur les :ref:`FogVolume`\ s et :ref:`Light3D`\ s mouvants, qui laissant alors une traînée derrière eux. Lorsque la reprojection temporelle est activée, essayez d'éviter de déplacer des :ref:`FogVolume`\ s ou des :ref:`Light3D`\ s trop vite. Les effets d'éclairage dynamique de courte durée devraient avoir :ref:`Light3D.light_volumetric_fog_energy` définis sur ``0.0`` pour éviter le ghosting. .. rst-class:: classref-section-separator diff --git a/classes/fr/class_filesystemdock.rst b/classes/fr/class_filesystemdock.rst index 5643074fd4..b7fffd1beb 100644 --- a/classes/fr/class_filesystemdock.rst +++ b/classes/fr/class_filesystemdock.rst @@ -7,7 +7,7 @@ FileSystemDock **Hérite de :** :ref:`VBoxContainer` **<** :ref:`BoxContainer` **<** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -Godot editor's dock for managing files in the project. +Le dock de l'éditeur Godot pour gérer des fichiers dans le projet. .. rst-class:: classref-introduction-group @@ -49,7 +49,7 @@ Signaux **display_mode_changed**\ (\ ) :ref:`🔗` -Emitted when the user switches file display mode or split mode. +Émis lorsque l'utilisateur change le mode d'affichage des fichiers ou le mode scindé. .. rst-class:: classref-item-separator @@ -61,7 +61,7 @@ Emitted when the user switches file display mode or split mode. **file_removed**\ (\ file\: :ref:`String`\ ) :ref:`🔗` -Emitted when the given ``file`` was removed. +Émis lorsque le fichier ``file`` donné a été supprimé. .. rst-class:: classref-item-separator @@ -73,7 +73,7 @@ Emitted when the given ``file`` was removed. **files_moved**\ (\ old_file\: :ref:`String`, new_file\: :ref:`String`\ ) :ref:`🔗` -Emitted when a file is moved from ``old_file`` path to ``new_file`` path. +Émis quand un fichier est déplacé du chemin ``old_file`` vers le chemin ``new_file``. .. rst-class:: classref-item-separator @@ -85,7 +85,7 @@ Emitted when a file is moved from ``old_file`` path to ``new_file`` path. **folder_color_changed**\ (\ ) :ref:`🔗` -Emitted when folders change color. +Émis lorsque les dossiers changent de couleur. .. rst-class:: classref-item-separator @@ -97,7 +97,7 @@ Emitted when folders change color. **folder_moved**\ (\ old_folder\: :ref:`String`, new_folder\: :ref:`String`\ ) :ref:`🔗` -Emitted when a folder is moved from ``old_folder`` path to ``new_folder`` path. +Émis quand un dossier est déplacé du chemin ``old_folder`` vers le chemin ``new_folder``. .. rst-class:: classref-item-separator @@ -109,7 +109,7 @@ Emitted when a folder is moved from ``old_folder`` path to ``new_folder`` path. **folder_removed**\ (\ folder\: :ref:`String`\ ) :ref:`🔗` -Emitted when the given ``folder`` was removed. +Émis lorsque le dossier ``folder`` donné a été supprimé. .. rst-class:: classref-item-separator @@ -121,7 +121,7 @@ Emitted when the given ``folder`` was removed. **inherit**\ (\ file\: :ref:`String`\ ) :ref:`🔗` -Emitted when a new scene is created that inherits the scene at ``file`` path. +Émis quand une nouvelle scène est créée qui hérite de la scène au chemin ``file``. .. rst-class:: classref-item-separator @@ -133,7 +133,7 @@ Emitted when a new scene is created that inherits the scene at ``file`` path. **instantiate**\ (\ files\: :ref:`PackedStringArray`\ ) :ref:`🔗` -Emitted when the given scenes are being instantiated in the editor. +Émis lorsque les scènes données sont instanciées dans l'éditeur. .. rst-class:: classref-item-separator @@ -145,7 +145,7 @@ Emitted when the given scenes are being instantiated in the editor. **resource_removed**\ (\ resource\: :ref:`Resource`\ ) :ref:`🔗` -Emitted when an external ``resource`` had its file removed. +Émis lorsque une ressource externe ``resource`` a eu son fichier supprimé. .. rst-class:: classref-section-separator @@ -174,7 +174,7 @@ Enregistre un nouveau :ref:`EditorResourceTooltipPlugin`\ ) :ref:`🔗` -Sets the given ``path`` as currently selected, ensuring that the selected file/directory is visible. +Définit le chemin ``path`` donné comme actuellement sélectionné, en veillant à ce que le fichier / répertoire sélectionné soit visible. .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ Sets the given ``path`` as currently selected, ensuring that the selected file/d |void| **remove_resource_tooltip_plugin**\ (\ plugin\: :ref:`EditorResourceTooltipPlugin`\ ) :ref:`🔗` -Removes an :ref:`EditorResourceTooltipPlugin`. Fails if the plugin wasn't previously added. +Retire un :ref:`EditorResourceTooltipPlugin`. Échoue si le plugin n'a pas été ajouté précédemment. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_fogmaterial.rst b/classes/fr/class_fogmaterial.rst index f70b3341c4..80b93fb9c2 100644 --- a/classes/fr/class_fogmaterial.rst +++ b/classes/fr/class_fogmaterial.rst @@ -60,7 +60,7 @@ Descriptions des propriétés - |void| **set_albedo**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_albedo**\ (\ ) -The single-scattering :ref:`Color` of the :ref:`FogVolume`. Internally, :ref:`albedo` is converted into single-scattering, which is additively blended with other :ref:`FogVolume`\ s and the :ref:`Environment.volumetric_fog_albedo`. +La :ref:`Color` de la diffusion unique du :ref:`FogVolume`. En interne, :ref:`albedo` est converti en diffusion unique, qui est mélangé additivement avec d'autres :ref:`FogVolume`\ s et :ref:`Environment.volumetric_fog_albedo`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_foldablecontainer.rst b/classes/fr/class_foldablecontainer.rst index d2ff54f1fa..6be886833b 100644 --- a/classes/fr/class_foldablecontainer.rst +++ b/classes/fr/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/fr/class_foldablegroup.rst b/classes/fr/class_foldablegroup.rst index ba31588e17..1bbb6c468c 100644 --- a/classes/fr/class_foldablegroup.rst +++ b/classes/fr/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: diff --git a/classes/fr/class_gpuparticlescollision3d.rst b/classes/fr/class_gpuparticlescollision3d.rst index 6e9e1ee62e..146d02ab02 100644 --- a/classes/fr/class_gpuparticlescollision3d.rst +++ b/classes/fr/class_gpuparticlescollision3d.rst @@ -18,7 +18,7 @@ Description Les formes de collision de particules peuvent être utilisées pour faire arrêter ou rebondir des particules contre elles. -Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, pivotés et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une échelle non uniforme des formes de collision n'est *pas* supportée. +Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, tournées et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une échelle non uniforme des formes de collision n'est *pas* supportée. Les formes de collision de particules peuvent être temporairement désactivées en les cachant. diff --git a/classes/fr/class_gpuparticlescollisionbox3d.rst b/classes/fr/class_gpuparticlescollisionbox3d.rst index c7a0157bbd..9bfdb5f18e 100644 --- a/classes/fr/class_gpuparticlescollisionbox3d.rst +++ b/classes/fr/class_gpuparticlescollisionbox3d.rst @@ -16,7 +16,7 @@ Description Une forme de collision de particules en forme de boîte affectant les nœuds :ref:`GPUParticles3D`. -Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, tournées et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une dimension non uniforme des formes de collision est n'est *pas* soutenue. +Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, tournées et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une échelle non uniforme des formes de collision n'est *pas* supportée. \ **Note :** :ref:`ParticleProcessMaterial.collision_mode` doit valoir :ref:`ParticleProcessMaterial.COLLISION_RIGID` ou :ref:`ParticleProcessMaterial.COLLISION_HIDE_ON_CONTACT` sur le matériau de traitement du :ref:`GPUParticles3D` pour que la collision fonctionne. diff --git a/classes/fr/class_gpuparticlescollisionsphere3d.rst b/classes/fr/class_gpuparticlescollisionsphere3d.rst index e024e25676..fd0b653947 100644 --- a/classes/fr/class_gpuparticlescollisionsphere3d.rst +++ b/classes/fr/class_gpuparticlescollisionsphere3d.rst @@ -16,7 +16,7 @@ Description Une forme de collision de particules en forme de sphère affectant les nœuds :ref:`GPUParticles3D`. -Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, tournées et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une dimension non uniforme des formes de collision est n'est *pas* soutenue. +Les formes de collision de particules fonctionnent en temps réel et peuvent être déplacées, tournées et redimensionnées pendant le gameplay. Contrairement aux attracteurs, une échelle non uniforme des formes de collision n'est *pas* supportée. \ **Note :** :ref:`ParticleProcessMaterial.collision_mode` doit valoir :ref:`ParticleProcessMaterial.COLLISION_RIGID` ou :ref:`ParticleProcessMaterial.COLLISION_HIDE_ON_CONTACT` sur le matériau de traitement du :ref:`GPUParticles3D` pour que la collision fonctionne. diff --git a/classes/fr/class_gridcontainer.rst b/classes/fr/class_gridcontainer.rst index 1a59dfeab6..691d90e8ad 100644 --- a/classes/fr/class_gridcontainer.rst +++ b/classes/fr/class_gridcontainer.rst @@ -14,9 +14,9 @@ Un conteneur qui arrange ses contrôles enfants en une disposition en grille. Description ----------- -**GridContainer** arranges its child controls in a grid layout. The number of columns is specified by the :ref:`columns` property, whereas the number of rows depends on how many are needed for the child controls. The number of rows and columns is preserved for every size of the container. +**GridContainer** arrange ses contrôles enfants en une disposition en grille. Le nombre de colonnes est spécifié par la propriété :ref:`columns`, alors que le nombre de lignes dépend du nombre nécessaire pour les contrôles enfants. Le nombre de lignes et de colonnes est conservé pour chaque taille du conteneur. -\ **Note:** **GridContainer** only works with child nodes inheriting from :ref:`Control`. It won't rearrange child nodes inheriting from :ref:`Node2D`. +\ **Note :** **GridContainer** ne fonctionne qu'avec des nœuds enfants héritant de :ref:`Control`. Il ne réarrangera pas les nœuds enfants héritant de :ref:`Node2D`. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_gridmap.rst b/classes/fr/class_gridmap.rst index 6b376de9fe..a35eea51a8 100644 --- a/classes/fr/class_gridmap.rst +++ b/classes/fr/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/fr/class_gridmapeditorplugin.rst b/classes/fr/class_gridmapeditorplugin.rst index c26997f592..bec436cd6c 100644 --- a/classes/fr/class_gridmapeditorplugin.rst +++ b/classes/fr/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/fr/class_hsplitcontainer.rst b/classes/fr/class_hsplitcontainer.rst index 4ff9f31f85..e62a075096 100644 --- a/classes/fr/class_hsplitcontainer.rst +++ b/classes/fr/class_hsplitcontainer.rst @@ -7,14 +7,14 @@ HSplitContainer **Hérite de :** :ref:`SplitContainer` **<** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A container that splits two child controls horizontally and provides a grabber for adjusting the split ratio. +Un conteneur qui divise deux contrôles enfants horizontalement et fournit un séparateur pour ajuster le ratio de division. .. rst-class:: classref-introduction-group Description ----------- -A container that accepts only two child controls, then arranges them horizontally and creates a divisor between them. The divisor can be dragged around to change the size relation between the child controls. +Un conteneur qui n'accepte que deux contrôles enfants, puis les arrange horizontalement et crée un diviseur entre eux. Le diviseur peut être coulissé pour changer la relation de taille entre les contrôles enfants. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_httpclient.rst b/classes/fr/class_httpclient.rst index d311577474..3b197ca4e3 100644 --- a/classes/fr/class_httpclient.rst +++ b/classes/fr/class_httpclient.rst @@ -1000,7 +1000,7 @@ Cela doit être appelé pour que les requêtes puissent être traitée. Vérifie :ref:`String` **query_string_from_dict**\ (\ fields\: :ref:`Dictionary`\ ) :ref:`🔗` -Generates a GET/POST application/x-www-form-urlencoded style query string from a provided dictionary, e.g.: +Génère une chaîne de requête de style GET/POST application/x-www-form-urlencoded depuis un dictionnaire fourni, par ex. : .. tabs:: @@ -1009,17 +1009,17 @@ Generates a GET/POST application/x-www-form-urlencoded style query string from a var fields = { "username": "user", "password": "pass" } var query_string = http_client.query_string_from_dict(fields) - # Returns "username=user&password=pass" + # Renvoie "username=user&password=pass" .. code-tab:: csharp var fields = new Godot.Collections.Dictionary { { "username", "user" }, { "password", "pass" } }; string queryString = httpClient.QueryStringFromDict(fields); - // Returns "username=user&password=pass" + // Renvoie "username=user&password=pass" -Furthermore, if a key has a ``null`` value, only the key itself is added, without equal sign and value. If the value is an array, for each value in it a pair with the same key is added. +En outre, si une clé a une valeur ``null``, seule la clé elle-même est ajoutée, sans signe égal et valeur. Si la valeur est un tableau, pour chaque valeur dans celui-ci une paire avec la même clé est ajoutée. .. tabs:: @@ -1028,7 +1028,7 @@ Furthermore, if a key has a ``null`` value, only the key itself is added, withou var fields = { "single": 123, "not_valued": null, "multiple": [22, 33, 44] } var query_string = http_client.query_string_from_dict(fields) - # Returns "single=123¬_valued&multiple=22&multiple=33&multiple=44" + # Renvoie "single=123¬_valued&multiple=22&multiple=33&multiple=44" .. code-tab:: csharp @@ -1039,7 +1039,7 @@ Furthermore, if a key has a ``null`` value, only the key itself is added, withou { "multiple", new Godot.Collections.Array { 22, 33, 44 } }, }; string queryString = httpClient.QueryStringFromDict(fields); - // Returns "single=123¬_valued&multiple=22&multiple=33&multiple=44" + // Renvoie "single=123¬_valued&multiple=22&multiple=33&multiple=44" @@ -1065,13 +1065,13 @@ Lit une partie de la réponse. :ref:`Error` **request**\ (\ method\: :ref:`Method`, url\: :ref:`String`, headers\: :ref:`PackedStringArray`, body\: :ref:`String` = ""\ ) :ref:`🔗` -Sends an HTTP request to the connected host with the given ``method``. +Envoie une requête HTTP à l'hôte connecté avec la méthode ``method`` donnée. -The URL parameter is usually just the part after the host, so for ``https://example.com/index.php``, it is ``/index.php``. When sending requests to an HTTP proxy server, it should be an absolute URL. For :ref:`METHOD_OPTIONS` requests, ``*`` is also allowed. For :ref:`METHOD_CONNECT` requests, it should be the authority component (``host:port``). +Le paramètre de l'URL est généralement juste la partie après l'hôte, donc pour ``https://example.com/index.php``, il s'agit de ``/index.php``. Lors de l'envoi de requêtes vers un serveur proxy HTTP, elle devrait être une URL absolue. Pour les requêtes :ref:`METHOD_OPTIONS`, ``*`` est aussi autorisé. Pour les requêtes :ref:`METHOD_CONNECT`, elle devrait être le composant d'autorité (``host:port``). -\ ``headers`` are HTTP request headers. +\ ``headers`` sont des en-têtes de requête HTTP. -To create a POST request with query strings to push to the server, do: +Pour créer une requête POST avec des chaînes de requête à envoyer sur le serveur, faire : .. tabs:: @@ -1092,7 +1092,7 @@ To create a POST request with query strings to push to the server, do: -\ **Note:** The ``body`` parameter is ignored if ``method`` is :ref:`METHOD_GET`. This is because GET methods can't contain request data. As a workaround, you can pass request data as a query string in the URL. See :ref:`String.uri_encode()` for an example. +\ **Note :** Le paramètre ``body`` est ignoré si ``method`` vaut :ref:`METHOD_GET`. C'est parce que les méthodes GET ne peuvent pas contenir de données de requête. Pour contourner cela, vous pouvez passer des données de requête en tant que chaîne de requête dans l'URL. Voir :ref:`String.uri_encode()` pour un exemple. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_httprequest.rst b/classes/fr/class_httprequest.rst index 55d9050fbe..dd502b54f5 100644 --- a/classes/fr/class_httprequest.rst +++ b/classes/fr/class_httprequest.rst @@ -14,15 +14,15 @@ Un nœud qui permet d'envoyer des requêtes HTTP(S). Description ----------- -A node with the ability to send HTTP requests. Uses :ref:`HTTPClient` internally. +Un nœud avec la possibilité d'envoyer des requêtes HTTP. Utilise :ref:`HTTPClient` en interne. -Can be used to make HTTP requests, i.e. download or upload files or web content via HTTP. +Peut être utilisé pour faire des requêtes HTTP, c'est-à-dire télécharger ou téléverser des fichiers ou du contenu web via HTTP. -\ **Warning:** See the notes and warnings on :ref:`HTTPClient` for limitations, especially regarding TLS security. +\ ** Avertissement :** Voir les notes et les avertissements sur :ref:`HTTPClient` pour les limitations, en particulier en ce qui concerne la sécurité TLS. -\ **Note:** When exporting to Android, make sure to enable the ``INTERNET`` permission in the Android export preset before exporting the project or using one-click deploy. Otherwise, network communication of any kind will be blocked by Android. +\ **Note :** Lors de l'export vers Android, assurez-vous d'activer la permission ``INTERNET`` dans le pré-réglage d'export Android avant d'exporter le projet ou d'utiliser le déploiement en un clic. Sinon, les communications réseau de toutes sortes seront bloquées par Android. -\ **Example:** Contact a REST API and print one of its returned fields: +\ **Exemple :** Contacter une API REST et afficher l'un des champs renvoyés : .. tabs:: @@ -35,20 +35,20 @@ Can be used to make HTTP requests, i.e. download or upload files or web content add_child(http_request) http_request.request_completed.connect(self._http_request_completed) - # Perform a GET request. The URL below returns JSON as of writing. + # Effectuer une requête GET. L'URL ci-dessous renvoyait un JSON au moment où nous avons écrit ce code. var error = http_request.request("https://httpbin.org/get") - if error != OK: - push_error("An error occurred in the HTTP request.") + if error != OK: + push_error("Une erreur est survenue dans la requête HTTP.") - # Perform a POST request. The URL below returns JSON as of writing. - # Note: Don't make simultaneous requests using a single HTTPRequest node. - # The snippet below is provided for reference only. + # Effectuer une requête POST. L'URL ci-dessous renvoyait un JSON au moment où nous avons écrit ce code. + # Note : Ne faites pas de requêtes simultanées avec un unique nœud HTTPRequest + # Le bout de code ci-dessous est fourni seulement comme référence. var body = JSON.new().stringify({"name": "Godette"}) error = http_request.request("https://httpbin.org/post", [], HTTPClient.METHOD_POST, body) - if error != OK: - push_error("An error occurred in the HTTP request.") + if error != OK: + push_error("Une erreur est survenue dans la requête HTTP.") - # Called when the HTTP request is completed. + # Appelée quand la requête HTTP est complétée. func _http_request_completed(result, response_code, headers, body): var json = JSON.new() json.parse(body.get_string_from_utf8()) @@ -61,33 +61,33 @@ Can be used to make HTTP requests, i.e. download or upload files or web content public override void _Ready() { - // Create an HTTP request node and connect its completion signal. + // Créer un nœud de requête HTTP et se connecter à son signal de complétion. var httpRequest = new HttpRequest(); AddChild(httpRequest); httpRequest.RequestCompleted += HttpRequestCompleted; - // Perform a GET request. The URL below returns JSON as of writing. + // Effectuer une requête GET. L'URL ci-dessous renvoyait un JSON au moment où nous avons écrit ce code. Error error = httpRequest.Request("https://httpbin.org/get"); - if (error != Error.Ok) + if (error != Error.Ok) { - GD.PushError("An error occurred in the HTTP request."); + GD.PushError("Une erreur est survenue dans la requête HTTP."); } - // Perform a POST request. The URL below returns JSON as of writing. - // Note: Don't make simultaneous requests using a single HTTPRequest node. - // The snippet below is provided for reference only. + // Effectuer une requête POST. L'URL ci-dessous renvoyait un JSON au moment où nous avons écrit ce code. + // Note : Ne faites pas de requêtes simultanées avec un unique nœud HTTPRequest + // Le bout de code ci-dessous est fourni seulement comme référence. string body = new Json().Stringify(new Godot.Collections.Dictionary { { "name", "Godette" } }); error = httpRequest.Request("https://httpbin.org/post", null, HttpClient.Method.Post, body); - if (error != Error.Ok) + if (error != Error.Ok) { - GD.PushError("An error occurred in the HTTP request."); + GD.PushError("Une erreur est survenue dans la requête HTTP."); } } - // Called when the HTTP request is completed. + // Appelée quand la requête HTTP est complétée. private void HttpRequestCompleted(long result, long responseCode, string[] headers, byte[] body) { var json = new Json(); @@ -100,7 +100,7 @@ Can be used to make HTTP requests, i.e. download or upload files or web content -\ **Example:** Load an image using **HTTPRequest** and display it: +\ **Exemple :** Charger une image en utilisant **HTTPRequest** et l'afficher : .. tabs:: @@ -108,29 +108,29 @@ Can be used to make HTTP requests, i.e. download or upload files or web content .. code-tab:: gdscript func _ready(): - # Create an HTTP request node and connect its completion signal. + # Créer un nœud de requête HTTP et se connecter à son signal de complétion. var http_request = HTTPRequest.new() add_child(http_request) http_request.request_completed.connect(self._http_request_completed) - # Perform the HTTP request. The URL below returns a PNG image as of writing. + # Effectuer la requête HTTP. L'URL ci-dessous renvoyait un PNG au moment où nous avons écrit ce code. var error = http_request.request("https://placehold.co/512.png") - if error != OK: - push_error("An error occurred in the HTTP request.") + if error != OK: + push_error("Une erreur est survenue dans la requête HTTP.") - # Called when the HTTP request is completed. + # Appelée quand la requête HTTP est complétée. func _http_request_completed(result, response_code, headers, body): - if result != HTTPRequest.RESULT_SUCCESS: - push_error("Image couldn't be downloaded. Try a different image.") + if result != HTTPRequest.RESULT_SUCCESS: + push_error("L'image n'a pu être téléchargée. Essayez avec une image différente.") var image = Image.new() var error = image.load_png_from_buffer(body) - if error != OK: - push_error("Couldn't load the image.") + if error != OK: + push_error("Impossible de charger l'image.") var texture = ImageTexture.create_from_image(image) - # Display the image in a TextureRect node. + # Afficher l'image dans un nœud TextureRect var texture_rect = TextureRect.new() add_child(texture_rect) texture_rect.texture = texture @@ -139,36 +139,36 @@ Can be used to make HTTP requests, i.e. download or upload files or web content public override void _Ready() { - // Create an HTTP request node and connect its completion signal. + // Créer un nœud de requête HTTP et se connecter à son signal de complétion. var httpRequest = new HttpRequest(); AddChild(httpRequest); httpRequest.RequestCompleted += HttpRequestCompleted; - // Perform the HTTP request. The URL below returns a PNG image as of writing. + // Effectuer la requête HTTP. L'URL ci-dessous renvoyait un PNG au moment où nous avons écrit ce code. Error error = httpRequest.Request("https://placehold.co/512.png"); - if (error != Error.Ok) + if (error != Error.Ok) { - GD.PushError("An error occurred in the HTTP request."); + GD.PushError("Une erreur est survenue dans la requête HTTP."); } } - // Called when the HTTP request is completed. + // Appelée quand la requête HTTP est complétée. private void HttpRequestCompleted(long result, long responseCode, string[] headers, byte[] body) { - if (result != (long)HttpRequest.Result.Success) + if (resultat != (long)HttpRequest.Result.Success) { - GD.PushError("Image couldn't be downloaded. Try a different image."); + GD.PushError("L'image n'a pu être téléchargée. Essayez avec une image différente."); } var image = new Image(); Error error = image.LoadPngFromBuffer(body); - if (error != Error.Ok) + if (erreur != Error.Ok) { - GD.PushError("Couldn't load the image."); + GD.PushError("Impossible de charger l'image."); } var texture = ImageTexture.CreateFromImage(image); - // Display the image in a TextureRect node. + // Afficher l'image dans un nœud TextureRect var textureRect = new TextureRect(); AddChild(textureRect); textureRect.Texture = texture; @@ -176,7 +176,7 @@ Can be used to make HTTP requests, i.e. download or upload files or web content -\ **Note:** **HTTPRequest** nodes will automatically handle decompression of response bodies. An ``Accept-Encoding`` header will be automatically added to each of your requests, unless one is already specified. Any response with a ``Content-Encoding: gzip`` header will automatically be decompressed and delivered to you as uncompressed bytes. +\ **Note :** Les nœuds **HTTPRequest** géreront automatiquement la décompression des corps de réponse. Un en-tête ``Accept-Encoding`` sera automatiquement ajouté à chacune de vos requêtes, sauf si un est déjà spécifié. Toute réponse avec un en-tête ``Content-Encoding: gzip`` sera automatiquement décompressée et livrée à vous en tant qu'octets non compressés. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_imagetexture3d.rst b/classes/fr/class_imagetexture3d.rst index 085d46e5b7..294c1f5230 100644 --- a/classes/fr/class_imagetexture3d.rst +++ b/classes/fr/class_imagetexture3d.rst @@ -14,9 +14,9 @@ Une texture à 3 dimensions. Description ----------- -**ImageTexture3D** is a 3-dimensional :ref:`ImageTexture` that has a width, height, and depth. See also :ref:`ImageTextureLayered`. +**ImageTexture3D** est une image en 3 dimensions qui a une largeur, une hauteur et une profondeur. Voir aussi :ref:`ImageTextureLayered`. -3D textures are typically used to store density maps for :ref:`FogMaterial`, color correction LUTs for :ref:`Environment`, vector fields for :ref:`GPUParticlesAttractorVectorField3D` and collision maps for :ref:`GPUParticlesCollisionSDF3D`. 3D textures can also be used in custom shaders. +Les textures 3D sont généralement utilisées pour stocker des density maps pour :ref:`FogMaterial`, des LUTs de correction de couleur pour :ref:`Environment`, des champs vectoriels pour :ref:`GPUParticlesAttractorVectorField3D` et des collision maps pour :ref:`GPUParticlesCollisionSDF3D`. Les textures 3D peuvent également être utilisées dans des shaders personnalisés. .. rst-class:: classref-reftable-group @@ -47,7 +47,7 @@ Descriptions des méthodes :ref:`Error` **create**\ (\ format\: :ref:`Format`, width\: :ref:`int`, height\: :ref:`int`, depth\: :ref:`int`, use_mipmaps\: :ref:`bool`, data\: :ref:`Array`\[:ref:`Image`\]\ ) :ref:`🔗` -Creates the **ImageTexture3D** with specified ``format``, ``width``, ``height``, and ``depth``. If ``use_mipmaps`` is ``true``, generates mipmaps for the **ImageTexture3D**. +Crée la **ImageTexture3D** avec le format ``format`` , la largeur ``width``, la hauteur ``height`` et la profondeur ``depth`` spécifiés. Si ``use_mipmaps`` vaut ``true``, génère des mipmaps pour l'**ImageTexture3D**. .. rst-class:: classref-item-separator @@ -59,7 +59,7 @@ Creates the **ImageTexture3D** with specified ``format``, ``width``, ``height``, |void| **update**\ (\ data\: :ref:`Array`\[:ref:`Image`\]\ ) :ref:`🔗` -Replaces the texture's existing data with the layers specified in ``data``. The size of ``data`` must match the parameters that were used for :ref:`create()`. In other words, the texture cannot be resized or have its format changed by calling :ref:`update()`. +Remplace les données existantes de la texture par les couches spécifiées dans ``data``. La taille de ``data`` doit correspondre aux paramètres utilisés pour :ref:`create()`. En d'autres termes, la texture ne peut pas être redimensionnée ou avoir son format modifié en appelant :ref:`update()`. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_imagetexturelayered.rst b/classes/fr/class_imagetexturelayered.rst index 3467e53f96..c59ecc730b 100644 --- a/classes/fr/class_imagetexturelayered.rst +++ b/classes/fr/class_imagetexturelayered.rst @@ -9,14 +9,14 @@ ImageTextureLayered **Hérité de:** :ref:`Cubemap`, :ref:`CubemapArray`, :ref:`Texture2DArray` -Base class for texture types which contain the data of multiple :ref:`ImageTexture`\ s. Each image is of the same size and format. +Classe de base pour les types de texture qui contiennent les données de plusieurs :ref:`ImageTexture`\ s. Chaque image est de la même taille et du même format. .. rst-class:: classref-introduction-group Description ----------- -Base class for :ref:`Texture2DArray`, :ref:`Cubemap` and :ref:`CubemapArray`. Cannot be used directly, but contains all the functions necessary for accessing the derived resource types. See also :ref:`Texture3D`. +Classe de base pour :ref:`Texture2DArray`, :ref:`Cubemap` et :ref:`CubemapArray`. Ne peut être utilisée directement, mais contient toutes les fonctions nécessaires pour accéder aux types de ressources dérivées. Voir aussi :ref:`Texture3D`. .. rst-class:: classref-reftable-group @@ -47,16 +47,16 @@ Descriptions des méthodes :ref:`Error` **create_from_images**\ (\ images\: :ref:`Array`\[:ref:`Image`\]\ ) :ref:`🔗` -Creates an **ImageTextureLayered** from an array of :ref:`Image`\ s. See :ref:`Image.create()` for the expected data format. The first image decides the width, height, image format and mipmapping setting. The other images *must* have the same width, height, image format and mipmapping setting. +Crée une **ImageTextureLayered** depuis un tableau d':ref:`Image`\ s. Voir :ref:`Image.create()` pour le format attendu des données. La première image décide de la largeur, de la hauteur, du format d'image et des paramètres de mipmaps. Les autres images *doivent* avoir la même largeur, hauteur, format d'image et paramètres de mipmaps. -Each :ref:`Image` represents one ``layer``. +Chaque :ref:`Image` représente une couche ``layer``. :: - # Fill in an array of Images with different colors. + # Remplir un tableau d'images avec des images de différentes couleurs. var images = [] - const LAYERS = 6 - for i in LAYERS: + const COUCHES = 6 + for i in COUCHES: var image = Image.create_empty(128, 128, false, Image.FORMAT_RGB8) if i % 3 == 0: image.fill(Color.RED) @@ -66,24 +66,24 @@ Each :ref:`Image` represents one ``layer``. image.fill(Color.BLUE) images.push_back(image) - # Create and save a 2D texture array. The array of images must have at least 1 Image. - var texture_2d_array = Texture2DArray.new() - texture_2d_array.create_from_images(images) - ResourceSaver.save(texture_2d_array, "res://texture_2d_array.res", ResourceSaver.FLAG_COMPRESS) + # Créer et sauvegarder un tableau de textures 2D. Le tableau d'images doit avoir au moins une image. + var tableau_texture_2d = Texture2DArray.new() + tableau_texture_2d.create_from_images(images) + ResourceSaver.save(tableau_texture_2d, "res://tableau_texture_2d.res", ResourceSaver.FLAG_COMPRESS) - # Create and save a cubemap. The array of images must have exactly 6 Images. - # The cubemap's images are specified in this order: X+, X-, Y+, Y-, Z+, Z- - # (in Godot's coordinate system, so Y+ is "up" and Z- is "forward"). + # Créer et sauvegarder une cubemap. Le tableau d'images doit avoir exactement 6 images. + # Les images de la cubemap sont spécifiés dans cet ordre : X+, X-, Y+, Y-, Z+, Z- + # (dans le système de coordonnées de Godot, donc Y+ est "haut" et Z- est "avant"). var cubemap = Cubemap.new() cubemap.create_from_images(images) ResourceSaver.save(cubemap, "res://cubemap.res", ResourceSaver.FLAG_COMPRESS) - # Create and save a cubemap array. The array of images must have a multiple of 6 Images. - # Each cubemap's images are specified in this order: X+, X-, Y+, Y-, Z+, Z- - # (in Godot's coordinate system, so Y+ is "up" and Z- is "forward"). - var cubemap_array = CubemapArray.new() - cubemap_array.create_from_images(images) - ResourceSaver.save(cubemap_array, "res://cubemap_array.res", ResourceSaver.FLAG_COMPRESS) + # Créer et sauvegarder un tableau de cubemaps. Le tableau d'images doit avoir un multiple de 6 images. + # Les images de chaque cubemap sont spécifiés dans cet ordre : X+, X-, Y+, Y-, Z+, Z- + # (dans le système de coordonnées de Godot, donc Y+ est "haut" et Z- est "avant"). + var tableau_cubemap = CubemapArray.new() + tableau_cubemap.create_from_images(images) + ResourceSaver.save(tableau_cubemap, "res://tableau_cubemap.res", ResourceSaver.FLAG_COMPRESS) .. rst-class:: classref-item-separator @@ -95,13 +95,13 @@ Each :ref:`Image` represents one ``layer``. |void| **update_layer**\ (\ image\: :ref:`Image`, layer\: :ref:`int`\ ) :ref:`🔗` -Replaces the existing :ref:`Image` data at the given ``layer`` with this new image. +Remplace les données de l':ref:`Image` existante à la couche ``layer`` donnée par cette nouvelle image. -The given :ref:`Image` must have the same width, height, image format, and mipmapping flag as the rest of the referenced images. +L'image donnée doit avoir la même largeur, hauteur, format d'image et drapeau de mipmapping que le reste des images référencées. -If the image format is unsupported, it will be decompressed and converted to a similar and supported :ref:`Format`. +Si le format d'image n'est pas supporté, elle sera décompressée et convertie en un :ref:`Format` similaire et supporté. -The update is immediate: it's synchronized with drawing. +La mise à jour est immédiate : elle est synchronisée avec le dessin. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_inputevent.rst b/classes/fr/class_inputevent.rst index 2a36be605f..1978250a5b 100644 --- a/classes/fr/class_inputevent.rst +++ b/classes/fr/class_inputevent.rst @@ -9,14 +9,14 @@ InputEvent **Hérité de:** :ref:`InputEventAction`, :ref:`InputEventFromWindow`, :ref:`InputEventJoypadButton`, :ref:`InputEventJoypadMotion`, :ref:`InputEventMIDI`, :ref:`InputEventShortcut` -Abstract base class for input events. +Classe de base abstraite pour les événements d'entrée. .. rst-class:: classref-introduction-group Description ----------- -Abstract base class of all types of input events. See :ref:`Node._input()`. +Classe de base abstraite de tous les types d'événements d'entrée. Voir :ref:`Node._input()`. .. rst-class:: classref-introduction-group @@ -135,9 +135,9 @@ Descriptions des méthodes :ref:`bool` **accumulate**\ (\ with_event\: :ref:`InputEvent`\ ) :ref:`🔗` -Returns ``true`` if the given input event and this input event can be added together (only for events of type :ref:`InputEventMouseMotion`). +Renvoie ``true`` si l'événement d'entrée donné et cet événement d'entrée peuvent être ajoutés ensemble (seulement pour les événements de type :ref:`InputEventMouseMotion`). -The given input event's position, global position and speed will be copied. The resulting ``relative`` is a sum of both events. Both events' modifiers have to be identical. +La position, la position globale et la vitesse de l'événement d'entrée donné seront copiées. La propriété ``relative`` résultante est une somme des deux événements. Les modificateurs des deux événements doivent être identiques. .. rst-class:: classref-item-separator @@ -161,9 +161,9 @@ Renvoie une représentation :ref:`String` de l'évènement. :ref:`float` **get_action_strength**\ (\ action\: :ref:`StringName`, exact_match\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns a value between 0.0 and 1.0 depending on the given actions' state. Useful for getting the value of events of type :ref:`InputEventJoypadMotion`. +Renvoie une valeur entre 0,0 et 1,0 selon l'état de l'action donnée. Utile pour obtenir la valeur des événements du type :ref:`InputEventJoypadMotion`. -If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey` and :ref:`InputEventMouseButton` events, and the direction for :ref:`InputEventJoypadMotion` events. +Si ``exact_match`` vaut ``false``, ignore les modificateurs d'entrée supplémentaires pour les évènements :ref:`InputEventKey` et :ref:`InputEventMouseButton`, et la direction pour les évènements :ref:`InputEventJoypadMotion`. .. rst-class:: classref-item-separator @@ -175,9 +175,9 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref: :ref:`bool` **is_action**\ (\ action\: :ref:`StringName`, exact_match\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` if this input event matches a pre-defined action of any type. +Renvoie ``true`` si cet événement d'entrée correspond à une action prédéfinie de n'importe quel type. -If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey` and :ref:`InputEventMouseButton` events, and the direction for :ref:`InputEventJoypadMotion` events. +Si ``exact_match`` vaut ``false``, ignore les modificateurs d'entrée supplémentaires pour les évènements :ref:`InputEventKey` et :ref:`InputEventMouseButton`, et la direction pour les évènements :ref:`InputEventJoypadMotion`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_inputeventaction.rst b/classes/fr/class_inputeventaction.rst index d26cdcb28d..4168240f16 100644 --- a/classes/fr/class_inputeventaction.rst +++ b/classes/fr/class_inputeventaction.rst @@ -7,7 +7,7 @@ InputEventAction **Hérite de :** :ref:`InputEvent` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -An input event type for actions. +Un type d’évènement d’entrée pour les actions. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_inputeventjoypadbutton.rst b/classes/fr/class_inputeventjoypadbutton.rst index 46a011179a..a2e1b21ced 100644 --- a/classes/fr/class_inputeventjoypadbutton.rst +++ b/classes/fr/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/fr/class_inputeventjoypadmotion.rst b/classes/fr/class_inputeventjoypadmotion.rst index cbba31cce3..5ec851a1d6 100644 --- a/classes/fr/class_inputeventjoypadmotion.rst +++ b/classes/fr/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/fr/class_inputeventmousebutton.rst b/classes/fr/class_inputeventmousebutton.rst index f8e450c513..381fbea072 100644 --- a/classes/fr/class_inputeventmousebutton.rst +++ b/classes/fr/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/fr/class_ip.rst b/classes/fr/class_ip.rst index 7eea420af6..85a8eef8f5 100644 --- a/classes/fr/class_ip.rst +++ b/classes/fr/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: @@ -17,7 +17,7 @@ Le protocole internet (IP) supporte des fonctionnalités comme la résolution DN Description ----------- -IP contains support functions for the Internet Protocol (IP). TCP/IP support is in different classes (see :ref:`StreamPeerTCP` and :ref:`TCPServer`). IP provides DNS hostname resolution support, both blocking and threaded. +IP contient des fonctions de support pour le Protocole Internet (IP). Le support TCP/IP est dans différentes classes (voir :ref:`StreamPeerTCP` et :ref:`TCPServer`). IP fournit le support de résolution DNS du nom d'hôte, à la fois bloquant et sur un thread. .. rst-class:: classref-reftable-group @@ -153,7 +153,7 @@ Constantes **RESOLVER_MAX_QUERIES** = ``256`` :ref:`🔗` -Maximum number of concurrent DNS resolver queries allowed, :ref:`RESOLVER_INVALID_ID` is returned if exceeded. +Nombre maximal de requêtes de résolution DNS concurrentes permises, :ref:`RESOLVER_INVALID_ID` est renvoyé si dépassé. .. _class_IP_constant_RESOLVER_INVALID_ID: @@ -178,7 +178,7 @@ Descriptions des méthodes |void| **clear_cache**\ (\ hostname\: :ref:`String` = ""\ ) :ref:`🔗` -Removes all of a ``hostname``'s cached references. If no ``hostname`` is given, all cached IP addresses are removed. +Enlève toutes les références en cache d'un hôte ``hostname``. Si aucun ``hostname`` n'est donné, toutes les adresses IP mises en cache sont supprimées. .. rst-class:: classref-item-separator @@ -190,7 +190,7 @@ Removes all of a ``hostname``'s cached references. If no ``hostname`` is given, |void| **erase_resolve_item**\ (\ id\: :ref:`int`\ ) :ref:`🔗` -Removes a given item ``id`` from the queue. This should be used to free a queue after it has completed to enable more queries to happen. +Retire un élément donné ``id`` de la file d'attente. Ceci devrait être utilisé pour libérer une file après qu'elle ait terminé pour permettre à plus de requêtes d'arriver. .. rst-class:: classref-item-separator @@ -214,17 +214,17 @@ Renvoie toutes les actuelles adresses IPv4 et IPv6 de l'utilisateur en un tablea :ref:`Array`\[:ref:`Dictionary`\] **get_local_interfaces**\ (\ ) |const| :ref:`🔗` -Returns all network adapters as an array. +Renvoie tous les adaptateurs réseau en tant que tableau. -Each adapter is a dictionary of the form: +Chaque adaptateur est un dictionnaire de la forme : :: { - "index": "1", # Interface index. - "name": "eth0", # Interface name. - "friendly": "Ethernet One", # A friendly name (might be empty). - "addresses": ["192.168.1.101"], # An array of IP addresses associated to this interface. + "index": "1", # Index de l'interface + "name": "eth0", # Nom de l'interface + "friendly": "Ethernet One", # Un nom lisible (peut être vide). + "addresses": ["192.168.1.101"], # Un tableau d'adresses IP associées à cette interface. } .. rst-class:: classref-item-separator @@ -237,7 +237,7 @@ Each adapter is a dictionary of the form: :ref:`String` **get_resolve_item_address**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a queued hostname's IP address, given its queue ``id``. Returns an empty string on error or if resolution hasn't happened yet (see :ref:`get_resolve_item_status()`). +Renvoie l'adresse IP d'un nom d'hôte dans la file, compte tenu de son identifiant de file ``id``. Renvoie une chaîne vide lors d'une erreur ou si la résolution n'est pas encore arrivée (voir :ref:`get_resolve_item_status()`). .. rst-class:: classref-item-separator @@ -249,7 +249,7 @@ Returns a queued hostname's IP address, given its queue ``id``. Returns an empty :ref:`Array` **get_resolve_item_addresses**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns resolved addresses, or an empty array if an error happened or resolution didn't happen yet (see :ref:`get_resolve_item_status()`). +Renvoie les adresses résolues, ou un tableau vide si une erreur s'est produite ou si la résolution n'a pas encore eu lieu (voir :ref:`get_resolve_item_status()`). .. rst-class:: classref-item-separator @@ -261,7 +261,7 @@ Returns resolved addresses, or an empty array if an error happened or resolution :ref:`ResolverStatus` **get_resolve_item_status**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a queued hostname's status as a :ref:`ResolverStatus` constant, given its queue ``id``. +Renvoie le statut d'un nom d'hôte en file d'attente en tant que constante :ref:`ResolverStatus`, compte tenu de son identifiant de file ``id``. .. rst-class:: classref-item-separator @@ -273,7 +273,7 @@ Returns a queued hostname's status as a :ref:`ResolverStatus` **resolve_hostname**\ (\ host\: :ref:`String`, ip_type\: :ref:`Type` = 3\ ) :ref:`🔗` -Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type method). The address type returned depends on the :ref:`Type` constant given as ``ip_type``. +Renvoie l'adresse IPv4 ou IPv6 d'un nom d'hôte lorsqu'elle est résolue (méthode bloquante). Le type d'adresse renvoyé dépend de la constante :ref:`Type` donnée comme ``ip_type``. .. rst-class:: classref-item-separator @@ -285,7 +285,7 @@ Returns a given hostname's IPv4 or IPv6 address when resolved (blocking-type met :ref:`PackedStringArray` **resolve_hostname_addresses**\ (\ host\: :ref:`String`, ip_type\: :ref:`Type` = 3\ ) :ref:`🔗` -Resolves a given hostname in a blocking way. Addresses are returned as an :ref:`Array` of IPv4 or IPv6 addresses depending on ``ip_type``. +Résout un nom d'hôte donné de manière bloquante. Les adresses sont renvoyées en tant que tableau d'adresses IPv4 ou IPv6 selon ``ip_type``. .. rst-class:: classref-item-separator @@ -297,7 +297,7 @@ Resolves a given hostname in a blocking way. Addresses are returned as an :ref:` :ref:`int` **resolve_hostname_queue_item**\ (\ host\: :ref:`String`, ip_type\: :ref:`Type` = 3\ ) :ref:`🔗` -Creates a queue item to resolve a hostname to an IPv4 or IPv6 address depending on the :ref:`Type` constant given as ``ip_type``. Returns the queue ID if successful, or :ref:`RESOLVER_INVALID_ID` on error. +Crée un élément de file pour résoudre un nom d'hôte vers une adresse IPv4 ou IPv6 en fonction de la constante :ref:`Type` donnée comme ``ip_type``. Renvoie l'identifiant de la file d'attente si réussi, ou :ref:`RESOLVER_INVALID_ID` en cas d'erreur. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_itemlist.rst b/classes/fr/class_itemlist.rst index 13f37d68e2..4ecb8a8f87 100644 --- a/classes/fr/class_itemlist.rst +++ b/classes/fr/class_itemlist.rst @@ -7,24 +7,22 @@ ItemList **Hérite de :** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A vertical list of selectable items with one or multiple columns. +Une liste verticale d'éléments sélectionnables avec une ou plusieurs colonnes. .. rst-class:: classref-introduction-group Description ----------- -Ce contrôle fournit une liste verticale l'objets sélectionnables qui peuvent arrangés en une ou plusieurs colonnes avec pour chaque objet des options de texte et d'icone. Les info-bulles sont supportées et peuvent différer pour chaque objet de la liste. +Ce contrôle fournit une liste verticale d'éléments sélectionnables qui peuvent arrangés en une ou plusieurs colonnes avec pour chaque objet des options de texte et d’icône. Les info-bulles sont supportées et peuvent être différentes pour chaque élément de la liste. -Les objets sélectionnables dans la liste peuvent être sélectionnés ou désélectionnés et la selection multiple peut être activée. La selection au clic droit peut aussi être activée pour permettre l'utilisation des menus contextuels. Les objets peuvent aussi être "activés" en les double cliquant ou en pressant :kbd:`Entrée`. +Les éléments sélectionnables dans la liste peuvent être sélectionnés ou désélectionnés et la sélection multiple peut être activée. La sélection au clic droit peut aussi être activée pour permettre l'utilisation des menus contextuels. Les éléments peuvent aussi être "activés" en les double cliquant ou en appuyant sur :kbd:`Entrée`. -Le texte d'objet ne supporte que les chaîne de caractères en une ligne. Les caractères de retour a la ligne (par exemple ``\n``) dans la chaîne ne produirons pas de retour à la ligne. L'habillage du texte est activé en mode :ref:`ICON_MODE_TOP`, mais la largeur de colonne est ajustée pour remplir le conteneur par défaut. Vous devez ajuster :ref:`fixed_column_width` plus grand que zéro pour habiller le texte. +Le texte d'un élément ne supporte que les chaîne de caractères en une ligne. Les caractères de retour à la ligne (par exemple ``\n``) dans la chaîne ne produiront pas de retour à la ligne. Le retour à la ligne automatique est activé en mode :ref:`ICON_MODE_TOP`, mais la largeur de la colonne est ajustée pour correspondre au contenu par défaut. Vous devez ajuster :ref:`fixed_column_width` à une valeur plus grande que zéro pour que le texte retourne automatiquement à la ligne. -Toutes les méthodes ``set_*`` acceptent des indices d'objet négatifs, par exemple ``-1`` pour accéder au dernier objet, ``-2`` pour l'avant dernier, etc. +Toutes les méthodes ``set_*`` acceptent des indices d'élément négatifs, par exemple ``-1`` pour accéder au dernier élément, ``-2`` pour l'avant dernier, etc. -\ **Recherche incrémentale :** Comme :ref:`PopupMenu` et :ref:`Tree`, **ItemList** supporte la recherche dans la liste lorsque le contrôle est en focus. Appuyez sur une touche qui correspond à la premiere lettre d'un objet pour sélectionner le premier objet commençant par cette lettre. Après cela, il y à deux façons d'effectuer une recherche incrémentale : 1) Appuyez sur la même touche pendant la fin du délai pour sélectionner l'objet suivant commençant par la même lettre. 2) Entrer les lettres qui correspondent au reste du mot avant la fin du délai pour sélectionner l'objet directement. - -Ces deux actions retournerons au debut de la liste si le délai a expiré depuis le dernier appui enregistré. Vous pouvez ajuster la longueur du délai en changeant :ref:`ProjectSettings.gui/timers/incremental_search_max_interval_msec`. +\ **Recherche incrémentale :** Comme :ref:`PopupMenu` et :ref:`Tree`, **ItemList** supporte la recherche dans la liste lorsque le contrôle a le focus. Appuyez sur une touche qui correspond à la première lettre d'un élément pour sélectionner le premier élément commençant par cette lettre. Après cela, il y à deux façons d'effectuer une recherche incrémentale : 1) Appuyez sur la même touche avant la fin du délai pour sélectionner l'élément suivant commençant par la même lettre. 2) Entrez les lettres qui correspondent au reste du mot avant la fin du délai pour sélectionner l'élément directement. Ces deux actions seront réinitialisées au début de la liste si le délai a expiré depuis le dernier appui enregistré. Vous pouvez ajuster la longueur du délai en changeant :ref:`ProjectSettings.gui/timers/incremental_search_max_interval_msec`. .. rst-class:: classref-reftable-group @@ -247,9 +245,9 @@ Signaux **empty_clicked**\ (\ at_position\: :ref:`Vector2`, mouse_button_index\: :ref:`int`\ ) :ref:`🔗` -Emitted when any mouse click is issued within the rect of the list but on empty space. +Émis quand un clic de souris est émis dans le rectangle de la liste mais sur de l'espace vide. -\ ``at_position`` is the click position in this control's local coordinate system. +\ ``at_position`` est la position du clic dans le système de coordonnées local de ce contrôle. .. rst-class:: classref-item-separator @@ -261,7 +259,7 @@ Emitted when any mouse click is issued within the rect of the list but on empty **item_activated**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Emitted when specified list item is activated via double-clicking or by pressing :kbd:`Enter`. +Émis lorsque l'élément de la liste spécifié est activé par un double-clic ou en appuyant sur :kbd:`Entrée`. .. rst-class:: classref-item-separator @@ -273,9 +271,9 @@ Emitted when specified list item is activated via double-clicking or by pressing **item_clicked**\ (\ index\: :ref:`int`, at_position\: :ref:`Vector2`, mouse_button_index\: :ref:`int`\ ) :ref:`🔗` -Emitted when specified list item has been clicked with any mouse button. +Émis lorsque l'élément de la liste spécifié a été cliqué par n'importe quel bouton de la souris. -\ ``at_position`` is the click position in this control's local coordinate system. +\ ``at_position`` est la position du clic dans le système de coordonnées local de ce contrôle. .. rst-class:: classref-item-separator @@ -287,9 +285,9 @@ Emitted when specified list item has been clicked with any mouse button. **item_selected**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Emitted when specified item has been selected. Only applicable in single selection mode. +Émis lorsque l'élément de la liste spécifié a été sélectionné. Seulement applicable en mode de sélection unique. -\ :ref:`allow_reselect` must be enabled to reselect an item. +\ :ref:`allow_reselect` doit être activé pour re-sélectionner un élément. .. rst-class:: classref-item-separator @@ -301,7 +299,7 @@ Emitted when specified item has been selected. Only applicable in single selecti **multi_selected**\ (\ index\: :ref:`int`, selected\: :ref:`bool`\ ) :ref:`🔗` -Emitted when a multiple selection is altered on a list allowing multiple selection. +Émis lorsqu'une sélection multiple est modifiée sur une liste autorisant une sélection multiple. .. rst-class:: classref-section-separator @@ -350,7 +348,7 @@ enum **SelectMode**: :ref:`🔗` :ref:`SelectMode` **SELECT_SINGLE** = ``0`` -Ne permet de sélectionner qu'un seul élément. +Ne permettre de ne sélectionner qu'un seul élément. .. _class_ItemList_constant_SELECT_MULTI: @@ -358,7 +356,7 @@ Ne permet de sélectionner qu'un seul élément. :ref:`SelectMode` **SELECT_MULTI** = ``1`` -Allows selecting multiple items by holding :kbd:`Ctrl` or :kbd:`Shift`. +Autorise la sélection de plusieurs élément en maintenant :kbd:`Ctrl` ou :kbd:`Maj` appuyé. .. _class_ItemList_constant_SELECT_TOGGLE: @@ -366,7 +364,7 @@ Allows selecting multiple items by holding :kbd:`Ctrl` or :kbd:`Shift`. :ref:`SelectMode` **SELECT_TOGGLE** = ``2`` -Allows selecting multiple items by toggling them on and off. +Autorise la sélection de plusieurs élément en les activant/désactivant. .. rst-class:: classref-section-separator @@ -405,7 +403,7 @@ Si ``true``, l'élément actuellement sélectionné peut être sélectionné à - |void| **set_allow_rmb_select**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_allow_rmb_select**\ (\ ) -Si ``true``, un clic-droit peut sélectionner les éléments. +Si ``true``, un clic-droit peut sélectionner des éléments. .. rst-class:: classref-item-separator @@ -422,7 +420,7 @@ Si ``true``, un clic-droit peut sélectionner les éléments. - |void| **set_allow_search**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_allow_search**\ (\ ) -If ``true``, allows navigating the **ItemList** with letter keys through incremental search. +Si ``true``, permet de naviguer dans l'**ItemList** avec les touches alphabétiques grâce à la recherche incrémentale. .. rst-class:: classref-item-separator @@ -439,7 +437,7 @@ If ``true``, allows navigating the **ItemList** with letter keys through increme - |void| **set_auto_height**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **has_auto_height**\ (\ ) -Si ``true``, le taille du contrôle sera automatiquement ajusté pour s'adapter à la hauteur de son contenu. +Si ``true``, le contrôle redimensionnera automatiquement sa hauteur pour correspondre à son contenu. .. rst-class:: classref-item-separator @@ -456,7 +454,7 @@ Si ``true``, le taille du contrôle sera automatiquement ajusté pour s'adapter - |void| **set_auto_width**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **has_auto_width**\ (\ ) -If ``true``, the control will automatically resize the width to fit its content. +Si ``true``, le contrôle redimensionnera automatiquement sa largeur pour correspondre à son contenu. .. rst-class:: classref-item-separator @@ -473,9 +471,9 @@ If ``true``, the control will automatically resize the width to fit its content. - |void| **set_fixed_column_width**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_fixed_column_width**\ (\ ) -The width all columns will be adjusted to. +La largeur à laquelle toutes les colonnes seront ajustées. -A value of zero disables the adjustment, each item will have a width equal to the width of its content and the columns will have an uneven width. +Une valeur de zéro désactive l'ajustement, chaque élément aura une largeur égale à la largeur de son contenu et les colonnes auront une largeur inégale. .. rst-class:: classref-item-separator @@ -492,9 +490,9 @@ A value of zero disables the adjustment, each item will have a width equal to th - |void| **set_fixed_icon_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_fixed_icon_size**\ (\ ) -La taille que prendrons toutes les icônes. +La taille à laquelle seront ajustées toutes les icônes. -Si un des composants X ou Y n'est pas supérieur à zéro, la taille ne sera pas changée. +Si une des composantes X ou Y n'est pas supérieure à zéro, la taille de l'icône ne sera pas affectée. .. rst-class:: classref-item-separator @@ -511,7 +509,7 @@ Si un des composants X ou Y n'est pas supérieur à zéro, la taille ne sera pas - |void| **set_icon_mode**\ (\ value\: :ref:`IconMode`\ ) - :ref:`IconMode` **get_icon_mode**\ (\ ) -The icon position, whether above or to the left of the text. See the :ref:`IconMode` constants. +La position de l'icône, que ce soit au-dessus ou à gauche du texte. Voir les constantes :ref:`IconMode`. .. rst-class:: classref-item-separator @@ -528,7 +526,7 @@ The icon position, whether above or to the left of the text. See the :ref:`IconM - |void| **set_icon_scale**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_icon_scale**\ (\ ) -The scale of icon applied after :ref:`fixed_icon_size` and transposing takes effect. +L'échelle de l'icône appliquée après que :ref:`fixed_icon_size` et la transposition prennent effet. .. rst-class:: classref-item-separator @@ -562,11 +560,11 @@ Le nombre d'éléments actuellement dans la liste. - |void| **set_max_columns**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_columns**\ (\ ) -Maximum columns the list will have. +Les colonnes maximales que la liste aura. -If greater than zero, the content will be split among the specified columns. +Si supérieur à zéro, le contenu sera divisé entre les colonnes spécifiées. -A value of zero means unlimited columns, i.e. all items will be put in the same row. +Une valeur de zéro signifie des colonnes illimitées, c'est-à-dire que tous les éléments seront mis sur la même ligne. .. rst-class:: classref-item-separator @@ -583,9 +581,9 @@ A value of zero means unlimited columns, i.e. all items will be put in the same - |void| **set_max_text_lines**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_text_lines**\ (\ ) -Maximum lines of text allowed in each item. Space will be reserved even when there is not enough lines of text to display. +Lignes maximales de texte autorisées dans chaque élément. De l'espace sera réservé même lorsqu'il n'y a pas assez de lignes de texte à afficher. -\ **Note:** This property takes effect only when :ref:`icon_mode` is :ref:`ICON_MODE_TOP`. To make the text wrap, :ref:`fixed_column_width` should be greater than zero. +\ **Note :** Cette propriété prend effet seulement lorsque :ref:`icon_mode` vaut :ref:`ICON_MODE_TOP`. Pour que le texte revienne à la ligne automatiquement, :ref:`fixed_column_width` devrait être supérieur à zéro. .. rst-class:: classref-item-separator @@ -602,9 +600,9 @@ Maximum lines of text allowed in each item. Space will be reserved even when the - |void| **set_same_column_width**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_same_column_width**\ (\ ) -Whether all columns will have the same width. +Si toutes les colonnes ont la même largeur. -If ``true``, the width is equal to the largest column width of all columns. +Si ``true``, la largeur est égale à la plus grande largeur de colonne de toutes les colonnes. .. rst-class:: classref-item-separator @@ -621,7 +619,7 @@ If ``true``, the width is equal to the largest column width of all columns. - |void| **set_select_mode**\ (\ value\: :ref:`SelectMode`\ ) - :ref:`SelectMode` **get_select_mode**\ (\ ) -Autorise une sélection d'un ou plusieurs éléments. Voir les constantes :ref:`SelectMode`. +Autorise la sélection d'un ou plusieurs éléments. Voir les constantes :ref:`SelectMode`. .. rst-class:: classref-item-separator @@ -638,7 +636,7 @@ Autorise une sélection d'un ou plusieurs éléments. Voir les constantes :ref:` - |void| **set_text_overrun_behavior**\ (\ value\: :ref:`OverrunBehavior`\ ) - :ref:`OverrunBehavior` **get_text_overrun_behavior**\ (\ ) -The clipping behavior when the text exceeds an item's bounding rectangle. +Le comportement de coupure lorsque le texte dépasse le rectangle délimitant d'un objet. .. rst-class:: classref-item-separator @@ -655,9 +653,9 @@ The clipping behavior when the text exceeds an item's bounding rectangle. - |void| **set_wraparound_items**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **has_wraparound_items**\ (\ ) -If ``true``, the control will automatically move items into a new row to fit its content. See also :ref:`HFlowContainer` for this behavior. +Si ``true``, le contrôle déplacera automatiquement les éléments dans une nouvelle ligne pour s'adapter à son contenu. Voir aussi :ref:`HFlowContainer` pour ce comportement. -If ``false``, the control will add a horizontal scrollbar to make all items visible. +Si ``false``, le contrôle ajoutera une barre de défilement horizontale pour rendre tous les éléments visibles. .. rst-class:: classref-section-separator @@ -674,7 +672,7 @@ Descriptions des méthodes :ref:`int` **add_icon_item**\ (\ icon\: :ref:`Texture2D`, selectable\: :ref:`bool` = true\ ) :ref:`🔗` -Adds an item to the item list with no text, only an icon. Returns the index of an added item. +Ajoute un élément à la liste des éléments, sans texte, seulement une icône. Renvoie l'index d'un article ajouté. .. rst-class:: classref-item-separator @@ -686,11 +684,11 @@ Adds an item to the item list with no text, only an icon. Returns the index of a :ref:`int` **add_item**\ (\ text\: :ref:`String`, icon\: :ref:`Texture2D` = null, selectable\: :ref:`bool` = true\ ) :ref:`🔗` -Adds an item to the item list with specified text. Returns the index of an added item. +Ajoute un élément à la liste d'éléments avec le texte spécifié. Renvoie l'index d'un article ajouté. -Specify an ``icon``, or use ``null`` as the ``icon`` for a list item with no icon. +Spécifiez un ``icon``, ou utilisez ``null`` comme ``icon`` pour un élément de la liste sans icône. -If ``selectable`` is ``true``, the list item will be selectable. +Si ``selectable`` vaut ``true``, l'élément de la liste sera sélectionnable. .. rst-class:: classref-item-separator @@ -750,7 +748,7 @@ S'assure que l'actuelle sélection est visible, en ajustant l'ascenseur si néce |void| **force_update_list_size**\ (\ ) :ref:`🔗` -Forces an update to the list size based on its items. This happens automatically whenever size of the items, or other relevant settings like :ref:`auto_height`, change. The method can be used to trigger the update ahead of next drawing pass. +Force une mise à jour de la taille de la liste en fonction de ses éléments. Cela se produit automatiquement lorsque la taille des éléments, ou d'autres paramètres pertinents comme :ref:`auto_height`, changent. La méthode peut être utilisée pour déclencher la mise à jour avant la prochaine passe de dessin. .. rst-class:: classref-item-separator @@ -762,9 +760,9 @@ Forces an update to the list size based on its items. This happens automatically :ref:`HScrollBar` **get_h_scroll_bar**\ (\ ) :ref:`🔗` -Returns the horizontal scrollbar. +Renvoie la barre de défilement horizontale. -\ **Warning:** This is a required internal node, removing and freeing it may cause a crash. If you wish to hide it or any of its children, use their :ref:`CanvasItem.visible` property. +\ **Avertissement :** Il s'agit d'un nœud interne nécessaire, le retirer et le libérer peut causer un plantage. Si vous voulez le cacher lui ou l'un de ses enfants, utilisez plutôt :ref:`CanvasItem.visible`. .. rst-class:: classref-item-separator @@ -776,11 +774,11 @@ Returns the horizontal scrollbar. :ref:`int` **get_item_at_position**\ (\ position\: :ref:`Vector2`, exact\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the item index at the given ``position``. +Renvoie l'index de l'élément à la ``position`` donnée. -When there is no item at that point, -1 will be returned if ``exact`` is ``true``, and the closest item index will be returned otherwise. +Lorsqu'il n'y a pas d'élément à ce point, -1 sera renvoyé si ``exact`` vaut ``true``, et l'indice de l'élément le plus proche sera renvoyé sinon. -\ **Note:** The returned value is unreliable if called right after modifying the **ItemList**, before it redraws in the next frame. +\ **Note :** La valeur renvoyée n'est pas fiable si ceci est appelé juste après avoir modifié l'**ItemList**, avant qu'elle ne se redessine dans la prochaine trame. .. rst-class:: classref-item-separator @@ -792,7 +790,7 @@ When there is no item at that point, -1 will be returned if ``exact`` is ``true` :ref:`AutoTranslateMode` **get_item_auto_translate_mode**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Renvoie le mode d'auto traduction du nœud. +Renvoie le mode d'auto traduction de l'élément. .. rst-class:: classref-item-separator @@ -804,7 +802,7 @@ Renvoie le mode d'auto traduction du nœud. :ref:`Color` **get_item_custom_bg_color**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the custom background color of the item specified by ``idx`` index. +Renvoie la couleur d'arrière-plan personnalisée pour l'élément spécifié à l'index ``idx``. .. rst-class:: classref-item-separator @@ -816,7 +814,7 @@ Returns the custom background color of the item specified by ``idx`` index. :ref:`Color` **get_item_custom_fg_color**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the custom foreground color of the item specified by ``idx`` index. +Renvoie la couleur d'avant-plan personnalisée pour l'élément spécifié à l'index ``idx``. .. rst-class:: classref-item-separator @@ -852,7 +850,7 @@ Renvoie la :ref:`Color` de modulation pour l'icône de l'élément :ref:`Rect2` **get_item_icon_region**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the region of item's icon used. The whole icon will be used if the region has no area. +Renvoie la région utilisée de l'icône de l'élément. L'icône entière sera utilisée si la région n'a pas d'aire. .. rst-class:: classref-item-separator @@ -864,7 +862,7 @@ Returns the region of item's icon used. The whole icon will be used if the regio :ref:`String` **get_item_language**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text language code. +Renvoie le code de langue du texte de l'élément. .. rst-class:: classref-item-separator @@ -876,7 +874,7 @@ Returns item's text language code. :ref:`Variant` **get_item_metadata**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Renvoie la valeur de métadonnées de l’index spécifié. +Renvoie la valeur des métadonnées de l’index spécifié. .. rst-class:: classref-item-separator @@ -888,9 +886,9 @@ Renvoie la valeur de métadonnées de l’index spécifié. :ref:`Rect2` **get_item_rect**\ (\ idx\: :ref:`int`, expand\: :ref:`bool` = true\ ) |const| :ref:`🔗` -Returns the position and size of the item with the specified index, in the coordinate system of the **ItemList** node. If ``expand`` is ``true`` the last column expands to fill the rest of the row. +Renvoie la position et la taille de l'élément avec l'index spécifié, dans le système de coordonnées du nœud **ItemList**. Si ``expand`` vaut ``true``, la dernière colonne s'étend pour remplir le reste de la ligne. -\ **Note:** The returned value is unreliable if called right after modifying the **ItemList**, before it redraws in the next frame. +\ **Note :** La valeur renvoyée n'est pas fiable si ceci est appelé juste après avoir modifié l'**ItemList**, avant qu'elle ne se redessine dans la prochaine trame. .. rst-class:: classref-item-separator @@ -914,7 +912,7 @@ Renvoie le texte associé à l’index spécifié. :ref:`TextDirection` **get_item_text_direction**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text base writing direction. +Renvoie la direction d'écriture de base du texte de l'élément. .. rst-class:: classref-item-separator @@ -988,7 +986,7 @@ Renvoie ``true`` si l'élément à la position spécifiée est désactivé. :ref:`bool` **is_item_icon_transposed**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the item icon will be drawn transposed, i.e. the X and Y axes are swapped. +Renvoie ``true`` si l'icône de l'élément sera dessinée transposée, c'est-à-dire que les axes X et Y sont échangés. .. rst-class:: classref-item-separator @@ -1012,7 +1010,7 @@ Renvoie ``true`` si l'élément à la position donnée est sélectionnable. :ref:`bool` **is_item_tooltip_enabled**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Renvoie ``true`` si une infobulle est active pour la position donnée. +Renvoie ``true`` si l'info-bulle est active pour la position donnée. .. rst-class:: classref-item-separator @@ -1036,7 +1034,7 @@ Renvoie ``true`` si l'élément à la position donnée est actuellement sélecti |void| **move_item**\ (\ from_idx\: :ref:`int`, to_idx\: :ref:`int`\ ) :ref:`🔗` -Moves item from index ``from_idx`` to ``to_idx``. +Déplace l’élément de l’index ``from_idx`` à l'index ``to_idx``. .. rst-class:: classref-item-separator @@ -1048,7 +1046,7 @@ Moves item from index ``from_idx`` to ``to_idx``. |void| **remove_item**\ (\ idx\: :ref:`int`\ ) :ref:`🔗` -Removes the item specified by ``idx`` index from the list. +Retire l'élément spécifié par la position ``idx`` de la liste. .. rst-class:: classref-item-separator @@ -1060,9 +1058,9 @@ Removes the item specified by ``idx`` index from the list. |void| **select**\ (\ idx\: :ref:`int`, single\: :ref:`bool` = true\ ) :ref:`🔗` -Sélectionner un élément à la position spécifiée. +Sélectionne un élément à la position spécifiée. -\ **Note :** Cette méthode n'émet pas de signal de sélection de l'élément. +\ **Note :** Cette méthode n'émet pas de signal de sélection de l'élément. .. rst-class:: classref-item-separator @@ -1074,9 +1072,9 @@ Sélectionner un élément à la position spécifiée. |void| **set_item_auto_translate_mode**\ (\ idx\: :ref:`int`, mode\: :ref:`AutoTranslateMode`\ ) :ref:`🔗` -Sets the auto translate mode of the item associated with the specified index. +Définit le mode de traduction automatique de l'élément associé à l'index spécifié. -Items use :ref:`Node.AUTO_TRANSLATE_MODE_INHERIT` by default, which uses the same auto translate mode as the **ItemList** itself. +Les élément utilisent :ref:`Node.AUTO_TRANSLATE_MODE_INHERIT` par défaut, qui utilise le même mode de traduction automatique que l'**ItemList** elle-même. .. rst-class:: classref-item-separator @@ -1088,7 +1086,7 @@ Items use :ref:`Node.AUTO_TRANSLATE_MODE_INHERIT`, custom_bg_color\: :ref:`Color`\ ) :ref:`🔗` -Sets the background color of the item specified by ``idx`` index to the specified :ref:`Color`. +Définit la couleur d'arrière-plan de l'élément à l'index ``idx`` à la :ref:`Color` spécifiée. .. rst-class:: classref-item-separator @@ -1100,7 +1098,7 @@ Sets the background color of the item specified by ``idx`` index to the specifie |void| **set_item_custom_fg_color**\ (\ idx\: :ref:`int`, custom_fg_color\: :ref:`Color`\ ) :ref:`🔗` -Sets the foreground color of the item specified by ``idx`` index to the specified :ref:`Color`. +Définit la couleur d'avant-plan de l'élément à la position ``idx`` à la :ref:`Color` spécifiée. .. rst-class:: classref-item-separator @@ -1112,9 +1110,9 @@ Sets the foreground color of the item specified by ``idx`` index to the specifie |void| **set_item_disabled**\ (\ idx\: :ref:`int`, disabled\: :ref:`bool`\ ) :ref:`🔗` -Disables (or enables) the item at the specified index. +Désactive (ou active) l'élément à l'index spécifié. -Disabled items cannot be selected and do not trigger activation signals (when double-clicking or pressing :kbd:`Enter`). +Les éléments désactivés ne peuvent pas être sélectionnés et ne déclenchent pas de signaux d'activation (lorsque double-cliqués ou que :kbd:`Entrée` est appuyé). .. rst-class:: classref-item-separator @@ -1126,7 +1124,7 @@ Disabled items cannot be selected and do not trigger activation signals (when do |void| **set_item_icon**\ (\ idx\: :ref:`int`, icon\: :ref:`Texture2D`\ ) :ref:`🔗` -Sets (or replaces) the icon's :ref:`Texture2D` associated with the specified index. +Définit (ou remplace) la :ref:`Texture2D` de l'icône associée à la position donnée. .. rst-class:: classref-item-separator @@ -1150,7 +1148,7 @@ Définit la :ref:`Color` de modulation de l'élément associé à l |void| **set_item_icon_region**\ (\ idx\: :ref:`int`, rect\: :ref:`Rect2`\ ) :ref:`🔗` -Sets the region of item's icon used. The whole icon will be used if the region has no area. +Définit la région utilisée de l'icône de l’élément. L'icône entière sera utilisée si la région n'a pas d'aire. .. rst-class:: classref-item-separator @@ -1162,7 +1160,7 @@ Sets the region of item's icon used. The whole icon will be used if the region h |void| **set_item_icon_transposed**\ (\ idx\: :ref:`int`, transposed\: :ref:`bool`\ ) :ref:`🔗` -Sets whether the item icon will be drawn transposed. +Définit si l'icône de l'élément sera dessinée transposée. .. rst-class:: classref-item-separator @@ -1174,7 +1172,7 @@ Sets whether the item icon will be drawn transposed. |void| **set_item_language**\ (\ idx\: :ref:`int`, language\: :ref:`String`\ ) :ref:`🔗` -Sets language code of item's text used for line-breaking and text shaping algorithms, if left empty current locale is used instead. +Définit le code de langue du texte de l'élément, utilisé pour les algorithmes de retour à la ligne et de façonnage de texte. Si laissé vide, la langue actuelle est utilisée à la place. .. rst-class:: classref-item-separator @@ -1186,7 +1184,7 @@ Sets language code of item's text used for line-breaking and text shaping algori |void| **set_item_metadata**\ (\ idx\: :ref:`int`, metadata\: :ref:`Variant`\ ) :ref:`🔗` -Sets a value (of any type) to be stored with the item associated with the specified index. +Définit une valeur (de tout type) à stocker avec l'élément associé à l'index spécifié. .. rst-class:: classref-item-separator @@ -1222,7 +1220,7 @@ Définit le texte de l’élément associé à l’index spécifié. |void| **set_item_text_direction**\ (\ idx\: :ref:`int`, direction\: :ref:`TextDirection`\ ) :ref:`🔗` -Sets item's text base writing direction. +Définit la direction d'écriture de base du texte. .. rst-class:: classref-item-separator @@ -1258,7 +1256,7 @@ Définit si l’infobulle est active pour la position donnée. |void| **sort_items_by_text**\ (\ ) :ref:`🔗` -Tri les éléments de la liste par leur texte. +Trie les éléments de la liste par leur texte. .. rst-class:: classref-section-separator @@ -1323,7 +1321,7 @@ Le teinte du contour de texte de l'élément. :ref:`Color` **font_selected_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -Text :ref:`Color` used when the item is selected, but not hovered. +:ref:`Color` du texte utilisée quand l'élément est sélectionné, mais pas survolé. .. rst-class:: classref-item-separator @@ -1335,7 +1333,7 @@ Text :ref:`Color` used when the item is selected, but not hovered. :ref:`Color` **guide_color** = ``Color(0.7, 0.7, 0.7, 0.25)`` :ref:`🔗` -La :ref:`Color` de la ligne de guide. Cette ligne est affichée entre chaque ligne d'élément. +:ref:`Color` de la ligne directrice. La ligne directrice est affichée entre chaque ligne d'éléments. .. rst-class:: classref-item-separator @@ -1347,7 +1345,7 @@ La :ref:`Color` de la ligne de guide. Cette ligne est affichée ent :ref:`int` **h_separation** = ``4`` :ref:`🔗` -Espacement horizontal entre les éléments. +L'espacement horizontal entre les éléments. .. rst-class:: classref-item-separator @@ -1383,9 +1381,9 @@ L'espacement vertical entre chaque ligne de texte. :ref:`int` **outline_size** = ``0`` :ref:`🔗` -The size of the item text outline. +La taille du contour du texte de l'élément. -\ **Note:** If using a font with :ref:`FontFile.multichannel_signed_distance_field` enabled, its :ref:`FontFile.msdf_pixel_range` must be set to at least *twice* the value of :ref:`outline_size` for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended. +\ **Note :** Si vous utilisez une police avec :ref:`FontFile.multichannel_signed_distance_field` activé, sa :ref:`FontFile.msdf_pixel_range` doit être définie à au moins *deux fois* la valeur de :ref:`outline_size` pour que le rendu du contour puisse être correct. Sinon, le contour peut sembler être coupé plus tôt que prévu. .. rst-class:: classref-item-separator @@ -1397,7 +1395,7 @@ The size of the item text outline. :ref:`int` **v_separation** = ``4`` :ref:`🔗` -L'espacement vertical entre les objets. +L'espacement vertical entre les éléments. .. rst-class:: classref-item-separator @@ -1433,7 +1431,7 @@ Taille de police du texte de l'élément. :ref:`StyleBox` **cursor** :ref:`🔗` -La :ref:`StyleBox` utilisée pour le curseur, quand le **ItemList** est en focus. +La :ref:`StyleBox` utilisée pour le curseur, quand l'**ItemList** a le focus. .. rst-class:: classref-item-separator @@ -1445,7 +1443,7 @@ La :ref:`StyleBox` utilisée pour le curseur, quand le **ItemLis :ref:`StyleBox` **cursor_unfocused** :ref:`🔗` -La :ref:`StyleBox` utilisée pour le curseur, quand le **ItemList** n'est pas en focus. +La :ref:`StyleBox` utilisée pour le curseur, quand l'**ItemList** n'a pas le focus. .. rst-class:: classref-item-separator @@ -1457,7 +1455,7 @@ La :ref:`StyleBox` utilisée pour le curseur, quand le **ItemLis :ref:`StyleBox` **focus** :ref:`🔗` -The focused style for the **ItemList**, drawn on top of the background, but below everything else. +Le style avec focus pour l'**ItemList**, dessiné au dessus de l'arrière-plan, mais sous tout le reste. .. rst-class:: classref-item-separator @@ -1469,7 +1467,7 @@ The focused style for the **ItemList**, drawn on top of the background, but belo :ref:`StyleBox` **hovered** :ref:`🔗` -:ref:`StyleBox` for the hovered, but not selected items. +:ref:`StyleBox` pour les articles survolés, mais non sélectionnés. .. rst-class:: classref-item-separator @@ -1481,7 +1479,7 @@ The focused style for the **ItemList**, drawn on top of the background, but belo :ref:`StyleBox` **hovered_selected** :ref:`🔗` -:ref:`StyleBox` for the hovered and selected items, used when the **ItemList** is not being focused. +:ref:`StyleBox` pour les éléments sélectionnés et survolés, utilisée quand l'**ItemList** n'a pas le focus. .. rst-class:: classref-item-separator @@ -1493,7 +1491,7 @@ The focused style for the **ItemList**, drawn on top of the background, but belo :ref:`StyleBox` **hovered_selected_focus** :ref:`🔗` -:ref:`StyleBox` for the hovered and selected items, used when the **ItemList** is being focused. +:ref:`StyleBox` pour les éléments sélectionnés et survolés, utilisée quand l'**ItemList** a le focus. .. rst-class:: classref-item-separator @@ -1505,7 +1503,7 @@ The focused style for the **ItemList**, drawn on top of the background, but belo :ref:`StyleBox` **panel** :ref:`🔗` -The background style for the **ItemList**. +Le style d'arrière-plan pour l'**ItemList**. .. rst-class:: classref-item-separator @@ -1517,7 +1515,7 @@ The background style for the **ItemList**. :ref:`StyleBox` **selected** :ref:`🔗` -La :ref:`StyleBox` utilisée pour les éléments sélectionnés, quand le **ItemList** n'est pas en focus. +:ref:`StyleBox` pour les éléments sélectionnés, utilisée quand l'**ItemList** n'a pas le focus. .. rst-class:: classref-item-separator @@ -1529,7 +1527,7 @@ La :ref:`StyleBox` utilisée pour les éléments sélectionnés, :ref:`StyleBox` **selected_focus** :ref:`🔗` -La :ref:`StyleBox` utilisée pour les éléments sélectionnés, quand le **ItemList** est en focus. +:ref:`StyleBox` pour les éléments sélectionnés, utilisée quand l'**ItemList** a le focus. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_label.rst b/classes/fr/class_label.rst index 48c0e6bd34..0a2db869ea 100644 --- a/classes/fr/class_label.rst +++ b/classes/fr/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: @@ -17,7 +17,7 @@ Un contrôle pour afficher du texte brut. Description ----------- -A control for displaying plain text. It gives you control over the horizontal and vertical alignment and can wrap the text inside the node's bounding rectangle. It doesn't support bold, italics, or other rich text formatting. For that, use :ref:`RichTextLabel` instead. +Un contrôle pour afficher du texte brut. Il vous donne le contrôle de l'alignement horizontal et vertical et peut faire un retour à la ligne automatique du texte à l'intérieur du rectangle délimitant du noeud. Il ne supporte pas le gras, l'italique ou autre formatage de texte avancé. Pour cela, utilisez :ref:`RichTextLabel` à la place. .. rst-class:: classref-introduction-group @@ -542,7 +542,7 @@ Descriptions des méthodes :ref:`Rect2` **get_character_bounds**\ (\ pos\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the bounding rectangle of the character at position ``pos`` in the label's local coordinate system. If the character is a non-visual character or ``pos`` is outside the valid range, an empty :ref:`Rect2` is returned. If the character is a part of a composite grapheme, the bounding rectangle of the whole grapheme is returned. +Renvoie le rectangle délimitant du caractère en position ``pos`` dans le système de coordonnées local de l'étiquette. Si le caractère est un caractère non-visuel ou ``pos`` est hors de la plage valide, un :ref:`Rect2` vide est renvoyé. Si le caractère fait partie d'un graphème composite, le rectangle délimitant de l'ensemble du graphème est renvoyé. .. rst-class:: classref-item-separator @@ -554,7 +554,7 @@ Returns the bounding rectangle of the character at position ``pos`` in the label :ref:`int` **get_line_count**\ (\ ) |const| :ref:`🔗` -Returns the number of lines of text the Label has. +Renvoie le nombre de lignes de texte qu'a le Label. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_label3d.rst b/classes/fr/class_label3d.rst index dd41d7d1f9..d597e3a042 100644 --- a/classes/fr/class_label3d.rst +++ b/classes/fr/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: @@ -223,7 +223,7 @@ Ce mode dessine des pixels entièrement opaques lors de la pré-passe de profond :ref:`AlphaCutMode` **ALPHA_CUT_HASH** = ``3`` -This mode draws cuts off all values below a spatially-deterministic threshold, the rest will remain opaque. +Ce mode coupe toutes les valeurs en dessous d'un seuil dépendant de la position, le reste restera opaque. .. rst-class:: classref-section-separator diff --git a/classes/fr/class_light3d.rst b/classes/fr/class_light3d.rst index 7846bc6ec2..0a68731abc 100644 --- a/classes/fr/class_light3d.rst +++ b/classes/fr/class_light3d.rst @@ -510,6 +510,8 @@ La couleur de la lumière dans l'espace de couleur sRGB non-linéaire. Une coule La lumière affectera les objets dans les calques sélectionnés. +\ **Note :** Le masque de light cull est ignoré par :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, et le brouillard volumétrique. Ceux-ci rendront toujours la lumière en ignorant le masque de cull. Voir aussi :ref:`VisualInstance3D.layers`. + .. rst-class:: classref-item-separator ---- diff --git a/classes/fr/class_lineedit.rst b/classes/fr/class_lineedit.rst index 8d8ed2950d..e31d6216a6 100644 --- a/classes/fr/class_lineedit.rst +++ b/classes/fr/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: diff --git a/classes/fr/class_margincontainer.rst b/classes/fr/class_margincontainer.rst index d47e753bd0..d9a03d4ae8 100644 --- a/classes/fr/class_margincontainer.rst +++ b/classes/fr/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/fr/class_marshalls.rst b/classes/fr/class_marshalls.rst index 07435600e5..8a087491fa 100644 --- a/classes/fr/class_marshalls.rst +++ b/classes/fr/class_marshalls.rst @@ -7,7 +7,7 @@ Marshalls **Hérite de :** :ref:`Object` -Data transformation (marshaling) and encoding helpers. +Transformation de données ("marshalling") et assistants d'encodage. .. rst-class:: classref-introduction-group @@ -53,7 +53,7 @@ Descriptions des méthodes :ref:`PackedByteArray` **base64_to_raw**\ (\ base64_str\: :ref:`String`\ ) :ref:`🔗` -Returns a decoded :ref:`PackedByteArray` corresponding to the Base64-encoded string ``base64_str``. +Renvoie un :ref:`PackedByteArray` décodé correspondant à la chaîne de caractères ``base64_str`` encodée en Base64. .. rst-class:: classref-item-separator @@ -65,7 +65,7 @@ Returns a decoded :ref:`PackedByteArray` corresponding to :ref:`String` **base64_to_utf8**\ (\ base64_str\: :ref:`String`\ ) :ref:`🔗` -Returns a decoded string corresponding to the Base64-encoded string ``base64_str``. +Renvoie une chaîne de caractères décodée qui correspond à la chaîne de caractères encodée en Base64 ``base64_str``. .. rst-class:: classref-item-separator @@ -77,11 +77,11 @@ Returns a decoded string corresponding to the Base64-encoded string ``base64_str :ref:`Variant` **base64_to_variant**\ (\ base64_str\: :ref:`String`, allow_objects\: :ref:`bool` = false\ ) :ref:`🔗` -Returns a decoded :ref:`Variant` corresponding to the Base64-encoded string ``base64_str``. If ``allow_objects`` is ``true``, decoding objects is allowed. +Renvoie un :ref:`Variant` décodé correspondant à la chaîne encodée en Base64 ``base64_str``. Si ``allow_objects`` vaut ``true``, le décodage d'objets est autorisé. -Internally, this uses the same decoding mechanism as the :ref:`@GlobalScope.bytes_to_var()` method. +En interne, cela utilise le même mécanisme de décodage que la méthode :ref:`@GlobalScope.bytes_to_var()`. -\ **Warning:** Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. +\ **Attention :** Les objets désérialisés peuvent contenir du code qui va être exécuté. N'utilisez pas cette option si l'objet sérialisé provient de sources non approuvées pour éviter les menaces potentielles de sécurité telles que l'exécution de code à distance. .. rst-class:: classref-item-separator @@ -105,7 +105,7 @@ Renvoie une chaine de caractères encodée en Base64 d'un :ref:`PackedByteArray< :ref:`String` **utf8_to_base64**\ (\ utf8_str\: :ref:`String`\ ) :ref:`🔗` -Returns a Base64-encoded string of the UTF-8 string ``utf8_str``. +Renvoie une chaîne de caractères encodée en Base64 de la chaîne UTF-8 ``utf8_str``. .. rst-class:: classref-item-separator @@ -117,9 +117,9 @@ Returns a Base64-encoded string of the UTF-8 string ``utf8_str``. :ref:`String` **variant_to_base64**\ (\ variant\: :ref:`Variant`, full_objects\: :ref:`bool` = false\ ) :ref:`🔗` -Returns a Base64-encoded string of the :ref:`Variant` ``variant``. If ``full_objects`` is ``true``, encoding objects is allowed (and can potentially include code). +Renvoie une chaîne de caractères encodée en Base64 du :ref:`Variant` ``variant``. Si ``full_objects`` vaut ``true``, l'encodage d'objets est autorisé (et ils peuvent alors éventuellement inclure du code). -Internally, this uses the same encoding mechanism as the :ref:`@GlobalScope.var_to_bytes()` method. +En interne, cela utilise le même mécanisme d'encodage que la méthode :ref:`@GlobalScope.var_to_bytes()`. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_material.rst b/classes/fr/class_material.rst index d2c54875c4..4569e0ebfd 100644 --- a/classes/fr/class_material.rst +++ b/classes/fr/class_material.rst @@ -200,7 +200,7 @@ Seulement exposée dans le but de la redéfinir. Vous ne pouvez pas appeler cett :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Crée une version à remplacer de cette ressource (:ref:`PlaceholderMaterial`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderMaterial`). .. rst-class:: classref-item-separator diff --git a/classes/fr/class_menubutton.rst b/classes/fr/class_menubutton.rst index 5919f2e359..e67f2806fe 100644 --- a/classes/fr/class_menubutton.rst +++ b/classes/fr/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/fr/class_mesh.rst b/classes/fr/class_mesh.rst index 26f53fda43..c629573e6c 100644 --- a/classes/fr/class_mesh.rst +++ b/classes/fr/class_mesh.rst @@ -16,7 +16,7 @@ Une :ref:`Resource` qui contient une géométrie à base d'un ta Description ----------- -Mesh is a type of :ref:`Resource` that contains vertex array-based geometry, divided in *surfaces*. Each surface contains a completely separate array and a material used to draw it. Design wise, a mesh with multiple surfaces is preferred to a single surface, because objects created in 3D editing software commonly contain multiple materials. The maximum number of surfaces per mesh is :ref:`RenderingServer.MAX_MESH_SURFACES`. +Mesh (litt. "Maillage") est un type de :ref:`Resource` qui contient de la géométrie à base de tableaux de sommets, divisé en *surfaces*. Chaque surface contient un tableau complètement séparé et un matériau utilisé pour le dessiner. Au niveau du design, un maillage avec plusieurs surfaces est préféré à une seule surface, car les objets créés dans des logiciels d'édition 3D contiennent généralement plusieurs matériaux. Le nombre maximal de surfaces par maillage vaut :ref:`RenderingServer.MAX_MESH_SURFACES`. .. rst-class:: classref-introduction-group @@ -657,7 +657,7 @@ Descriptions des méthodes :ref:`AABB` **_get_aabb**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the :ref:`AABB` for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir la :ref:`AABB` pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -669,7 +669,7 @@ Virtual method to override the :ref:`AABB` for a custom class extend :ref:`int` **_get_blend_shape_count**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the number of blend shapes for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le nombre de blend shapes pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -681,7 +681,7 @@ Virtual method to override the number of blend shapes for a custom class extendi :ref:`StringName` **_get_blend_shape_name**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the retrieval of blend shape names for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir la récupération du nom des blend shapes pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -693,7 +693,7 @@ Virtual method to override the retrieval of blend shape names for a custom class :ref:`int` **_get_surface_count**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface count for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le nombre de surfaces pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -705,7 +705,7 @@ Virtual method to override the surface count for a custom class extending **Mesh |void| **_set_blend_shape_name**\ (\ index\: :ref:`int`, name\: :ref:`StringName`\ ) |virtual| |required| :ref:`🔗` -Virtual method to override the names of blend shapes for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir les noms des blend shapes pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -729,7 +729,7 @@ Virtual method to override the surface array index length for a custom class ext :ref:`int` **_surface_get_array_len**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface array length for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir la longueur du tableau d'une surface pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -741,7 +741,7 @@ Virtual method to override the surface array length for a custom class extending :ref:`Array` **_surface_get_arrays**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface arrays for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le tableau des surfaces pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -753,7 +753,7 @@ Virtual method to override the surface arrays for a custom class extending **Mes :ref:`Array`\[:ref:`Array`\] **_surface_get_blend_shape_arrays**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the blend shape arrays for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir les tableaux des blend shapes pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -765,7 +765,7 @@ Virtual method to override the blend shape arrays for a custom class extending * :ref:`int` **_surface_get_format**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface format for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le format d'une surface pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -777,7 +777,7 @@ Virtual method to override the surface format for a custom class extending **Mes :ref:`Dictionary` **_surface_get_lods**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface LODs for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir les LODs d'une surface pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -789,7 +789,7 @@ Virtual method to override the surface LODs for a custom class extending **Mesh* :ref:`Material` **_surface_get_material**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface material for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le matériau d'une surface pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -801,7 +801,7 @@ Virtual method to override the surface material for a custom class extending **M :ref:`int` **_surface_get_primitive_type**\ (\ index\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Virtual method to override the surface primitive type for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le type de primitive d'une surface pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -813,7 +813,7 @@ Virtual method to override the surface primitive type for a custom class extendi |void| **_surface_set_material**\ (\ index\: :ref:`int`, material\: :ref:`Material`\ ) |virtual| |required| :ref:`🔗` -Virtual method to override the setting of a ``material`` at the given ``index`` for a custom class extending **Mesh**. +Méthode virtuelle pour redéfinir le paramètre d'un matériau ``material`` à l'``index`` donné pour une classe personnalisée étendant **Mesh**. .. rst-class:: classref-item-separator @@ -825,11 +825,11 @@ Virtual method to override the setting of a ``material`` at the given ``index`` :ref:`ConvexPolygonShape3D` **create_convex_shape**\ (\ clean\: :ref:`bool` = true, simplify\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Calculate a :ref:`ConvexPolygonShape3D` from the mesh. +Calcule un :ref:`ConvexPolygonShape3D` depuis le maillage. -If ``clean`` is ``true`` (default), duplicate and interior vertices are removed automatically. You can set it to ``false`` to make the process faster if not needed. +Si ``clean`` vaut ``true`` (par défaut), les sommets intérieurs et en double sont automatiquement supprimés. Vous pouvez le définir à ``false`` pour rendre le processus plus rapide si ce n'est pas nécessaire. -If ``simplify`` is ``true``, the geometry can be further simplified to reduce the number of vertices. Disabled by default. +Si ``simplify`` vaut ``true``, la géométrie peut être encore plus simplifiée pour réduire la quantité de sommets. Désactivé par défaut. .. rst-class:: classref-item-separator @@ -855,7 +855,7 @@ Calcule un maillage de contour avec un décalage défini (marge) du maillage d'o :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderMesh`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderMesh`). .. rst-class:: classref-item-separator diff --git a/classes/fr/class_multimesh.rst b/classes/fr/class_multimesh.rst index bb5338c465..ac70b0fb2c 100644 --- a/classes/fr/class_multimesh.rst +++ b/classes/fr/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: diff --git a/classes/fr/class_multimeshinstance2d.rst b/classes/fr/class_multimeshinstance2d.rst index f0936703e2..3be1fd8893 100644 --- a/classes/fr/class_multimeshinstance2d.rst +++ b/classes/fr/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/fr/class_multimeshinstance3d.rst b/classes/fr/class_multimeshinstance3d.rst index bcb98b4db2..62fd8b114f 100644 --- a/classes/fr/class_multimeshinstance3d.rst +++ b/classes/fr/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/fr/class_multiplayerapi.rst b/classes/fr/class_multiplayerapi.rst index 951a9934cb..8c91773485 100644 --- a/classes/fr/class_multiplayerapi.rst +++ b/classes/fr/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/fr/class_multiplayerapiextension.rst b/classes/fr/class_multiplayerapiextension.rst index 636d85a1c1..511f629a63 100644 --- a/classes/fr/class_multiplayerapiextension.rst +++ b/classes/fr/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/fr/class_multiplayerpeer.rst b/classes/fr/class_multiplayerpeer.rst index 2a8c20800b..099616cf7d 100644 --- a/classes/fr/class_multiplayerpeer.rst +++ b/classes/fr/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: diff --git a/classes/fr/class_multiplayerpeerextension.rst b/classes/fr/class_multiplayerpeerextension.rst index e916feba6d..71e5694d0f 100644 --- a/classes/fr/class_multiplayerpeerextension.rst +++ b/classes/fr/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/fr/class_multiplayerspawner.rst b/classes/fr/class_multiplayerspawner.rst index 3b4954b0ef..e25f5355c7 100644 --- a/classes/fr/class_multiplayerspawner.rst +++ b/classes/fr/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/fr/class_multiplayersynchronizer.rst b/classes/fr/class_multiplayersynchronizer.rst index b51a533c0e..3a1ec742f7 100644 --- a/classes/fr/class_multiplayersynchronizer.rst +++ b/classes/fr/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/fr/class_node.rst b/classes/fr/class_node.rst index d3fb51d384..899b81421e 100644 --- a/classes/fr/class_node.rst +++ b/classes/fr/class_node.rst @@ -681,7 +681,7 @@ Ce nœud ne sera pas interne. :ref:`InternalMode` **INTERNAL_MODE_FRONT** = ``1`` -The node will be placed at the beginning of the parent's children, before any non-internal sibling. +Le nœud sera placé au début des enfants du parent, avant tout frère non interne. .. _class_Node_constant_INTERNAL_MODE_BACK: @@ -689,7 +689,7 @@ The node will be placed at the beginning of the parent's children, before any no :ref:`InternalMode` **INTERNAL_MODE_BACK** = ``2`` -The node will be placed at the end of the parent's children, after any non-internal sibling. +Le nœud sera placé à la fin des enfants du parent, après tout frère non interne. .. rst-class:: classref-item-separator @@ -715,7 +715,7 @@ Inherits :ref:`auto_translate_mode` fro :ref:`AutoTranslateMode` **AUTO_TRANSLATE_MODE_ALWAYS** = ``1`` -Always automatically translate. This is the inverse of :ref:`AUTO_TRANSLATE_MODE_DISABLED`, and the default for the root node. +Toujours traduire automatiquement. Il s'agit de l'inverse de :ref:`AUTO_TRANSLATE_MODE_DISABLED`, et la valeur par défaut pour le nœud racine. .. _class_Node_constant_AUTO_TRANSLATE_MODE_DISABLED: diff --git a/classes/fr/class_node3d.rst b/classes/fr/class_node3d.rst index 7d6b37b75e..b3ccda6410 100644 --- a/classes/fr/class_node3d.rst +++ b/classes/fr/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/fr/class_omnilight3d.rst b/classes/fr/class_omnilight3d.rst index ab5686f0eb..9123d39db6 100644 --- a/classes/fr/class_omnilight3d.rst +++ b/classes/fr/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/fr/class_openxrextensionwrapper.rst b/classes/fr/class_openxrextensionwrapper.rst index bbfec1301e..d711432ff0 100644 --- a/classes/fr/class_openxrextensionwrapper.rst +++ b/classes/fr/class_openxrextensionwrapper.rst @@ -297,7 +297,7 @@ Called right after the given viewport is rendered. |void| **_on_pre_draw_viewport**\ (\ viewport\: :ref:`RID`\ ) |virtual| :ref:`🔗` -Called right before the given viewport is rendered. +Appelée juste avant que le viewport donné soit rendu. .. rst-class:: classref-item-separator @@ -309,7 +309,7 @@ Called right before the given viewport is rendered. |void| **_on_pre_render**\ (\ ) |virtual| :ref:`🔗` -Called right before the XR viewports begin their rendering step. +Appelée juste avant que les viewports XR commencent leur étape de rendu. .. rst-class:: classref-item-separator @@ -479,9 +479,9 @@ Called when OpenXR has performed its action sync. |void| **_on_viewport_composition_layer_destroyed**\ (\ layer\: ``const void*``\ ) |virtual| :ref:`🔗` -Called when a composition layer created via :ref:`OpenXRCompositionLayer` is destroyed. +Appelée quand un calque de composition créé via :ref:`OpenXRCompositionLayer` est détruit. -\ ``layer`` is a pointer to an ``XrCompositionLayerBaseHeader`` struct. +\ ``layer`` est un pointeur vers une struct ``XrCompositionLayerBaseHeader``. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_openxrfutureextension.rst b/classes/fr/class_openxrfutureextension.rst index 0bb96c3e7b..a641ecea70 100644 --- a/classes/fr/class_openxrfutureextension.rst +++ b/classes/fr/class_openxrfutureextension.rst @@ -7,7 +7,7 @@ OpenXRFutureExtension **Hérite de :** :ref:`OpenXRExtensionWrapper` **<** :ref:`Object` -The OpenXR Future extension allows for asynchronous APIs to be used. +L'extension OpenXR Future permet d'utiliser des API asynchrones. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_optionbutton.rst b/classes/fr/class_optionbutton.rst index dda0646141..68a09dd349 100644 --- a/classes/fr/class_optionbutton.rst +++ b/classes/fr/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/fr/class_packedstringarray.rst b/classes/fr/class_packedstringarray.rst index 9ce45fbf74..263bcbb318 100644 --- a/classes/fr/class_packedstringarray.rst +++ b/classes/fr/class_packedstringarray.rst @@ -12,19 +12,19 @@ Un tableau compacté de chaînes de caractères :ref:`String`. Description ----------- -An array specifically designed to hold :ref:`String`\ s. Packs data tightly, so it saves memory for large array sizes. +Un tableau spécialement conçu pour contenir des chaînes :ref:`String`. Compacte les données de manière serrée, il sauve de la mémoire pour les grandes tailles de tableaux. -If you want to join the strings in the array, use :ref:`String.join()`. +Si vous voulez joindre des chaînes dans le tableau, utilisez :ref:`String.join()`. :: - var string_array = PackedStringArray(["hello", "world"]) - var string = " ".join(string_array) - print(string) # "hello world" + var tableau_string = PackedStringArray(["bonjour", "monde"]) + var string = " ".join(tableau_string) + print(string) # "bonjour monde" -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedStringArray** versus ``Array[String]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Différences entre les tableaux compactés, les tableaux typés et les tableaux non typés :** Les tableaux compactés sont généralement plus rapides pour itérer et modifier par rapport à un tableau typé du même type (par exemple **PackedStringArray** contre ``Array[String]``). De plus, les tableaux compactés consomment moins de mémoire. À l'inverse, les tableaux compactés sont moins flexibles car ils ne proposent pas autant de méthodes de commodité comme :ref:`Array.map()`. Les tableaux typés sont à leur tour plus rapides pour itérer dessus et modifier que les tableaux non typés. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Note :** Les tableaux compactés sont toujours passés par référence. Pour obtenir une copie d'un tableau qui peut être modifié indépendamment du tableau original, utilisez :ref:`duplicate()`. Ceci n'est *pas* le cas pour les propriétés et les méthodes intégrées. Le tableau compacté renvoyé de ceux-ci est une copie, et le changer n'affectera *pas* la valeur originale. Pour mettre à jour une propriété intégrée, vous devez modifier le tableau renvoyé, puis l'affecter à nouveau à la propriété. .. note:: @@ -289,9 +289,9 @@ Recherche dans le tableau pour une valeur et renvoie son index ou ``-1`` si elle :ref:`String` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`String` at the given ``index`` in the array. Returns an empty string and prints an error if the access is out of bounds. Negative indices are not supported; they will always consider the value to be out of bounds and return an empty string. +Renvoie le :ref:`String` à l'``index`` donné dans le tableau. Renvoie une chaîne vide et affiche une erreur si l'accès est hors limites. Les indices négatifs ne sont pas supportés, ils considéreront toujours la valeur hors limites et renvoient une chaîne vide. -This is similar to using the ``[]`` operator (``array[index]``), except that operator supports negative indices and causes a debugger break if out-of-bounds access is performed. +Ceci est similaire à l'utilisation de l'opérateur ``[]`` (``array[index]``), sauf que l'opérateur supporte les indices négatifs et provoque un stop du débogueur si un accès hors limites est effectué. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_particleprocessmaterial.rst b/classes/fr/class_particleprocessmaterial.rst index 5a1fc284a4..3f29b2852b 100644 --- a/classes/fr/class_particleprocessmaterial.rst +++ b/classes/fr/class_particleprocessmaterial.rst @@ -1904,7 +1904,7 @@ Minimum radial velocity applied to each particle. Makes particles move away from - |void| **set_param_texture**\ (\ param\: :ref:`Parameter`, texture\: :ref:`Texture2D`\ ) - :ref:`Texture2D` **get_param_texture**\ (\ param\: :ref:`Parameter`\ ) |const| -Each particle's scale will vary along this :ref:`CurveTexture` over its lifetime. If a :ref:`CurveXYZTexture` is supplied instead, the scale will be separated per-axis. +L'échelle de chaque particule variera suivant cette :ref:`CurveTexture` durant sa durée de vie. Si une :ref:`CurveXYZTexture` est fournie à la place, l'échelle sera séparée par axe. .. rst-class:: classref-item-separator @@ -1955,7 +1955,7 @@ Each particle's scale will vary along this :ref:`CurveTexture`, texture\: :ref:`Texture2D`\ ) - :ref:`Texture2D` **get_param_texture**\ (\ param\: :ref:`Parameter`\ ) |const| -Either a :ref:`CurveTexture` or a :ref:`CurveXYZTexture` that scales each particle based on its velocity. +Soit une :ref:`CurveTexture` ou une :ref:`CurveXYZTexture` qui dimensionne chaque particule en fonction de sa vitesse. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_physicalbone2d.rst b/classes/fr/class_physicalbone2d.rst index 9333d32d8f..1c2d616d76 100644 --- a/classes/fr/class_physicalbone2d.rst +++ b/classes/fr/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/fr/class_physicalbone3d.rst b/classes/fr/class_physicalbone3d.rst index 31278af8dd..a5f595ccd7 100644 --- a/classes/fr/class_physicalbone3d.rst +++ b/classes/fr/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/fr/class_pointlight2d.rst b/classes/fr/class_pointlight2d.rst index c85774f135..84f96cef38 100644 --- a/classes/fr/class_pointlight2d.rst +++ b/classes/fr/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/fr/class_polygonpathfinder.rst b/classes/fr/class_polygonpathfinder.rst index 0b5c785a05..06d67e12ae 100644 --- a/classes/fr/class_polygonpathfinder.rst +++ b/classes/fr/class_polygonpathfinder.rst @@ -122,7 +122,7 @@ Descriptions des méthodes :ref:`bool` **is_point_inside**\ (\ point\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns ``true`` if ``point`` falls inside the polygon area. +Renvoie ``true`` si ``point`` tombe dans la zone du polygone. .. tabs:: @@ -176,9 +176,9 @@ Returns ``true`` if ``point`` falls inside the polygon area. |void| **setup**\ (\ points\: :ref:`PackedVector2Array`, connections\: :ref:`PackedInt32Array`\ ) :ref:`🔗` -Sets up **PolygonPathFinder** with an array of points that define the vertices of the polygon, and an array of indices that determine the edges of the polygon. +Configure **PolygonPathFinder** avec un tableau de points qui définissent les sommets du polygone, et un tableau d'indices qui déterminent les bords du polygone. -The length of ``connections`` must be even, returns an error if odd. +La longueur des ``connections`` doit être paire, renvoie une erreur si impaire. .. tabs:: diff --git a/classes/fr/class_popupmenu.rst b/classes/fr/class_popupmenu.rst index 41425f1e02..478490bdac 100644 --- a/classes/fr/class_popupmenu.rst +++ b/classes/fr/class_popupmenu.rst @@ -899,7 +899,7 @@ Returns the index of the item containing the specified ``id``. Index is automati :ref:`String` **get_item_language**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text language code. +Renvoie le code de langue du texte de l'élément. .. rst-class:: classref-item-separator @@ -997,7 +997,7 @@ Returns the text of the item at the given ``index``. :ref:`TextDirection` **get_item_text_direction**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text base writing direction. +Renvoie la direction d'écriture de base du texte de l'élément. .. rst-class:: classref-item-separator @@ -1313,7 +1313,7 @@ Sets the horizontal offset of the item at the given ``index``. |void| **set_item_language**\ (\ index\: :ref:`int`, language\: :ref:`String`\ ) :ref:`🔗` -Sets language code of item's text used for line-breaking and text shaping algorithms, if left empty current locale is used instead. +Définit le code de langue du texte de l'élément, utilisé pour les algorithmes de retour à la ligne et de façonnage de texte. Si laissé vide, la langue actuelle est utilisée à la place. .. rst-class:: classref-item-separator @@ -1423,7 +1423,7 @@ Sets the text of the item at the given ``index``. |void| **set_item_text_direction**\ (\ index\: :ref:`int`, direction\: :ref:`TextDirection`\ ) :ref:`🔗` -Sets item's text base writing direction. +Définit la direction d'écriture de base du texte. .. rst-class:: classref-item-separator @@ -1620,9 +1620,9 @@ Horizontal padding to the left of the items (or right, in RTL layout). :ref:`int` **outline_size** = ``0`` :ref:`🔗` -The size of the item text outline. +La taille du contour du texte de l'élément. -\ **Note:** If using a font with :ref:`FontFile.multichannel_signed_distance_field` enabled, its :ref:`FontFile.msdf_pixel_range` must be set to at least *twice* the value of :ref:`outline_size` for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended. +\ **Note :** Si vous utilisez une police avec :ref:`FontFile.multichannel_signed_distance_field` activé, sa :ref:`FontFile.msdf_pixel_range` doit être définie à au moins *deux fois* la valeur de :ref:`outline_size` pour que le rendu du contour puisse être correct. Sinon, le contour peut sembler être coupé plus tôt que prévu. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_projectsettings.rst b/classes/fr/class_projectsettings.rst index 6ec69addb9..94207d3f38 100644 --- a/classes/fr/class_projectsettings.rst +++ b/classes/fr/class_projectsettings.rst @@ -1929,15 +1929,15 @@ Descriptions des propriétés :ref:`int` **accessibility/general/accessibility_support** = ``0`` :ref:`🔗` -Accessibility support mode: +Mode de support d'accessibilité : -- **Auto** (``0``): Accessibility support is enabled, but updates to the accessibility information are processed only if an assistive app (such as a screen reader or a Braille display) is active (default). +- **Auto** (``0``) : Le support d'accessibilité est activé, mais les mises à jour d'information d'accessibilité ne sont traitées que si une application d'assistance (p. ex. lecteur d'écran ou affichage en braille) est active (par défaut). -- **Always Active** (``1``): Accessibility support is enabled, and updates to the accessibility information are always processed, regardless of the status of assistive apps. +- **Toujours actif** (``1``) : Le support d'accessibilité est activé et les mises à jour d'information d'accessibilité sont traitées indépendamment du statut des applications d'assistance. -- **Disabled** (``2``): Accessibility support is fully disabled. +- **Désactivé** (``2``) : Le support d'accessibilité est entièrement désactivé. -\ **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, Accessibility Inspector (macOS), or AT-SPI Browser (Linux/BSD) do not count as assistive apps. To test your project with these tools, use **Always Active**. +\ **Note :** Les outils de débogage d'accessibilité, tels que Accessibility Insights pour Windows, l'inspecteur d'accessibilité (macOS) ou le navigateur AT-SPI (Linux/BDS) ne comptent pas comme des applications d'assistance. Pour tester votre application avec ces outils, utilisez ``Toujours actif``. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_reflectionprobe.rst b/classes/fr/class_reflectionprobe.rst index 569b7b2287..01a4e28d7d 100644 --- a/classes/fr/class_reflectionprobe.rst +++ b/classes/fr/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/fr/class_renderingserver.rst b/classes/fr/class_renderingserver.rst index d36d623f57..ff848751d4 100644 --- a/classes/fr/class_renderingserver.rst +++ b/classes/fr/class_renderingserver.rst @@ -4113,7 +4113,7 @@ enum **EnvironmentAmbientSource**: :ref:`🔗` **ENV_AMBIENT_SOURCE_BG** = ``0`` -Gather ambient light from whichever source is specified as the background. +Recueillir la lumière ambiante depuis la source spécifiée comme arrière-plan. .. _class_RenderingServer_constant_ENV_AMBIENT_SOURCE_DISABLED: @@ -4137,7 +4137,7 @@ Specify a specific :ref:`Color` for ambient light. :ref:`EnvironmentAmbientSource` **ENV_AMBIENT_SOURCE_SKY** = ``3`` -Gather ambient light from the :ref:`Sky` regardless of what the background is. +Recueillir la lumière ambiante depuis le :ref:`Sky` peu importe de ce qu'est l'arrière-plan. .. rst-class:: classref-item-separator @@ -4171,7 +4171,7 @@ Désactive les réflexions. :ref:`EnvironmentReflectionSource` **ENV_REFLECTION_SOURCE_SKY** = ``2`` -Use the :ref:`Sky` for reflections regardless of what the background is. +Utiliser le :ref:`Sky` pour les réflexions quel que soit l'arrière-plan. .. rst-class:: classref-item-separator @@ -4221,7 +4221,7 @@ Mode de mélange de glow en remplacement. Remplace toutes les couleurs des pixel :ref:`EnvironmentGlowBlendMode` **ENV_GLOW_BLEND_MODE_MIX** = ``4`` -Mixes the glow with the underlying color to avoid increasing brightness as much while still maintaining a glow effect. +Mélange le glow avec la couleur sous-jacente pour éviter d'augmenter la luminosité tout en maintenant un effet de glow. .. rst-class:: classref-item-separator @@ -4239,7 +4239,7 @@ enum **EnvironmentFogMode**: :ref:`🔗 :ref:`EnvironmentFogMode` **ENV_FOG_MODE_EXPONENTIAL** = ``0`` -Use a physically-based fog model defined primarily by fog density. +Utiliser un modèle de brouillard physique défini principalement par la densité du brouillard. .. _class_RenderingServer_constant_ENV_FOG_MODE_DEPTH: @@ -4247,7 +4247,7 @@ Use a physically-based fog model defined primarily by fog density. :ref:`EnvironmentFogMode` **ENV_FOG_MODE_DEPTH** = ``1`` -Use a simple fog model defined by start and end positions and a custom curve. While not physically accurate, this model can be useful when you need more artistic control. +Utiliser un modèle de brouillard simple défini par les positions de démarrage et de fin et une courbe personnalisée. Bien qu'il ne soit pas physiquement exact, ce modèle peut être utile lorsque vous avez besoin d'un contrôle plus artistique. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_resourceimporterbitmap.rst b/classes/fr/class_resourceimporterbitmap.rst index 492b84f184..daa158b52f 100644 --- a/classes/fr/class_resourceimporterbitmap.rst +++ b/classes/fr/class_resourceimporterbitmap.rst @@ -52,11 +52,11 @@ Descriptions des propriétés :ref:`int` **create_from** = ``0`` :ref:`🔗` -The data source to use for generating the bitmap. +La source de données à utiliser pour générer la bitmap. -\ **Black & White:** Pixels whose HSV value is greater than the :ref:`threshold` will be considered as "enabled" (bit is ``true``). If the pixel is lower than or equal to the threshold, it will be considered as "disabled" (bit is ``false``). +\ **Noir & Blanc :** Les pixels dont la valeur HSV est supérieure au seuil :ref:`threshold` seront considérés comme "activés" (le bit vaut ``true``). Si le pixel est inférieur ou égal au seuil, il sera considéré comme "désactivé" (le bit vaut ``false``). -\ **Alpha:** Pixels whose alpha value is greater than the :ref:`threshold` will be considered as "enabled" (bit is ``true``). If the pixel is lower than or equal to the threshold, it will be considered as "disabled" (bit is ``false``). +\ **Alpha :** Les pixels dont la valeur alpha est supérieure au seuil :ref:`threshold` seront considérés comme "activés" (le bit vaut ``true``). Si le pixel est inférieur ou égal au seuil, il sera considéré comme "désactivé" (le bit vaut ``false``). .. rst-class:: classref-item-separator @@ -68,7 +68,7 @@ The data source to use for generating the bitmap. :ref:`float` **threshold** = ``0.5`` :ref:`🔗` -The threshold to use to determine which bits should be considered enabled or disabled. See also :ref:`create_from`. +Le seuil à utiliser pour déterminer quels bits doivent être considérés comme étant activés ou désactivés. Voir aussi :ref:`create_from`. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_resourceimporterobj.rst b/classes/fr/class_resourceimporterobj.rst index 252438d694..3f0bf25468 100644 --- a/classes/fr/class_resourceimporterobj.rst +++ b/classes/fr/class_resourceimporterobj.rst @@ -7,16 +7,16 @@ ResourceImporterOBJ **Hérite de :** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports an OBJ 3D model as an independent :ref:`Mesh` or scene. +Importe un modèle 3D OBJ en tant que :ref:`Mesh` ou scène indépendant. .. rst-class:: classref-introduction-group Description ----------- -Unlike :ref:`ResourceImporterScene`, **ResourceImporterOBJ** will import a single :ref:`Mesh` resource by default instead of importing a :ref:`PackedScene`. This makes it easier to use the :ref:`Mesh` resource in nodes that expect direct :ref:`Mesh` resources, such as :ref:`GridMap`, :ref:`GPUParticles3D` or :ref:`CPUParticles3D`. Note that it is still possible to save mesh resources from 3D scenes using the **Advanced Import Settings** dialog, regardless of the source format. +Contrairement à :ref:`ResourceImporterScene`, **ResourceImporterOBJ** importera une seule ressource :ref:`Mesh` par défaut au lieu d'importer une :ref:`PackedScene`. Cela facilite l'utilisation de la ressource :ref:`Mesh` dans les nœuds qui s'attendent à des ressources :ref:`Mesh` directes, tels que :ref:`GridMap`, :ref:`GPUParticles3D` ou :ref:`CPUParticles3D`. Notez qu'il est encore possible d'enregistrer des ressources en maillage à partir de scènes 3D en utilisant la fenêtre **Paramètres avancés d'import**, peu importe le format source. -See also :ref:`ResourceImporterScene`, which is used for more advanced 3D formats such as glTF. +Voir aussi :ref:`ResourceImporterScene`, qui est utilisé pour des formats 3D plus avancés tels que le glTF. .. rst-class:: classref-introduction-group @@ -78,7 +78,7 @@ Si ``true``, la compression du maillage ne sera pas utilisée. Envisagez d'activ :ref:`bool` **generate_lightmap_uv2** = ``false`` :ref:`🔗` -If ``true``, generates UV2 on import for :ref:`LightmapGI` baking. +Si ``true``, génère des UV2 lors de l'import pour les pré-calculs avec :ref:`LightmapGI`. .. rst-class:: classref-item-separator @@ -90,9 +90,9 @@ If ``true``, generates UV2 on import for :ref:`LightmapGI` bak :ref:`float` **generate_lightmap_uv2_texel_size** = ``0.2`` :ref:`🔗` -Controls the size of each texel on the baked lightmap. A smaller value results in more precise lightmaps, at the cost of larger lightmap sizes and longer bake times. +Contrôle la taille de chaque texel sur la lightmap pré-calculée. Une plus petite valeur se traduit par des lightmaps plus précises, au coût de plus grandes tailles de lightmaps et de temps de calcul plus longs. -\ **Note:** Only effective if :ref:`generate_lightmap_uv2` is ``true``. +\ **Note :** Seulement effectif si :ref:`generate_lightmap_uv2` vaut ``true``. .. rst-class:: classref-item-separator @@ -104,7 +104,7 @@ Controls the size of each texel on the baked lightmap. A smaller value results i :ref:`bool` **generate_lods** = ``true`` :ref:`🔗` -If ``true``, generates lower detail variants of the mesh which will be displayed in the distance to improve rendering performance. Not all meshes benefit from LOD, especially if they are never rendered from far away. Disabling this can reduce output file size and speed up importing. See `Mesh level of detail (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ for more information. +Si ``true``, génère des variantes du maillage à plus faibles détails qui seront affichées à distance pour améliorer la performance de rendu. Tous les maillages ne bénéficient pas du niveau de détail (LOD), surtout s'ils ne sont jamais rendus de loin. Désactiver cela peut réduire la taille du fichier de sortie et accélérer l'import. Voir `Niveau de détail d'un maillage (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ pour plus d'informations. .. rst-class:: classref-item-separator @@ -116,7 +116,7 @@ If ``true``, generates lower detail variants of the mesh which will be displayed :ref:`bool` **generate_shadow_mesh** = ``true`` :ref:`🔗` -If ``true``, enables the generation of shadow meshes on import. This optimizes shadow rendering without reducing quality by welding vertices together when possible. This in turn reduces the memory bandwidth required to render shadows. Shadow mesh generation currently doesn't support using a lower detail level than the source mesh (but shadow rendering will make use of LODs when relevant). +Si ``true``, active la génération des maillages d'ombre lors de l'import. Cela optimise le rendu des ombres sans réduire la qualité en fusionnant des sommets si possible. Cela réduit à son tour la bande passante mémoire requise pour rendre les ombres. La génération de maillage d'ombre ne supporte actuellement pas un niveau de détail plus bas que le maillage source (mais le rendu des ombres fera usage des LODs lorsque cela est pertinent). .. rst-class:: classref-item-separator @@ -128,9 +128,9 @@ If ``true``, enables the generation of shadow meshes on import. This optimizes s :ref:`bool` **generate_tangents** = ``true`` :ref:`🔗` -If ``true``, generate vertex tangents using `Mikktspace `__ if the source mesh doesn't have tangent data. When possible, it's recommended to let the 3D modeling software generate tangents on export instead on relying on this option. Tangents are required for correct display of normal and height maps, along with any material/shader features that require tangents. +Si ``true``, génère les tangentes aux sommets en utilisant `Mikktspace `__ si le maillage source n'a pas de données de tangentes. Lorsque c'est possible, il est recommandé de laisser le logiciel de modélisation 3D générer des tangentes lors de l'export au lieu de compter sur cette option. Les tangentes sont requises pour l'affichage correct des normal maps et des height maps, ainsi que pour toutes les fonctionnalités de matériau/shader qui nécessitent des tangentes. -If you don't need material features that require tangents, disabling this can reduce output file size and speed up importing if the source 3D file doesn't contain tangents. +Si vous n'avez pas besoin de fonctionnalités de matériau qui nécessitent des tangentes, désactiver cela peut réduire la taille du fichier de sortie et accélérer l'import si le fichier 3D source ne contient pas de tangentes. .. rst-class:: classref-item-separator @@ -142,7 +142,7 @@ If you don't need material features that require tangents, disabling this can re :ref:`Vector3` **offset_mesh** = ``Vector3(0, 0, 0)`` :ref:`🔗` -Offsets the mesh's data by the specified value. This can be used to work around misaligned meshes without having to modify the source file. +Décale les données du maillage par la valeur spécifiée. Cela peut être utilisé pour contourner un problème de maillage désaligné sans avoir à modifier le fichier source. .. rst-class:: classref-item-separator @@ -154,7 +154,7 @@ Offsets the mesh's data by the specified value. This can be used to work around :ref:`Vector3` **scale_mesh** = ``Vector3(1, 1, 1)`` :ref:`🔗` -Scales the mesh's data by the specified value. This can be used to work around misscaled meshes without having to modify the source file. +Redimensionne les données du maillage par la valeur spécifiée. Cela peut être utilisé pour contourner un problème de maillage à mauvaise échelle sans avoir à modifier le fichier source. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_resourceimporterscene.rst b/classes/fr/class_resourceimporterscene.rst index 1642b6a239..748fc215da 100644 --- a/classes/fr/class_resourceimporterscene.rst +++ b/classes/fr/class_resourceimporterscene.rst @@ -234,7 +234,7 @@ Chemin auquel les matériaux extraits sont sauvegardés. Si vide, le chemin de l :ref:`bool` **meshes/create_shadow_meshes** = ``true`` :ref:`🔗` -If ``true``, enables the generation of shadow meshes on import. This optimizes shadow rendering without reducing quality by welding vertices together when possible. This in turn reduces the memory bandwidth required to render shadows. Shadow mesh generation currently doesn't support using a lower detail level than the source mesh (but shadow rendering will make use of LODs when relevant). +Si ``true``, active la génération des maillages d'ombre lors de l'import. Cela optimise le rendu des ombres sans réduire la qualité en fusionnant des sommets si possible. Cela réduit à son tour la bande passante mémoire requise pour rendre les ombres. La génération de maillage d'ombre ne supporte actuellement pas un niveau de détail plus bas que le maillage source (mais le rendu des ombres fera usage des LODs lorsque cela est pertinent). .. rst-class:: classref-item-separator @@ -272,7 +272,7 @@ Si ``true``, la compression du maillage ne sera pas utilisée. Envisagez d'activ :ref:`bool` **meshes/generate_lods** = ``true`` :ref:`🔗` -If ``true``, generates lower detail variants of the mesh which will be displayed in the distance to improve rendering performance. Not all meshes benefit from LOD, especially if they are never rendered from far away. Disabling this can reduce output file size and speed up importing. See `Mesh level of detail (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ for more information. +Si ``true``, génère des variantes du maillage à plus faibles détails qui seront affichées à distance pour améliorer la performance de rendu. Tous les maillages ne bénéficient pas du niveau de détail (LOD), surtout s'ils ne sont jamais rendus de loin. Désactiver cela peut réduire la taille du fichier de sortie et accélérer l'import. Voir `Niveau de détail d'un maillage (LOD) <../tutorials/3d/mesh_lod.html#doc-mesh-lod>`__ pour plus d'informations. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_scenereplicationconfig.rst b/classes/fr/class_scenereplicationconfig.rst index e1231f9980..b404c8a45d 100644 --- a/classes/fr/class_scenereplicationconfig.rst +++ b/classes/fr/class_scenereplicationconfig.rst @@ -66,7 +66,7 @@ enum **ReplicationMode**: :ref:`🔗` **REPLICATION_MODE_NEVER** = ``0`` -Do not keep the given property synchronized. +Ne pas garder la propriété donnée synchronisée. .. _class_SceneReplicationConfig_constant_REPLICATION_MODE_ALWAYS: @@ -74,7 +74,7 @@ Do not keep the given property synchronized. :ref:`ReplicationMode` **REPLICATION_MODE_ALWAYS** = ``1`` -Replicate the given property on process by constantly sending updates using unreliable transfer mode. +Répliquer la propriété donnée durant le traitement en envoyant constamment des mises à jour en utilisant un mode de transfert non fiable. .. _class_SceneReplicationConfig_constant_REPLICATION_MODE_ON_CHANGE: @@ -82,7 +82,7 @@ Replicate the given property on process by constantly sending updates using unre :ref:`ReplicationMode` **REPLICATION_MODE_ON_CHANGE** = ``2`` -Replicate the given property on process by sending updates using reliable transfer mode when its value changes. +Répliquer la propriété donnée durant le traitement en envoyant des mises à jour en utilisant un mode de transfert fiable lorsque sa valeur change. .. rst-class:: classref-section-separator @@ -189,7 +189,7 @@ Renvoie ``true`` si la propriété identifiée par le chemin ``path`` donné est **Obsolète :** Use :ref:`property_get_replication_mode()` instead. -Returns ``true`` if the property identified by the given ``path`` is configured to be reliably synchronized when changes are detected on process. +Renvoie ``true`` si la propriété identifiée par le chemin ``path`` donné est configurée pour être synchronisée de manière fiable lorsque des changements sont détectés lors du traitement. .. rst-class:: classref-item-separator @@ -201,7 +201,7 @@ Returns ``true`` if the property identified by the given ``path`` is configured |void| **property_set_replication_mode**\ (\ path\: :ref:`NodePath`, mode\: :ref:`ReplicationMode`\ ) :ref:`🔗` -Sets the synchronization mode for the property identified by the given ``path``. +Définit le mode de synchronisation de la propriété identifiée par le chemin ``path`` donné. .. rst-class:: classref-item-separator @@ -213,7 +213,7 @@ Sets the synchronization mode for the property identified by the given ``path``. |void| **property_set_spawn**\ (\ path\: :ref:`NodePath`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Sets whether the property identified by the given ``path`` is configured to be synchronized on spawn. +Définit si la propriété identifiée par le chemin ``path`` donné est configurée pour être synchronisée lors de l'apparition. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_scenetree.rst b/classes/fr/class_scenetree.rst index 62341aa969..6a0077faa3 100644 --- a/classes/fr/class_scenetree.rst +++ b/classes/fr/class_scenetree.rst @@ -27,7 +27,7 @@ Tutoriels - :doc:`SceneTree <../tutorials/scripting/scene_tree>` -- :doc:`Multiples résolutions <../tutorials/rendering/multiple_resolutions>` +- :doc:`Résolutions multiples <../tutorials/rendering/multiple_resolutions>` .. rst-class:: classref-reftable-group diff --git a/classes/fr/class_scrollbar.rst b/classes/fr/class_scrollbar.rst index 305ef9e603..395630bfae 100644 --- a/classes/fr/class_scrollbar.rst +++ b/classes/fr/class_scrollbar.rst @@ -16,7 +16,7 @@ Classe de base abstraite pour les barres de défilement. Description ----------- -Abstract base class for scrollbars, typically used to navigate through content that extends beyond the visible area of a control. Scrollbars are :ref:`Range`-based controls. +Classe de base abstraite pour les barres de défilement, généralement utilisée pour naviguer à travers du contenu qui s'étend au-delà de la zone visible d'un contrôle. Les barres de défilement sont des contrôles basés sur :ref:`Range`. .. rst-class:: classref-reftable-group @@ -120,7 +120,7 @@ Descriptions des propriétés du thème :ref:`Texture2D` **decrement** :ref:`🔗` -Icon used as a button to scroll the **ScrollBar** left/up. Supports custom step using the :ref:`custom_step` property. +Icône utilisée comme un bouton pour défiler la **ScrollBar** vers la gauche/le haut. Supporte un pas de déplacement personnalisé en utilisant la propriété :ref:`custom_step`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_spinbox.rst b/classes/fr/class_spinbox.rst index 562af63407..39b0217015 100644 --- a/classes/fr/class_spinbox.rst +++ b/classes/fr/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/fr/class_spritebase3d.rst b/classes/fr/class_spritebase3d.rst index e10c39b948..1cc58419c3 100644 --- a/classes/fr/class_spritebase3d.rst +++ b/classes/fr/class_spritebase3d.rst @@ -16,7 +16,7 @@ Nœud sprite 2D dans l’environnement 3D. Description ----------- -A node that displays 2D texture information in a 3D environment. See also :ref:`Sprite3D` where many other properties are defined. +Un nœud qui affiche des informations de texture 2D dans un environnement 3D. Voir aussi :ref:`Sprite3D` où de nombreuses autres propriétés sont définies. .. rst-class:: classref-reftable-group @@ -173,7 +173,7 @@ Ce mode réalise un mélange l'opacité standard. Il peut afficher des zones tra :ref:`AlphaCutMode` **ALPHA_CUT_DISCARD** = ``1`` -This mode only allows fully transparent or fully opaque pixels. Harsh edges will be visible unless some form of screen-space antialiasing is enabled (see :ref:`ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa`). On the bright side, this mode doesn't suffer from transparency sorting issues when multiple transparent materials are overlapping. This mode is also known as *alpha testing* or *1-bit transparency*. +Ce mode n'autorise uniquement que les pixels entièrement transparents ou entièrement opaques. Des bords nets seront visibles à moins qu'une certaine forme d'anti-crénelage dans l'espace-écran ne soit activée (voir :ref:`ProjectSettings.rendering/anti_aliasing/quality/screen_space_aa`). Ce mode a cependant l'avantage de ne pas souffrir de problèmes de tri de transparence lorsque plusieurs matériaux transparents se chevauchent. Ce mode est également connu sous le nom d'*alpha testing* ou *1-bit transparency*. .. _class_SpriteBase3D_constant_ALPHA_CUT_OPAQUE_PREPASS: @@ -181,7 +181,7 @@ This mode only allows fully transparent or fully opaque pixels. Harsh edges will :ref:`AlphaCutMode` **ALPHA_CUT_OPAQUE_PREPASS** = ``2`` -This mode draws fully opaque pixels in the depth prepass. This is slower than :ref:`ALPHA_CUT_DISABLED` or :ref:`ALPHA_CUT_DISCARD`, but it allows displaying translucent areas and smooth edges while using proper sorting. +Ce mode dessine des pixels entièrement opaques lors de la pré-passe de profondeur. Ceci est plus lent que :ref:`ALPHA_CUT_DISABLED` ou :ref:`ALPHA_CUT_DISCARD`, mais il permet d'afficher des zones translucides et des bords lisses tout en utilisant un tri approprié. .. _class_SpriteBase3D_constant_ALPHA_CUT_HASH: @@ -189,7 +189,7 @@ This mode draws fully opaque pixels in the depth prepass. This is slower than :r :ref:`AlphaCutMode` **ALPHA_CUT_HASH** = ``3`` -This mode draws cuts off all values below a spatially-deterministic threshold, the rest will remain opaque. +Ce mode coupe toutes les valeurs en dessous d'un seuil dépendant de la position, le reste restera opaque. .. rst-class:: classref-section-separator @@ -313,9 +313,9 @@ La direction que pointe la face avant de cette texture. - |void| **set_billboard_mode**\ (\ value\: :ref:`BillboardMode`\ ) - :ref:`BillboardMode` **get_billboard_mode**\ (\ ) -The billboard mode to use for the sprite. +Le mode de billboard à utiliser pour le sprite. -\ **Note:** When billboarding is enabled and the material also casts shadows, billboards will face **the** camera in the scene when rendering shadows. In scenes with multiple cameras, the intended shadow cannot be determined and this will result in undefined behavior. See `GitHub Pull Request #72638 `__ for details. +\ **Note :** Lorsque la mode de billboard est activé et que le matériau projette également des ombres, les billboards feront face à **la** caméra dans la scène lors du rendu des ombres. Dans les scènes avec plusieurs caméras, l'ombre prévue ne peut pas être déterminée et cela résultera en un comportement indéfini. Voir la `Pull Request GitHub #72638 `__ pour plus de détails. .. rst-class:: classref-item-separator @@ -366,7 +366,7 @@ Si ``true``, la texture est aussi affichée de dos, si ``false``, elle est invis - |void| **set_draw_flag**\ (\ flag\: :ref:`DrawFlags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_draw_flag**\ (\ flag\: :ref:`DrawFlags`\ ) |const| -If ``true``, the texture is rendered at the same size regardless of distance. The texture's size on screen is the same as if the camera was ``1.0`` units away from the texture's origin, regardless of the actual distance from the camera. The :ref:`Camera3D`'s field of view (or :ref:`Camera3D.size` when in orthogonal/frustum mode) still affects the size the sprite is drawn at. +Si ``true``, la texture est rendue à la même taille indépendamment de la distance. La taille de la texture à l'écran est la même que si la caméra était à ``1.0`` unités de l'origine de la texture, peu importe la distance réelle à la caméra. Le champ de vision de la :ref:`Camera3D` (ou :ref:`Camera3D.size` en mode orthogonal/frustum) affecte toujours la taille à laquelle le sprite est dessiné. .. rst-class:: classref-item-separator @@ -417,11 +417,11 @@ Si ``true``, la texture est inversée verticalement. - |void| **set_modulate**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_modulate**\ (\ ) -A color value used to *multiply* the texture's colors. Can be used for mood-coloring or to simulate the color of ambient light. +Une valeur de couleur utilisée pour *multiplier* les couleurs de la texture. Peut être utilisé pour la coloration d'ambiance ou pour simuler la couleur de la lumière ambiante. -\ **Note:** Unlike :ref:`CanvasItem.modulate` for 2D, colors with values above ``1.0`` (overbright) are not supported. +\ **Note :** Contrairement à :ref:`CanvasItem.modulate` pour 2D, les couleurs avec des valeurs supérieures à ``1.0`` (overbright) ne sont pas supportées. -\ **Note:** If a :ref:`GeometryInstance3D.material_override` is defined on the **SpriteBase3D**, the material override must be configured to take vertex colors into account for albedo. Otherwise, the color defined in :ref:`modulate` will be ignored. For a :ref:`BaseMaterial3D`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo` must be ``true``. For a :ref:`ShaderMaterial`, ``ALBEDO *= COLOR.rgb;`` must be inserted in the shader's ``fragment()`` function. +\ **Note :** Si un :ref:`GeometryInstance3D.material_override` est défini sur le **SpriteBase3D**, la redéfinition du matériau doit être configurée pour prendre en compte les couleurs des sommets pour l'albédo. Sinon, la couleur définie dans :ref:`modulate` sera ignorée. Pour un :ref:`BaseMaterial3D`, :ref:`BaseMaterial3D.vertex_color_use_as_albedo` doit valoir ``true``. Pour un :ref:`ShaderMaterial`, ``ALBEDO *= COLOR.rgb;`` doit être inséré dans la fonction ``fragment()`` du shader. .. rst-class:: classref-item-separator @@ -455,9 +455,9 @@ Si ``true``, les tests de profondeur sont désactivés et l'objet sera dessiné - |void| **set_offset**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_offset**\ (\ ) -The texture's drawing offset. +Le décalage du dessin de la texture. -\ **Note:** When you increase :ref:`offset`.y in Sprite3D, the sprite moves upward in world space (i.e., +Y is up). +\ **Note :** Lorsque vous augmentez :ref:`offset`.y dans Sprite3D, le sprite se déplace vers le haut dans l'espace global (c.-à-d. +Y est le haut). .. rst-class:: classref-item-separator @@ -512,7 +512,7 @@ Définit la priorité de rendu pour le texte. Les objets plus prioritaires seron - |void| **set_draw_flag**\ (\ flag\: :ref:`DrawFlags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_draw_flag**\ (\ flag\: :ref:`DrawFlags`\ ) |const| -If ``true``, the :ref:`Light3D` in the :ref:`Environment` has effects on the sprite. +Si ``true``, la :ref:`Light3D` dans l':ref:`Environment` a un effet sur le sprite. .. rst-class:: classref-item-separator @@ -529,9 +529,9 @@ If ``true``, the :ref:`Light3D` in the :ref:`Environment`\ ) - :ref:`TextureFilter` **get_texture_filter**\ (\ ) -Filter flags for the texture. +Drapeaux de filtrage pour la texture. -\ **Note:** Linear filtering may cause artifacts around the edges, which are especially noticeable on opaque textures. To prevent this, use textures with transparent or identical colors around the edges. +\ **Note :** Le filtrage linéaire peut provoquer des artéfacts autour des bords, qui sont particulièrement visibles sur les textures opaques. Pour éviter cela, utilisez des textures avec des couleurs transparentes ou identiques autour des bords. .. rst-class:: classref-item-separator @@ -565,7 +565,7 @@ Descriptions des méthodes :ref:`TriangleMesh` **generate_triangle_mesh**\ (\ ) |const| :ref:`🔗` -Returns a :ref:`TriangleMesh` with the sprite's vertices following its current configuration (such as its :ref:`axis` and :ref:`pixel_size`). +Renvoie un :ref:`TriangleMesh` avec les sommets du sprite suivant sa configuration actuelle (comme :ref:`axis` et :ref:`pixel_size`). .. rst-class:: classref-item-separator @@ -601,7 +601,7 @@ Renvoie le rectangle représentant ce sprite. |void| **set_draw_flag**\ (\ flag\: :ref:`DrawFlags`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, the specified flag will be enabled. +Si ``true``, le drapeau spécifié sera activé. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_statusindicator.rst b/classes/fr/class_statusindicator.rst index 875409342b..fca928367d 100644 --- a/classes/fr/class_statusindicator.rst +++ b/classes/fr/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: @@ -10,9 +10,9 @@ StatusIndicator **Hérite de :** :ref:`Node` **<** :ref:`Object` -Application status indicator (aka notification area icon). +Indicateur de statut d'application (icône de zone de notification). -\ **Note:** Status indicator is implemented on macOS and Windows. +\ **Note :** L'indicateur de statut est implémenté sur macOS et Windows. .. rst-class:: classref-reftable-group @@ -59,7 +59,7 @@ Signaux **pressed**\ (\ mouse_button\: :ref:`int`, mouse_position\: :ref:`Vector2i`\ ) :ref:`🔗` -Emitted when the status indicator is pressed. +Émis lorsque l'indicateur de statut est appuyé. .. rst-class:: classref-section-separator @@ -134,7 +134,7 @@ Info-bulle d'indicateur de statut. - |void| **set_visible**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_visible**\ (\ ) -If ``true``, the status indicator is visible. +Si ``true``, l'indicateur de statut est visible. .. rst-class:: classref-section-separator @@ -151,7 +151,7 @@ Descriptions des méthodes :ref:`Rect2` **get_rect**\ (\ ) |const| :ref:`🔗` -Returns the status indicator rectangle in screen coordinates. If this status indicator is not visible, returns an empty :ref:`Rect2`. +Renvoie le rectangle de l'indicateur de statut dans les coordonnées de l'écran. Si cet indicateur de statut n'est pas visible, renvoie un :ref:`Rect2` vide. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_string.rst b/classes/fr/class_string.rst index 8d2dbffce3..003bb63e73 100644 --- a/classes/fr/class_string.rst +++ b/classes/fr/class_string.rst @@ -499,11 +499,11 @@ Change l'apparence de la chaîne de caractères : remplace les tirets bas (``_` :ref:`int` **casecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a case-sensitive comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" and "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. +Effectue une comparaison sensible à la casse avec une autre chaîne. Renvoie ``-1`` si elle est inférieure, ``1`` si elle est plus supérieure, ou ``0`` si elles sont égales. "Inférieur à" et "supérieur à" sont déterminés par `points de code Unicode `__ de chaque chaîne, qui correspond approximativement à l'ordre alphabétique. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Si la comparaison des caractères atteint la fin d'une chaîne, mais que l'autre chaîne contient plus de caractères, elle utilisera alors la longueur comme facteur déterminant : ``1`` sera renvoyé si cette chaîne est plus longue que la chaîne ``to``, ou ``-1`` si elle est plus courte. Notez que la longueur des chaînes vides est toujours de ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`nocasecmp_to()`, :ref:`filecasecmp_to()`, and :ref:`naturalcasecmp_to()`. +Pour obtenir un résultat booléen :ref:`bool` d'une comparaison de chaînes, utilisez plutôt l'opérateur ``==``. Voir aussi :ref:`nocasecmp_to()`, :ref:`filecasecmp_to()`, et :ref:`naturalcasecmp_to()`. .. rst-class:: classref-item-separator @@ -951,9 +951,9 @@ Convertit la chaîne représentant un nombre hexadécimal en un entier :ref:`int :ref:`String` **humanize_size**\ (\ size\: :ref:`int`\ ) |static| :ref:`🔗` -Converts ``size`` which represents a number of bytes into a human-readable form. +Convertit ``size`` qui représente un certain nombre d'octets en une forme facilement lisible. -The result is in `IEC prefix format `__, which may end in either ``"B"``, ``"KiB"``, ``"MiB"``, ``"GiB"``, ``"TiB"``, ``"PiB"``, or ``"EiB"``. +Le résultat est au `format de préfixe CEI `__, qui peut se terminer soit ``"B"``, ``"KiB"``, ``"MiB"``, ``"GiB"``, ``"TiB"``, ``"PiB"``, ou ``"EiB"``. .. rst-class:: classref-item-separator @@ -1375,13 +1375,13 @@ Renvoie le `hachage MD5 `__ de la chaîne en :ref:`int` **naturalcasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-sensitive**, *natural order* comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. +Effectue une comparaison **sensible à la casse** *dans l'ordre naturel* avec une autre chaîne. Renvoie ``-1`` si elle est inférieure, ``1`` si elle est supérieure, ou ``0`` si elles sont égales. "Inférieur à" et "supérieur à" sont déterminés par `points de code Unicode `__ de chaque chaîne, qui correspond approximativement à l'ordre alphabétique. -When used for sorting, natural order comparison orders sequences of numbers by the combined value of each digit as is often expected, instead of the single digit's value. A sorted sequence of numbered strings will be ``["1", "2", "3", ...]``, not ``["1", "10", "2", "3", ...]``. +Lorsqu'elle est utilisée pour le tri, la comparaison dans l'ordre naturel ordonne des séquences de nombres par la valeur combinée de chaque chiffre comme s'y attend souvent, au lieu de la valeur du chiffre seul. Une séquence triée de chaînes de numéros sera ``["1, "2", "3", ...]``, et pas ``["1", "10", "2", "3", ...]``. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Si la comparaison des caractères atteint la fin d'une chaîne, mais que l'autre chaîne contient plus de caractères, elle utilisera alors la longueur comme facteur déterminant : ``1`` sera renvoyé si cette chaîne est plus longue que la chaîne ``to``, ou ``-1`` si elle est plus courte. Notez que la longueur des chaînes vides est toujours de ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`naturalnocasecmp_to()`, :ref:`filecasecmp_to()`, and :ref:`nocasecmp_to()`. +Pour obtenir un résultat booléen :ref:`bool` d'une comparaison de chaînes, utilisez plutôt l'opérateur ``==``. Voir aussi :ref:`naturalnocasecmp_to()`, :ref:`filecasecmp_to()`, et :ref:`nocasecmp_to()`. .. rst-class:: classref-item-separator @@ -1393,13 +1393,13 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **naturalnocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-insensitive**, *natural order* comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. Internally, lowercase characters are converted to uppercase for the comparison. +Effectue une comparaison **insensible à la casse** *dans l'ordre naturel* avec une autre chaîne. Renvoie ``-1`` si elle est inférieure, ``1`` si elle est supérieure, ou ``0`` si elles sont égales. "Inférieur à" et "supérieur à" sont déterminés par `points de code Unicode `__ de chaque chaîne, qui correspond approximativement à l'ordre alphabétique. En interne, les caractères minuscules sont convertis en majuscules pour la comparaison. -When used for sorting, natural order comparison orders sequences of numbers by the combined value of each digit as is often expected, instead of the single digit's value. A sorted sequence of numbered strings will be ``["1", "2", "3", ...]``, not ``["1", "10", "2", "3", ...]``. +Lorsqu'elle est utilisée pour le tri, la comparaison dans l'ordre naturel ordonne des séquences de nombres par la valeur combinée de chaque chiffre comme s'y attend souvent, au lieu de la valeur du chiffre seul. Une séquence triée de chaînes de numéros sera ``["1, "2", "3", ...]``, et pas ``["1", "10", "2", "3", ...]``. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Si la comparaison des caractères atteint la fin d'une chaîne, mais que l'autre chaîne contient plus de caractères, elle utilisera alors la longueur comme facteur déterminant : ``1`` sera renvoyé si cette chaîne est plus longue que la chaîne ``to``, ou ``-1`` si elle est plus courte. Notez que la longueur des chaînes vides est toujours de ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`naturalcasecmp_to()`, :ref:`filenocasecmp_to()`, and :ref:`casecmp_to()`. +Pour obtenir un résultat booléen :ref:`bool` d'une comparaison de chaînes, utilisez plutôt l'opérateur ``==``. Voir aussi :ref:`naturalcasecmp_to()`, :ref:`filenocasecmp_to()`, et :ref:`casecmp_to()`. .. rst-class:: classref-item-separator @@ -1411,11 +1411,11 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **nocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-insensitive** comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. Internally, lowercase characters are converted to uppercase for the comparison. +Effectue une comparaison **insensible à la casse** avec une autre chaîne. Renvoie ``-1`` si elle est inférieure, ``1`` si elle est supérieure, ou ``0`` si elles sont égales. "Inférieur à" et "supérieur à" sont déterminés par `points de code Unicode `__ de chaque chaîne, qui correspond approximativement à l'ordre alphabétique. En interne, les caractères minuscules sont convertis en majuscules pour la comparaison. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Si la comparaison des caractères atteint la fin d'une chaîne, mais que l'autre chaîne contient plus de caractères, elle utilisera alors la longueur comme facteur déterminant : ``1`` sera renvoyé si cette chaîne est plus longue que la chaîne ``to``, ou ``-1`` si elle est plus courte. Notez que la longueur des chaînes vides est toujours de ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`casecmp_to()`, :ref:`filenocasecmp_to()`, and :ref:`naturalnocasecmp_to()`. +Pour obtenir un résultat booléen :ref:`bool` d'une comparaison de chaînes, utilisez plutôt l'opérateur ``==``. Voir aussi :ref:`casecmp_to()`, :ref:`filenocasecmp_to()`, et :ref:`naturalnocasecmp_to()`. .. rst-class:: classref-item-separator @@ -1427,25 +1427,25 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`String` **num**\ (\ number\: :ref:`float`, decimals\: :ref:`int` = -1\ ) |static| :ref:`🔗` -Converts a :ref:`float` to a string representation of a decimal number, with the number of decimal places specified in ``decimals``. +Convertit un :ref:`float` en une représentation en chaîne d'un nombre décimal, avec le nombre de décimales spécifié dans ``decimals``. -If ``decimals`` is ``-1`` as by default, the string representation may only have up to 14 significant digits, with digits before the decimal point having priority over digits after. +Si ``decimals`` vaut ``-1`` comme par défaut, la représentation en chaîne peut avoir seulement jusqu'à 14 chiffres significatifs, avec les chiffres avant la virgule ayant priorité sur les chiffres après. -Trailing zeros are not included in the string. The last digit is rounded, not truncated. +Les zéros de fin ne sont pas inclus dans la chaîne. Le dernier chiffre est arrondi, pas tronqué. :: - String.num(3.141593) # Returns "3.141593" - String.num(3.141593, 3) # Returns "3.142" - String.num(3.14159300) # Returns "3.141593" + String.num(3.141593) # Renvoie "3.141593" + String.num(3.141593, 3) # Renvoie "3.142" + String.num(3.14159300) # Renvoie "3.141593" - # Here, the last digit will be rounded up, - # which reduces the total digit count, since trailing zeros are removed: - String.num(42.129999, 5) # Returns "42.13" + # Ici, le dernier chiffre sera arrondi, + # ce qui réduit le nombre total de chiffres, puisque les zéros de fin sont supprimés : + String.num(42.129999, 5) # Renvoie "42.13" - # If `decimals` is not specified, the maximum number of significant digits is 14: - String.num(-0.0000012345432123454321) # Returns "-0.00000123454321" - String.num(-10000.0000012345432123454321) # Returns "-10000.0000012345" + # Si `decimals` n est pas spécifié, le nombre maximal de chiffres significatifs est de 14 : + String.num(-0.0000012345432123454321) # Renvoie "-0.00000123454321" + String.num(-10000.0000012345432123454321) # Renvoie "-10000.0000012345" .. rst-class:: classref-item-separator @@ -1457,11 +1457,11 @@ Trailing zeros are not included in the string. The last digit is rounded, not tr :ref:`String` **num_int64**\ (\ number\: :ref:`int`, base\: :ref:`int` = 10, capitalize_hex\: :ref:`bool` = false\ ) |static| :ref:`🔗` -Converts the given ``number`` to a string representation, with the given ``base``. +Convertit le nombre ``number`` donné en une représentation en chaîne, avec la ``base`` donnée. -By default, ``base`` is set to decimal (``10``). Other common bases in programming include binary (``2``), `octal `__ (``8``), hexadecimal (``16``). +Par défaut, ``base`` est définie en décimal (``10``). D'autres bases communes en programmation sont par exemple le binaire (``2``), l'`octal `__ (``8``), et l'hexadécimal (``16``). -If ``capitalize_hex`` is ``true``, digits higher than 9 are represented in uppercase. +Si ``capitalize_hex`` vaut ``true``, les chiffres supérieurs à 9 sont représentés en majuscules. .. rst-class:: classref-item-separator @@ -1473,7 +1473,7 @@ If ``capitalize_hex`` is ``true``, digits higher than 9 are represented in upper :ref:`String` **num_scientific**\ (\ number\: :ref:`float`\ ) |static| :ref:`🔗` -Converts the given ``number`` to a string representation, in scientific notation. +Convertit le nombre ``number`` donné en une représentation en chaîne, en notation scientifique. .. tabs:: @@ -1481,20 +1481,20 @@ Converts the given ``number`` to a string representation, in scientific notation .. code-tab:: gdscript var n = -5.2e8 - print(n) # Prints -520000000 - print(String.num_scientific(n)) # Prints -5.2e+08 + print(n) # Affiche -520000000 + print(String.num_scientific(n)) # Affiche -5.2e+08 .. code-tab:: csharp - // This method is not implemented in C#. - // Use `string.ToString()` with "e" to achieve similar results. + // Cette méthode n'est pas implémentée en C#. + // Utilisez `string.ToString()` avec "e" pour obtenir un résultat similaire. var n = -5.2e8f; - GD.Print(n); // Prints -520000000 - GD.Print(n.ToString("e1")); // Prints -5.2e+008 + GD.Print(n); // Affiche -520000000 + GD.Print(n.ToString("e1")); // Affiche -5.2e+008 -\ **Note:** In C#, this method is not implemented. To achieve similar results, see C#'s `Standard numeric format strings `__. +\ **Note :** En C#, cette méthode n'est pas implémentée. Pour obtenir des résultats similaires, voir `Chaînes de format numérique standard `__ du C#. .. rst-class:: classref-item-separator @@ -1506,11 +1506,11 @@ Converts the given ``number`` to a string representation, in scientific notation :ref:`String` **num_uint64**\ (\ number\: :ref:`int`, base\: :ref:`int` = 10, capitalize_hex\: :ref:`bool` = false\ ) |static| :ref:`🔗` -Converts the given unsigned :ref:`int` to a string representation, with the given ``base``. +Convertit le :ref:`int` non signé donné en une représentation en chaîne, avec la ``base`` donnée. -By default, ``base`` is set to decimal (``10``). Other common bases in programming include binary (``2``), `octal `__ (``8``), hexadecimal (``16``). +Par défaut, ``base`` est définie en décimal (``10``). D'autres bases communes en programmation sont par exemple le binaire (``2``), l'`octal `__ (``8``), et l'hexadécimal (``16``). -If ``capitalize_hex`` is ``true``, digits higher than 9 are represented in uppercase. +Si ``capitalize_hex`` vaut ``true``, les chiffres supérieurs à 9 sont représentés en majuscules. .. rst-class:: classref-item-separator @@ -1608,7 +1608,7 @@ Remplace toutes les occurrences de la chaîne ``what`` dans la chaîne courante :ref:`String` **replace_char**\ (\ key\: :ref:`int`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces all occurrences of the Unicode character with code ``key`` with the Unicode character with code ``with``. Faster version of :ref:`replace()` when the key is only one character long. To get a single character use ``"X".unicode_at(0)`` (note that some strings, like compound letters and emoji, can be composed of multiple unicode codepoints, and will not work with this method, use :ref:`length()` to make sure). +Remplace toutes les occurrences du caractère Unicode avec le code ``key`` par le caractère Unicode avec le code ``with``. Version plus rapide de :ref:`replace()` lorsque la clé est composée seulement d'un caractère. Pour obtenir un seul caractère, utilisez ``"X".unicode_at(0)`` (notez que certaines chaînes, comme les lettres composés et les émojis, peuvent être composées de plusieurs codes unicode, et ne fonctionneront pas avec cette méthode, utilisez :ref:`length()` pour vous en assurer). .. rst-class:: classref-item-separator @@ -2191,9 +2191,9 @@ Supprime le suffixe ``suffix`` donné depuis la fin de la chaîne, ou renvoie la :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Renvoie le code du caractère à la position ``at``. -See also :ref:`chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Voir aussi :ref:`chr()`, :ref:`@GDScript.char()`, et :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -2330,7 +2330,7 @@ Descriptions des opérateurs :ref:`bool` **operator !=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if both strings do not contain the same sequence of characters. +Renvoie ``true`` si les deux chaînes ne contiennent pas la même séquence de caractères. .. rst-class:: classref-item-separator @@ -2342,7 +2342,7 @@ Returns ``true`` if both strings do not contain the same sequence of characters. :ref:`bool` **operator !=**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if this **String** is not equivalent to the given :ref:`StringName`. +Renvoie ``true`` si ce **String** n'est pas équivalent au :ref:`StringName` donné. .. rst-class:: classref-item-separator @@ -2354,20 +2354,20 @@ Returns ``true`` if this **String** is not equivalent to the given :ref:`StringN :ref:`String` **operator %**\ (\ right\: :ref:`Variant`\ ) :ref:`🔗` -Formats the **String**, replacing the placeholders with one or more parameters. To pass multiple parameters, ``right`` needs to be an :ref:`Array`. +Formate le **String**, en remplaçant les placeholders par un ou plusieurs paramètres. Pour passer plusieurs paramètres, ``right`` doit être un :ref:`Array`. :: - print("I caught %d fishes!" % 2) # Prints "I caught 2 fishes!" + print("J'ai attrapé %d poissons !" % 2) # Affiche "J'ai attrapé 2 poissons !" - var my_message = "Travelling to %s, at %2.2f km/h." - var location = "Deep Valley" + var my_message = "Voyage vers %s, à %2.2f km/h." + var location = "Vallée lointaine" var speed = 40.3485 - print(my_message % [location, speed]) # Prints "Travelling to Deep Valley, at 40.35 km/h." + print(my_message % [location, speed]) # Affiche "Voyage vers Vallée lointaine, à 40.35 km/h." -For more information, see the :doc:`GDScript format strings <../tutorials/scripting/gdscript/gdscript_format_string>` tutorial. +Pour plus d'informations, consultez le tutoriel :doc:`Chaînes de format en GDScript <../tutorials/scripting/gdscript/gdscript_format_string>`. -\ **Note:** In C#, this operator is not available. Instead, see `how to interpolate strings with "$" `__. +\ **Note :** En C#, cet opérateur n'est pas disponible. À la place, voir `Comment interpoler des chaînes avec "$" `__. .. rst-class:: classref-item-separator @@ -2379,7 +2379,7 @@ For more information, see the :doc:`GDScript format strings <../tutorials/script :ref:`String` **operator +**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Appends ``right`` at the end of this **String**, also known as a string concatenation. +Ajoute ``right`` à la fin de cet **String**, également appelé concaténation de chaînes. .. rst-class:: classref-item-separator @@ -2391,7 +2391,7 @@ Appends ``right`` at the end of this **String**, also known as a string concaten :ref:`String` **operator +**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Appends ``right`` at the end of this **String**, returning a **String**. This is also known as a string concatenation. +Ajoute ``right`` à la fin de ce **String**, en renvoyant un **String**. Ceci est également appelé une concaténation de chaînes. .. rst-class:: classref-item-separator @@ -2403,7 +2403,7 @@ Appends ``right`` at the end of this **String**, returning a **String**. This is :ref:`bool` **operator <**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes before ``right`` in `Unicode order `__, which roughly matches the alphabetical order. Useful for sorting. +Renvoie ``true`` si la **String** de gauche arrive avant ``right`` dans l'`ordre Unicode `__, qui correspond à peu près à l'ordre alphabétique. Utile pour le tri. .. rst-class:: classref-item-separator @@ -2415,7 +2415,7 @@ Returns ``true`` if the left **String** comes before ``right`` in `Unicode order :ref:`bool` **operator <=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes before ``right`` in `Unicode order `__, which roughly matches the alphabetical order, or if both are equal. +Renvoie ``true`` si la **String** de gauche arrive avant ``right`` dans l'`ordre Unicode `__, qui correspond à peu près à l'ordre alphabétique, ou si les deux sont égales. .. rst-class:: classref-item-separator @@ -2427,7 +2427,7 @@ Returns ``true`` if the left **String** comes before ``right`` in `Unicode order :ref:`bool` **operator ==**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if both strings contain the same sequence of characters. +Renvoie ``true`` si les deux chaînes contiennent la même séquence de caractères. .. rst-class:: classref-item-separator @@ -2439,7 +2439,7 @@ Returns ``true`` if both strings contain the same sequence of characters. :ref:`bool` **operator ==**\ (\ right\: :ref:`StringName`\ ) :ref:`🔗` -Returns ``true`` if this **String** is equivalent to the given :ref:`StringName`. +Renvoie ``true`` si cette **String** est équivalente au :ref:`StringName` donné. .. rst-class:: classref-item-separator @@ -2451,7 +2451,7 @@ Returns ``true`` if this **String** is equivalent to the given :ref:`StringName< :ref:`bool` **operator >**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes after ``right`` in `Unicode order `__, which roughly matches the alphabetical order. Useful for sorting. +Renvoie ``true`` si la **String** de gauche arrive après ``right`` dans l'`ordre Unicode `__, qui correspond à peu près à l'ordre alphabétique. Utile pour le tri. .. rst-class:: classref-item-separator @@ -2463,7 +2463,7 @@ Returns ``true`` if the left **String** comes after ``right`` in `Unicode order :ref:`bool` **operator >=**\ (\ right\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the left **String** comes after ``right`` in `Unicode order `__, which roughly matches the alphabetical order, or if both are equal. +Renvoie ``true`` si la **String** de gauche arrive après ``right`` dans l'`ordre Unicode `__, qui correspond à peu près à l'ordre alphabétique, ou si les deux sont égales. .. rst-class:: classref-item-separator @@ -2475,7 +2475,7 @@ Returns ``true`` if the left **String** comes after ``right`` in `Unicode order :ref:`String` **operator []**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Returns a new **String** that only contains the character at ``index``. Indices start from ``0``. If ``index`` is greater or equal to ``0``, the character is fetched starting from the beginning of the string. If ``index`` is a negative value, it is fetched starting from the end. Accessing a string out-of-bounds will cause a run-time error, pausing the project execution if run from the editor. +Renvoie une nouvelle **String** qui ne contient que le caractère à ``index``. Les indices commencent de ``0``. Si ``index`` est supérieur ou égal à ``0``, le caractère est récupéré à partir du début de la chaîne. Si ``index`` est une valeur négative, il est récupéré à partir de la fin. L'accès à une chaîne hors de ses limites causera une erreur d'exécution, mettant en pause l'exécution du projet s'il est exécuté depuis l'éditeur. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_stringname.rst b/classes/fr/class_stringname.rst index 7d83e6d2c9..8f429deb1c 100644 --- a/classes/fr/class_stringname.rst +++ b/classes/fr/class_stringname.rst @@ -1451,7 +1451,7 @@ Remplace toutes les occurrences de la chaîne ``what`` dans la chaîne courante :ref:`String` **replace_char**\ (\ key\: :ref:`int`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces all occurrences of the Unicode character with code ``key`` with the Unicode character with code ``with``. Faster version of :ref:`replace()` when the key is only one character long. To get a single character use ``"X".unicode_at(0)`` (note that some strings, like compound letters and emoji, can be composed of multiple unicode codepoints, and will not work with this method, use :ref:`length()` to make sure). +Remplace toutes les occurrences du caractère Unicode avec le code ``key`` par le caractère Unicode avec le code ``with``. Version plus rapide de :ref:`replace()` lorsque la clé est composée seulement d'un caractère. Pour obtenir un seul caractère, utilisez ``"X".unicode_at(0)`` (notez que certaines chaînes, comme les lettres composés et les émojis, peuvent être composées de plusieurs codes unicode, et ne fonctionneront pas avec cette méthode, utilisez :ref:`length()` pour vous en assurer). .. rst-class:: classref-item-separator @@ -2034,9 +2034,9 @@ Supprime le suffixe ``suffix`` donné depuis la fin de la chaîne, ou renvoie la :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Renvoie le code du caractère à la position ``at``. -See also :ref:`String.chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Voir aussi :ref:`String.chr()`, :ref:`@GDScript.char()`, et :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_subviewport.rst b/classes/fr/class_subviewport.rst index 7e31b3c510..fe22de4daf 100644 --- a/classes/fr/class_subviewport.rst +++ b/classes/fr/class_subviewport.rst @@ -7,18 +7,18 @@ SubViewport **Hérite de :** :ref:`Viewport` **<** :ref:`Node` **<** :ref:`Object` -An interface to a game world that doesn't create a window or draw to the screen directly. +Une interface vers un monde de jeu qui ne crée pas de fenêtre ou ne dessine pas directement à l'écran. .. rst-class:: classref-introduction-group Description ----------- -**SubViewport** Isolates a rectangular region of a scene to be displayed independently. This can be used, for example, to display UI in 3D space. +**SubViewport** isole une région rectangulaire d'une scène à afficher indépendamment. Cela peut être utilisé, par exemple, pour afficher l'interface utilisateur dans l'espace 3D. -\ **Note:** **SubViewport** is a :ref:`Viewport` that isn't a :ref:`Window`, i.e. it doesn't draw anything by itself. To display anything, **SubViewport** must have a non-zero size and be either put inside a :ref:`SubViewportContainer` or assigned to a :ref:`ViewportTexture`. +\ **Note :** **SubViewport** est un :ref:`Viewport` qui n'est pas une :ref:`Window`, c'est-à-dire qu'il ne dessine rien par lui-même. Pour afficher quoi que ce soit, **SubViewport** doit avoir une taille non nulle et être placé à l'intérieur d'un :ref:`SubViewportContainer` ou assigné à une :ref:`ViewportTexture`. -\ **Note:** :ref:`InputEvent`\ s are not passed to a standalone **SubViewport** by default. To ensure :ref:`InputEvent` propagation, a **SubViewport** can be placed inside of a :ref:`SubViewportContainer`. +\ **Note :** Les :ref:`InputEvent` ne sont pas transmis à un **SubViewport** autonome par défaut. Pour assurer la propagation des :ref:`InputEvent`, un **SubViewport** peut être placé à l'intérieur d'un :ref:`SubViewportContainer`. .. rst-class:: classref-introduction-group @@ -39,7 +39,7 @@ Tutoriels - `Démo de l'écran partagé dynamique `__ -- `3D Resolution Scaling Demo `__ +- `Démo de redimensionnement de la résolution 3D `__ .. rst-class:: classref-reftable-group @@ -98,7 +98,7 @@ Ne jamais nettoyer la cible de rendu. :ref:`ClearMode` **CLEAR_MODE_ONCE** = ``2`` -Clear the render target on the next frame, then switch to :ref:`CLEAR_MODE_NEVER`. +Vider la cible de rendu pour la trame suivante, puis passer en :ref:`CLEAR_MODE_NEVER`. .. rst-class:: classref-item-separator @@ -124,7 +124,7 @@ Ne pas mettre à jour la cible de rendu. :ref:`UpdateMode` **UPDATE_ONCE** = ``1`` -Met à jour la cible de rendu une seule fois, puis passe en mode :ref:`UPDATE_DISABLED`. +Mettre à jour la cible de rendu une seule fois, puis passer en mode :ref:`UPDATE_DISABLED`. .. _class_SubViewport_constant_UPDATE_WHEN_VISIBLE: @@ -132,7 +132,7 @@ Met à jour la cible de rendu une seule fois, puis passe en mode :ref:`UPDATE_DI :ref:`UpdateMode` **UPDATE_WHEN_VISIBLE** = ``2`` -Met à jour la cible de rendu seulement quand elle est visible. C'est la valeur par défaut. +Mettre à jour la cible de rendu seulement quand elle est visible. Il s'agit de la valeur par défaut. .. _class_SubViewport_constant_UPDATE_WHEN_PARENT_VISIBLE: @@ -140,7 +140,7 @@ Met à jour la cible de rendu seulement quand elle est visible. C'est la valeur :ref:`UpdateMode` **UPDATE_WHEN_PARENT_VISIBLE** = ``3`` -Update the render target only when its parent is visible. +Mettre à jour la cible de rendu seulement quand son parent est visible. .. _class_SubViewport_constant_UPDATE_ALWAYS: @@ -148,7 +148,7 @@ Update the render target only when its parent is visible. :ref:`UpdateMode` **UPDATE_ALWAYS** = ``4`` -Met toujours à jour la cible de rendu. +Mettre toujours à jour la cible de rendu. .. rst-class:: classref-section-separator @@ -170,9 +170,9 @@ Descriptions des propriétés - |void| **set_clear_mode**\ (\ value\: :ref:`ClearMode`\ ) - :ref:`ClearMode` **get_clear_mode**\ (\ ) -The clear mode when the sub-viewport is used as a render target. +Le mode de nettoyage quand le sub-viewport est utilisé comme cible de rendu. -\ **Note:** This property is intended for 2D usage. +\ **Note :** Cette propriété est destinée à une utilisation 2D. .. rst-class:: classref-item-separator @@ -189,7 +189,7 @@ The clear mode when the sub-viewport is used as a render target. - |void| **set_update_mode**\ (\ value\: :ref:`UpdateMode`\ ) - :ref:`UpdateMode` **get_update_mode**\ (\ ) -The update mode when the sub-viewport is used as a render target. +Le mode de mise à jour lorsque le sub-viewport est utilisé comme cible de rendu. .. rst-class:: classref-item-separator @@ -206,9 +206,9 @@ The update mode when the sub-viewport is used as a render target. - |void| **set_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_size**\ (\ ) -The width and height of the sub-viewport. Must be set to a value greater than or equal to 2 pixels on both dimensions. Otherwise, nothing will be displayed. +La largeur et la hauteur du sub-viewport. Doit être défini à une valeur supérieure ou égale à 2 pixels dans les deux dimensions. Sinon, rien ne sera affiché. -\ **Note:** If the parent node is a :ref:`SubViewportContainer` and its :ref:`SubViewportContainer.stretch` is ``true``, the viewport size cannot be changed manually. +\ **Note :** Si le nœud parent est un :ref:`SubViewportContainer` et son :ref:`SubViewportContainer.stretch` vaut ``true``, la taille du viewport ne peut pas être modifiée manuellement. .. rst-class:: classref-item-separator @@ -225,7 +225,7 @@ The width and height of the sub-viewport. Must be set to a value greater than or - |void| **set_size_2d_override**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_size_2d_override**\ (\ ) -The 2D size override of the sub-viewport. If either the width or height is ``0``, the override is disabled. +La redéfinition de la taille 2D du sub-viewport. Si la largeur ou la hauteur vaut ``0``, la redéfinition est désactivée. .. rst-class:: classref-item-separator @@ -242,7 +242,7 @@ The 2D size override of the sub-viewport. If either the width or height is ``0`` - |void| **set_size_2d_override_stretch**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_size_2d_override_stretch_enabled**\ (\ ) -If ``true``, the 2D size override affects stretch as well. +Si ``true``, la redéfinition de la taille 2D affecte également l'étirement. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_subviewportcontainer.rst b/classes/fr/class_subviewportcontainer.rst index 884c7198ce..9275acfa79 100644 --- a/classes/fr/class_subviewportcontainer.rst +++ b/classes/fr/class_subviewportcontainer.rst @@ -14,11 +14,11 @@ Un conteneur utilisé pour afficher le contenu d'un :ref:`SubViewport` child nodes. It uses the combined size of the :ref:`SubViewport`\ s as minimum size, unless :ref:`stretch` is enabled. +Un conteneur qui affiche le contenu des nœuds enfants :ref:`SubViewport` sous-jacents. Il utilise la taille combinée des :ref:`SubViewport` comme taille minimale, à moins que :ref:`stretch` ne soit activé. -\ **Note:** Changing a **SubViewportContainer**'s :ref:`Control.scale` will cause its contents to appear distorted. To change its visual size without causing distortion, adjust the node's margins instead (if it's not already in a container). +\ **Note :** Modifier l'échelle :ref:`Control.scale` d'un **SubViewportContainer** fera apparaître son contenu comme déformé. Pour changer sa taille visuelle sans causer de déformation, ajustez les marges du nœud à la place (s'il n'est pas déjà dans un conteneur). -\ **Note:** The **SubViewportContainer** forwards mouse-enter and mouse-exit notifications to its sub-viewports. +\ **Note :** Le **SubViewportContainer** transmet les notifications d'entrée et de sortie de la souris à ses sub-viewports. .. rst-class:: classref-reftable-group @@ -70,11 +70,11 @@ Descriptions des propriétés - |void| **set_mouse_target**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_mouse_target_enabled**\ (\ ) -Configure, if either the **SubViewportContainer** or alternatively the :ref:`Control` nodes of its :ref:`SubViewport` children should be available as targets of mouse-related functionalities, like identifying the drop target in drag-and-drop operations or cursor shape of hovered :ref:`Control` node. +Configure, si soit le **SubViewportContainer** ou soit les nœuds :ref:`Control` de ses enfants :ref:`SubViewport` devraient être disponibles comme cibles de fonctionnalités liées à la souris, comme l'identification de la cible du dépôt dans les opérations de glisser-déposer ou la forme de curseur du nœud :ref:`Control` survolé. -If ``false``, the :ref:`Control` nodes inside its :ref:`SubViewport` children are considered as targets. +Si ``false``, les nœuds :ref:`Control` à l'intérieur de ses enfants :ref:`SubViewport` sont considérés comme des cibles. -If ``true``, the **SubViewportContainer** itself will be considered as a target. +Si ``true``, le **SubViewportContainer** lui-même sera considéré comme une cible. .. rst-class:: classref-item-separator @@ -91,9 +91,9 @@ If ``true``, the **SubViewportContainer** itself will be considered as a target. - |void| **set_stretch**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_stretch_enabled**\ (\ ) -If ``true``, the sub-viewport will be automatically resized to the control's size. +Si ``true``, le sub-viewport sera automatiquement redimensionné à la taille du contrôle. -\ **Note:** If ``true``, this will prohibit changing :ref:`SubViewport.size` of its children manually. +\ **Note :** Si ``true``, cela interdira de changer le :ref:`SubViewport.size` de ses enfants manuellement. .. rst-class:: classref-item-separator @@ -110,11 +110,11 @@ If ``true``, the sub-viewport will be automatically resized to the control's siz - |void| **set_stretch_shrink**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_stretch_shrink**\ (\ ) -Divides the sub-viewport's effective resolution by this value while preserving its scale. This can be used to speed up rendering. +Divise la résolution effective du sub-viewport par cette valeur tout en préservant son échelle. Cela peut être utilisé pour accélérer le rendu. -For example, a 1280×720 sub-viewport with :ref:`stretch_shrink` set to ``2`` will be rendered at 640×360 while occupying the same size in the container. +Par exemple, un sub-viewport de 1280×720 avec :ref:`stretch_shrink` défini à ``2`` sera rendu à 640×360 tout en occupant la même taille dans le conteneur. -\ **Note:** :ref:`stretch` must be ``true`` for this property to work. +\ **Note :** :ref:`stretch` doit valoir ``true`` pour que cette propriété fonctionne. .. rst-class:: classref-section-separator @@ -133,7 +133,7 @@ Descriptions des méthodes **Expérimental :** Cette méthode peut être changée ou retirée dans de futures versions. -Virtual method to be implemented by the user. If it returns ``true``, the ``event`` is propagated to :ref:`SubViewport` children. Propagation doesn't happen if it returns ``false``. If the function is not implemented, all events are propagated to SubViewports. +Méthode virtuelle à implémenter par l'utilisateur. Si elle renvoie ``true``, l'événement ``event`` est propagé aux enfants :ref:`SubViewport`. La propagation n'arrive pas si elle renvoie ``false``. Si la fonction n'est pas implémentée, tous les événements sont propagés aux SubViewports. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_tabbar.rst b/classes/fr/class_tabbar.rst index 4cef949429..64d985a2d8 100644 --- a/classes/fr/class_tabbar.rst +++ b/classes/fr/class_tabbar.rst @@ -7,14 +7,14 @@ TabBar **Hérite de :** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A control that provides a horizontal bar with tabs. +Un contrôle qui fournit une barre horizontale avec des onglets. .. rst-class:: classref-introduction-group Description ----------- -A control that provides a horizontal bar with tabs. Similar to :ref:`TabContainer` but is only in charge of drawing tabs, not interacting with children. +Un contrôle qui fournit une barre horizontale avec des onglets. Semblable à :ref:`TabContainer` mais est seulement chargé de dessiner les onglets, pas d'interagir avec les enfants. .. rst-class:: classref-reftable-group @@ -251,9 +251,9 @@ Signaux **tab_close_pressed**\ (\ tab\: :ref:`int`\ ) :ref:`🔗` -Emitted when a tab's close button is pressed or when middle-clicking on a tab, if :ref:`close_with_middle_mouse` is enabled. +Émis lorsque le bouton de fermeture d'un onglet est appuyé ou lors du clic du milieu sur un onglet, si :ref:`close_with_middle_mouse` est activé. -\ **Note:** Tabs are not removed automatically once the close button is pressed, this behavior needs to be programmed manually. For example: +\ **Note :** Les onglets ne sont pas supprimés automatiquement une fois le bouton de fermeture appuyé, ce comportement doit être programmé manuellement. Par exemple : .. tabs:: @@ -290,7 +290,7 @@ Emitted when a tab's close button is pressed or when middle-clicking on a tab, i **tab_rmb_clicked**\ (\ tab\: :ref:`int`\ ) :ref:`🔗` -Emitted when a tab is right-clicked. :ref:`select_with_rmb` must be enabled. +Émis lorsqu'un clic droit est fait sur un onglet. :ref:`select_with_rmb` doit être activé. .. rst-class:: classref-item-separator @@ -302,7 +302,7 @@ Emitted when a tab is right-clicked. :ref:`select_with_rmb`\ ) :ref:`🔗` -Emitted when a tab is selected via click, directional input, or script, even if it is the current tab. +Émis lorsqu'un onglet est sélectionné par un clic, une entrée directionnelle ou un script, même s'il s'agit de l'onglet actuel. .. rst-class:: classref-section-separator @@ -413,7 +413,7 @@ Descriptions des propriétés - |void| **set_clip_tabs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_clip_tabs**\ (\ ) -If ``true``, tabs overflowing this node's width will be hidden, displaying two navigation buttons instead. Otherwise, this node's minimum size is updated so that all tabs are visible. +Si ``true``, les onglets débordant de la largeur de ce nœud seront cachés, affichant deux boutons de navigation à la place. Sinon, la taille minimale de ce nœud est mise à jour de sorte que tous les onglets soient visibles. .. rst-class:: classref-item-separator @@ -430,7 +430,7 @@ If ``true``, tabs overflowing this node's width will be hidden, displaying two n - |void| **set_close_with_middle_mouse**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_close_with_middle_mouse**\ (\ ) -If ``true``, middle clicking on the mouse will fire the :ref:`tab_close_pressed` signal. +Si ``true``, un clic du milieu de la souris émettra le signal :ref:`tab_close_pressed`. .. rst-class:: classref-item-separator @@ -447,7 +447,7 @@ If ``true``, middle clicking on the mouse will fire the :ref:`tab_close_pressed< - |void| **set_current_tab**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_current_tab**\ (\ ) -The index of the current selected tab. A value of ``-1`` means that no tab is selected and can only be set when :ref:`deselect_enabled` is ``true`` or if all tabs are hidden or disabled. +L'index de l'onglet sélectionné actuel. Une valeur de ``-1`` signifie qu'aucun onglet n'est sélectionné et ne peut être défini que lorsque :ref:`deselect_enabled` vaut ``true`` ou si tous les onglets sont cachés ou désactivés. .. rst-class:: classref-item-separator @@ -464,7 +464,7 @@ The index of the current selected tab. A value of ``-1`` means that no tab is se - |void| **set_deselect_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_deselect_enabled**\ (\ ) -If ``true``, all tabs can be deselected so that no tab is selected. Click on the current tab to deselect it. +Si ``true``, tous les onglets peuvent être désélectionnés de sorte qu'aucun onglet ne soit sélectionné. Cliquez sur l'onglet actuel pour le désélectionner. .. rst-class:: classref-item-separator @@ -498,7 +498,7 @@ Si ``true``, les onglets peuvent être réarrangés avec par déposé-glissé. - |void| **set_max_tab_width**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_tab_width**\ (\ ) -Sets the maximum width which all tabs should be limited to. Unlimited if set to ``0``. +Définit la largeur maximale à laquelle tous les onglets devraient être limités. Illimités si défini à ``0``. .. rst-class:: classref-item-separator @@ -515,7 +515,7 @@ Sets the maximum width which all tabs should be limited to. Unlimited if set to - |void| **set_scroll_to_selected**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_scroll_to_selected**\ (\ ) -If ``true``, the tab offset will be changed to keep the currently selected tab visible. +Si ``true``, le décalage de l'onglet sera modifié pour garder l'onglet actuellement sélectionné visible. .. rst-class:: classref-item-separator @@ -566,7 +566,7 @@ Si ``true``, active la possibilité de sélectionner les onglets avec le clic dr - |void| **set_tab_alignment**\ (\ value\: :ref:`AlignmentMode`\ ) - :ref:`AlignmentMode` **get_tab_alignment**\ (\ ) -The position at which tabs will be placed. +La position à laquelle les onglets seront placés. .. rst-class:: classref-item-separator @@ -583,7 +583,7 @@ The position at which tabs will be placed. - |void| **set_tab_close_display_policy**\ (\ value\: :ref:`CloseButtonDisplayPolicy`\ ) - :ref:`CloseButtonDisplayPolicy` **get_tab_close_display_policy**\ (\ ) -When the close button will appear on the tabs. +Quand est-ce que le bouton de fermeture apparaîtra sur les onglets. .. rst-class:: classref-item-separator @@ -617,9 +617,9 @@ Le nombre d'onglets actuellement dans la barre. - |void| **set_tabs_rearrange_group**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_tabs_rearrange_group**\ (\ ) -**TabBar**\ s with the same rearrange group ID will allow dragging the tabs between them. Enable drag with :ref:`drag_to_rearrange_enabled`. +Des **TabBar**\ s avec le même ID de groupe de réorganisation permettront de glisser les onglets entre eux. Activez le glissement avec :ref:`drag_to_rearrange_enabled`. -Setting this to ``-1`` will disable rearranging between **TabBar**\ s. +Définir ceci à ``-1`` désactivera la réorganisation entre les **TabBar**\ s. .. rst-class:: classref-section-separator @@ -696,7 +696,7 @@ Renvoie l'index de l'onglet précédemment actif. :ref:`Texture2D` **get_tab_button_icon**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the icon for the right button of the tab at index ``tab_idx`` or ``null`` if the right button has no icon. +Renvoie l'icône pour le bouton droit de l'onglet à l'index ``tab_idx`` ou ``null`` si le bouton droit n'a pas d'icône. .. rst-class:: classref-item-separator @@ -708,7 +708,7 @@ Returns the icon for the right button of the tab at index ``tab_idx`` or ``null` :ref:`Texture2D` **get_tab_icon**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the icon for the tab at index ``tab_idx`` or ``null`` if the tab has no icon. +Renvoie l'icône pour l'onglet à l'index ``tab_idx`` ou ``null`` si l'onglet n'a pas d'icône. .. rst-class:: classref-item-separator @@ -720,7 +720,7 @@ Returns the icon for the tab at index ``tab_idx`` or ``null`` if the tab has no :ref:`int` **get_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the maximum allowed width of the icon for the tab at index ``tab_idx``. +Renvoie la largeur maximale autorisée de l'icône pour l'onglet à l'index ``tab_idx``. .. rst-class:: classref-item-separator @@ -744,7 +744,7 @@ Renvoie l'index de l'onglet aux coordonnées locales ``point``. Renvoie ``-1`` s :ref:`String` **get_tab_language**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns tab title language code. +Renvoie le code de langue de l'onglet. .. rst-class:: classref-item-separator @@ -756,7 +756,7 @@ Returns tab title language code. :ref:`Variant` **get_tab_metadata**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the metadata value set to the tab at index ``tab_idx`` using :ref:`set_tab_metadata()`. If no metadata was previously set, returns ``null`` by default. +Renvoie la valeur des métadonnées définies dans l'onglet à l'index ``tab_idx`` en utilisant :ref:`set_tab_metadata()`. Si aucune métadonnée n'a été précédemment définie, renvoie ``null`` par défaut. .. rst-class:: classref-item-separator @@ -792,7 +792,7 @@ Renvoie l'onglet :ref:`Rect2` avec la position et la taille locales :ref:`TextDirection` **get_tab_text_direction**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns tab title text base writing direction. +Renvoie la direction d'écriture de base du texte du titre de l'onglet. .. rst-class:: classref-item-separator @@ -804,7 +804,7 @@ Returns tab title text base writing direction. :ref:`String` **get_tab_title**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the title of the tab at index ``tab_idx``. +Renvoie le titre de l'onglet à l'index ``tab_idx``. .. rst-class:: classref-item-separator @@ -924,7 +924,7 @@ Si ``disabled`` est ``true``, désactive l'onglet à l'index ``tab_idx``, le ren |void| **set_tab_hidden**\ (\ tab_idx\: :ref:`int`, hidden\: :ref:`bool`\ ) :ref:`🔗` -If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappear from the tab area. +Si ``hidden`` vaut ``true``, cache l'onglet à l'index ``tab_idx``, le faisait disparaître de la zone des onglets. .. rst-class:: classref-item-separator @@ -936,7 +936,7 @@ If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappe |void| **set_tab_icon**\ (\ tab_idx\: :ref:`int`, icon\: :ref:`Texture2D`\ ) :ref:`🔗` -Sets an ``icon`` for the tab at index ``tab_idx``. +Définit une icône ``icon`` pour l'onglet à l'index ``tab_idx``. .. rst-class:: classref-item-separator @@ -948,7 +948,7 @@ Sets an ``icon`` for the tab at index ``tab_idx``. |void| **set_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`, width\: :ref:`int`\ ) :ref:`🔗` -Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. This limit is applied on top of the default size of the icon and on top of :ref:`icon_max_width`. The height is adjusted according to the icon's ratio. +Définit la largeur maximale autorisée de l'icône pour l'onglet à l'index ``tab_idx``. Cette limite est appliquée en plus de la taille par défaut de l'icône et en plus de :ref:`icon_max_width`. La hauteur est ajustée selon le ratio de l'icône. .. rst-class:: classref-item-separator @@ -960,7 +960,7 @@ Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. Thi |void| **set_tab_language**\ (\ tab_idx\: :ref:`int`, language\: :ref:`String`\ ) :ref:`🔗` -Sets language code of tab title used for line-breaking and text shaping algorithms, if left empty current locale is used instead. +Définit le code de langue du titre de l'onglet utilisé pour les algorithmes de retour à la ligne et de façonnage de texte. Si vide, la langue courante est utilisée à la place. .. rst-class:: classref-item-separator @@ -972,7 +972,7 @@ Sets language code of tab title used for line-breaking and text shaping algorith |void| **set_tab_metadata**\ (\ tab_idx\: :ref:`int`, metadata\: :ref:`Variant`\ ) :ref:`🔗` -Sets the metadata value for the tab at index ``tab_idx``, which can be retrieved later using :ref:`get_tab_metadata()`. +Définit la valeur des métadonnées pour l'onglet à l'index ``tab_idx``, qui peuvent être récupérées plus tard en utilisant :ref:`get_tab_metadata()`. .. rst-class:: classref-item-separator @@ -984,7 +984,7 @@ Sets the metadata value for the tab at index ``tab_idx``, which can be retrieved |void| **set_tab_text_direction**\ (\ tab_idx\: :ref:`int`, direction\: :ref:`TextDirection`\ ) :ref:`🔗` -Sets tab title base writing direction. +Définit la direction d'écriture de base du titre de l'onglet. .. rst-class:: classref-item-separator @@ -996,7 +996,7 @@ Sets tab title base writing direction. |void| **set_tab_title**\ (\ tab_idx\: :ref:`int`, title\: :ref:`String`\ ) :ref:`🔗` -Sets a ``title`` for the tab at index ``tab_idx``. +Définit un titre ``title`` pour l'onglet à l'index ``tab_idx``. .. rst-class:: classref-item-separator @@ -1008,9 +1008,9 @@ Sets a ``title`` for the tab at index ``tab_idx``. |void| **set_tab_tooltip**\ (\ tab_idx\: :ref:`int`, tooltip\: :ref:`String`\ ) :ref:`🔗` -Sets a ``tooltip`` for tab at index ``tab_idx``. +Définit une info-bulle ``tooltip`` pour l'onglet à l'index ``tab_idx``. -\ **Note:** By default, if the ``tooltip`` is empty and the tab text is truncated (not all characters fit into the tab), the title will be displayed as a tooltip. To hide the tooltip, assign ``" "`` as the ``tooltip`` text. +\ **Note :** Par défaut, si l'info-bulle ``tooltip`` est vide et que le texte de l'onglet est tronqué (les caractères ne rentrent pas tous dans l'onglet), le titre sera affiché en tant qu'info-bulle. Pour cacher l'info-bulle, assignez ``" "`` comme texte de ``tooltip``. .. rst-class:: classref-section-separator @@ -1051,7 +1051,7 @@ La couleur de la police pour les onglets désactivés. :ref:`Color` **font_hovered_color** = ``Color(0.95, 0.95, 0.95, 1)`` :ref:`🔗` -Font color of the currently hovered tab. Does not apply to the selected tab. +Couleur de la police de l'onglet actuellement survolé. Ne s'applique pas à l'onglet sélectionné. .. rst-class:: classref-item-separator @@ -1063,7 +1063,7 @@ Font color of the currently hovered tab. Does not apply to the selected tab. :ref:`Color` **font_outline_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗` -The tint of text outline of the tab name. +La teinte du contour du texte du nom de l'onglet. .. rst-class:: classref-item-separator @@ -1099,7 +1099,7 @@ Couleur de police pour les autres onglets, non sélectionnés. :ref:`int` **h_separation** = ``4`` :ref:`🔗` -The horizontal separation between the elements inside tabs. +La séparation horizontale entre les éléments dans les onglets. .. rst-class:: classref-item-separator @@ -1111,7 +1111,7 @@ The horizontal separation between the elements inside tabs. :ref:`int` **icon_max_width** = ``0`` :ref:`🔗` -The maximum allowed width of the tab's icon. This limit is applied on top of the default size of the icon, but before the value set with :ref:`set_tab_icon_max_width()`. The height is adjusted according to the icon's ratio. +La largeur maximale autorisée de l'icône de l'onglet. Cette limite est appliquée en plus de la taille par défaut de l'icône, mais avant la valeur définie avec :ref:`set_tab_icon_max_width()`. La hauteur est ajustée selon le ratio de l'icône. .. rst-class:: classref-item-separator @@ -1123,9 +1123,9 @@ The maximum allowed width of the tab's icon. This limit is applied on top of the :ref:`int` **outline_size** = ``0`` :ref:`🔗` -The size of the tab text outline. +La taille du contour du texte de l'onglet. -\ **Note:** If using a font with :ref:`FontFile.multichannel_signed_distance_field` enabled, its :ref:`FontFile.msdf_pixel_range` must be set to at least *twice* the value of :ref:`outline_size` for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended. +\ **Note :** Lors de l'utilisation d'une police avec :ref:`FontFile.multichannel_signed_distance_field` activé, son :ref:`FontFile.msdf_pixel_range` doit être défini à au moins *deux fois* la valeur de :ref:`outline_size` pour que le rendu puisse être correct. Sinon, le contour peut sembler être coupé plus tôt que prévu. .. rst-class:: classref-item-separator @@ -1137,7 +1137,7 @@ The size of the tab text outline. :ref:`int` **tab_separation** = ``0`` :ref:`🔗` -The space between tabs in the tab bar. +L'espace entre les onglets dans la barre d'onglets. .. rst-class:: classref-item-separator @@ -1245,7 +1245,7 @@ L'icône pour le bouton flèche de droite qui apparaît quand il y a trop d'ongl :ref:`StyleBox` **button_highlight** :ref:`🔗` -Background of the tab and close buttons when they're being hovered with the cursor. +Arrière-plan de l'onglet et des boutons de fermeture quand ils sont survolés avec le curseur. .. rst-class:: classref-item-separator @@ -1257,7 +1257,7 @@ Background of the tab and close buttons when they're being hovered with the curs :ref:`StyleBox` **button_pressed** :ref:`🔗` -Background of the tab and close buttons when it's being pressed. +Arrière-plan de l'onglet et des boutons de fermeture quand ils sont appuyés. .. rst-class:: classref-item-separator @@ -1281,7 +1281,7 @@ Le style des onglets désactivés. :ref:`StyleBox` **tab_focus** :ref:`🔗` -:ref:`StyleBox` used when the **TabBar** is focused. The :ref:`tab_focus` :ref:`StyleBox` is displayed *over* the base :ref:`StyleBox` of the selected tab, so a partially transparent :ref:`StyleBox` should be used to ensure the base :ref:`StyleBox` remains visible. A :ref:`StyleBox` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons. +:ref:`StyleBox` utilisé lorsque le **TabBar** a le focus. La :ref:`StyleBox` :ref:`tab_focus` est affichée *par-dessus* la :ref:`StyleBox` de base de l'onglet sélectionné, ainsi une :ref:`StyleBox` partiellement transparente devrait être utilisée pour s'assurer que la :ref:`StyleBox` de base reste visible. Une :ref:`StyleBox` qui représente un contour ou un soulignement fonctionne bien à cette fin. Pour désactiver l'effet visuel du focus, assignez une ressource :ref:`StyleBoxEmpty`. Notez que la désactivation de l'effet visuel du focus va nuire à l'utilisabilité de la navigation clavier/contrôleur, ce qui n'est donc pas recommandé pour des raisons d'accessibilité. .. rst-class:: classref-item-separator @@ -1293,9 +1293,9 @@ Le style des onglets désactivés. :ref:`StyleBox` **tab_hovered** :ref:`🔗` -The style of the currently hovered tab. Does not apply to the selected tab. +Le style de l'onglet actuellement survolé. Ne s'applique pas à l'onglet sélectionné. -\ **Note:** This style will be drawn with the same width as :ref:`tab_unselected` at minimum. +\ **Note :** Ce style sera dessiné avec la même largeur que :ref:`tab_unselected` au minimum. .. rst-class:: classref-item-separator @@ -1319,7 +1319,7 @@ Le style de l'onglet actuellement sélectionné. :ref:`StyleBox` **tab_unselected** :ref:`🔗` -The style of the other, unselected tabs. +Le style des autres onglets, non sélectionnés. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_tabcontainer.rst b/classes/fr/class_tabcontainer.rst index bf55b3ddee..b95384c2ad 100644 --- a/classes/fr/class_tabcontainer.rst +++ b/classes/fr/class_tabcontainer.rst @@ -272,7 +272,7 @@ Signaux **tab_selected**\ (\ tab\: :ref:`int`\ ) :ref:`🔗` -Emitted when a tab is selected via click, directional input, or script, even if it is the current tab. +Émis lorsqu'un onglet est sélectionné par un clic, une entrée directionnelle ou un script, même s'il s'agit de l'onglet actuel. .. rst-class:: classref-section-separator @@ -350,7 +350,7 @@ Si ``true``, tous les onglets sont dessinés devant le panneau. Si ``false``, le - |void| **set_clip_tabs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_clip_tabs**\ (\ ) -If ``true``, tabs overflowing this node's width will be hidden, displaying two navigation buttons instead. Otherwise, this node's minimum size is updated so that all tabs are visible. +Si ``true``, les onglets débordant de la largeur de ce nœud seront cachés, affichant deux boutons de navigation à la place. Sinon, la taille minimale de ce nœud est mise à jour de sorte que tous les onglets soient visibles. .. rst-class:: classref-item-separator @@ -422,7 +422,7 @@ Si ``true``, les onglets peuvent être réarrangés avec par déposé-glissé. - |void| **set_tab_alignment**\ (\ value\: :ref:`AlignmentMode`\ ) - :ref:`AlignmentMode` **get_tab_alignment**\ (\ ) -The position at which tabs will be placed. +La position à laquelle les onglets seront placés. .. rst-class:: classref-item-separator @@ -626,7 +626,7 @@ Renvoie la :ref:`Texture2D` pour l'onglet à l'index ``tab_idx` :ref:`int` **get_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the maximum allowed width of the icon for the tab at index ``tab_idx``. +Renvoie la largeur maximale autorisée de l'icône pour l'onglet à l'index ``tab_idx``. .. rst-class:: classref-item-separator @@ -662,7 +662,7 @@ Returns the index of the tab tied to the given ``control``. The control must be :ref:`Variant` **get_tab_metadata**\ (\ tab_idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the metadata value set to the tab at index ``tab_idx`` using :ref:`set_tab_metadata()`. If no metadata was previously set, returns ``null`` by default. +Renvoie la valeur des métadonnées définies dans l'onglet à l'index ``tab_idx`` en utilisant :ref:`set_tab_metadata()`. Si aucune métadonnée n'a été précédemment définie, renvoie ``null`` par défaut. .. rst-class:: classref-item-separator @@ -782,7 +782,7 @@ Si ``disabled`` est ``true``, désactive l'onglet à l'index ``tab_idx``, le ren |void| **set_tab_hidden**\ (\ tab_idx\: :ref:`int`, hidden\: :ref:`bool`\ ) :ref:`🔗` -If ``hidden`` is ``true``, hides the tab at index ``tab_idx``, making it disappear from the tab area. +Si ``hidden`` vaut ``true``, cache l'onglet à l'index ``tab_idx``, le faisait disparaître de la zone des onglets. .. rst-class:: classref-item-separator @@ -806,7 +806,7 @@ Définit une icône pour l'onglet à la position ``tab_idx``. |void| **set_tab_icon_max_width**\ (\ tab_idx\: :ref:`int`, width\: :ref:`int`\ ) :ref:`🔗` -Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. This limit is applied on top of the default size of the icon and on top of :ref:`icon_max_width`. The height is adjusted according to the icon's ratio. +Définit la largeur maximale autorisée de l'icône pour l'onglet à l'index ``tab_idx``. Cette limite est appliquée en plus de la taille par défaut de l'icône et en plus de :ref:`icon_max_width`. La hauteur est ajustée selon le ratio de l'icône. .. rst-class:: classref-item-separator @@ -818,7 +818,7 @@ Sets the maximum allowed width of the icon for the tab at index ``tab_idx``. Thi |void| **set_tab_metadata**\ (\ tab_idx\: :ref:`int`, metadata\: :ref:`Variant`\ ) :ref:`🔗` -Sets the metadata value for the tab at index ``tab_idx``, which can be retrieved later using :ref:`get_tab_metadata()`. +Définit la valeur des métadonnées pour l'onglet à l'index ``tab_idx``, qui peuvent être récupérées plus tard en utilisant :ref:`get_tab_metadata()`. .. rst-class:: classref-item-separator @@ -897,7 +897,7 @@ Font color of the currently hovered tab. :ref:`Color` **font_outline_color** = ``Color(0, 0, 0, 1)`` :ref:`🔗` -The tint of text outline of the tab name. +La teinte du contour du texte du nom de l'onglet. .. rst-class:: classref-item-separator @@ -957,9 +957,9 @@ Space between tab's name and its icon. :ref:`int` **outline_size** = ``0`` :ref:`🔗` -The size of the tab text outline. +La taille du contour du texte de l'onglet. -\ **Note:** If using a font with :ref:`FontFile.multichannel_signed_distance_field` enabled, its :ref:`FontFile.msdf_pixel_range` must be set to at least *twice* the value of :ref:`outline_size` for outline rendering to look correct. Otherwise, the outline may appear to be cut off earlier than intended. +\ **Note :** Lors de l'utilisation d'une police avec :ref:`FontFile.multichannel_signed_distance_field` activé, son :ref:`FontFile.msdf_pixel_range` doit être défini à au moins *deux fois* la valeur de :ref:`outline_size` pour que le rendu puisse être correct. Sinon, le contour peut sembler être coupé plus tôt que prévu. .. rst-class:: classref-item-separator @@ -985,7 +985,7 @@ The margin is ignored with :ref:`TabBar.ALIGNMENT_RIGHT` **tab_separation** = ``0`` :ref:`🔗` -The space between tabs in the tab bar. +L'espace entre les onglets dans la barre d'onglets. .. rst-class:: classref-item-separator @@ -1129,7 +1129,7 @@ Le style des onglets désactivés. :ref:`StyleBox` **tab_focus** :ref:`🔗` -:ref:`StyleBox` used when the :ref:`TabBar` is focused. The :ref:`tab_focus` :ref:`StyleBox` is displayed *over* the base :ref:`StyleBox` of the selected tab, so a partially transparent :ref:`StyleBox` should be used to ensure the base :ref:`StyleBox` remains visible. A :ref:`StyleBox` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons. +:ref:`StyleBox` utilisé lorsque le :ref:`TabBar` a le focus. La :ref:`StyleBox` :ref:`tab_focus` est affichée *par-dessus* la :ref:`StyleBox` de base de l'onglet sélectionné, ainsi une :ref:`StyleBox` partiellement transparente devrait être utilisée pour s'assurer que la :ref:`StyleBox` de base reste visible. Une :ref:`StyleBox` qui représente un contour ou un soulignement fonctionne bien à cette fin. Pour désactiver l'effet visuel du focus, assignez une ressource :ref:`StyleBoxEmpty`. Notez que la désactivation de l'effet visuel du focus va nuire à l'utilisabilité de la navigation clavier/contrôleur, ce qui n'est donc pas recommandé pour des raisons d'accessibilité. .. rst-class:: classref-item-separator @@ -1167,7 +1167,7 @@ Le style de l'onglet actuellement sélectionné. :ref:`StyleBox` **tab_unselected** :ref:`🔗` -The style of the other, unselected tabs. +Le style des autres onglets, non sélectionnés. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_textedit.rst b/classes/fr/class_textedit.rst index 31336b9c73..a2cb585824 100644 --- a/classes/fr/class_textedit.rst +++ b/classes/fr/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: diff --git a/classes/fr/class_texture.rst b/classes/fr/class_texture.rst index 0621fcd6dc..3ce9c16b18 100644 --- a/classes/fr/class_texture.rst +++ b/classes/fr/class_texture.rst @@ -9,14 +9,14 @@ Texture **Hérité de:** :ref:`Texture2D`, :ref:`Texture3D`, :ref:`TextureLayered` -Base class for all texture types. +Classe de base pour tous les types de textures. .. rst-class:: classref-introduction-group Description ----------- -**Texture** is the base class for all texture types. Common texture types are :ref:`Texture2D` and :ref:`ImageTexture`. See also :ref:`Image`. +**Texture** est la classe de base pour tous les types de textures. Les types de textures communs sont :ref:`Texture2D` et :ref:`ImageTexture`. Voir aussi :ref:`Image`. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_texture2d.rst b/classes/fr/class_texture2d.rst index 82efe6d4e6..d73c8a5c08 100644 --- a/classes/fr/class_texture2d.rst +++ b/classes/fr/class_texture2d.rst @@ -16,13 +16,13 @@ Texture pour 2D et 3D. Description ----------- -A texture works by registering an image in the video hardware, which then can be used in 3D models or 2D :ref:`Sprite2D` or GUI :ref:`Control`. +Une texture fonctionne en inscrivant une image dans le matériel vidéo, qui peut ensuite être utilisée dans des modèles 3D ou de\ :ref:`Sprite2D` 2D ou des :ref:`Control` de GUI. -Textures are often created by loading them from a file. See :ref:`@GDScript.load()`. +Les textures sont souvent créées en les chargeant depuis un fichier. Voir :ref:`@GDScript.load()`. -\ **Texture2D** is a base for other resources. It cannot be used directly. +\ **Texture2D** est une base pour d'autres ressources. Elle ne peut pas être utilisée directement. -\ **Note:** The maximum texture size is 16384×16384 pixels due to graphics hardware limitations. Larger textures may fail to import. +\ **Note :** La taille maximale d'une texture est de 16384×16384 pixels en raison des limitations matérielles graphiques. Les textures plus grandes peuvent ne pas s'importer. .. rst-class:: classref-reftable-group @@ -81,9 +81,9 @@ Descriptions des méthodes |void| **_draw**\ (\ to_canvas_item\: :ref:`RID`, pos\: :ref:`Vector2`, modulate\: :ref:`Color`, transpose\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Called when the entire **Texture2D** is requested to be drawn over a :ref:`CanvasItem`, with the top-left offset specified in ``pos``. ``modulate`` specifies a multiplier for the colors being drawn, while ``transpose`` specifies whether drawing should be performed in column-major order instead of row-major order (resulting in 90-degree clockwise rotation). +Appelée lorsque la **Texture2D** entière est demandée à être dessinée sur un :ref:`CanvasItem`, avec le décalage supérieur gauche spécifié dans ``pos``. ``modulate`` spécifie un multiplicateur pour les couleurs dessinées, tandis que ``transpose`` spécifie si le dessin doit être effectué dans l'ordre des colonnes plutôt que dans l'ordre des lignes (résultant en une rotation de 90 degrés). -\ **Note:** This is only used in 2D rendering, not 3D. +\ **Note :** Ceci est seulement utilisé dans le rendu 2D, pas 3D. .. rst-class:: classref-item-separator @@ -95,9 +95,9 @@ Called when the entire **Texture2D** is requested to be drawn over a :ref:`Canva |void| **_draw_rect**\ (\ to_canvas_item\: :ref:`RID`, rect\: :ref:`Rect2`, tile\: :ref:`bool`, modulate\: :ref:`Color`, transpose\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Called when the **Texture2D** is requested to be drawn onto :ref:`CanvasItem`'s specified ``rect``. ``modulate`` specifies a multiplier for the colors being drawn, while ``transpose`` specifies whether drawing should be performed in column-major order instead of row-major order (resulting in 90-degree clockwise rotation). +Appelée lorsque la **Texture2D** est demandée à être dessinée sur le ``rect`` spécifié d'un :ref:`CanvasItem`. ``modulate`` spécifie un multiplicateur pour les couleurs dessinées, tandis que ``transpose`` spécifie si le dessin doit être effectué dans l'ordre des colonnes plutôt que dans l'ordre des lignes (résultant en une rotation de 90 degrés). -\ **Note:** This is only used in 2D rendering, not 3D. +\ **Note :** Ceci est seulement utilisé dans le rendu 2D, pas 3D. .. rst-class:: classref-item-separator @@ -109,9 +109,9 @@ Called when the **Texture2D** is requested to be drawn onto :ref:`CanvasItem`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color`, transpose\: :ref:`bool`, clip_uv\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Called when a part of the **Texture2D** specified by ``src_rect``'s coordinates is requested to be drawn onto :ref:`CanvasItem`'s specified ``rect``. ``modulate`` specifies a multiplier for the colors being drawn, while ``transpose`` specifies whether drawing should be performed in column-major order instead of row-major order (resulting in 90-degree clockwise rotation). +Appelée lorsque une partie de la **Texture2D** spécifiée par les coordonnées de ``src_rect`` est demandée à être dessinée sur le ``rect`` spécifié d'un :ref:`CanvasItem`. ``modulate`` spécifie un multiplicateur pour les couleurs dessinées, tandis que ``transpose`` spécifie si le dessin doit être effectué dans l'ordre des colonnes plutôt que dans l'ordre des lignes (résultant en une rotation de 90 degrés). -\ **Note:** This is only used in 2D rendering, not 3D. +\ **Note :** Ceci est seulement utilisé dans le rendu 2D, pas 3D. .. rst-class:: classref-item-separator @@ -147,7 +147,7 @@ Appelée quand la largeur de la **Texture2D** est demandée. :ref:`bool` **_has_alpha**\ (\ ) |virtual| |const| :ref:`🔗` -Called when the presence of an alpha channel in the **Texture2D** is queried. +Appelée lorsque la présence d'un canal alpha dans la **Texture2D** est demandé. .. rst-class:: classref-item-separator @@ -159,7 +159,7 @@ Called when the presence of an alpha channel in the **Texture2D** is queried. :ref:`bool` **_is_pixel_opaque**\ (\ x\: :ref:`int`, y\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Called when a pixel's opaque state in the **Texture2D** is queried at the specified ``(x, y)`` position. +Appelée lorsque l'état d'opacité d'un pixel dans la **Texture2D** est demandé à la position ``(x, y)`` spécifiée. .. rst-class:: classref-item-separator @@ -171,7 +171,7 @@ Called when a pixel's opaque state in the **Texture2D** is queried at the specif :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderTexture2D`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderTexture2D`). .. rst-class:: classref-item-separator @@ -183,7 +183,7 @@ Creates a placeholder version of this resource (:ref:`PlaceholderTexture2D`, position\: :ref:`Vector2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Draws the texture using a :ref:`CanvasItem` with the :ref:`RenderingServer` API at the specified ``position``. +Dessine la texture en utilisant un :ref:`CanvasItem` avec l'API :ref:`RenderingServer` à la ``position`` spécifiée. .. rst-class:: classref-item-separator @@ -195,7 +195,7 @@ Draws the texture using a :ref:`CanvasItem` with the :ref:`Ren |void| **draw_rect**\ (\ canvas_item\: :ref:`RID`, rect\: :ref:`Rect2`, tile\: :ref:`bool`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Draws the texture using a :ref:`CanvasItem` with the :ref:`RenderingServer` API. +Dessine la texture en utilisant un :ref:`CanvasItem` avec l'API :ref:`RenderingServer`. .. rst-class:: classref-item-separator @@ -207,7 +207,7 @@ Draws the texture using a :ref:`CanvasItem` with the :ref:`Ren |void| **draw_rect_region**\ (\ canvas_item\: :ref:`RID`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false, clip_uv\: :ref:`bool` = true\ ) |const| :ref:`🔗` -Draws a part of the texture using a :ref:`CanvasItem` with the :ref:`RenderingServer` API. +Dessine une partie de la texture en utilisant un :ref:`CanvasItem` avec l'API :ref:`RenderingServer`. .. rst-class:: classref-item-separator @@ -231,11 +231,11 @@ Renvoie la hauteur de la texture en pixels. :ref:`Image` **get_image**\ (\ ) |const| :ref:`🔗` -Returns an :ref:`Image` that is a copy of data from this **Texture2D** (a new :ref:`Image` is created each time). :ref:`Image`\ s can be accessed and manipulated directly. +Renvoie une :ref:`Image` qui est une copie des données de cette **Texture2D** (une nouvelle :ref:`Image` est créée à chaque fois). Les :ref:`Image`\ s peuvent être accédées et manipulées directement. -\ **Note:** This will return ``null`` if this **Texture2D** is invalid. +\ **Note :** Cela renverra ``null`` si cette **Texture2D** est invalide. -\ **Note:** This will fetch the texture data from the GPU, which might cause performance problems when overused. Avoid calling :ref:`get_image()` every frame, especially on large textures. +\ **Note :** Cela récupérera les données de texture du GPU, ce qui pourrait causer des problèmes de performance lorsque surutilisé. Évitez d'appeler :ref:`get_image()` à chaque trame, en particulier sur de grandes textures. .. rst-class:: classref-item-separator @@ -271,7 +271,7 @@ Renvoie la largeur de texture en pixels. :ref:`bool` **has_alpha**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if this **Texture2D** has an alpha channel. +Renvoie ``true`` si cette **Texture2D** a un canal alpha. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_texture2darray.rst b/classes/fr/class_texture2darray.rst index 0ee0c49344..7cfbe21b12 100644 --- a/classes/fr/class_texture2darray.rst +++ b/classes/fr/class_texture2darray.rst @@ -7,7 +7,7 @@ Texture2DArray **Hérite de :** :ref:`ImageTextureLayered` **<** :ref:`TextureLayered` **<** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -A single texture resource which consists of multiple, separate images. Each image has the same dimensions and number of mipmap levels. +Une ressource de texture unique qui consiste en plusieurs images séparées. Chaque image a les mêmes dimensions et le nombre de niveaux de mipmap. .. rst-class:: classref-introduction-group @@ -47,7 +47,7 @@ Descriptions des méthodes :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderTexture2DArray`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderTexture2DArray`). .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_texture3d.rst b/classes/fr/class_texture3d.rst index f73f6f96b0..662c037818 100644 --- a/classes/fr/class_texture3d.rst +++ b/classes/fr/class_texture3d.rst @@ -145,7 +145,7 @@ Called when the presence of mipmaps in the **Texture3D** is queried. :ref:`Resource` **create_placeholder**\ (\ ) |const| :ref:`🔗` -Creates a placeholder version of this resource (:ref:`PlaceholderTexture3D`). +Crée une version placeholder de cette ressource (:ref:`PlaceholderTexture3D`). .. rst-class:: classref-item-separator diff --git a/classes/fr/class_tilemap.rst b/classes/fr/class_tilemap.rst index baaafbfa95..0b8c433110 100644 --- a/classes/fr/class_tilemap.rst +++ b/classes/fr/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: diff --git a/classes/fr/class_timer.rst b/classes/fr/class_timer.rst index cd6ab53096..89e0fe597d 100644 --- a/classes/fr/class_timer.rst +++ b/classes/fr/class_timer.rst @@ -14,20 +14,20 @@ Un compte à rebours. Description ----------- -The **Timer** node is a countdown timer and is the simplest way to handle time-based logic in the engine. When a timer reaches the end of its :ref:`wait_time`, it will emit the :ref:`timeout` signal. +Le nœud **Timer** est un minuteur de compte à rebours et est le moyen le plus simple de gérer la logique basée sur le temps dans le moteur. Quand un minuteur atteint la fin de son temps d'attente :ref:`wait_time`, il émettra le signal :ref:`timeout`. -After a timer enters the scene tree, it can be manually started with :ref:`start()`. A timer node is also started automatically if :ref:`autostart` is ``true``. +Après qu'un minuteur entre dans l'arborescence de scène, il peut être démarré manuellement avec :ref:`start()`. Un nœud minuteur est également démarré automatiquement si :ref:`autostart` vaut ``true``. -Without requiring much code, a timer node can be added and configured in the editor. The :ref:`timeout` signal it emits can also be connected through the Node dock in the editor: +Sans nécessiter beaucoup de code, un nœud minuteur peut être ajouté et configuré dans l'éditeur. Le signal :ref:`timeout` qu'il émet peut également être connecté par le dock Nœud dans l'éditeur : :: func _on_timer_timeout(): - print("Time to attack!") + print("C'est le moment d'attaquer !") -\ **Note:** To create a one-shot timer without instantiating a node, use :ref:`SceneTree.create_timer()`. +\ **Note :** Pour créer un minuteur à usage unique sans instancier un nœud, utilisez :ref:`SceneTree.create_timer()`. -\ **Note:** Timers are affected by :ref:`Engine.time_scale` unless :ref:`ignore_time_scale` is ``true``. The higher the time scale, the sooner timers will end. How often a timer processes may depend on the framerate or :ref:`Engine.physics_ticks_per_second`. +\ **Note :** Les Timers sont affectés par :ref:`Engine.time_scale` à moins que :ref:`ignore_time_scale` ne vaille ``true``. Plus l'échelle du temps sera élevée, plus les minuteurs se termineront tôt. Combien de fois un minuteur effectue son traitement peut dépendre du framerate ou de :ref:`Engine.physics_ticks_per_second`. .. rst-class:: classref-introduction-group @@ -91,7 +91,7 @@ Signaux **timeout**\ (\ ) :ref:`🔗` -Emitted when the timer reaches the end. +Émis lorsque le minuteur atteint la fin. .. rst-class:: classref-section-separator @@ -114,7 +114,7 @@ enum **TimerProcessCallback**: :ref:`🔗` :ref:`TimerProcessCallback` **TIMER_PROCESS_PHYSICS** = ``0`` -Update the timer every physics process frame (see :ref:`Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS`). +Mettre à jour le minuteur à chaque trame de traitement de la physique (voir :ref:`Node.NOTIFICATION_INTERNAL_PHYSICS_PROCESS`). .. _class_Timer_constant_TIMER_PROCESS_IDLE: @@ -122,7 +122,7 @@ Update the timer every physics process frame (see :ref:`Node.NOTIFICATION_INTERN :ref:`TimerProcessCallback` **TIMER_PROCESS_IDLE** = ``1`` -Update the timer every process (rendered) frame (see :ref:`Node.NOTIFICATION_INTERNAL_PROCESS`). +Mettre à jour le minuteur à chaque trame de traitement (de rendu) (voir :ref:`Node.NOTIFICATION_INTERNAL_PROCESS`). .. rst-class:: classref-section-separator @@ -144,11 +144,11 @@ Descriptions des propriétés - |void| **set_autostart**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **has_autostart**\ (\ ) -If ``true``, the timer will start immediately when it enters the scene tree. +Si ``true``, le minuteur démarrera immédiatement lorsqu'il entre dans l'arborescence de scène. -\ **Note:** After the timer enters the tree, this property is automatically set to ``false``. +\ **Note :** Après que le minuteur entre dans l'arborescence, cette propriété est automatiquement définie à ``false``. -\ **Note:** This property does nothing when the timer is running in the editor. +\ **Note :** Cette propriété ne fait rien lorsque le minuteur s'exécute dans l'éditeur. .. rst-class:: classref-item-separator @@ -165,7 +165,7 @@ If ``true``, the timer will start immediately when it enters the scene tree. - |void| **set_ignore_time_scale**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_ignoring_time_scale**\ (\ ) -If ``true``, the timer will ignore :ref:`Engine.time_scale` and update with the real, elapsed time. +Si ``true``, le minuteur ignorera :ref:`Engine.time_scale` et se mettra à jour avec le temps écoulé réel. .. rst-class:: classref-item-separator @@ -182,7 +182,7 @@ If ``true``, the timer will ignore :ref:`Engine.time_scale`\ ) - :ref:`bool` **is_one_shot**\ (\ ) -If ``true``, the timer will stop after reaching the end. Otherwise, as by default, the timer will automatically restart. +Si ``true``, le minuteur s'arrêtera après avoir atteint la fin. Sinon, comme par défaut, le minuteur redémarrera automatiquement. .. rst-class:: classref-item-separator @@ -199,7 +199,7 @@ If ``true``, the timer will stop after reaching the end. Otherwise, as by defaul - |void| **set_paused**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_paused**\ (\ ) -If ``true``, the timer is paused. A paused timer does not process until this property is set back to ``false``, even when :ref:`start()` is called. See also :ref:`stop()`. +Si ``true``, le minuteur est mis en pause. Un minuteur en pause ne fait pas de traitement jusqu'à ce que cette propriété soit remise sur ``false``, même lorsque :ref:`start()` est appelée. Voir aussi :ref:`stop()`. .. rst-class:: classref-item-separator @@ -216,7 +216,7 @@ If ``true``, the timer is paused. A paused timer does not process until this pro - |void| **set_timer_process_callback**\ (\ value\: :ref:`TimerProcessCallback`\ ) - :ref:`TimerProcessCallback` **get_timer_process_callback**\ (\ ) -Specifies when the timer is updated during the main loop. +Spécifie quand le minuteur est mis à jour durant la boucle principale. .. rst-class:: classref-item-separator @@ -232,9 +232,9 @@ Specifies when the timer is updated during the main loop. - :ref:`float` **get_time_left**\ (\ ) -The timer's remaining time in seconds. This is always ``0`` if the timer is stopped. +Le temps restant du minuteur en secondes. Il vaut toujours ``0`` si le minuteur est arrêté. -\ **Note:** This property is read-only and cannot be modified. It is based on :ref:`wait_time`. +\ **Note :** Cette propriété est en lecture seule et ne peut être modifiée. Elle est basée sur :ref:`wait_time`. .. rst-class:: classref-item-separator @@ -251,9 +251,9 @@ The timer's remaining time in seconds. This is always ``0`` if the timer is stop - |void| **set_wait_time**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_wait_time**\ (\ ) -The time required for the timer to end, in seconds. This property can also be set every time :ref:`start()` is called. +Le temps nécessaire pour que le minuteur se termine, en secondes. Cette propriété peut également être définie à chaque fois que :ref:`start()` est appelée. -\ **Note:** Timers can only process once per physics or process frame (depending on the :ref:`process_callback`). An unstable framerate may cause the timer to end inconsistently, which is especially noticeable if the wait time is lower than roughly ``0.05`` seconds. For very short timers, it is recommended to write your own code instead of using a **Timer** node. Timers are also affected by :ref:`Engine.time_scale`. +\ **Note :** Les minuteurs ne peuvent traiter qu'une fois par trame physique ou de traitement (selon :ref:`process_callback`). Un framerate instable peut entraîner une fin inconsistante du minuteur, ce qui est particulièrement visible si le temps d'attente est inférieur à environ ``0.05`` secondes. Pour les minuteurs très courts, il est recommandé d'écrire votre propre code au lieu d'utiliser un nœud **Timer**. Les minuteurs sont également affectés par :ref:`Engine.time_scale`. .. rst-class:: classref-section-separator @@ -270,7 +270,7 @@ Descriptions des méthodes :ref:`bool` **is_stopped**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the timer is stopped or has not started. +Renvoie ``true`` si le minuteur est arrêté ou n'a pas commencé. .. rst-class:: classref-item-separator @@ -282,9 +282,9 @@ Returns ``true`` if the timer is stopped or has not started. |void| **start**\ (\ time_sec\: :ref:`float` = -1\ ) :ref:`🔗` -Starts the timer, or resets the timer if it was started already. Fails if the timer is not inside the scene tree. If ``time_sec`` is greater than ``0``, this value is used for the :ref:`wait_time`. +Démarre le minuteur, ou réinitialise le minuteur s'il a déjà commencé. Échoue si le minuteur n'est pas à l'intérieur de l'arborescence de scène. Si ``time_sec`` est supérieur à ``0``, cette valeur est utilisée pour le temps d'attente :ref:`wait_time`. -\ **Note:** This method does not resume a paused timer. See :ref:`paused`. +\ **Note :** Cette méthode ne reprend pas un minuteur en pause. Voir :ref:`paused`. .. rst-class:: classref-item-separator @@ -296,9 +296,9 @@ Starts the timer, or resets the timer if it was started already. Fails if the ti |void| **stop**\ (\ ) :ref:`🔗` -Stops the timer. See also :ref:`paused`. Unlike :ref:`start()`, this can safely be called if the timer is not inside the scene tree. +Arrête le minuteur. Voir aussi :ref:`paused`. Contrairement à :ref:`start()`, cela peut être appelé en toute sécurité si le minuteur n'est pas à l'intérieur de l'arborescence de scène. -\ **Note:** Calling :ref:`stop()` does not emit the :ref:`timeout` signal, as the timer is not considered to have timed out. If this is desired, use ``$Timer.timeout.emit()`` after calling :ref:`stop()` to manually emit the signal. +\ **Note :** Appeler :ref:`stop()` n'émet pas le signal :ref:`timeout`, car le minuteur n'est pas considéré comme étant fini. Si cela est souhaité, utilisez ``$Timer.timeout.emit()`` après avoir appelé :ref:`stop()` pour émettre manuellement le signal. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_treeitem.rst b/classes/fr/class_treeitem.rst index 47cbb91473..77cca920ec 100644 --- a/classes/fr/class_treeitem.rst +++ b/classes/fr/class_treeitem.rst @@ -843,7 +843,7 @@ Returns the node's order in the tree. For example, if called on the first child :ref:`String` **get_language**\ (\ column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text language code. +Renvoie le code de langue du texte de l'élément. .. rst-class:: classref-item-separator @@ -1043,7 +1043,7 @@ Renvoie l'alignement du texte de la colonne donnée. :ref:`TextDirection` **get_text_direction**\ (\ column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns item's text base writing direction. +Renvoie la direction d'écriture de base du texte de l'élément. .. rst-class:: classref-item-separator @@ -1615,7 +1615,7 @@ If ``indeterminate`` is ``true``, the given ``column`` is marked indeterminate. |void| **set_language**\ (\ column\: :ref:`int`, language\: :ref:`String`\ ) :ref:`🔗` -Sets language code of item's text used for line-breaking and text shaping algorithms, if left empty current locale is used instead. +Définit le code de langue du texte de l'élément, utilisé pour les algorithmes de retour à la ligne et de façonnage de texte. Si laissé vide, la langue actuelle est utilisée à la place. .. rst-class:: classref-item-separator @@ -1737,7 +1737,7 @@ Sets the given column's text alignment to ``text_alignment``. |void| **set_text_direction**\ (\ column\: :ref:`int`, direction\: :ref:`TextDirection`\ ) :ref:`🔗` -Sets item's text base writing direction. +Définit la direction d'écriture de base du texte. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_viewport.rst b/classes/fr/class_viewport.rst index 536828acb9..6adf7d2049 100644 --- a/classes/fr/class_viewport.rst +++ b/classes/fr/class_viewport.rst @@ -45,7 +45,7 @@ Tutoriels - `Démo de l'écran partagé dynamique `__ -- `3D Resolution Scaling Demo `__ +- `Démo de redimensionnement de la résolution 3D `__ .. rst-class:: classref-reftable-group diff --git a/classes/fr/class_viewporttexture.rst b/classes/fr/class_viewporttexture.rst index ac17b9a3f2..f633ede095 100644 --- a/classes/fr/class_viewporttexture.rst +++ b/classes/fr/class_viewporttexture.rst @@ -42,7 +42,7 @@ Tutoriels - `Démo pour de la 2D dans un viewport 3D `__ -- `3D Resolution Scaling Demo `__ +- `Démo de redimensionnement de la résolution 3D `__ .. rst-class:: classref-reftable-group diff --git a/classes/fr/class_vsplitcontainer.rst b/classes/fr/class_vsplitcontainer.rst index 40e4d6f955..0ee3f56052 100644 --- a/classes/fr/class_vsplitcontainer.rst +++ b/classes/fr/class_vsplitcontainer.rst @@ -7,14 +7,14 @@ VSplitContainer **Hérite de :** :ref:`SplitContainer` **<** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A container that splits two child controls vertically and provides a grabber for adjusting the split ratio. +Un conteneur qui divise deux contrôles enfants verticalement et fournit un séparateur pour ajuster le ratio de division. .. rst-class:: classref-introduction-group Description ----------- -A container that accepts only two child controls, then arranges them vertically and creates a divisor between them. The divisor can be dragged around to change the size relation between the child controls. +Un conteneur qui n'accepte que deux contrôles enfants, puis les arrange verticalement et crée un diviseur entre eux. Le diviseur peut être coulissé pour changer la relation de taille entre les contrôles enfants. .. rst-class:: classref-introduction-group diff --git a/classes/fr/class_websocketmultiplayerpeer.rst b/classes/fr/class_websocketmultiplayerpeer.rst index b35f16de96..58fef5adcd 100644 --- a/classes/fr/class_websocketmultiplayerpeer.rst +++ b/classes/fr/class_websocketmultiplayerpeer.rst @@ -80,7 +80,7 @@ Descriptions des propriétés - |void| **set_handshake_headers**\ (\ value\: :ref:`PackedStringArray`\ ) - :ref:`PackedStringArray` **get_handshake_headers**\ (\ ) -The extra headers to use during handshake. See :ref:`WebSocketPeer.handshake_headers` for more details. +Les en-têtes supplémentaires à utiliser pendant la poignée de main. Voir :ref:`WebSocketPeer.handshake_headers` pour plus de détails. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. diff --git a/classes/fr/class_webxrinterface.rst b/classes/fr/class_webxrinterface.rst index 0bbe6a6138..c42ff040d1 100644 --- a/classes/fr/class_webxrinterface.rst +++ b/classes/fr/class_webxrinterface.rst @@ -238,9 +238,9 @@ Use :ref:`get_input_source_tracker()`\ ) :ref:`🔗` -Emitted when one of the input source has started its "primary action". +Émis lorsque l'une des sources d'entrée a commencé son "action primaire". -Use :ref:`get_input_source_tracker()` and :ref:`get_input_source_target_ray_mode()` to get more information about the input source. +Utilisez :ref:`get_input_source_tracker()` et :ref:`get_input_source_target_ray_mode()` pour obtenir plus d'informations sur la source d'entrée. .. rst-class:: classref-item-separator @@ -252,9 +252,9 @@ Use :ref:`get_input_source_tracker()` -Emitted when the user ends the WebXR session (which can be done using UI from the browser or device). +Émis lorsque l'utilisateur termine la session WebXR (ce qui peut être fait à l'aide de l'interface utilisateur du navigateur ou de l'appareil). -At this point, you should do ``get_viewport().use_xr = false`` to instruct Godot to resume rendering to the screen. +À ce stade, vous devriez faire ``get_viewport().use_xr = false`` pour demander à Godot de reprendre le rendu à l'écran. .. rst-class:: classref-item-separator @@ -266,9 +266,9 @@ At this point, you should do ``get_viewport().use_xr = false`` to instruct Godot **session_failed**\ (\ message\: :ref:`String`\ ) :ref:`🔗` -Emitted by :ref:`XRInterface.initialize()` if the session fails to start. +Émis par :ref:`XRInterface.initialize()` si la session échoue au démarrage. -\ ``message`` may optionally contain an error message from WebXR, or an empty string if no message is available. +\ ``message`` peut éventuellement contenir un message d'erreur de WebXR, ou une chaîne vide si aucun message n'est disponible. .. rst-class:: classref-item-separator @@ -280,9 +280,9 @@ Emitted by :ref:`XRInterface.initialize()` **session_started**\ (\ ) :ref:`🔗` -Emitted by :ref:`XRInterface.initialize()` if the session is successfully started. +Émis par :ref:`XRInterface.initialize()` si la session a démarré avec succès. -At this point, it's safe to do ``get_viewport().use_xr = true`` to instruct Godot to start rendering to the XR device. +À ce stade, il est sûr de faire ``get_viewport().use_xr = true`` pour demander à Godot de commencer à rendre vers le périphérique XR. .. rst-class:: classref-item-separator @@ -294,7 +294,7 @@ At this point, it's safe to do ``get_viewport().use_xr = true`` to instruct Godo **session_supported**\ (\ session_mode\: :ref:`String`, supported\: :ref:`bool`\ ) :ref:`🔗` -Emitted by :ref:`is_session_supported()` to indicate if the given ``session_mode`` is supported or not. +Émis par :ref:`is_session_supported()` pour indiquer si le mode de session ``session_mode`` donné est supporté ou pas. .. rst-class:: classref-item-separator diff --git a/classes/fr/class_window.rst b/classes/fr/class_window.rst index a26efe42d9..c82fdd52cd 100644 --- a/classes/fr/class_window.rst +++ b/classes/fr/class_window.rst @@ -9,16 +9,16 @@ Window **Hérité de:** :ref:`AcceptDialog`, :ref:`Popup` -Base class for all windows, dialogs, and popups. +Classe de base pour toutes les fenêtres, boîtes de dialogue et popups. .. rst-class:: classref-introduction-group Description ----------- -A node that creates a window. The window can either be a native system window or embedded inside another **Window** (see :ref:`Viewport.gui_embed_subwindows`). +Un nœud qui crée une fenêtre. La fenêtre peut être soit une fenêtre du système natif soit intégrée dans une autre **Window** (voir :ref:`Viewport.gui_embed_subwindows`). -At runtime, **Window**\ s will not close automatically when requested. You need to handle it manually using the :ref:`close_requested` signal (this applies both to pressing the close button and clicking outside of a popup). +Durant l'exécution, les **Window**\ s ne fermeront pas automatiquement lorsque demandé. Vous devez le manipuler manuellement en utilisant le signal :ref:`close_requested` (ceci s'applique à la fois à l'appui sur le bouton de fermeture et au clic en dehors d'une popup). .. rst-class:: classref-reftable-group @@ -319,7 +319,7 @@ Signaux **about_to_popup**\ (\ ) :ref:`🔗` -Emitted right after :ref:`popup()` call, before the **Window** appears or does anything. +Émis juste après l'appel à :ref:`popup()`, avant que la **Window** n'apparaisse ou ne fasse quelque chose. .. rst-class:: classref-item-separator @@ -331,9 +331,9 @@ Emitted right after :ref:`popup()` call, before the * **close_requested**\ (\ ) :ref:`🔗` -Emitted when the **Window**'s close button is pressed or when :ref:`popup_window` is enabled and user clicks outside the window. +Émis lorsque le bouton de fermeture de la **Window** est appuyé ou lorsque :ref:`popup_window` est activé et que l'utilisateur clique à l'extérieur de la fenêtre. -This signal can be used to handle window closing, e.g. by connecting it to :ref:`hide()`. +Ce signal peut être utilisé pour traiter la fermeture de la fenêtre, par exemple en le connectant à :ref:`hide()`. .. rst-class:: classref-item-separator @@ -345,9 +345,9 @@ This signal can be used to handle window closing, e.g. by connecting it to :ref: **dpi_changed**\ (\ ) :ref:`🔗` -Emitted when the **Window**'s DPI changes as a result of OS-level changes (e.g. moving the window from a Retina display to a lower resolution one). +Émis lorsque le DPI de la **Window** change en raison de changements de niveau de l'OS (p. ex. déplacer la fenêtre d'un écran Retina à un écran de résolution inférieure). -\ **Note:** Only implemented on macOS and Linux (Wayland). +\ **Note :** Seulement implémenté sur MacOS et Linux (Wayland). .. rst-class:: classref-item-separator @@ -359,7 +359,7 @@ Emitted when the **Window**'s DPI changes as a result of OS-level changes (e.g. **files_dropped**\ (\ files\: :ref:`PackedStringArray`\ ) :ref:`🔗` -Emitted when files are dragged from the OS file manager and dropped in the game window. The argument is a list of file paths. +Émis lorsque des fichiers sont glissés du gestionnaire de fichiers de l'OS et déposés dans la fenêtre de jeu. L'argument est une liste de chemins de fichiers. :: @@ -369,7 +369,7 @@ Emitted when files are dragged from the OS file manager and dropped in the game func on_files_dropped(files): print(files) -\ **Note:** This signal only works with native windows, i.e. the main window and **Window**-derived nodes when :ref:`Viewport.gui_embed_subwindows` is disabled in the main viewport. +\ **Note :** Ce signal ne fonctionne qu'avec des fenêtres natives, c'est-à-dire la fenêtre principale et les nœuds dérivés de **Window** lorsque :ref:`Viewport.gui_embed_subwindows` est désactivé dans le viewport principal. .. rst-class:: classref-item-separator @@ -381,7 +381,7 @@ Emitted when files are dragged from the OS file manager and dropped in the game **focus_entered**\ (\ ) :ref:`🔗` -Emitted when the **Window** gains focus. +Émis lorsque la **Window** prend le focus. .. rst-class:: classref-item-separator @@ -393,7 +393,7 @@ Emitted when the **Window** gains focus. **focus_exited**\ (\ ) :ref:`🔗` -Emitted when the **Window** loses its focus. +Émis lorsque la **Window** perd le focus. .. rst-class:: classref-item-separator @@ -405,7 +405,7 @@ Emitted when the **Window** loses its focus. **go_back_requested**\ (\ ) :ref:`🔗` -Emitted when a go back request is sent (e.g. pressing the "Back" button on Android), right after :ref:`Node.NOTIFICATION_WM_GO_BACK_REQUEST`. +Émis lorsqu'une demande d'aller en arrière est envoyée (p. ex. appuyant sur le bouton "Retour" sur Android), juste après :ref:`Node.NOTIFICATION_WM_GO_BACK_REQUEST`. .. rst-class:: classref-item-separator @@ -417,7 +417,7 @@ Emitted when a go back request is sent (e.g. pressing the "Back" button on Andro **mouse_entered**\ (\ ) :ref:`🔗` -Emitted when the mouse cursor enters the **Window**'s visible area, that is not occluded behind other :ref:`Control`\ s or windows, provided its :ref:`Viewport.gui_disable_input` is ``false`` and regardless if it's currently focused or not. +Émis lorsque le curseur de la souris pénètre dans la zone visible de la **Window**, qui n'est pas cachée derrière d'autres :ref:`Control`\ s ou fenêtres, à condition que son :ref:`Viewport.gui_disable_input` vaille ``false``, peu importe si elle a le focus ou non. .. rst-class:: classref-item-separator @@ -429,7 +429,7 @@ Emitted when the mouse cursor enters the **Window**'s visible area, that is not **mouse_exited**\ (\ ) :ref:`🔗` -Emitted when the mouse cursor leaves the **Window**'s visible area, that is not occluded behind other :ref:`Control`\ s or windows, provided its :ref:`Viewport.gui_disable_input` is ``false`` and regardless if it's currently focused or not. +Émis lorsque le curseur de la souris quitte la zone visible de la **Window**, qui n'est pas cachée derrière d'autres :ref:`Control`\ s ou fenêtres, à condition que son :ref:`Viewport.gui_disable_input` vaille ``false``, peu importe si elle a le focus ou non. .. rst-class:: classref-item-separator @@ -441,7 +441,7 @@ Emitted when the mouse cursor leaves the **Window**'s visible area, that is not **theme_changed**\ (\ ) :ref:`🔗` -Emitted when the :ref:`NOTIFICATION_THEME_CHANGED` notification is sent. +Émis lorsque la notification :ref:`NOTIFICATION_THEME_CHANGED` est envoyée. .. rst-class:: classref-item-separator @@ -453,7 +453,7 @@ Emitted when the :ref:`NOTIFICATION_THEME_CHANGED` -Emitted when window title bar text is changed. +Émis lorsque le texte de la barre du titre de la fenêtre est modifié. .. rst-class:: classref-item-separator @@ -465,7 +465,7 @@ Emitted when window title bar text is changed. **titlebar_changed**\ (\ ) :ref:`🔗` -Emitted when window title bar decorations are changed, e.g. macOS window enter/exit full screen mode, or extend-to-title flag is changed. +Émis lorsque les décorations de la barre du titre de la fenêtre sont modifiées, p.ex. la fenêtre macOS entre/sort du mode plein écran, ou le drapeau d'extension au titre est changé. .. rst-class:: classref-item-separator @@ -477,7 +477,7 @@ Emitted when window title bar decorations are changed, e.g. macOS window enter/e **visibility_changed**\ (\ ) :ref:`🔗` -Emitted when **Window** is made visible or disappears. +Émis lorsque la **Window** est rendue visible ou disparaît. .. rst-class:: classref-item-separator @@ -489,7 +489,7 @@ Emitted when **Window** is made visible or disappears. **window_input**\ (\ event\: :ref:`InputEvent`\ ) :ref:`🔗` -Emitted when the **Window** is currently focused and receives any input, passing the received event as an argument. The event's position, if present, is in the embedder's coordinate system. +Émis lorsque la **Window** a actuellement le focus et reçoit une entrée, en passant l'évènement reçu en tant qu'arguement. La position de l'événement, si elle est présente, est dans le système de coordonnées de l'intégrateur. .. rst-class:: classref-section-separator @@ -512,7 +512,7 @@ enum **Mode**: :ref:`🔗` :ref:`Mode` **MODE_WINDOWED** = ``0`` -Windowed mode, i.e. **Window** doesn't occupy the whole screen (unless set to the size of the screen). +Mode fenêtré, c'est-à-dire que **Window** n'occupe pas l'écran entier (sauf si définie à la taille de l'écran). .. _class_Window_constant_MODE_MINIMIZED: @@ -520,7 +520,7 @@ Windowed mode, i.e. **Window** doesn't occupy the whole screen (unless set to th :ref:`Mode` **MODE_MINIMIZED** = ``1`` -Minimized window mode, i.e. **Window** is not visible and available on window manager's window list. Normally happens when the minimize button is pressed. +Mode de fenêtre minimisée, c.-à-d. **Window** n'est pas visible et est disponible dans la liste des fenêtres du gestionnaire de fenêtre. Se produit normalement lorsque le bouton de minimisation est appuyé. .. _class_Window_constant_MODE_MAXIMIZED: @@ -528,7 +528,7 @@ Minimized window mode, i.e. **Window** is not visible and available on window ma :ref:`Mode` **MODE_MAXIMIZED** = ``2`` -Maximized window mode, i.e. **Window** will occupy whole screen area except task bar and still display its borders. Normally happens when the maximize button is pressed. +Mode de fenêtre maximisée, c.-à-d. **Window** occupera tout l'écran sauf la barre des tâches et affichera toujours ses bordures. Se produit normalement lorsque le bouton de maximisation est appuyé. .. _class_Window_constant_MODE_FULLSCREEN: @@ -536,15 +536,15 @@ Maximized window mode, i.e. **Window** will occupy whole screen area except task :ref:`Mode` **MODE_FULLSCREEN** = ``3`` -Full screen mode with full multi-window support. +Mode plein écran avec support multi-fenêtres complet. -Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed. +La fenêtre en plein écran couvre toute la zone d'affichage d'un écran et n'a pas de décorations. Le mode vidéo de l'écran n'est pas modifié. -\ **On Android:** This enables immersive mode. +\ ** Sur Android :** Cela active le mode immersif. -\ **On macOS:** A new desktop is used to display the running project. +\ ** Sur macOS :** Un nouveau bureau est utilisé pour afficher le projet en cours d'exécution. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Note :** Quelle que soit la plate-forme, activer le plein écran changera la taille de la fenêtre pour correspondre à la taille du moniteur. Par conséquent, assurez-vous que votre projet supporte des :doc:`résolutions multiples <../tutorials/rendering/multiple_résolutions>` lors de l'activation du mode plein écran. .. _class_Window_constant_MODE_EXCLUSIVE_FULLSCREEN: @@ -552,23 +552,23 @@ Full screen window covers the entire display area of a screen and has no decorat :ref:`Mode` **MODE_EXCLUSIVE_FULLSCREEN** = ``4`` -A single window full screen mode. This mode has less overhead, but only one window can be open on a given screen at a time (opening a child window or application switching will trigger a full screen transition). +Un mode de fenêtre simple en plein écran. Ce mode a moins de surcoût, mais une seule fenêtre peut être ouverte sur un écran donné à la fois (ouvrir une fenêtre enfant ou changer d'application déclenchera une transition de plein écran). -Full screen window covers the entire display area of a screen and has no border or decorations. The display's video mode is not changed. +La fenêtre en plein écran couvre l'ensemble de la zone d'affichage d'un écran et n'a aucune bordure ou de décoration. Le mode vidéo de l'écran n'est pas modifié. -\ **Note:** This mode might not work with screen recording software. +\ **Note :** Ce mode pourrait ne pas fonctionner avec des logiciels d'enregistrement d'écran. -\ **On Android:** This enables immersive mode. +\ ** Sur Android :** Cela active le mode immersif. -\ **On Windows:** Depending on video driver, full screen transition might cause screens to go black for a moment. +\ **Sur Windows :** Selon le pilote vidéo, la transition vers le plein écran peut forcer l'écran à devenir noir pendant un court moment. -\ **On macOS:** A new desktop is used to display the running project. Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen. +\ ** Sur macOS :** Un nouveau bureau est utilisé pour afficher le projet en cours. Le mode plein écran exclusif empêche le Dock et le Menu de s'afficher lorsque le pointeur de la souris survole le bord de l'écran. -\ **On Linux (X11):** Exclusive full screen mode bypasses compositor. +\ ** Sur Linux (X11) :** Le mode plein écran exclusif contourne le compositeur. -\ **On Linux (Wayland):** Equivalent to :ref:`MODE_FULLSCREEN`. +\ **Sur Linux (Wayland) :** Équivalent à :ref:`MODE_FULLSCREEN`. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Note :** Quelle que soit la plate-forme, activer le plein écran va modifier taille de la fenêtre pour correspondre à la taille du moniteur. Par conséquent, assurez-vous que votre projet supporte des :doc:`résolutions multiples <../tutorials/rendering/multiple_résolutions>` lors de l'activation du mode plein écran. .. rst-class:: classref-item-separator @@ -586,7 +586,7 @@ enum **Flags**: :ref:`🔗` :ref:`Flags` **FLAG_RESIZE_DISABLED** = ``0`` -The window can't be resized by dragging its resize grip. It's still possible to resize the window using :ref:`size`. This flag is ignored for full screen windows. Set with :ref:`unresizable`. +La fenêtre ne peut pas être redimensionnée en tirant sur sa poignée de redimensionnement. Il est encore possible de redimensionner la fenêtre en utilisant :ref:`size`. Ce drapeau est ignoré pour les fenêtres en plein écran. Défini avec :ref:`unresizable`. .. _class_Window_constant_FLAG_BORDERLESS: @@ -594,7 +594,7 @@ The window can't be resized by dragging its resize grip. It's still possible to :ref:`Flags` **FLAG_BORDERLESS** = ``1`` -The window do not have native title bar and other decorations. This flag is ignored for full-screen windows. Set with :ref:`borderless`. +La fenêtre n'a pas de barre de titre natif et d'autres décorations. Ce drapeau est ignoré pour les fenêtres en plein écran. Défini avec :ref:`borderless`. .. _class_Window_constant_FLAG_ALWAYS_ON_TOP: @@ -602,7 +602,7 @@ The window do not have native title bar and other decorations. This flag is igno :ref:`Flags` **FLAG_ALWAYS_ON_TOP** = ``2`` -The window is floating on top of all other windows. This flag is ignored for full-screen windows. Set with :ref:`always_on_top`. +La fenêtre flotte au dessus de toutes les autres fenêtres. Ce drapeau est ignoré pour les fenêtres en plein écran. Défini avec :ref:`always_on_top`. .. _class_Window_constant_FLAG_TRANSPARENT: @@ -610,9 +610,9 @@ The window is floating on top of all other windows. This flag is ignored for ful :ref:`Flags` **FLAG_TRANSPARENT** = ``3`` -The window background can be transparent. Set with :ref:`transparent`. +L'arrière-plan de la fenêtre peut être transparent. Défini avec :ref:`transparent`. -\ **Note:** This flag has no effect if either :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed`, or the window's :ref:`Viewport.transparent_bg` is set to ``false``. +\ **Note :** Ce drapeau n'a aucun effet si :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed` ou le :ref:`Viewport.transparent_bg` de la fenêtre est défini à ``false``. .. _class_Window_constant_FLAG_NO_FOCUS: @@ -620,7 +620,7 @@ The window background can be transparent. Set with :ref:`transparent` **FLAG_NO_FOCUS** = ``4`` -The window can't be focused. No-focus window will ignore all input, except mouse clicks. Set with :ref:`unfocusable`. +La fenêtre ne peut pas recevoir le focus. Une fenêtre sans focus ignorera toutes les entrées, sauf les clics de souris. Défini avec :ref:`unfocusable`. .. _class_Window_constant_FLAG_POPUP: @@ -638,11 +638,11 @@ Window is part of menu or :ref:`OptionButton` dropdown. This :ref:`Flags` **FLAG_EXTEND_TO_TITLE** = ``6`` -Window content is expanded to the full size of the window. Unlike borderless window, the frame is left intact and can be used to resize the window, title bar is transparent, but have minimize/maximize/close buttons. Set with :ref:`extend_to_title`. +Le contenu de la fenêtre est élargi à la taille de la fenêtre. Contrairement à la fenêtre sans bords, le cadre est laissé intact et peut être utilisé pour redimensionner la fenêtre, la barre de titre est transparente, mais dispose des boutons de minimisation/maximisation/fermeture. Défini avec :ref:`extend_to_title`. -\ **Note:** This flag is implemented only on macOS. +\ **Note :** Ce drapeau n'est implémenté que sur macOS. -\ **Note:** This flag has no effect in embedded windows. +\ **Note :** Ce drapeau n'a aucun effet dans les fenêtres intégrées. .. _class_Window_constant_FLAG_MOUSE_PASSTHROUGH: @@ -650,9 +650,9 @@ Window content is expanded to the full size of the window. Unlike borderless win :ref:`Flags` **FLAG_MOUSE_PASSTHROUGH** = ``7`` -All mouse events are passed to the underlying window of the same application. +Tous les événements de la souris sont passés à la fenêtre sous-jacente de la même application. -\ **Note:** This flag has no effect in embedded windows. +\ **Note :** Ce drapeau n'a aucun effet dans les fenêtres intégrées. .. _class_Window_constant_FLAG_SHARP_CORNERS: @@ -672,13 +672,13 @@ Le style de fenêtre est redéfini, forçant des coins pointus. :ref:`Flags` **FLAG_EXCLUDE_FROM_CAPTURE** = ``9`` -Windows is excluded from screenshots taken by :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()`, and :ref:`DisplayServer.screen_get_pixel()`. +La fenêtre est exclue des captures d'écran prises par :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()`, et :ref:`DisplayServer.screen_get_pixel()`. -\ **Note:** This flag has no effect in embedded windows. +\ **Note :** Ce drapeau n'a aucun effet dans les fenêtres intégrées. -\ **Note:** This flag is implemented on macOS and Windows (10, 20H1). +\ **Note :** Ce drapeau est implémenté sur macOS et Windows (10, 20H1). -\ **Note:** Setting this flag will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure. +\ **Note :** Définir ce drapeau empêchera les méthodes standard de capture d'écran de capturer une image de fenêtre, mais ne garantit **PAS** que d'autres applications ne pourront pas capturer une image. Il ne doit pas être utilisé comme mesure de DRM ou de sécurité. .. _class_Window_constant_FLAG_POPUP_WM_HINT: @@ -694,9 +694,9 @@ Signals the window manager that this window is supposed to be an implementation- :ref:`Flags` **FLAG_MINIMIZE_DISABLED** = ``11`` -Window minimize button is disabled. +Le bouton de minimisation de la fenêtre est désactivé. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Note :** Ce drapeau est implémenté sur macOS et Windows. .. _class_Window_constant_FLAG_MAXIMIZE_DISABLED: @@ -704,9 +704,9 @@ Window minimize button is disabled. :ref:`Flags` **FLAG_MAXIMIZE_DISABLED** = ``12`` -Window maximize button is disabled. +Le bouton de maximisation de la fenêtre est désactivé. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Note :** Ce drapeau est implémenté sur macOS et Windows. .. _class_Window_constant_FLAG_MAX: @@ -714,7 +714,7 @@ Window maximize button is disabled. :ref:`Flags` **FLAG_MAX** = ``13`` -Max value of the :ref:`Flags`. +Valeur maximale pour les drapeaux :ref:`Flags`. .. rst-class:: classref-item-separator @@ -732,7 +732,7 @@ enum **ContentScaleMode**: :ref:`🔗` :ref:`ContentScaleMode` **CONTENT_SCALE_MODE_DISABLED** = ``0`` -The content will not be scaled to match the **Window**'s size. +Le contenu ne sera pas mis à l'échelle pour correspondre à la taille de la **Window**. .. _class_Window_constant_CONTENT_SCALE_MODE_CANVAS_ITEMS: @@ -740,7 +740,7 @@ The content will not be scaled to match the **Window**'s size. :ref:`ContentScaleMode` **CONTENT_SCALE_MODE_CANVAS_ITEMS** = ``1`` -The content will be rendered at the target size. This is more performance-expensive than :ref:`CONTENT_SCALE_MODE_VIEWPORT`, but provides better results. +Le contenu sera rendu à la taille cible. Ceci est plus cher en performances que :ref:`CONTENT_SCALE_MODE_VIEWPORT`, mais fournit de meilleurs résultats. .. _class_Window_constant_CONTENT_SCALE_MODE_VIEWPORT: @@ -748,7 +748,7 @@ The content will be rendered at the target size. This is more performance-expens :ref:`ContentScaleMode` **CONTENT_SCALE_MODE_VIEWPORT** = ``2`` -The content will be rendered at the base size and then scaled to the target size. More performant than :ref:`CONTENT_SCALE_MODE_CANVAS_ITEMS`, but results in pixelated image. +Le contenu sera rendu à la taille de base et ensuite échelonné à la taille cible. Plus performant que :ref:`CONTENT_SCALE_MODE_CANVAS_ITEMS`, mais résulte en une image pixelisée. .. rst-class:: classref-item-separator @@ -766,7 +766,7 @@ enum **ContentScaleAspect**: :ref:`🔗` :ref:`ContentScaleAspect` **CONTENT_SCALE_ASPECT_IGNORE** = ``0`` -The aspect will be ignored. Scaling will simply stretch the content to fit the target size. +Le rapport d'aspect sera ignoré. L'échelle va simplement étirer le contenu pour correspondre à la taille cible. .. _class_Window_constant_CONTENT_SCALE_ASPECT_KEEP: @@ -774,7 +774,7 @@ The aspect will be ignored. Scaling will simply stretch the content to fit the t :ref:`ContentScaleAspect` **CONTENT_SCALE_ASPECT_KEEP** = ``1`` -The content's aspect will be preserved. If the target size has different aspect from the base one, the image will be centered and black bars will appear on left and right sides. +Le rapport d'aspect du contenu sera préservé. Si la taille de la cible a un rapport différent de la base, l'image sera centrée et des barres noires apparaîtront sur les côtés gauche et droit. .. _class_Window_constant_CONTENT_SCALE_ASPECT_KEEP_WIDTH: @@ -782,7 +782,7 @@ The content's aspect will be preserved. If the target size has different aspect :ref:`ContentScaleAspect` **CONTENT_SCALE_ASPECT_KEEP_WIDTH** = ``2`` -The content can be expanded vertically. Scaling horizontally will result in keeping the width ratio and then black bars on left and right sides. +Le contenu peut être étendu verticalement. Redimensionner horizontalement résultera en le maintien du rapport de largeur et des barres noires sur les côtés gauche et droit. .. _class_Window_constant_CONTENT_SCALE_ASPECT_KEEP_HEIGHT: @@ -790,7 +790,7 @@ The content can be expanded vertically. Scaling horizontally will result in keep :ref:`ContentScaleAspect` **CONTENT_SCALE_ASPECT_KEEP_HEIGHT** = ``3`` -The content can be expanded horizontally. Scaling vertically will result in keeping the height ratio and then black bars on top and bottom sides. +Le contenu peut être étendu horizontalement. Redimensionner verticalement résultera en le maintien du rapport de hauteur et des barres noires en haut et en bas. .. _class_Window_constant_CONTENT_SCALE_ASPECT_EXPAND: @@ -798,7 +798,7 @@ The content can be expanded horizontally. Scaling vertically will result in keep :ref:`ContentScaleAspect` **CONTENT_SCALE_ASPECT_EXPAND** = ``4`` -The content's aspect will be preserved. If the target size has different aspect from the base one, the content will stay in the top-left corner and add an extra visible area in the stretched space. +Le rapport d'aspect du contenu sera préservé. Si la taille de cible a un rapport différent de la taille de base, le contenu restera dans le coin supérieur gauche et ajoutera une zone visible supplémentaire dans l'espace étiré. .. rst-class:: classref-item-separator @@ -816,7 +816,7 @@ enum **ContentScaleStretch**: :ref:`🔗` :ref:`ContentScaleStretch` **CONTENT_SCALE_STRETCH_FRACTIONAL** = ``0`` -The content will be stretched according to a fractional factor. This fills all the space available in the window, but allows "pixel wobble" to occur due to uneven pixel scaling. +Le contenu sera étiré selon un facteur fractionnel. Cela remplit tout l'espace disponible dans la fenêtre, mais cause du "pixel wobble" en raison de l'échelle inégale des pixels. .. _class_Window_constant_CONTENT_SCALE_STRETCH_INTEGER: @@ -824,7 +824,7 @@ The content will be stretched according to a fractional factor. This fills all t :ref:`ContentScaleStretch` **CONTENT_SCALE_STRETCH_INTEGER** = ``1`` -The content will be stretched only according to an integer factor, preserving sharp pixels. This may leave a black background visible on the window's edges depending on the window size. +Le contenu sera étiré seulement selon un facteur entier, en conservant les pixels nets. Cela peut laisser un fond noir visible sur les bords de la fenêtre en fonction de la taille de la fenêtre. .. rst-class:: classref-item-separator @@ -842,7 +842,7 @@ enum **LayoutDirection**: :ref:`🔗` :ref:`LayoutDirection` **LAYOUT_DIRECTION_INHERITED** = ``0`` -Automatic layout direction, determined from the parent window layout direction. +Direction de mise en page automatique, déterminée à partir de la direction de mise en page de la fenêtre parente. .. _class_Window_constant_LAYOUT_DIRECTION_APPLICATION_LOCALE: @@ -850,7 +850,7 @@ Automatic layout direction, determined from the parent window layout direction. :ref:`LayoutDirection` **LAYOUT_DIRECTION_APPLICATION_LOCALE** = ``1`` -Direction de la mise en page automatique, déterminée à partir de la langue actuelle. +Direction de mise en page automatique, déterminée à partir de la langue actuelle. .. _class_Window_constant_LAYOUT_DIRECTION_LTR: @@ -874,7 +874,7 @@ Disposition de direction de droite à gauche. :ref:`LayoutDirection` **LAYOUT_DIRECTION_SYSTEM_LOCALE** = ``4`` -Automatic layout direction, determined from the system locale. +Direction de mise en page automatique, déterminée à partir de la langue du système. .. _class_Window_constant_LAYOUT_DIRECTION_MAX: @@ -910,7 +910,7 @@ enum **WindowInitialPosition**: :ref:`🔗` :ref:`WindowInitialPosition` **WINDOW_INITIAL_POSITION_ABSOLUTE** = ``0`` -Initial window position is determined by :ref:`position`. +La position initiale de la fenêtre est déterminée par :ref:`position`. .. _class_Window_constant_WINDOW_INITIAL_POSITION_CENTER_PRIMARY_SCREEN: @@ -918,7 +918,7 @@ Initial window position is determined by :ref:`position` **WINDOW_INITIAL_POSITION_CENTER_PRIMARY_SCREEN** = ``1`` -Initial window position is the center of the primary screen. +La position initiale de la fenêtre est le centre de l'écran principal. .. _class_Window_constant_WINDOW_INITIAL_POSITION_CENTER_MAIN_WINDOW_SCREEN: @@ -926,7 +926,7 @@ Initial window position is the center of the primary screen. :ref:`WindowInitialPosition` **WINDOW_INITIAL_POSITION_CENTER_MAIN_WINDOW_SCREEN** = ``2`` -Initial window position is the center of the main window screen. +La position initiale de la fenêtre est le centre de l'écran de la fenêtre principale. .. _class_Window_constant_WINDOW_INITIAL_POSITION_CENTER_OTHER_SCREEN: @@ -934,7 +934,7 @@ Initial window position is the center of the main window screen. :ref:`WindowInitialPosition` **WINDOW_INITIAL_POSITION_CENTER_OTHER_SCREEN** = ``3`` -Initial window position is the center of :ref:`current_screen` screen. +La position initiale de la fenêtre est le centre de l'écran :ref:`current_screen`. .. _class_Window_constant_WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_MOUSE_FOCUS: @@ -942,7 +942,7 @@ Initial window position is the center of :ref:`current_screen` **WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_MOUSE_FOCUS** = ``4`` -Initial window position is the center of the screen containing the mouse pointer. +La position initiale de la fenêtre est le centre de l'écran contenant le pointeur de la souris. .. _class_Window_constant_WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_KEYBOARD_FOCUS: @@ -950,7 +950,7 @@ Initial window position is the center of the screen containing the mouse pointer :ref:`WindowInitialPosition` **WINDOW_INITIAL_POSITION_CENTER_SCREEN_WITH_KEYBOARD_FOCUS** = ``5`` -Initial window position is the center of the screen containing the window with the keyboard focus. +La position initiale de la fenêtre est le centre de l'écran contenant la fenêtre avec le focus du clavier. .. rst-class:: classref-section-separator @@ -967,7 +967,7 @@ Constantes **NOTIFICATION_VISIBILITY_CHANGED** = ``30`` :ref:`🔗` -Emitted when **Window**'s visibility changes, right before :ref:`visibility_changed`. +Émis lorsque la visibilité de la **Window** change, juste avant :ref:`visibility_changed`. .. _class_Window_constant_NOTIFICATION_THEME_CHANGED: @@ -975,15 +975,15 @@ Emitted when **Window**'s visibility changes, right before :ref:`visibility_chan **NOTIFICATION_THEME_CHANGED** = ``32`` :ref:`🔗` -Sent when the node needs to refresh its theme items. This happens in one of the following cases: +Envoyé quand le nœud a besoin de rafraîchir ses éléments de thème. Cela se produit dans l'un des cas suivants : -- The :ref:`theme` property is changed on this node or any of its ancestors. +- La propriété :ref:`theme` est modifiée sur ce nœud ou l'un de ses ancêtres. -- The :ref:`theme_type_variation` property is changed on this node. +- La propriété :ref:`theme_type_variation` est modifiée sur ce nœud. -- The node enters the scene tree. +- Le nœud entre dans l'arborescence de la scène. -\ **Note:** As an optimization, this notification won't be sent from changes that occur while this node is outside of the scene tree. Instead, all of the theme item updates can be applied at once when the node enters the scene tree. +\ **Note :** En tant qu'optimisation, cette notification ne sera pas envoyée lors de modifications qui se produisent alors que ce nœud est à l'extérieur de l'arborescence de la scène. Au lieu de cela, toutes les mises à jour d'élément de thème peuvent être appliquées en une fois lorsque le nœud entre dans l'arborescence de la scène. .. rst-class:: classref-section-separator @@ -1005,7 +1005,7 @@ Descriptions des propriétés - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La description facilement lisible du nœud qui est rapportée aux applications d'assistance. .. rst-class:: classref-item-separator @@ -1022,7 +1022,7 @@ The human-readable node description that is reported to assistive apps. - |void| **set_accessibility_name**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_name**\ (\ ) -The human-readable node name that is reported to assistive apps. +Le nom facilement lisible du nœud qui est rapporté aux applications d'assistance. .. rst-class:: classref-item-separator @@ -1039,7 +1039,7 @@ The human-readable node name that is reported to assistive apps. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the window will be on top of all other windows. Does not work if :ref:`transient` is enabled. +Si ``true``, la fenêtre sera au-dessus de toutes les autres fenêtres. Ne fonctionne pas si :ref:`transient` est activé. .. rst-class:: classref-item-separator @@ -1058,7 +1058,7 @@ If ``true``, the window will be on top of all other windows. Does not work if :r **Obsolète :** Use :ref:`Node.auto_translate_mode` and :ref:`Node.can_auto_translate()` instead. -Toggles if any text should automatically change to its translated version depending on the current locale. +Active/désactive si du texte devrait automatiquement changer en sa version traduite selon la langue actuelle. .. rst-class:: classref-item-separator @@ -1075,7 +1075,7 @@ Toggles if any text should automatically change to its translated version depend - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the window will have no borders. +Si ``true``, la fenêtre n'aura pas de bordures. .. rst-class:: classref-item-separator @@ -1092,7 +1092,7 @@ If ``true``, the window will have no borders. - |void| **set_content_scale_aspect**\ (\ value\: :ref:`ContentScaleAspect`\ ) - :ref:`ContentScaleAspect` **get_content_scale_aspect**\ (\ ) -Specifies how the content's aspect behaves when the **Window** is resized. The base aspect is determined by :ref:`content_scale_size`. +Spécifie comment le rapport d'aspect du contenu se comporte lorsque la **Window** est redimensionnée. L'aspect de base est déterminé par :ref:`content_scale_size`. .. rst-class:: classref-item-separator @@ -1109,7 +1109,7 @@ Specifies how the content's aspect behaves when the **Window** is resized. The b - |void| **set_content_scale_factor**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_content_scale_factor**\ (\ ) -Specifies the base scale of **Window**'s content when its :ref:`size` is equal to :ref:`content_scale_size`. See also :ref:`Viewport.get_stretch_transform()`. +Spécifie l'échelle de base du contenu de la **Window** lorsque sa :ref:`size` est égale à :ref:`content_scale_size`. Voir aussi :ref:`Viewport.get_stretch_transform()`. .. rst-class:: classref-item-separator @@ -1126,7 +1126,7 @@ Specifies the base scale of **Window**'s content when its :ref:`size`\ ) - :ref:`ContentScaleMode` **get_content_scale_mode**\ (\ ) -Specifies how the content is scaled when the **Window** is resized. +Spécifie comment le contenu est mis à l'échelle lorsque la **Window** est redimensionnée. .. rst-class:: classref-item-separator @@ -1143,7 +1143,7 @@ Specifies how the content is scaled when the **Window** is resized. - |void| **set_content_scale_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_content_scale_size**\ (\ ) -Base size of the content (i.e. nodes that are drawn inside the window). If non-zero, **Window**'s content will be scaled when the window is resized to a different size. +Taille de base du contenu (c.-à-d. des nœuds qui sont dessinés à l'intérieur de la fenêtre). Si différent de zéro, le contenu de la **Window** sera réduit lorsque la fenêtre est redimensionnée à une taille différente. .. rst-class:: classref-item-separator @@ -1160,7 +1160,7 @@ Base size of the content (i.e. nodes that are drawn inside the window). If non-z - |void| **set_content_scale_stretch**\ (\ value\: :ref:`ContentScaleStretch`\ ) - :ref:`ContentScaleStretch` **get_content_scale_stretch**\ (\ ) -The policy to use to determine the final scale factor for 2D elements. This affects how :ref:`content_scale_factor` is applied, in addition to the automatic scale factor determined by :ref:`content_scale_size`. +La politique à utiliser pour déterminer le facteur d'échelle finale pour les éléments 2D. Cela affecte la façon dont :ref:`content_scale_factor` est appliqué, en plus du facteur d'échelle automatique déterminé par :ref:`content_scale_size`. .. rst-class:: classref-item-separator @@ -1177,7 +1177,7 @@ The policy to use to determine the final scale factor for 2D elements. This affe - |void| **set_current_screen**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_current_screen**\ (\ ) -The screen the window is currently on. +L'écran sur lequel est actuellement la fenêtre. .. rst-class:: classref-item-separator @@ -1194,11 +1194,11 @@ The screen the window is currently on. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** is excluded from screenshots taken by :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()`, and :ref:`DisplayServer.screen_get_pixel()`. +Si ``true``, la **Window** est exclue des captures d'écran prises par :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()` et :ref:`DisplayServer.screen_get_pixel()`. -\ **Note:** This property is implemented on macOS and Windows. +\ **Note :** Cette propriété est implémentée sur macOS et Windows. -\ **Note:** Enabling this setting will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure. +\ **Note :** L'activation de ce paramètre empêchera les méthodes standard de capture d'écran de capturer une image de la fenêtre, mais ne garantit **PAS** que d'autres applications ne pourront pas capturer une image. Il ne doit pas être utilisé comme mesure de DRM ou de sécurité. .. rst-class:: classref-item-separator @@ -1234,11 +1234,11 @@ Nécessite que :ref:`transient` soit activé po - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** contents is expanded to the full size of the window, window title bar is transparent. +Si ``true``, le contenu de la **Window** est étendu à la taille complète de la fenêtre, la barre du titre de la fenêtre est transparente. -\ **Note:** This property is implemented only on macOS. +\ **Note :** Cette propriété n'est implémentée que sur macOS. -\ **Note:** This property only works with native windows. +\ **Note :** Cette propriété ne fonctionne qu'avec des fenêtres natives. .. rst-class:: classref-item-separator @@ -1255,7 +1255,7 @@ If ``true``, the **Window** contents is expanded to the full size of the window, - |void| **set_force_native**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_force_native**\ (\ ) -If ``true``, native window will be used regardless of parent viewport and project settings. +Si ``true``, une fenêtre native sera utilisée indépendamment des paramètres du viewport parent et du projet. .. rst-class:: classref-item-separator @@ -1272,7 +1272,7 @@ If ``true``, native window will be used regardless of parent viewport and projec - |void| **set_initial_position**\ (\ value\: :ref:`WindowInitialPosition`\ ) - :ref:`WindowInitialPosition` **get_initial_position**\ (\ ) -Specifies the initial type of position for the **Window**. +Spécifie le type initial de position pour la **Window**. .. rst-class:: classref-item-separator @@ -1289,7 +1289,7 @@ Specifies the initial type of position for the **Window**. - |void| **set_keep_title_visible**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_keep_title_visible**\ (\ ) -If ``true``, the **Window** width is expanded to keep the title bar text fully visible. +Si ``true``, la largeur de la **Window** est étendue pour garder le texte de la barre du titre entièrement visible. .. rst-class:: classref-item-separator @@ -1306,9 +1306,9 @@ If ``true``, the **Window** width is expanded to keep the title bar text fully v - |void| **set_max_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_max_size**\ (\ ) -If non-zero, the **Window** can't be resized to be bigger than this size. +Si différent de zéro, la **Window** ne peut être redimensionné pour être plus grande que cette taille. -\ **Note:** This property will be ignored if the value is lower than :ref:`min_size`. +\ **Note :** Cette propriété sera ignorée si la valeur est inférieure à :ref:`min_size`. .. rst-class:: classref-item-separator @@ -1325,11 +1325,11 @@ If non-zero, the **Window** can't be resized to be bigger than this size. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window**'s maximize button is disabled. +Si ``true``, le bouton de maximisation de la **Window** est désactivé. -\ **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible. +\ **Note :** Si les boutons de minimisation et de minimisation sont tous deux désactivés, les boutons sont entièrement cachés, et seul le bouton de fermeture est visible. -\ **Note:** This property is implemented only on macOS and Windows. +\ **Note :** Cette propriété est implémentée uniquement sur macOS et Windows. .. rst-class:: classref-item-separator @@ -1346,9 +1346,9 @@ If ``true``, the **Window**'s maximize button is disabled. - |void| **set_min_size**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_min_size**\ (\ ) -If non-zero, the **Window** can't be resized to be smaller than this size. +Si différent de zéro, la **Window** ne peut être redimensionnée pour être plus petite que cette taille. -\ **Note:** This property will be ignored in favor of :ref:`get_contents_minimum_size()` if :ref:`wrap_controls` is enabled and if its size is bigger. +\ **Note :** Cette propriété sera ignorée en faveur de :ref:`get_contents_minimum_size()` si :ref:`wrap_controls` est activé et si sa taille est plus grande. .. rst-class:: classref-item-separator @@ -1365,11 +1365,11 @@ If non-zero, the **Window** can't be resized to be smaller than this size. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window**'s minimize button is disabled. +Si ``true``, le bouton de minimisation de la **Window** est désactivé. -\ **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible. +\ **Note :** Si les boutons de minimisation et de minimisation sont tous deux désactivés, les boutons sont entièrement cachés, et seul le bouton de fermeture est visible. -\ **Note:** This property is implemented only on macOS and Windows. +\ **Note :** Cette propriété est implémentée uniquement sur macOS et Windows. .. rst-class:: classref-item-separator @@ -1386,11 +1386,11 @@ If ``true``, the **Window**'s minimize button is disabled. - |void| **set_mode**\ (\ value\: :ref:`Mode`\ ) - :ref:`Mode` **get_mode**\ (\ ) -Set's the window's current mode. +Définit le mode actuel de la fenêtre. -\ **Note:** Fullscreen mode is not exclusive full screen on Windows and Linux. +\ **Note :** Le mode plein écran n'est pas un plein écran exclusif sur Windows et Linux. -\ **Note:** This method only works with native windows, i.e. the main window and **Window**-derived nodes when :ref:`Viewport.gui_embed_subwindows` is disabled in the main viewport. +\ **Note :** Cette méthode ne fonctionne qu'avec des fenêtres natives, c'est-à-dire la fenêtre principale et les nœuds dérivés de **Window** lorsque :ref:`Viewport.gui_embed_subwindows` est désactivé dans le viewport principal. .. rst-class:: classref-item-separator @@ -1407,11 +1407,11 @@ Set's the window's current mode. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, all mouse events will be passed to the underlying window of the same application. See also :ref:`mouse_passthrough_polygon`. +Si ``true``, tous les événements de la souris seront transmis à la fenêtre sous-jacente de la même application. Voir aussi :ref:`mouse_passthrough_polygon`. -\ **Note:** This property is implemented on Linux (X11), macOS and Windows. +\ **Note :** Cette propriété est implémentée sur Linux (X11), macOS et Windows. -\ **Note:** This property only works with native windows. +\ **Note :** Cette propriété ne fonctionne qu'avec des fenêtres natives. .. rst-class:: classref-item-separator @@ -1428,42 +1428,42 @@ If ``true``, all mouse events will be passed to the underlying window of the sam - |void| **set_mouse_passthrough_polygon**\ (\ value\: :ref:`PackedVector2Array`\ ) - :ref:`PackedVector2Array` **get_mouse_passthrough_polygon**\ (\ ) -Sets a polygonal region of the window which accepts mouse events. Mouse events outside the region will be passed through. +Définit une région polygonale de la fenêtre qui accepte les événements de la souris. Les évènements de souris en dehors de cette région passeront au travers. -Passing an empty array will disable passthrough support (all mouse events will be intercepted by the window, which is the default behavior). +Passer un tableau vide désactivera cet effet (tous les événements de la souris seront acceptés par la fenêtre, ce qui est le comportement par défaut). .. tabs:: .. code-tab:: gdscript - # Set region, using Path2D node. + # Définir une région, avec un nœud Path2D. $Window.mouse_passthrough_polygon = $Path2D.curve.get_baked_points() - # Set region, using Polygon2D node. + # Définir une région, avec un nœud Polygon2D. $Window.mouse_passthrough_polygon = $Polygon2D.polygon - # Reset region to default. - $Window.mouse_passthrough_polygon = [] + # Rétablir la région par défaut. + $Window.set_window_mouse_passthrough= [] .. code-tab:: csharp - // Set region, using Path2D node. + // Définir une région, avec un nœud Path2D. GetNode("Window").MousePassthroughPolygon = GetNode("Path2D").Curve.GetBakedPoints(); - // Set region, using Polygon2D node. + // Définir une région, avec un nœud Polygon2D. GetNode("Window").MousePassthroughPolygon = GetNode("Polygon2D").Polygon; - // Reset region to default. + // Rétablir la région par défaut. GetNode("Window").MousePassthroughPolygon = []; -\ **Note:** This property is ignored if :ref:`mouse_passthrough` is set to ``true``. +\ **Note :** Cette propriété est ignorée si :ref:`mouse_passthrough` est défini à ``true``. -\ **Note:** On Windows, the portion of a window that lies outside the region is not drawn, while on Linux (X11) and macOS it is. +\ **Note :** Sous Windows, la partie de la fenêtre en dehors de la région définie n'est pas dessinée, alors qu'elle l'est sous Linux (X11) et macOS. -\ **Note:** This property is implemented on Linux (X11), macOS and Windows. +\ **Note :** Cette méthode est implémentée sur Linux (X11), macOS et Windows. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedVector2Array` for more details. @@ -1482,7 +1482,7 @@ Passing an empty array will disable passthrough support (all mouse events will b - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** will be considered a popup. Popups are sub-windows that don't show as separate windows in system's window manager's window list and will send close request when anything is clicked outside of them (unless :ref:`exclusive` is enabled). +Si ``true``, la **Window** sera considérée comme une popup. Les popups sont des sous-fenêtres qui ne s'affichent pas comme des fenêtres séparées dans la liste des fenêtres du gestionnaire de fenêtre du système et qui enverront une demande de fermeture lorsque un clic est effectué à l'extérieur d'elles (sauf si :ref:`exclusive` est activé). .. rst-class:: classref-item-separator @@ -1516,11 +1516,11 @@ If ``true``, the **Window** will signal to the window manager that it is suppose - |void| **set_position**\ (\ value\: :ref:`Vector2i`\ ) - :ref:`Vector2i` **get_position**\ (\ ) -The window's position in pixels. +La position de la fenêtre en pixels. -If :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` is ``false``, the position is in absolute screen coordinates. This typically applies to editor plugins. If the setting is ``true``, the window's position is in the coordinates of its parent :ref:`Viewport`. +Si :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` vaut ``false``, la position est dans les coordonnées de l'écran absolues. Cela s'applique généralement aux plugins d'éditeur. Si le paramètre vaut ``true``, la position de la fenêtre est dans les coordonnées de son :ref:`Viewport` parent. -\ **Note:** This property only works if :ref:`initial_position` is set to :ref:`WINDOW_INITIAL_POSITION_ABSOLUTE`. +\ **Note :** Cette propriété ne fonctionne que si :ref:`initial_position` est défini à :ref:`WINDOW_INITIAL_POSITION_ABSOLUTE`. .. rst-class:: classref-item-separator @@ -1575,9 +1575,9 @@ La taille de la fenêtre en pixels. - |void| **set_theme**\ (\ value\: :ref:`Theme`\ ) - :ref:`Theme` **get_theme**\ (\ ) -The :ref:`Theme` resource this node and all its :ref:`Control` and **Window** children use. If a child node has its own :ref:`Theme` resource set, theme items are merged with child's definitions having higher priority. +La ressource :ref:`Theme` que ce nœud et tous ses enfants :ref:`Control` et **Window** utilisent. Si un nœud enfant a son propre ensemble de ressources :ref:`Theme`, les éléments de thème sont fusionnés avec les définitions de l'enfant ayant une priorité plus élevée. -\ **Note:** **Window** styles will have no effect unless the window is embedded. +\ **Note :** Les styles de **Window** n'auront aucun effet à moins que la fenêtre ne soit intégrée. .. rst-class:: classref-item-separator @@ -1594,7 +1594,7 @@ The :ref:`Theme` resource this node and all its :ref:`Control`\ ) - :ref:`StringName` **get_theme_type_variation**\ (\ ) -The name of a theme type variation used by this **Window** to look up its own theme items. See :ref:`Control.theme_type_variation` for more details. +Le nom d'une variation de type de thème utilisée par cette **Window** pour rechercher ses propres éléments de thème. Voir :ref:`Control.theme_type_variation` pour plus de détails. .. rst-class:: classref-item-separator @@ -1611,7 +1611,7 @@ The name of a theme type variation used by this **Window** to look up its own th - |void| **set_title**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_title**\ (\ ) -The window's title. If the **Window** is native, title styles set in :ref:`Theme` will have no effect. +Le titre de la fenêtre. Si la **Window** est native, les styles de titre définis dans le :ref:`Theme` n'auront aucun effet. .. rst-class:: classref-item-separator @@ -1628,9 +1628,9 @@ The window's title. If the **Window** is native, title styles set in :ref:`Theme - |void| **set_transient**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_transient**\ (\ ) -If ``true``, the **Window** is transient, i.e. it's considered a child of another **Window**. The transient window will be destroyed with its transient parent and will return focus to their parent when closed. The transient window is displayed on top of a non-exclusive full-screen parent window. Transient windows can't enter full-screen mode. +Si ``true``, la **Window** est transitoire, c'est-à-dire qu'elle est considérée comme un enfant d'une autre **Window**. La fenêtre transitoire sera détruite avec son parent transitoire et redonnera le focus à son parent lorsqu'elle sera fermée. La fenêtre transitoire est affichée par dessus une fenêtre parente en plein écran non exclusif. Les fenêtres transitoires ne peuvent pas entrer en mode plein écran. -Note that behavior might be different depending on the platform. +Notez que le comportement peut être différent selon la plate-forme. .. rst-class:: classref-item-separator @@ -1647,7 +1647,7 @@ Note that behavior might be different depending on the platform. - |void| **set_transient_to_focused**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_transient_to_focused**\ (\ ) -If ``true``, and the **Window** is :ref:`transient`, this window will (at the time of becoming visible) become transient to the currently focused window instead of the immediate parent window in the hierarchy. Note that the transient parent is assigned at the time this window becomes visible, so changing it afterwards has no effect until re-shown. +Si ``true``, et la **Window** a :ref:`transient` d'actif, cette fenêtre deviendra (au moment de devenir visible) transitoire à la fenêtre ayant actuellement le focus au lieu de la fenêtre parente immédiate dans la hiérarchie. Notez que le parent transitoire est assigné au moment où cette fenêtre devient visible, de sorte que le changer après n'a pas d'effet jusqu'à ce qu'elle soit ré-affichée. .. rst-class:: classref-item-separator @@ -1664,11 +1664,11 @@ If ``true``, and the **Window** is :ref:`transient`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window**'s background can be transparent. This is best used with embedded windows. +Si ``true``, le fond de la **Window** peut être transparent. Ceci est généralement utilisé avec des fenêtres intégrées. -\ **Note:** Transparency support is implemented on Linux, macOS and Windows, but availability might vary depending on GPU driver, display manager, and compositor capabilities. +\ **Note :** Le support de la transparence est implémenté sur Linux, macOS et Windows, mais la disponibilité peut varier en fonction du pilote GPU, du gestionnaire d'affichage et des capacités du compositeur. -\ **Note:** This property has no effect if :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed` is set to ``false``. +\ **Note :** Cette propriété n'a aucun effet si :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed` est défini à ``false``. .. rst-class:: classref-item-separator @@ -1685,7 +1685,7 @@ If ``true``, the **Window**'s background can be transparent. This is best used w - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** can't be focused nor interacted with. It can still be visible. +Si ``true``, la **Window** ne peut avoir le focus ni être interagie avec. Elle peut encore être visible. .. rst-class:: classref-item-separator @@ -1736,9 +1736,9 @@ Si ``true``, la fenêtre est visible. - |void| **set_wrap_controls**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_wrapping_controls**\ (\ ) -If ``true``, the window's size will automatically update when a child node is added or removed, ignoring :ref:`min_size` if the new size is bigger. +Si ``true``, la taille de la fenêtre sera automatiquement mise à jour lorsqu'un nœud enfant est ajouté ou enlevé, en ignorant :ref:`min_size` si la nouvelle taille est plus grande. -If ``false``, you need to call :ref:`child_controls_changed()` manually. +Si ``false``, vous devez appeler manuellement :ref:`child_controls_changed()`. .. rst-class:: classref-section-separator @@ -1755,7 +1755,7 @@ Descriptions des méthodes :ref:`Vector2` **_get_contents_minimum_size**\ (\ ) |virtual| |const| :ref:`🔗` -Virtual method to be implemented by the user. Overrides the value returned by :ref:`get_contents_minimum_size()`. +Méthode virtuelle implémentée par l'utilisateur. Redéfinit la valeur renvoyée par :ref:`get_contents_minimum_size()`. .. rst-class:: classref-item-separator @@ -1767,9 +1767,9 @@ Virtual method to be implemented by the user. Overrides the value returned by :r |void| **add_theme_color_override**\ (\ name\: :ref:`StringName`, color\: :ref:`Color`\ ) :ref:`🔗` -Creates a local override for a theme :ref:`Color` with the specified ``name``. Local overrides always take precedence when fetching theme items for the control. An override can be removed with :ref:`remove_theme_color_override()`. +Crée une redéfinition locale pour une :ref:`Color` de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments du thème d'un contrôle. Une redéfinition peut être retirée avec :ref:`remove_theme_color_override()`. -See also :ref:`get_theme_color()` and :ref:`Control.add_theme_color_override()` for more details. +Voir aussi :ref:`get_theme_color()` et :ref:`Control.add_theme_color_override()` pour plus de détails. .. rst-class:: classref-item-separator @@ -1781,7 +1781,7 @@ See also :ref:`get_theme_color()` and :ref: |void| **add_theme_constant_override**\ (\ name\: :ref:`StringName`, constant\: :ref:`int`\ ) :ref:`🔗` -Crée une redéfinition locale pour une constante de thème avec le nom ``name`` spécifié. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une surcharge peut être supprimée avec la méthode :ref:`remove_theme_constant_override()`. +Crée une redéfinition locale pour une constante de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une surcharge peut être supprimée avec la méthode :ref:`remove_theme_constant_override()`. Voir aussi :ref:`get_theme_constant()`. @@ -1795,7 +1795,7 @@ Voir aussi :ref:`get_theme_constant()`. |void| **add_theme_font_override**\ (\ name\: :ref:`StringName`, font\: :ref:`Font`\ ) :ref:`🔗` -Crée une redéfinition locale pour la police :ref:`Font` du thème nommé ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_override()`. +Crée une redéfinition locale pour une :ref:`Font` de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_override()`. Voir aussi :ref:`get_theme_font()`. @@ -1809,7 +1809,7 @@ Voir aussi :ref:`get_theme_font()`. |void| **add_theme_font_size_override**\ (\ name\: :ref:`StringName`, font_size\: :ref:`int`\ ) :ref:`🔗` -Crée une redéfinition locale pour la taille de police du thème nommé ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_size_override()`. +Crée une redéfinition locale pour une taille de police de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments de thème pour le contrôle. Une redéfinition peut être supprimée avec la valeur :ref:`remove_theme_font_size_override()`. Voir aussi :ref:`get_theme_font_size()`. @@ -1837,9 +1837,9 @@ Voir aussi :ref:`get_theme_icon()`. |void| **add_theme_stylebox_override**\ (\ name\: :ref:`StringName`, stylebox\: :ref:`StyleBox`\ ) :ref:`🔗` -Creates a local override for a theme :ref:`StyleBox` with the specified ``name``. Local overrides always take precedence when fetching theme items for the control. An override can be removed with :ref:`remove_theme_stylebox_override()`. +Crée une redéfinition locale pour une :ref:`StyleBox` de thème nommée ``name``. Les redéfinitions locales ont toujours la priorité lors de la récupération des éléments du thème d'un contrôle. Une redéfinition peut être retirée avec :ref:`remove_theme_stylebox_override()`. -See also :ref:`get_theme_stylebox()` and :ref:`Control.add_theme_stylebox_override()` for more details. +Voir aussi :ref:`get_theme_stylebox()` et :ref:`Control.add_theme_stylebox_override()` pour plus de détails. .. rst-class:: classref-item-separator @@ -1851,7 +1851,7 @@ See also :ref:`get_theme_stylebox()` and |void| **begin_bulk_theme_override**\ (\ ) :ref:`🔗` -Prevents ``*_theme_*_override`` methods from emitting :ref:`NOTIFICATION_THEME_CHANGED` until :ref:`end_bulk_theme_override()` is called. +Empêche les méthodes ``*_theme_*_override`` d'émettre :ref:`NOTIFICATION_THEME_CHANGED` jusqu'à ce que :ref:`end_bulk_theme_override()` soit appelée. .. rst-class:: classref-item-separator @@ -1863,7 +1863,7 @@ Prevents ``*_theme_*_override`` methods from emitting :ref:`NOTIFICATION_THEME_C :ref:`bool` **can_draw**\ (\ ) |const| :ref:`🔗` -Returns whether the window is being drawn to the screen. +Renvoie si la fenêtre est dessinée à l'écran. .. rst-class:: classref-item-separator @@ -1875,7 +1875,7 @@ Returns whether the window is being drawn to the screen. |void| **child_controls_changed**\ (\ ) :ref:`🔗` -Requests an update of the **Window** size to fit underlying :ref:`Control` nodes. +Demande une mise à jour de la taille de la **Window** pour contenir les nœuds :ref:`Control` sous-jacents. .. rst-class:: classref-item-separator @@ -1887,7 +1887,7 @@ Requests an update of the **Window** size to fit underlying :ref:`Control` -Ends a bulk theme override update. See :ref:`begin_bulk_theme_override()`. +Termine une mise à jour de masse de redéfinition du thème. Voir :ref:`begin_bulk_theme_override()`. .. rst-class:: classref-item-separator @@ -1899,9 +1899,9 @@ Ends a bulk theme override update. See :ref:`begin_bulk_theme_override()` **get_contents_minimum_size**\ (\ ) |const| :ref:`🔗` -Returns the combined minimum size from the child :ref:`Control` nodes of the window. Use :ref:`child_controls_changed()` to update it when child nodes have changed. +Renvoie la taille minimale combinée des nœuds :ref:`Control` enfants de la fenêtre. Utilisez :ref:`child_controls_changed()` pour la mettre à jour lorsque les nœuds enfants ont changé. -The value returned by this method can be overridden with :ref:`_get_contents_minimum_size()`. +La valeur renvoyée par cette méthode peut être redéfinie par :ref:`_get_contents_minimum_size()`. .. rst-class:: classref-item-separator @@ -1913,7 +1913,7 @@ The value returned by this method can be overridden with :ref:`_get_contents_min :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| :ref:`🔗` -Returns ``true`` if the ``flag`` is set. +Renvoie ``true`` si le drapeau ``flag`` est défini. .. rst-class:: classref-item-separator @@ -1925,7 +1925,7 @@ Returns ``true`` if the ``flag`` is set. :ref:`Window` **get_focused_window**\ (\ ) |static| :ref:`🔗` -Returns the focused window. +Renvoie la fenêtre ayant le focus. .. rst-class:: classref-item-separator @@ -1937,7 +1937,7 @@ Returns the focused window. :ref:`LayoutDirection` **get_layout_direction**\ (\ ) |const| :ref:`🔗` -Returns layout direction and text writing direction. +Renvoie la direction de la mise en page et la direction d'écriture du texte. .. rst-class:: classref-item-separator @@ -1949,9 +1949,9 @@ Returns layout direction and text writing direction. :ref:`Vector2i` **get_position_with_decorations**\ (\ ) |const| :ref:`🔗` -Returns the window's position including its border. +Renvoie la position de la fenêtre en prenant en compte sa bordure. -\ **Note:** If :ref:`visible` is ``false``, this method returns the same value as :ref:`position`. +\ **Note :** Si :ref:`visible` vaut ``false``, cette méthode renvoie la même valeur que :ref:`position`. .. rst-class:: classref-item-separator @@ -1963,9 +1963,9 @@ Returns the window's position including its border. :ref:`Vector2i` **get_size_with_decorations**\ (\ ) |const| :ref:`🔗` -Returns the window's size including its border. +Renvoie la taille de la fenêtre, y compris sa bordure. -\ **Note:** If :ref:`visible` is ``false``, this method returns the same value as :ref:`size`. +\ **Note :** Si :ref:`visible` vaut ``false``, cette méthode renvoie la même valeur que :ref:`size`. .. rst-class:: classref-item-separator @@ -1977,9 +1977,9 @@ Returns the window's size including its border. :ref:`Color` **get_theme_color**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a :ref:`Color` from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a color item with the specified ``name`` and ``theme_type``. +Renvoie une :ref:`Color` du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément de couleur nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for more details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -1991,9 +1991,9 @@ See :ref:`Control.get_theme_color()` for m :ref:`int` **get_theme_constant**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a constant from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a constant item with the specified ``name`` and ``theme_type``. +Renvoie une constante du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément de constante nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for more details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2005,9 +2005,9 @@ See :ref:`Control.get_theme_color()` for m :ref:`float` **get_theme_default_base_scale**\ (\ ) |const| :ref:`🔗` -Returns the default base scale value from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_base_scale` value. +Renvoie la valeur d'échelle de base par défaut du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a une valeur :ref:`Theme.default_base_scale` valide. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2019,9 +2019,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`Font` **get_theme_default_font**\ (\ ) |const| :ref:`🔗` -Returns the default font from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_font` value. +Renvoie la police par défaut du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a une valeur :ref:`Theme.default_font` valide. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2033,9 +2033,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`int` **get_theme_default_font_size**\ (\ ) |const| :ref:`🔗` -Returns the default font size value from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a valid :ref:`Theme.default_font_size` value. +Renvoie la taille de police par défaut du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a une valeur :ref:`Theme.default_font_size` valide. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2047,9 +2047,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`Font` **get_theme_font**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a :ref:`Font` from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a font item with the specified ``name`` and ``theme_type``. +Renvoie une :ref:`Font` du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément de police nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2061,9 +2061,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`int` **get_theme_font_size**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a font size from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a font size item with the specified ``name`` and ``theme_type``. +Renvoie une taille de police du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément de taille de police nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2075,9 +2075,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`Texture2D` **get_theme_icon**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns an icon from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has an icon item with the specified ``name`` and ``theme_type``. +Renvoie une icône du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément d'icône nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2089,9 +2089,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`StyleBox` **get_theme_stylebox**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a :ref:`StyleBox` from the first matching :ref:`Theme` in the tree if that :ref:`Theme` has a stylebox item with the specified ``name`` and ``theme_type``. +Renvoie une :ref:`StyleBox` du premier :ref:`Theme` correspondant dans l'arborescence si ce :ref:`Theme` a un élément de stylebox nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2103,7 +2103,7 @@ See :ref:`Control.get_theme_color()` for d :ref:`int` **get_window_id**\ (\ ) |const| :ref:`🔗` -Returns the ID of the window. +Renvoie l'identifiant de la fenêtre. .. rst-class:: classref-item-separator @@ -2115,7 +2115,7 @@ Returns the ID of the window. |void| **grab_focus**\ (\ ) :ref:`🔗` -Causes the window to grab focus, allowing it to receive user input. +Force la fenêtre à saisir le focus, lui permettant de recevoir l'entrée utilisateur. .. rst-class:: classref-item-separator @@ -2127,7 +2127,7 @@ Causes the window to grab focus, allowing it to receive user input. :ref:`bool` **has_focus**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the window is focused. +Renvoie ``true`` si la fenêtre a le focus. .. rst-class:: classref-item-separator @@ -2139,9 +2139,9 @@ Returns ``true`` if the window is focused. :ref:`bool` **has_theme_color**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a color item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément de couleur nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2153,7 +2153,7 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_color_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition locale pour la :ref:`Color` de thème avec le nom ``name`` spécifié dans ce nœud :ref:`Control`. +Renvoie ``true`` s'il y a une redéfinition locale pour une :ref:`Color` de thème nommée ``name`` dans ce nœud :ref:`Control`. Voir :ref:`add_theme_color_override()`. @@ -2167,9 +2167,9 @@ Voir :ref:`add_theme_color_override()` **has_theme_constant**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a constant item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément de constante nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2181,7 +2181,7 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_constant_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition locale pour une constante de thème avec le nom ``name`` spécifié dans ce nœud :ref:`Control`. +Renvoie ``true`` s'il y a une redéfinition locale pour une constante de thème nommée ``name`` dans ce nœud :ref:`Control`. Voir :ref:`add_theme_constant_override()`. @@ -2195,9 +2195,9 @@ Voir :ref:`add_theme_constant_override()` **has_theme_font**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a font item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément de police nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2209,7 +2209,7 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_font_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Renvoie ``true`` s'il y a une redéfinition pour la :ref:`Font` du thème avec le nom ``name`` spécifié dans ce nœud :ref:`Control`. +Renvoie ``true`` s'il y a une redéfinition pour une :ref:`Font` de thème nommée ``name`` dans ce nœud :ref:`Control`. Voir :ref:`add_theme_font_override()`. @@ -2223,9 +2223,9 @@ Voir :ref:`add_theme_font_override()` **has_theme_font_size**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a font size item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément de taille de police nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2237,9 +2237,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme font size with the specified ``name`` in this :ref:`Control` node. +Renvoie ``true`` s'il y a une redéfinition locale pour une taille de police de thème nommée ``name`` dans ce nœud :ref:`Control`. -See :ref:`add_theme_font_size_override()`. +Voir :ref:`add_theme_font_size_override()`. .. rst-class:: classref-item-separator @@ -2251,9 +2251,9 @@ See :ref:`add_theme_font_size_override()` **has_theme_icon**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has an icon item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément d'icône nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2265,9 +2265,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme icon with the specified ``name`` in this :ref:`Control` node. +Renvoie ``true`` s'il y a une redéfinition locale pour une icône de thème nommée ``name`` dans ce nœud :ref:`Control`. -See :ref:`add_theme_icon_override()`. +Voir :ref:`add_theme_icon_override()`. .. rst-class:: classref-item-separator @@ -2279,9 +2279,9 @@ See :ref:`add_theme_icon_override() :ref:`bool` **has_theme_stylebox**\ (\ name\: :ref:`StringName`, theme_type\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns ``true`` if there is a matching :ref:`Theme` in the tree that has a stylebox item with the specified ``name`` and ``theme_type``. +Renvoie ``true`` s'il y a un :ref:`Theme` correspondant dans l'arborescence qui a un élément de stylebox nommé ``name`` et du type de thème ``theme_type``. -See :ref:`Control.get_theme_color()` for details. +Voir :ref:`Control.get_theme_color()` pour plus de détails. .. rst-class:: classref-item-separator @@ -2293,9 +2293,9 @@ See :ref:`Control.get_theme_color()` for d :ref:`bool` **has_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if there is a local override for a theme :ref:`StyleBox` with the specified ``name`` in this :ref:`Control` node. +Renvoie ``true`` s'il y a une redéfinition locale pour une :ref:`StyleBox` de thème nommée ``name`` dans ce nœud :ref:`Control`. -See :ref:`add_theme_stylebox_override()`. +Voir :ref:`add_theme_stylebox_override()`. .. rst-class:: classref-item-separator @@ -2307,7 +2307,7 @@ See :ref:`add_theme_stylebox_override()` -Hides the window. This is not the same as minimized state. Hidden window can't be interacted with and needs to be made visible with :ref:`show()`. +Cache la fenêtre. Ceci n'est pas identique à l'état minimisé. Une fenêtre cachée ne peut pas être interagie avec et doit être rendue visible avec :ref:`show()`. .. rst-class:: classref-item-separator @@ -2331,7 +2331,7 @@ Renvoie ``true`` si la fenêtre est actuellement intégrée dans une autre fenê :ref:`bool` **is_layout_rtl**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the layout is right-to-left. +Renvoie ``true`` si la mise en page est de droite à gauche. .. rst-class:: classref-item-separator @@ -2343,7 +2343,7 @@ Returns ``true`` if the layout is right-to-left. :ref:`bool` **is_maximize_allowed**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the window can be maximized (the maximize button is enabled). +Renvoie ``true`` si la fenêtre peut être maximisée (le bouton de maximisation est activé). .. rst-class:: classref-item-separator @@ -2355,7 +2355,7 @@ Returns ``true`` if the window can be maximized (the maximize button is enabled) :ref:`bool` **is_using_font_oversampling**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if font oversampling is enabled. See :ref:`set_use_font_oversampling()`. +Renvoie ``true`` si le sur-échantillonnage de la police est activé. Voir :ref:`set_use_font_oversampling()`. .. rst-class:: classref-item-separator @@ -2367,7 +2367,7 @@ Returns ``true`` if font oversampling is enabled. See :ref:`set_use_font_oversam |void| **move_to_center**\ (\ ) :ref:`🔗` -Centers a native window on the current screen and an embedded window on its embedder :ref:`Viewport`. +Centre une fenêtre native sur l'écran actuel et une fenêtre intégrée sur le :ref:`Viewport` dans lequel elle est intégrée. .. rst-class:: classref-item-separator @@ -2381,7 +2381,7 @@ Centers a native window on the current screen and an embedded window on its embe **Obsolète :** Use :ref:`grab_focus()` instead. -Causes the window to grab focus, allowing it to receive user input. +Force la fenêtre à saisir le focus, lui permettant de recevoir l'entrée utilisateur. .. rst-class:: classref-item-separator @@ -2393,13 +2393,13 @@ Causes the window to grab focus, allowing it to receive user input. |void| **popup**\ (\ rect\: :ref:`Rect2i` = Rect2i(0, 0, 0, 0)\ ) :ref:`🔗` -Shows the **Window** and makes it transient (see :ref:`transient`). If ``rect`` is provided, it will be set as the **Window**'s size. Fails if called on the main window. +Affiche la **Window** et le rend transitoire (voir :ref:`transient`). Si un rectangle ``rect`` est fourni, il sera défini comme la taille de la **Window**. Échoue si appelée sur la fenêtre principale. -If :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` is ``true`` (single-window mode), ``rect``'s coordinates are global and relative to the main window's top-left corner (excluding window decorations). If ``rect``'s position coordinates are negative, the window will be located outside the main window and may not be visible as a result. +Si :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` vaut ``true`` (mode fenêtre unique), les coordonnées du ``rect`` sont globales et relatives au coin supérieur gauche de la fenêtre principale (hors décorations de la fenêtre). Si les coordonnées de position du ``rect`` sont négatives, la fenêtre sera située à l'extérieur de la fenêtre principale et ne sera ainsi peut-être pas visible. -If :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` is ``false`` (multi-window mode), ``rect``'s coordinates are global and relative to the top-left corner of the leftmost screen. If ``rect``'s position coordinates are negative, the window will be placed at the top-left corner of the screen. +Si :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` vaut ``false`` (mode multi-fenêtre), les coordonnées du ``rect`` sont globales et relatives au coin supérieur gauche de l'écran le plus à gauche. Si les coordonnées de position du ``rect`` sont négatives, la fenêtre sera placée au coin supérieur gauche de l'écran. -\ **Note:** ``rect`` must be in global coordinates if specified. +\ **Note :** ``rect`` doit être dans les coordonnées globales si spécifié. .. rst-class:: classref-item-separator @@ -2411,9 +2411,9 @@ If :ref:`ProjectSettings.display/window/subwindows/embed_subwindows` = Vector2i(0, 0)\ ) :ref:`🔗` -Popups the **Window** at the center of the current screen, with optionally given minimum size. If the **Window** is embedded, it will be centered in the parent :ref:`Viewport` instead. +Fait apparaître la **Window** comme une popup au centre de l'écran actuel, avec en option une taille minimale donnée. Si la **Window** est intégrée, elle sera à la place centrée dans le :ref:`Viewport` parent. -\ **Note:** Calling it with the default value of ``minsize`` is equivalent to calling it with :ref:`size`. +\ **Note :** L'appeler avec la valeur par défaut de ``minsize`` équivaut à l'appeler avec :ref:`size`. .. rst-class:: classref-item-separator @@ -2425,9 +2425,9 @@ Popups the **Window** at the center of the current screen, with optionally given |void| **popup_centered_clamped**\ (\ minsize\: :ref:`Vector2i` = Vector2i(0, 0), fallback_ratio\: :ref:`float` = 0.75\ ) :ref:`🔗` -Popups the **Window** centered inside its parent **Window**. ``fallback_ratio`` determines the maximum size of the **Window**, in relation to its parent. +Fait apparaître la **Window** comme une popup centrée dans sa **Window** parente. ``fallback_ratio`` détermine la taille maximale de la **Window**, en relation avec son parent. -\ **Note:** Calling it with the default value of ``minsize`` is equivalent to calling it with :ref:`size`. +\ **Note :** L'appeler avec la valeur par défaut de ``minsize`` équivaut à l'appeler avec :ref:`size`. .. rst-class:: classref-item-separator @@ -2439,9 +2439,9 @@ Popups the **Window** centered inside its parent **Window**. ``fallback_ratio`` |void| **popup_centered_ratio**\ (\ ratio\: :ref:`float` = 0.8\ ) :ref:`🔗` -If **Window** is embedded, popups the **Window** centered inside its embedder and sets its size as a ``ratio`` of embedder's size. +Si la **Window** est intégrée, fait apparaître la **Window** comme une popup centrée à l'intérieur de son intégrateur et définit sa taille en tant que ``ratio`` de la taille de l'intégrateur. -If **Window** is a native window, popups the **Window** centered inside the screen of its parent **Window** and sets its size as a ``ratio`` of the screen size. +Si la **Window** est une fenêtre native, fait apparaître la **Window** comme une popup centrée à l'intérieur de l'écran de sa **Window** parente et définit sa taille en tant que ``ratio`` de la taille de l'écran. .. rst-class:: classref-item-separator @@ -2453,9 +2453,9 @@ If **Window** is a native window, popups the **Window** centered inside the scre |void| **popup_exclusive**\ (\ from_node\: :ref:`Node`, rect\: :ref:`Rect2i` = Rect2i(0, 0, 0, 0)\ ) :ref:`🔗` -Attempts to parent this dialog to the last exclusive window relative to ``from_node``, and then calls :ref:`popup()` on it. The dialog must have no current parent, otherwise the method fails. +Essaye de parenter cette boîte de dialogue à la dernière fenêtre exclusive relative à ``from_node``, puis appelle :ref:`popup()` dessus. La boîte de dialogue ne doit pas avoir de parent actuel, sinon la méthode échoue. -See also :ref:`set_unparent_when_invisible()` and :ref:`Node.get_last_exclusive_window()`. +Voir aussi :ref:`set_unparent_when_invisible()` et :ref:`Node.get_last_exclusive_window()`. .. rst-class:: classref-item-separator @@ -2467,9 +2467,9 @@ See also :ref:`set_unparent_when_invisible()`, minsize\: :ref:`Vector2i` = Vector2i(0, 0)\ ) :ref:`🔗` -Attempts to parent this dialog to the last exclusive window relative to ``from_node``, and then calls :ref:`popup_centered()` on it. The dialog must have no current parent, otherwise the method fails. +Essaye de parenter cette boîte de dialogue à la dernière fenêtre exclusive relative à ``from_node``, puis appelle :ref:`popup_centered()` dessus. La boîte de dialogue ne doit pas avoir de parent actuel, sinon la méthode échoue. -See also :ref:`set_unparent_when_invisible()` and :ref:`Node.get_last_exclusive_window()`. +Voir aussi :ref:`set_unparent_when_invisible()` et :ref:`Node.get_last_exclusive_window()`. .. rst-class:: classref-item-separator @@ -2481,9 +2481,9 @@ See also :ref:`set_unparent_when_invisible()`, minsize\: :ref:`Vector2i` = Vector2i(0, 0), fallback_ratio\: :ref:`float` = 0.75\ ) :ref:`🔗` -Attempts to parent this dialog to the last exclusive window relative to ``from_node``, and then calls :ref:`popup_centered_clamped()` on it. The dialog must have no current parent, otherwise the method fails. +Essaye de parenter cette boîte de dialogue à la dernière fenêtre exclusive relative à ``from_node``, puis appelle :ref:`popup_centered_clamped()` dessus. La boîte de dialogue ne doit pas avoir de parent actuel, sinon la méthode échoue. -See also :ref:`set_unparent_when_invisible()` and :ref:`Node.get_last_exclusive_window()`. +Voir aussi :ref:`set_unparent_when_invisible()` et :ref:`Node.get_last_exclusive_window()`. .. rst-class:: classref-item-separator @@ -2495,9 +2495,9 @@ See also :ref:`set_unparent_when_invisible()`, ratio\: :ref:`float` = 0.8\ ) :ref:`🔗` -Attempts to parent this dialog to the last exclusive window relative to ``from_node``, and then calls :ref:`popup_centered_ratio()` on it. The dialog must have no current parent, otherwise the method fails. +Essaye de parenter cette boîte de dialogue à la dernière fenêtre exclusive relative à ``from_node``, puis appelle :ref:`popup_centered_ratio()` dessus. La boîte de dialogue ne doit pas avoir de parent actuel, sinon la méthode échoue. -See also :ref:`set_unparent_when_invisible()` and :ref:`Node.get_last_exclusive_window()`. +Voir aussi :ref:`set_unparent_when_invisible()` et :ref:`Node.get_last_exclusive_window()`. .. rst-class:: classref-item-separator @@ -2509,9 +2509,9 @@ See also :ref:`set_unparent_when_invisible()`, parent_rect\: :ref:`Rect2i`\ ) :ref:`🔗` -Attempts to parent this dialog to the last exclusive window relative to ``from_node``, and then calls :ref:`popup_on_parent()` on it. The dialog must have no current parent, otherwise the method fails. +Essaye de parenter cette boîte de dialogue à la dernière fenêtre exclusive relative à ``from_node``, puis appelle :ref:`popup_on_parent()` dessus. La boîte de dialogue ne doit pas avoir de parent actuel, sinon la méthode échoue. -See also :ref:`set_unparent_when_invisible()` and :ref:`Node.get_last_exclusive_window()`. +Voir aussi :ref:`set_unparent_when_invisible()` et :ref:`Node.get_last_exclusive_window()`. .. rst-class:: classref-item-separator @@ -2523,7 +2523,7 @@ See also :ref:`set_unparent_when_invisible()`\ ) :ref:`🔗` -Popups the **Window** with a position shifted by parent **Window**'s position. If the **Window** is embedded, has the same effect as :ref:`popup()`. +Fait apparaître la **Window** comme une popup avec une position décalée par la positon de la **Window** parente. Si la **Window** est intégrée, a le même effet que :ref:`popup()`. .. rst-class:: classref-item-separator @@ -2535,7 +2535,7 @@ Popups the **Window** with a position shifted by parent **Window**'s position. I |void| **remove_theme_color_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`Color` with the specified ``name`` previously added by :ref:`add_theme_color_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`Color` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_color_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -2559,7 +2559,7 @@ Supprime une redéfinition locale pour une constante de thème nommée ``name`` |void| **remove_theme_font_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`Font` with the specified ``name`` previously added by :ref:`add_theme_font_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`Font` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_font_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -2571,7 +2571,7 @@ Removes a local override for a theme :ref:`Font` with the specified |void| **remove_theme_font_size_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme font size with the specified ``name`` previously added by :ref:`add_theme_font_size_override()` or via the Inspector dock. +Retire une redéfinition locale pour une taille de police de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_font_size_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -2583,7 +2583,7 @@ Removes a local override for a theme font size with the specified ``name`` previ |void| **remove_theme_icon_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme icon with the specified ``name`` previously added by :ref:`add_theme_icon_override()` or via the Inspector dock. +Retire une redéfinition locale pour une icône de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_icon_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -2595,7 +2595,7 @@ Removes a local override for a theme icon with the specified ``name`` previously |void| **remove_theme_stylebox_override**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Removes a local override for a theme :ref:`StyleBox` with the specified ``name`` previously added by :ref:`add_theme_stylebox_override()` or via the Inspector dock. +Retire une redéfinition locale pour une :ref:`StyleBox` de thème nommée ``name`` ajoutée précédemment par :ref:`add_theme_stylebox_override()` ou via le dock Inspecteur. .. rst-class:: classref-item-separator @@ -2607,7 +2607,7 @@ Removes a local override for a theme :ref:`StyleBox` with the sp |void| **request_attention**\ (\ ) :ref:`🔗` -Tells the OS that the **Window** needs an attention. This makes the window stand out in some way depending on the system, e.g. it might blink on the task bar. +Indique à l'OS que le **Window** a besoin d'attention. Cela fait que la fenêtre se démarque d'une certaine manière en fonction du système, par exemple, elle peut clignoter dans la barre des tâches. .. rst-class:: classref-item-separator @@ -2631,7 +2631,7 @@ Réinitialise la taille à la taille minimale, qui est le max de :ref:`min_size< |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Sets a specified window flag. +Définit un drapeau de fenêtre spécifié. .. rst-class:: classref-item-separator @@ -2643,7 +2643,7 @@ Sets a specified window flag. |void| **set_ime_active**\ (\ active\: :ref:`bool`\ ) :ref:`🔗` -If ``active`` is ``true``, enables system's native IME (Input Method Editor). +Si ``active`` vaut ``true``, active l'IME natif du système (Input Method Editor, litt. "Éditeur de la méthode d'entrée"). .. rst-class:: classref-item-separator @@ -2667,7 +2667,7 @@ Déplace l'IME à la position donnée. |void| **set_layout_direction**\ (\ direction\: :ref:`LayoutDirection`\ ) :ref:`🔗` -Sets layout direction and text writing direction. Right-to-left layouts are necessary for certain languages (e.g. Arabic and Hebrew). +Définit la direction de mise en page et la direction d'écriture de texte. Les mises en page de droite à gauche sont nécessaires pour certaines langues (par exemple, l'arabe et l'hébreu). .. rst-class:: classref-item-separator @@ -2679,9 +2679,9 @@ Sets layout direction and text writing direction. Right-to-left layouts are nece |void| **set_unparent_when_invisible**\ (\ unparent\: :ref:`bool`\ ) :ref:`🔗` -If ``unparent`` is ``true``, the window is automatically unparented when going invisible. +Si ``unparent`` vaut ``true``, la fenêtre est automatiquement retirée de son parent lorsqu'elle devient invisible. -\ **Note:** Make sure to keep a reference to the node, otherwise it will be orphaned. You also need to manually call :ref:`Node.queue_free()` to free the window if it's not parented. +\ **Note :** Assurez-vous de garder une référence au nœud, sinon il sera orphelin. Vous devez également appeler manuellement :ref:`Node.queue_free()` pour libérer la fenêtre si elle n'est pas parentée. .. rst-class:: classref-item-separator @@ -2693,7 +2693,7 @@ If ``unparent`` is ``true``, the window is automatically unparented when going i |void| **set_use_font_oversampling**\ (\ enable\: :ref:`bool`\ ) :ref:`🔗` -Enables font oversampling. This makes fonts look better when they are scaled up. +Active le sur-échantillonnage de la police. Cela rend les polices plus belles quand elles sont agrandies. .. rst-class:: classref-item-separator @@ -2705,7 +2705,7 @@ Enables font oversampling. This makes fonts look better when they are scaled up. |void| **show**\ (\ ) :ref:`🔗` -Makes the **Window** appear. This enables interactions with the **Window** and doesn't change any of its property other than visibility (unlike e.g. :ref:`popup()`). +Fait apparaître la **Window**. Cela permet d'interagir avec la **Window** et ne change aucune de ses propriétés autre que sa visibilité (contrairement à par exemple :ref:`popup()`). .. rst-class:: classref-item-separator @@ -2729,7 +2729,7 @@ Starts an interactive drag operation on the window, using the current mouse posi |void| **start_resize**\ (\ edge\: :ref:`WindowResizeEdge`\ ) :ref:`🔗` -Starts an interactive resize operation on the window, using the current mouse position. Call this method when handling a mouse button being pressed to simulate a pressed event on the window's edge. +Démarre une opération de redimensionnement interactive sur la fenêtre, en utilisant la position actuelle de la souris. Appelez cette méthode lors de la manipulation d'un bouton de souris appuyé pour simuler un événement d'appui sur le bord de la fenêtre. .. rst-class:: classref-section-separator @@ -2746,7 +2746,7 @@ Descriptions des propriétés du thème :ref:`Color` **title_color** = ``Color(0.875, 0.875, 0.875, 1)`` :ref:`🔗` -The color of the title's text. +La couleur du texte du titre. .. rst-class:: classref-item-separator @@ -2770,7 +2770,7 @@ La couleur du contour du texte du titre. :ref:`int` **close_h_offset** = ``18`` :ref:`🔗` -Horizontal position offset of the close button, relative to the end of the title bar, towards the beginning of the title bar. +Décalage horizontal de position du bouton de fermeture, par rapport à la fin de la barre du titre, vers le début de la barre du titre. .. rst-class:: classref-item-separator @@ -2782,7 +2782,7 @@ Horizontal position offset of the close button, relative to the end of the title :ref:`int` **close_v_offset** = ``24`` :ref:`🔗` -Vertical position offset of the close button, relative to the bottom of the title bar, towards the top of the title bar. +Décalage vertical de position du bouton de fermeture, par rapport au bas de la barre du titre, vers le haut de la barre du titre. .. rst-class:: classref-item-separator @@ -2794,7 +2794,7 @@ Vertical position offset of the close button, relative to the bottom of the titl :ref:`int` **resize_margin** = ``4`` :ref:`🔗` -Defines the outside margin at which the window border can be grabbed with mouse and resized. +Définit la marge extérieure à laquelle la bordure de la fenêtre peut être saisie avec la souris et redimensionnée. .. rst-class:: classref-item-separator @@ -2806,7 +2806,7 @@ Defines the outside margin at which the window border can be grabbed with mouse :ref:`int` **title_height** = ``36`` :ref:`🔗` -Height of the title bar. +Hauteur de la barre du titre. .. rst-class:: classref-item-separator @@ -2818,7 +2818,7 @@ Height of the title bar. :ref:`int` **title_outline_size** = ``0`` :ref:`🔗` -The size of the title outline. +La taille du contour du titre. .. rst-class:: classref-item-separator @@ -2830,7 +2830,7 @@ The size of the title outline. :ref:`Font` **title_font** :ref:`🔗` -The font used to draw the title. +La police utilisée pour dessiner le titre. .. rst-class:: classref-item-separator @@ -2842,7 +2842,7 @@ The font used to draw the title. :ref:`int` **title_font_size** :ref:`🔗` -The size of the title font. +La taille de la police de titre. .. rst-class:: classref-item-separator @@ -2866,7 +2866,7 @@ L'icône personnalisée pour le bouton de fermeture. :ref:`Texture2D` **close_pressed** :ref:`🔗` -The icon for the close button when it's being pressed. +L'icône pour le bouton de fermeture lorsqu'il est appuyé. .. rst-class:: classref-item-separator @@ -2878,9 +2878,9 @@ The icon for the close button when it's being pressed. :ref:`StyleBox` **embedded_border** :ref:`🔗` -The background style used when the **Window** is embedded. Note that this is drawn only under the window's content, excluding the title. For proper borders and title bar style, you can use ``expand_margin_*`` properties of :ref:`StyleBoxFlat`. +Le style d'arrière-plan utilisé lorsque la **Window** est intégrée. Notez que cela n'est affiché que sous le contenu de la fenêtre, à l'exception du titre. Pour des bordures et un style de barre de titre appropriés, vous pouvez utiliser les propriétés ``expand_margin_*`` de :ref:`StyleBoxFlat`. -\ **Note:** The content background will not be visible unless :ref:`transparent` is enabled. +\ **Note :** L'arrière-plan du contenu ne sera visible que si :ref:`transparent` est activé. .. rst-class:: classref-item-separator @@ -2892,7 +2892,7 @@ The background style used when the **Window** is embedded. Note that this is dra :ref:`StyleBox` **embedded_unfocused_border** :ref:`🔗` -The background style used when the **Window** is embedded and unfocused. +Le style d'arrière-plan utilisé lorsque la **Window** est intégrée et sans le focus. .. |virtual| replace:: :abbr:`virtual (Cette méthode doit typiquement être redéfinie par l'utilisateur pour avoir un effet.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/fr/class_worldenvironment.rst b/classes/fr/class_worldenvironment.rst index fb06a77781..3a666bc400 100644 --- a/classes/fr/class_worldenvironment.rst +++ b/classes/fr/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: @@ -17,11 +17,11 @@ Les propriétés par défaut de l'environnement de toute la scène (effets de po Description ----------- -The **WorldEnvironment** node is used to configure the default :ref:`Environment` for the scene. +Le nœud **WorldEnvironment** est utilisé pour configurer l':ref:`Environment` par défaut pour la scène. -The parameters defined in the **WorldEnvironment** can be overridden by an :ref:`Environment` node set on the current :ref:`Camera3D`. Additionally, only one **WorldEnvironment** may be instantiated in a given scene at a time. +Les paramètres définis dans le **WorldEnvironment** peuvent être redéfinis par un nœud :ref:`Environment` défini sur la :ref:`Camera3D` courante. En plus, un seul **WorldEnvironment** peut être instancié dans une scène donnée à la fois. -The **WorldEnvironment** allows the user to specify default lighting parameters (e.g. ambient lighting), various post-processing effects (e.g. SSAO, DOF, Tonemapping), and how to draw the background (e.g. solid color, skybox). Usually, these are added in order to improve the realism/color balance of the scene. +Le **WorldEnvironment** permet à l'utilisateur de spécifier les paramètres de lumière par défaut (par exemple l'éclairage ambiant), les divers effets de post-traitement (p. ex. SSAO, profondeur de champ, Tonemapping) et comment dessiner l'arrière-plan (p. ex. couleur solide, skybox). Habituellement, ils sont ajoutés afin d'améliorer le réalisme/la balance des couleurs de la scène. .. rst-class:: classref-introduction-group @@ -87,7 +87,7 @@ La ressource :ref:`CameraAttributes` par défaut à util - |void| **set_compositor**\ (\ value\: :ref:`Compositor`\ ) - :ref:`Compositor` **get_compositor**\ (\ ) -The default :ref:`Compositor` resource to use if none set on the :ref:`Camera3D`. +La ressource :ref:`Compositor` par défaut à utiliser si aucune n'est définie sur la :ref:`Camera3D`. .. rst-class:: classref-item-separator diff --git a/classes/fr/index.rst b/classes/fr/index.rst index dec365df46..c521c25d85 100644 --- a/classes/fr/index.rst +++ b/classes/fr/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: Toutes les classes diff --git a/classes/it/class_@gdscript.rst b/classes/it/class_@gdscript.rst index 0afabc330b..d58713891a 100644 --- a/classes/it/class_@gdscript.rst +++ b/classes/it/class_@gdscript.rst @@ -106,11 +106,11 @@ L'infinità positiva rappresentata in virgola mobile. Questo è il risultato del **NAN** = ``nan`` :ref:`🔗` -"Not a Number", an invalid floating-point value. It is returned by some invalid operations, such as dividing floating-point ``0.0`` by ``0.0``. +"Not a Number", indica un valore in virgola mobile non valido. È restituito da alcune operazioni non valide, come la divisione in virgola mobile di ``0.0`` per ``0.0``. -\ :ref:`NAN` has special properties, including that ``!=`` always returns ``true``, while other comparison operators always return ``false``. This is true even when comparing with itself (``NAN == NAN`` returns ``false`` and ``NAN != NAN`` returns ``true``). Due to this, you must use :ref:`@GlobalScope.is_nan()` to check whether a number is equal to :ref:`NAN`. +\ :ref:`NAN` ha proprietà particolari, tra cui quella di restituire sempre ``true`` per l'operatore ``!=``, e per gli altri operatori di uguaglianza restituisce sempre ``false`` . Ciò si applica anche nei confronti con se stesso (``NAN == NAN`` restituisce ``false`` e ``NAN != NAN`` restituisce ``true``). Per questo motivo, è necessario utilizzare :ref:`@GlobalScope.is_nan()` per verificare se un numero è uguale a :ref:`NAN`. -\ **Warning:** "Not a Number" is only a concept with floating-point numbers, and has no equivalent for integers. Dividing an integer ``0`` by ``0`` will not result in :ref:`NAN` and will result in a run-time error instead. +\ **Attenzione:** "Not a Number" è solo un concetto per numeri in virgola mobile, e non ha equivalenti per i numeri interi. Dividere uno ``0`` intero per ``0`` non produrrà :ref:`NAN` ma risulterà in un errore durante l'esecuzione. .. rst-class:: classref-section-separator @@ -261,7 +261,7 @@ Consente di impostare un'indicazione, una stringa indicativa e flag di utilizzo **@export_dir**\ (\ ) :ref:`🔗` -Esporta una proprietà di tipo :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \], or :ref:`PackedStringArray` come un percorso per una cartella. Il percorso sarà limitato alla cartella del progetto e alle sue sottocartelle. Vedi :ref:`@export_global_dir` per consentire la scelta da tutto il filesystem. +Esporta una proprietà di tipo :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \], o :ref:`PackedStringArray` come un percorso per una cartella. Il percorso sarà limitato alla cartella del progetto e alle sue sottocartelle. Vedi :ref:`@export_global_dir` per consentire la scelta da tutto il filesystem. Vedi anche :ref:`@GlobalScope.PROPERTY_HINT_DIR`. @@ -340,11 +340,11 @@ Vedi anche :ref:`@GlobalScope.PROPERTY_HINT_EXP_EASING` = "", ...\ ) |vararg| :ref:`🔗` -Export a :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \], or :ref:`PackedStringArray` property as a path to a file. The path will be limited to the project folder and its subfolders. See :ref:`@export_global_file` to allow picking from the entire filesystem. +Esporta una proprietà di tipo :ref:`String`, :ref:`Array`\ \[:ref:`String`\ \], o :ref:`PackedStringArray` come un percorso per un file. Il percorso sarà limitato alla cartella del progetto e alle sue sottocartelle. Vedi :ref:`@export_global_file` per consentire la scelta da tutto il filesystem. -If ``filter`` is provided, only matching files will be available for picking. +Se ``filter`` è fornito, solo i file corrispondenti saranno disponibili per la raccolta. -See also :ref:`@GlobalScope.PROPERTY_HINT_FILE`. +Vedi anche :ref:`@GlobalScope.PROPERTY_HINT_FILE`. :: @@ -352,7 +352,7 @@ See also :ref:`@GlobalScope.PROPERTY_HINT_FILE` methods to convert it to path. +\ **Nota:** Il file sarà memorizzato e fatto riferimento come UID, se disponibile. Ciò garantisce che il riferimento sia valido anche quando il file viene spostato. È possibile utilizzare i metodi di :ref:`ResourceUID` per convertirlo in percorso. .. rst-class:: classref-item-separator @@ -599,7 +599,7 @@ Definisce un nuovo gruppo per le seguenti proprietà esportate. Questo aiuta a o Se non viene fornito ``prefix``, ogni proprietà seguente verrà aggiunta al gruppo. Il gruppo termina quando viene definito il prossimo gruppo o categoria. Puoi anche forzare la fine di un gruppo utilizzando questa annotazione con stringhe vuote per i parametri, ``@export_group("", "")``. -I gruppi non possono essere nidificati, utilizza :ref:`@export_subgroup` per aggiungere sottogruppi all'interno dei gruppi. +I gruppi non si possono annidare, utilizza :ref:`@export_subgroup` per aggiungere sottogruppi all'interno dei gruppi. Vedi anche :ref:`@GlobalScope.PROPERTY_USAGE_GROUP`. @@ -776,7 +776,7 @@ Vedi anche :ref:`@GlobalScope.PROPERTY_USAGE_SUBGROUP` come pulsante cliccabile con l'etichetta ``text``. Quando il pulsante viene premuto, il chiamabile viene chiamato. -Se ``icon`` è specificato, viene utilizzato per recuperare un'icona per il pulsante tramite :ref:`Control.get_theme_icon()`, dal tipo di tema ``"EditorIcons"``. Se ``icon`` viene omesso, viene utilizzata l'icona predefinita ``"Callable"``. +Se ``icon`` è specificato, viene utilizzato per recuperare un'icona per il pulsante tramite :ref:`Control.get_theme_icon()`, dal tipo del tema ``"EditorIcons"``. Se ``icon`` viene omesso, viene utilizzata l'icona predefinita ``"Callable"``. Considera di usare :ref:`EditorUndoRedoManager` per prevedere l'annullamento sicuro dell'azione. @@ -859,17 +859,17 @@ Segna la proprietà seguente come assegnata quando il nodo è pronto. I valori p **@rpc**\ (\ mode\: :ref:`String` = "authority", sync\: :ref:`String` = "call_remote", transfer_mode\: :ref:`String` = "unreliable", transfer_channel\: :ref:`int` = 0\ ) :ref:`🔗` -Mark the following method for remote procedure calls. See :doc:`High-level multiplayer <../tutorials/networking/high_level_multiplayer>`. +Contrassegna il seguente metodo per le chiamate di procedura remota. Vedi :doc:` Multigiocatore di alto livello <../tutorials/networking/high_level_multiplayer>`. -If ``mode`` is set as ``"any_peer"``, allows any peer to call this RPC function. Otherwise, only the authority peer is allowed to call it and ``mode`` should be kept as ``"authority"``. When configuring functions as RPCs with :ref:`Node.rpc_config()`, each of these modes respectively corresponds to the :ref:`MultiplayerAPI.RPC_MODE_AUTHORITY` and :ref:`MultiplayerAPI.RPC_MODE_ANY_PEER` RPC modes. See :ref:`RPCMode`. If a peer that is not the authority tries to call a function that is only allowed for the authority, the function will not be executed. If the error can be detected locally (when the RPC configuration is consistent between the local and the remote peer), an error message will be displayed on the sender peer. Otherwise, the remote peer will detect the error and print an error there. +Se ``mode`` è impostato a ``"any_peer"``, permette a qualsiasi peer di chiamare questa funzione RPC. Altrimenti, solo al peer dell'autorità è permesso chiamarlo e ``mode`` dovrebbe essere mantenuto a ``"autorità"``. Quando si configurano le funzioni come RPC con :ref:`Node.rpc_config()`, ciascuna di queste modalità corrisponde rispettivamente alle modalità RPC :ref:`MultiplayerAPI.RPC_MODE_AUTHORITY` e :ref:`MultiplayerAPI.RPC_MODE_ANY_PEER`. Vedi :ref:`RPCMode`. Se un peer che non è l'autorità cerca di chiamare una funzione che è consentita solo per l'autorità, la funzione non sarà eseguita. Se l'errore può essere rilevato localmente (quando la configurazione RPC è consistente tra il peer locale e il peer remoto), verrà visualizzato un messaggio di errore sul peer del mittente. Altrimenti, il peer remoto individuerà l'errore e stamperà un errore lì. -If ``sync`` is set as ``"call_remote"``, the function will only be executed on the remote peer, but not locally. To run this function locally too, set ``sync`` to ``"call_local"``. When configuring functions as RPCs with :ref:`Node.rpc_config()`, this is equivalent to setting ``call_local`` to ``true``. +Se ``sync`` è impostato a ``"call_remote"``, la funzione sarà eseguita solo sul peer remoto, ma non localmente. Per eseguire questa funzione anche localmente, imposta ``sync`` a ``"call_local"``. Quando si configurano le funzioni come RPC con :ref:`Node.rpc_config()`, questo equivale a impostare ``call_local`` a ``true``. -The ``transfer_mode`` accepted values are ``"unreliable"``, ``"unreliable_ordered"``, or ``"reliable"``. It sets the transfer mode of the underlying :ref:`MultiplayerPeer`. See :ref:`MultiplayerPeer.transfer_mode`. +I valori accettati da ``transfer_mode`` sono ``"unreliable"``, ``"unreliable_order"``, o ``"reliable"``. Esso imposta la modalità di trasferimento del :ref:`MultiplayerPeer` sottostante. Vedi :ref:`MultiplayerPeer.transfer_mode`. -The ``transfer_channel`` defines the channel of the underlying :ref:`MultiplayerPeer`. See :ref:`MultiplayerPeer.transfer_channel`. +Il ``transfer_channel`` definisce il canale del :ref:`MultiplayerPeer` sottostante. Vedi :ref:`MultiplayerPeer.transfer_channel`. -The order of ``mode``, ``sync`` and ``transfer_mode`` does not matter, but values related to the same argument must not be used more than once. ``transfer_channel`` always has to be the 4th argument (you must specify 3 preceding arguments). +L'ordine di ``mode``, ``sync`` e ``transfer_mode`` non importa, ma i valori relativi allo stesso argomento non devono essere utilizzati più di una volta. ``transfer_channel`` deve sempre essere il quarto argomento (è necessario specificare 3 argomenti precedenti). :: @@ -882,7 +882,7 @@ The order of ``mode``, ``sync`` and ``transfer_mode`` does not matter, but value @rpc("authority", "call_remote", "unreliable", 0) # Equivalent to @rpc func fn_default(): pass -\ **Note:** Methods annotated with :ref:`@rpc` cannot receive objects which define required parameters in :ref:`Object._init()`. See :ref:`Object._init()` for more details. +\ **Nota:** I metodi annotati con :ref:`@rpc` non possono ricevere oggetti che definiscono parametri obbligatori in :ref:`Object._init()`. Per maggiori dettagli, vedi :ref:`Object._init()`. .. rst-class:: classref-item-separator @@ -939,7 +939,7 @@ Segna la seguente dichiarazione per ignorare l'avviso specificato da ``warning`` @warning_ignore("unreachable_code") print("non raggiungibile") -Vedi anche :ref:`@warning_ignore_start` and :ref:`@warning_ignore_restore`. +Vedi anche :ref:`@warning_ignore_start` e :ref:`@warning_ignore_restore`. .. rst-class:: classref-item-separator @@ -1155,7 +1155,7 @@ Stampa: \ **Nota:** Questa funzione può essere utilizzata solo per serializzare oggetti il quale :ref:`GDScript` allegato è memorizzato in un file separato. Gli oggetti senza uno script allegato, con uno script scritto in un altro linguaggio o con uno script integrato non sono supportati. -\ **Nota:** Questa funzione non è ricorsiva, il che significa che gli oggetti nidificati non saranno rappresentati come dizionari. Inoltre, le proprietà passate per riferimento (:ref:`Object`, :ref:`Dictionary`, :ref:`Array` e array impacchettati) vengono copiate per riferimento, non duplicate. +\ **Nota:** Questa funzione non è ricorsiva, il che significa che gli oggetti annidati non saranno rappresentati come dizionari. Inoltre, le proprietà passate per riferimento (:ref:`Object`, :ref:`Dictionary`, :ref:`Array` e array impacchettati) vengono copiate per riferimento, non duplicate. .. rst-class:: classref-item-separator @@ -1342,7 +1342,7 @@ Restituisce un array contenente l'intervallo fornito. :ref:`range()` converte tutti gli argomenti a :ref:`int` prima di elaborarli. -\ **Nota:** Restituisce un array vuoto se nessun valore soddisfa i requisiti (es. ``range(2, 5, -1)`` or ``range(5, 5, 1)``). +\ **Nota:** Restituisce un array vuoto se nessun valore soddisfa i requisiti (es. ``range(2, 5, -1)`` o ``range(5, 5, 1)``). \ **Esempi:**\ diff --git a/classes/it/class_@globalscope.rst b/classes/it/class_@globalscope.rst index 1a51d412b6..5137770af7 100644 --- a/classes/it/class_@globalscope.rst +++ b/classes/it/class_@globalscope.rst @@ -764,7 +764,7 @@ enum **Key**: :ref:`🔗` :ref:`Key` **KEY_NONE** = ``0`` -Valore dell'enumeratore che non corrisponde ad alcun tasto. Questo è usato per inizializzare le proprietà di tipo :ref:`Key` a uno stato generico. +Valore dell'enumeratore che non corrisponde ad alcun tasto. Utilizzato per inizializzare le proprietà di tipo :ref:`Key` a uno stato generico. .. _class_@GlobalScope_constant_KEY_SPECIAL: @@ -2436,7 +2436,7 @@ enum **MouseButton**: :ref:`🔗` :ref:`MouseButton` **MOUSE_BUTTON_NONE** = ``0`` -Valore dell'enumeratore che non corrisponde ad alcun pulsante del mouse. Questo è usato per inizializzare le proprietà di tipo :ref:`MouseButton` a uno stato generico. +Valore dell'enumeratore che non corrisponde ad alcun pulsante del mouse. Utilizzato per inizializzare le proprietà di tipo :ref:`MouseButton` a uno stato generico. .. _class_@GlobalScope_constant_MOUSE_BUTTON_LEFT: @@ -3859,7 +3859,7 @@ Indica che una proprietà di tipo stringa è una password, e ogni carattere è s :ref:`PropertyHint` **PROPERTY_HINT_TOOL_BUTTON** = ``39`` -Indica che una proprietà :ref:`Callable` dovrebbe essere visualizzata come un pulsante cliccabile. Quando il pulsante viene premuto, il chiamabile viene richiamato. La stringa indicativa specifica il testo del pulsante e, facoltativamente, un'icona dal tipo di tema ``"EditorIcons"``. +Indica che una proprietà :ref:`Callable` dovrebbe essere visualizzata come un pulsante cliccabile. Quando il pulsante viene premuto, il chiamabile viene richiamato. La stringa indicativa specifica il testo del pulsante e, facoltativamente, un'icona dal tipo del tema ``"EditorIcons"``. .. code:: text @@ -5781,7 +5781,7 @@ Restituisce un valore "allentato" di ``x`` basato su una funzione di allentament - Minore di -1.0 (esclusi): Ease in-out - 1.0: Lineare - - Compreso tra -1.0 and 0.0 (esclusi): Ease out-in + - Compreso tra -1.0 e 0.0 (esclusi): Ease out-in - 0.0: Costante - Compreso tra 0.0 to 1.0 (esclusi): Ease in - 1.0: Lineare @@ -5849,7 +5849,7 @@ Arrotonda ``x`` verso il basso (verso l'infinito negativo), restituendo il numer Vedi anche :ref:`ceil()`, :ref:`round()`, e :ref:`snapped()`. -\ **Nota:** Per migliore sicurezza del tipo, usa :ref:`floorf()`, :ref:`floori()`, :ref:`Vector2.floor()`, :ref:`Vector3.floor()`, or :ref:`Vector4.floor()`. +\ **Nota:** Per migliore sicurezza del tipo, usa :ref:`floorf()`, :ref:`floori()`, :ref:`Vector2.floor()`, :ref:`Vector3.floor()` o :ref:`Vector4.floor()`. .. rst-class:: classref-item-separator @@ -6779,7 +6779,7 @@ Restituisce un value casuale in virgola mobile tra ``0.0`` e ``1.0`` (inclusi). :ref:`float` **randf_range**\ (\ from\: :ref:`float`, to\: :ref:`float`\ ) :ref:`🔗` -Restituisce un valore casuale in virgola mobile tra ``from`` and ``to`` (inclusi). +Restituisce un valore casuale in virgola mobile tra ``from`` e ``to`` (inclusi). .. tabs:: @@ -7227,15 +7227,15 @@ Una versione di tipo sicuro di :ref:`snapped()` **sqrt**\ (\ x\: :ref:`float`\ ) :ref:`🔗` -Returns the square root of ``x``, where ``x`` is a non-negative number. +Restituisce la radice quadrata di ``x``, dove ``x`` è un numero non negativo. :: - sqrt(9) # Returns 3 - sqrt(10.24) # Returns 3.2 - sqrt(-1) # Returns NaN + sqrt(9) # Restituisce 3 + sqrt(10.24) # Restituisce 3.2 + sqrt(-1) # Restituisce NaN -\ **Note:** Negative values of ``x`` return NaN ("Not a Number"). In C#, if you need negative inputs, use ``System.Numerics.Complex``. +\ **Nota:** I valori negativi di ``x`` restituiscono NaN ("Not a Number"). In C#, se servono valori negativi, è suggerito l'utilizzo di ``System.Numerics.Complex``. .. rst-class:: classref-item-separator @@ -7496,9 +7496,9 @@ Un riferimento debole non è sufficiente per mantenere l'oggetto in vita: se è :ref:`Variant` **wrap**\ (\ value\: :ref:`Variant`, min\: :ref:`Variant`, max\: :ref:`Variant`\ ) :ref:`🔗` -Avvolge il valore :ref:`float` ``value`` tra ``min`` e ``max``. ``min`` è *inclusivo* mentre ``max`` è *esclusivo*. Può essere usato per creare dei funzionamenti simili a cicli o superfici infinite. +Avvolge il valore :ref:`float` ``value`` tra ``min`` e ``max``. ``min`` è *inclusivo* mentre ``max`` è *esclusivo*. Può essere usato per creare dei comportamenti simili a cicli o superfici infinite. -Sia :ref:`int` che :ref:`float` sono supportati. Se uno degli argomenti è :ref:`float` questa funzione restituisce un :ref:`float`, altrimenti restituisce un :ref:`int`. +Entrambi :ref:`int` e :ref:`float` sono supportati. Se uno degli argomenti è :ref:`float` questa funzione restituisce un :ref:`float`, altrimenti restituisce un :ref:`int`. :: @@ -7521,24 +7521,24 @@ Sia :ref:`int` che :ref:`float` sono supportati. Se uno :ref:`float` **wrapf**\ (\ value\: :ref:`float`, min\: :ref:`float`, max\: :ref:`float`\ ) :ref:`🔗` -Wraps the float ``value`` between ``min`` and ``max``. ``min`` is *inclusive* while ``max`` is *exclusive*. This can be used for creating loop-like behavior or infinite surfaces. +Avvolge il valore :ref:`float` ``value`` tra ``min`` e ``max``. ``min`` è *inclusivo* mentre ``max`` è *esclusivo*. Può essere usato per creare dei comportamenti simili a cicli o superfici infinite. :: - # Infinite loop between 5.0 and 9.9 + # Ciclo infinito tra 5.0 e 9.9 value = wrapf(value + 0.1, 5.0, 10.0) :: - # Infinite rotation (in radians) + # Rotazione infinita (in radianti) angle = wrapf(angle + 0.1, 0.0, TAU) :: - # Infinite rotation (in radians) + # Rotazione infinita (in radianti) angle = wrapf(angle + 0.1, -PI, PI) -\ **Note:** If ``min`` is ``0``, this is equivalent to :ref:`fposmod()`, so prefer using that instead. :ref:`wrapf()` is more flexible than using the :ref:`fposmod()` approach by giving the user control over the minimum value. +\ **Nota:** Se ``min`` è ``0``, questo è equivalente a :ref:`fposmod()`, quindi è preferibile utilizzare quello invece. :ref:`wrapf()` è più flessibile rispetto a :ref:`fposmod()` perché permette di controllare il valore minimo. .. rst-class:: classref-item-separator @@ -7550,11 +7550,11 @@ Wraps the float ``value`` between ``min`` and ``max``. ``min`` is *inclusive* wh :ref:`int` **wrapi**\ (\ value\: :ref:`int`, min\: :ref:`int`, max\: :ref:`int`\ ) :ref:`🔗` -Avvolge il valore intero ``value`` tra ``min`` e ``max``. ``min`` è *inclusivo* mentre ``max`` è *esclusivo*. Può essere usato per creare dei funzionamenti simili a cicli o superfici infinite. +Avvolge il valore intero ``value`` tra ``min`` e ``max``. ``min`` è *inclusivo* mentre ``max`` è *esclusivo*. Può essere usato per creare dei comportamenti simili a cicli o superfici infinite. :: - # Ciclo infinito tra 5 and 9 + # Ciclo infinito tra 5 e 9 frame = wrapi(frame + 1, 5, 10) :: diff --git a/classes/it/class_aabb.rst b/classes/it/class_aabb.rst index 8dd3e221cd..08dc2fbc39 100644 --- a/classes/it/class_aabb.rst +++ b/classes/it/class_aabb.rst @@ -12,13 +12,13 @@ Una bounding box 3D allineata agli assi. Descrizione ---------------------- -The **AABB** built-in :ref:`Variant` type represents an axis-aligned bounding box in a 3D space. It is defined by its :ref:`position` and :ref:`size`, which are :ref:`Vector3`. It is frequently used for fast overlap tests (see :ref:`intersects()`). Although **AABB** itself is axis-aligned, it can be combined with :ref:`Transform3D` to represent a rotated or skewed bounding box. +Il tipo di :ref:`Variant` integrato **AABB** rappresenta una bounding box allineata agli assi in uno spazio 3D. È definito dalla sua posizione (:ref:`position`) e dimensioni (:ref:`size`), che sono :ref:`Vector3`. È spesso utilizzato per fare test rapidi di sovrapposizione (vedi :ref:`intersects()`). Nonostante **AABB** sia allineato agli assi, può essere combinato con :ref:`Transform3D` per rappresentare una bounding box ruotata o inclinata. -It uses floating-point coordinates. The 2D counterpart to **AABB** is :ref:`Rect2`. There is no version of **AABB** that uses integer coordinates. +Utilizza coordinate in virgola mobile. La controparte 2D a **AABB** è :ref:`Rect2`. Non esiste una versione di **AABB** che utilizza coordinate intere. -\ **Note:** Negative values for :ref:`size` are not supported. With negative size, most **AABB** methods do not work correctly. Use :ref:`abs()` to get an equivalent **AABB** with a non-negative size. +\ **Nota:** I valori negativi per :ref:`size` non sono supportati. Con dimensioni negative, la maggior parte dei metodi **AABB** non funzionano correttamente. Utilizza :ref:`abs()` per ottenere un **AABB** equivalente con una dimensione non negativa. -\ **Note:** In a boolean context, an **AABB** evaluates to ``false`` if both :ref:`position` and :ref:`size` are zero (equal to :ref:`Vector3.ZERO`). Otherwise, it always evaluates to ``true``. +\ **Nota:** In un contesto booleano, un **AABB** è valutato come ``false`` se sia :ref:`position` sia :ref:`size` sono zero (pari a :ref:`Vector3.ZERO`). Altrimenti, è sempre valutato come ``true``. .. note:: @@ -361,7 +361,7 @@ Restituisce il punto centrale della bounding box. Questo è equivalente a ``posi :ref:`Vector3` **get_endpoint**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the position of one of the 8 vertices that compose this bounding box. With an ``idx`` of ``0`` this is the same as :ref:`position`, and an ``idx`` of ``7`` is the same as :ref:`end`. +Restituisce la posizione di uno degli 8 vertici che compongono questa bounding box. Con un ``idx`` di ``0`` è la stessa di :ref:`position`, e un ``idx`` di ``7`` è la stessa di :ref:`end`. .. rst-class:: classref-item-separator @@ -523,7 +523,7 @@ Restituisce il volume della bounding box. Questo è equivalente a ``size.x * siz :ref:`AABB` **grow**\ (\ by\: :ref:`float`\ ) |const| :ref:`🔗` -Restituisce una copia di questa bounding box estesa su tutti i lati dalla quantità fornita (``by``). Una quantità negativa invece restringe la scatola. +Restituisce una copia di questa bounding box estesa su tutti i lati dalla quantità fornita (``by``). Una quantità negativa invece restringe il box. .. tabs:: diff --git a/classes/it/class_acceptdialog.rst b/classes/it/class_acceptdialog.rst index 6f67a2f090..199bdecb86 100644 --- a/classes/it/class_acceptdialog.rst +++ b/classes/it/class_acceptdialog.rst @@ -133,7 +133,7 @@ Emesso quando la finestra di dialogo è accettata, ossia quando il pulsante OK v **custom_action**\ (\ action\: :ref:`StringName`\ ) :ref:`🔗` -Emitted when a custom button with an action is pressed. See :ref:`add_button()`. +Emesso quando viene premuto un pulsante personalizzato con un'azione. Vedi :ref:`add_button()`. .. rst-class:: classref-section-separator @@ -242,13 +242,13 @@ Descrizioni dei metodi :ref:`Button` **add_button**\ (\ text\: :ref:`String`, right\: :ref:`bool` = false, action\: :ref:`String` = ""\ ) :ref:`🔗` -Adds a button with label ``text`` and a custom ``action`` to the dialog and returns the created button. +Aggiunge un pulsante con l'etichetta ``text`` e una azione ``action`` personalizzata alla finestra di dialogo e restituisce il pulsante creato. -If ``action`` is not empty, pressing the button will emit the :ref:`custom_action` signal with the specified action string. +Se ``action`` non è vuoto, premendo il pulsante verrà emesso il segnale :ref:`custom_action` con la stringa di azione specificata. -If ``true``, ``right`` will place the button to the right of any sibling buttons. +Se ``true``, ``right`` metterà il pulsante a destra di eventuali pulsanti fratelli. -You can use :ref:`remove_button()` method to remove a button created with this method from the dialog. +È possibile usare il metodo :ref:`remove_button()` per rimuovere un pulsante creato con questo metodo dalla finestra di dialogo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_aimmodifier3d.rst b/classes/it/class_aimmodifier3d.rst index 263f0ff8aa..0b5bf7c4d4 100644 --- a/classes/it/class_aimmodifier3d.rst +++ b/classes/it/class_aimmodifier3d.rst @@ -14,9 +14,9 @@ L'**AimModifier3D** ruota un osso per puntare verso un osso di riferimento. Descrizione ---------------------- -This is a simple version of :ref:`LookAtModifier3D` that only allows bone to the reference without advanced options such as angle limitation or time-based interpolation. +Questa è una versione semplice di :ref:`LookAtModifier3D` che consente solo un osso come riferimento, senza opzioni avanzate come la limitazione dell'angolo o l'interpolazione nel tempo. -The feature is simplified, but instead it is implemented with smooth tracking without euler, see :ref:`set_use_euler()`. +La funzionalità è semplificata, ma è implementata con un tracciamento fluido senza Eulero, vedere :ref:`set_use_euler()`. .. rst-class:: classref-reftable-group @@ -165,9 +165,9 @@ Imposta l'asse della prima rotazione. È abilitato solo se :ref:`is_using_euler( |void| **set_use_euler**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If sets ``enabled`` to ``true``, it provides rotation with using euler. +Se ``enabled`` è impostato su ``true``, la rotazione avviene attraverso Eulero. -If sets ``enabled`` to ``false``, it provides rotation with using rotation by arc generated from the forward axis vector and the vector toward the reference. +Se ``enabled`` è impostato su ``false``, la rotazione avviene attraverso un arco generato dal vettore dell'asse in avanti e dal vettore verso il riferimento. .. rst-class:: classref-item-separator @@ -179,7 +179,7 @@ If sets ``enabled`` to ``false``, it provides rotation with using rotation by ar |void| **set_use_secondary_rotation**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If sets ``enabled`` to ``true``, it provides rotation by two axes. It is enabled only if :ref:`is_using_euler()` is ``true``. +Se ``enabled`` è impostato su ``true``, fornisce la rotazione su due assi. È abilitato solo se :ref:`is_using_euler()` è ``true``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_animatablebody2d.rst b/classes/it/class_animatablebody2d.rst index 7f07dff24d..8a559dc813 100644 --- a/classes/it/class_animatablebody2d.rst +++ b/classes/it/class_animatablebody2d.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_animatablebody3d.rst b/classes/it/class_animatablebody3d.rst index 450dde7575..8bd4525b1e 100644 --- a/classes/it/class_animatablebody3d.rst +++ b/classes/it/class_animatablebody3d.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - `Demo dei test di fisica 3D `__ diff --git a/classes/it/class_animation.rst b/classes/it/class_animation.rst index 05a1def64d..8686ba602c 100644 --- a/classes/it/class_animation.rst +++ b/classes/it/class_animation.rst @@ -570,7 +570,7 @@ La lunghezza totale dell'animazione (in secondi). - |void| **set_loop_mode**\ (\ value\: :ref:`LoopMode`\ ) - :ref:`LoopMode` **get_loop_mode**\ (\ ) -Determines the behavior of both ends of the animation timeline during animation playback. This indicates whether and how the animation should be restarted, and is also used to correctly interpolate animation cycles. +Determina il comportamento di entrambe le estremità della timeline dell'animazione durante la riproduzione. Indica se e come riavviare l'animazione e serve anche per interpolare correttamente i cicli di animazione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationmixer.rst b/classes/it/class_animationmixer.rst index f2330b3355..ec22458513 100644 --- a/classes/it/class_animationmixer.rst +++ b/classes/it/class_animationmixer.rst @@ -162,9 +162,9 @@ Informa quando viene modificata una lista di animazione. **animation_started**\ (\ anim_name\: :ref:`StringName`\ ) :ref:`🔗` -Notifies when an animation starts playing. +Notifica quando inizia la riproduzione di un'animazione. -\ **Note:** This signal is not emitted if an animation is looping. +\ **Nota:** Questo segnale non viene emesso se un'animazione è in ripetizione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationnode.rst b/classes/it/class_animationnode.rst index 60dcc87510..cdff0c6e8e 100644 --- a/classes/it/class_animationnode.rst +++ b/classes/it/class_animationnode.rst @@ -290,7 +290,7 @@ Quando si eredita da :ref:`AnimationRootNode`, implemen :ref:`bool` **_has_filter**\ (\ ) |virtual| |const| :ref:`🔗` -When inheriting from :ref:`AnimationRootNode`, implement this virtual method to return whether the blend tree editor should display filter editing on this animation node. +Quando si eredita da :ref:`AnimationRootNode`, implementare questo metodo virtuale per restituire se l'editor dell'albero di fusione dovrebbe visualizzare la modifica del filtro su questo nodo di animazione. .. rst-class:: classref-item-separator @@ -344,9 +344,9 @@ Aggiunge un input al nodo di animazione. È utile solo per i nodi di animazione |void| **blend_animation**\ (\ animation\: :ref:`StringName`, time\: :ref:`float`, delta\: :ref:`float`, seeked\: :ref:`bool`, is_external_seeking\: :ref:`bool`, blend\: :ref:`float`, looped_flag\: :ref:`LoopedFlag` = 0\ ) :ref:`🔗` -Blends an animation by ``blend`` amount (name must be valid in the linked :ref:`AnimationPlayer`). A ``time`` and ``delta`` may be passed, as well as whether ``seeked`` happened. +Fonde un'animazione della quantità ``blend`` (il nome deve essere valido nell':ref:`AnimationPlayer` collegato). È possibile passare un tempo (``time``) e un ``delta``, nonché se è avvenuta una ricerca (``seeked``). -A ``looped_flag`` is used by internal processing immediately after the loop. +Un ``looped_flag`` è utilizzato dall'elaborazione interna immediatamente dopo la ripetizione. .. rst-class:: classref-item-separator @@ -358,7 +358,7 @@ A ``looped_flag`` is used by internal processing immediately after the loop. :ref:`float` **blend_input**\ (\ input_index\: :ref:`int`, time\: :ref:`float`, seek\: :ref:`bool`, is_external_seeking\: :ref:`bool`, blend\: :ref:`float`, filter\: :ref:`FilterAction` = 0, sync\: :ref:`bool` = true, test_only\: :ref:`bool` = false\ ) :ref:`🔗` -Blends an input. This is only useful for animation nodes created for an :ref:`AnimationNodeBlendTree`. The ``time`` parameter is a relative delta, unless ``seek`` is ``true``, in which case it is absolute. A filter mode may be optionally passed. +Fonde un input. Questo è utile solo per i nodi di animazione creati per un :ref:`AnimationNodeBlendTree`. Il parametro ``time`` è un delta relativo, a meno che ``seek`` non sia ``true``, nel qual caso è assoluto. È possibile passare facoltativamente una modalità di filtro. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationnodeblendtree.rst b/classes/it/class_animationnodeblendtree.rst index 9975f8783a..69a9e3477b 100644 --- a/classes/it/class_animationnodeblendtree.rst +++ b/classes/it/class_animationnodeblendtree.rst @@ -178,7 +178,7 @@ Descrizioni dei metodi |void| **add_node**\ (\ name\: :ref:`StringName`, node\: :ref:`AnimationNode`, position\: :ref:`Vector2` = Vector2(0, 0)\ ) :ref:`🔗` -Aggiunge un :ref:`AnimationNode` alla posizione ``position``. Il nome ``name`` è utilizzato per identificare il nodo di animazione secondario creato in seguito. +Aggiunge un :ref:`AnimationNode` alla posizione ``position``. Il nome ``name`` serve per identificare il nodo di animazione secondario creato in seguito. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationnodeextension.rst b/classes/it/class_animationnodeextension.rst index 8550b34aad..173b079bc2 100644 --- a/classes/it/class_animationnodeextension.rst +++ b/classes/it/class_animationnodeextension.rst @@ -16,7 +16,7 @@ Classe base per estendere gli :ref:`AnimationRootNode` Descrizione ---------------------- -**AnimationNodeExtension** espone le API di :ref:`AnimationRootNode` per consentire agli utenti di estenderlo da GDScript, C# o C++. Questa classe non è pensata per essere usata direttamente, ma per essere estesa da altre classi. È utilizzata per creare nodi personalizzati per il sistema di :ref:`AnimationTree`. +**AnimationNodeExtension** espone le API di :ref:`AnimationRootNode` per consentire agli utenti di estenderlo da GDScript, C# o C++. Questa classe non è pensata per essere usata direttamente, ma per essere estesa da altre classi. Serve per creare nodi personalizzati per il sistema di :ref:`AnimationTree`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_animationnodeoneshot.rst b/classes/it/class_animationnodeoneshot.rst index 3d9c0d932e..fb5b444000 100644 --- a/classes/it/class_animationnodeoneshot.rst +++ b/classes/it/class_animationnodeoneshot.rst @@ -250,7 +250,7 @@ Se :ref:`autorestart` è ``true - |void| **set_break_loop_at_end**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_loop_broken_at_end**\ (\ ) -If ``true``, breaks the loop at the end of the loop cycle for transition, even if the animation is looping. +Se ``true``, interrompe la ripetizione alla fine del ciclo per la transizione, anche se l'animazione è in ripetizione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationnodestatemachineplayback.rst b/classes/it/class_animationnodestatemachineplayback.rst index b10c561a1c..ce657a72db 100644 --- a/classes/it/class_animationnodestatemachineplayback.rst +++ b/classes/it/class_animationnodestatemachineplayback.rst @@ -95,9 +95,9 @@ Segnali **state_finished**\ (\ state\: :ref:`StringName`\ ) :ref:`🔗` -Emitted when the ``state`` finishes playback. If ``state`` is a state machine set to grouped mode, its signals are passed through with its name prefixed. +Emesso quando lo stato ``state`` termina la riproduzione. Se ``state`` è una macchina a stati impostata in modalità raggruppata, i suoi segnali vengono trasmessi con il suo nome come prefisso. -If there is a crossfade, this will be fired when the influence of the :ref:`get_fading_from_node()` animation is no longer present. +Se è presente una dissolvenza incrociata, questo segnale verrà attivato quando l'influenza dell'animazione di :ref:`get_fading_from_node()` non sarà più presente. .. rst-class:: classref-item-separator @@ -109,7 +109,7 @@ If there is a crossfade, this will be fired when the influence of the :ref:`get_ **state_started**\ (\ state\: :ref:`StringName`\ ) :ref:`🔗` -Emitted when the ``state`` starts playback. If ``state`` is a state machine set to grouped mode, its signals are passed through with its name prefixed. +Emesso quando lo stato ``state`` avvia la riproduzione. Se ``state`` è una macchina a stati impostata in modalità raggruppata, i suoi segnali vengono trasmessi con il suo nome come prefisso. .. rst-class:: classref-section-separator diff --git a/classes/it/class_animationnodestatemachinetransition.rst b/classes/it/class_animationnodestatemachinetransition.rst index 79bc4c2f2d..f742f8be9a 100644 --- a/classes/it/class_animationnodestatemachinetransition.rst +++ b/classes/it/class_animationnodestatemachinetransition.rst @@ -227,7 +227,7 @@ Determina se la transizione dovrebbe essere disattivata, abilitata quando si uti - |void| **set_break_loop_at_end**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_loop_broken_at_end**\ (\ ) -If ``true``, breaks the loop at the end of the loop cycle for transition, even if the animation is looping. +Se ``true``, interrompe la ripetizione alla fine del ciclo per la transizione, anche se l'animazione è in ripetizione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_animationnodetimeseek.rst b/classes/it/class_animationnodetimeseek.rst index 8fe782138b..94bb59230f 100644 --- a/classes/it/class_animationnodetimeseek.rst +++ b/classes/it/class_animationnodetimeseek.rst @@ -82,7 +82,7 @@ Descrizioni delle proprietà - |void| **set_explicit_elapse**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_explicit_elapse**\ (\ ) -If ``true``, some processes are executed to handle keys between seeks, such as calculating root motion and finding the nearest discrete key. +Se ``true``, sono eseguiti alcuni processi per gestire le chiavi tra le funzioni di ricerca, come il calcolo del movimento radice e la ricerca della chiave discreta più vicina. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_animationnodetransition.rst b/classes/it/class_animationnodetransition.rst index a7ed5a55df..9ccf0cc19a 100644 --- a/classes/it/class_animationnodetransition.rst +++ b/classes/it/class_animationnodetransition.rst @@ -242,7 +242,7 @@ Abilita o disabilita l'avanzamento automatico per l'ingresso all'indice ``input` |void| **set_input_break_loop_at_end**\ (\ input\: :ref:`int`, enable\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, breaks the loop at the end of the loop cycle for transition, even if the animation is looping. +Se ``true``, interrompe la ripetizione alla fine del ciclo per la transizione, anche se l'animazione è in ripetizione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_area2d.rst b/classes/it/class_area2d.rst index d685a32baa..66ac969ba3 100644 --- a/classes/it/class_area2d.rst +++ b/classes/it/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/it/class_area3d.rst b/classes/it/class_area3d.rst index d9e5096ca5..7f67e0b980 100644 --- a/classes/it/class_area3d.rst +++ b/classes/it/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/it/class_array.rst b/classes/it/class_array.rst index e2449a324b..03203b9b26 100644 --- a/classes/it/class_array.rst +++ b/classes/it/class_array.rst @@ -12,40 +12,48 @@ Una struttura di dati integrata che contiene una sequenza di elementi. Descrizione ---------------------- -Una struttura dati che può contenere una sequenza di elementi di qualsiasi tipo di :ref:`Variant`. Gli elementi sono accessibili da un indice numerico a partire da ``0``. Gli indici negativi sono utilizzati per contare dalla fine (``-1`` è l'ultimo elemento, ``-2`` è il penultimo, ecc.). +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). .. tabs:: .. code-tab:: gdscript - var array = ["Primo", 2, 3, "Ultimo"] - print(array[0]) # Stampa "Primo" - print(array[2]) # Stampa 3 - print(array[-1]) # Stampa "Ultimo" + var array = ["First", 2, 3, "Last"] + print(array[0]) # Prints "First" + print(array[2]) # Prints 3 + print(array[-1]) # Prints "Last" - array[1] = "Secondo" - print(array[1]) # Stampa "Secondo" - print(array[-3]) # Stampa "Secondo" + array[1] = "Second" + print(array[1]) # Prints "Second" + print(array[-3]) # Prints "Second" + + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] .. code-tab:: csharp - Godot.Collections.Array array = ["Primo", 2, 3, "Ultimo"]; - GD.Print(array[0]); // Stampa "Primo" - GD.Print(array[2]); // Stampa 3 - GD.Print(array[^1]);; // Stampa "Ultimo" + Godot.Collections.Array array = ["First", 2, 3, "Last"]; + GD.Print(array[0]); // Prints "First" + GD.Print(array[2]); // Prints 3 + GD.Print(array[^1]); // Prints "Last" - array[2] = "Secondo"; - GD.Print(array[1]); // Stampa "Secondo" - GD.Print(array[^3]); // Stampa "Secondo" + array[1] = "Second"; + GD.Print(array[1]); // Prints "Second" + GD.Print(array[^3]); // Prints "Second" + + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; -\ **Nota:** Gli array sono sempre passati per **riferimento**. Per ottenere una copia di un array che può essere modificato indipendentemente dall'array originale, utilizza :ref:`duplicate()`. +\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. -\ **Nota:** Rimuovere elementi durante un'iterazione su un array **non** è supportato e risulterà in comportamento imprevedibile. +\ **Note:** Erasing elements while iterating over arrays is **not** supported and will result in unpredictable behavior. -\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio :ref:`PackedInt64Array` in confronto a ``Array[int]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. +\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. :ref:`PackedInt64Array` versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. .. note:: @@ -656,11 +664,11 @@ Per contare quanti elementi in un array soddisfano una condizione, vedi :ref:`re :ref:`Array` **duplicate**\ (\ deep\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns a new copy of the array. +Restituisce una nuova copia dell'array. -By default, a **shallow** copy is returned: all nested **Array**, :ref:`Dictionary`, and :ref:`Resource` elements are shared with the original array. Modifying any of those in one array will also affect them in the other. +Normalmente, viene restituita una copia **superficiale**: tutti gli elementi annidati di tipo **Array**, :ref:`Dictionary` e :ref:`Resource` sono condivisi con l'array originale. Modificarli in un array li influenzerà anche nell'altro. -If ``deep`` is ``true``, a **deep** copy is returned: all nested arrays and dictionaries are also duplicated (recursively). Any :ref:`Resource` is still shared with the original array, though. +Se ``deep`` è ``true``, viene restituita una copia **profonda**: anche tutti gli array e i dizionari annidati sono duplicati (ricorsivamente). Tuttavia, qualsiasi oggetto :ref:`Resource` rimane condiviso con l'array originale. .. rst-class:: classref-item-separator @@ -672,9 +680,9 @@ If ``deep`` is ``true``, a **deep** copy is returned: all nested arrays and dict :ref:`Array` **duplicate_deep**\ (\ deep_subresources_mode\: :ref:`int` = 1\ ) |const| :ref:`🔗` -Duplicates this array, deeply, like :ref:`duplicate()`\ ``(true)``, with extra control over how subresources are handled. +Duplica questo array profondamente, come :ref:`duplicate()`\ ``(true)``, con ulteriore controllo su come le sottorisorse sono gestite. -\ ``deep_subresources_mode`` must be one of the values from :ref:`DeepDuplicateMode`. By default, only internal resources will be duplicated (recursively). +\ ``deep_subresources_mode`` deve essere uno dei valori di :ref:`DeepDuplicateMode`. Come predefinito, solo le risorse interne saranno duplicate (ricorsivamente). .. rst-class:: classref-item-separator @@ -823,9 +831,9 @@ Restituisce il primo elemento dell'array. Se l'array è vuoto, fallisce e restit :ref:`Variant` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the element at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``null``. +Restituisce l'elemento all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``null``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -929,11 +937,11 @@ Restituisce un valore intero di hash a 32 bit che rappresenta l'array e i sui co :ref:`int` **insert**\ (\ position\: :ref:`int`, value\: :ref:`Variant`\ ) :ref:`🔗` -Inserts a new element (``value``) at a given index (``position``) in the array. ``position`` should be between ``0`` and the array's :ref:`size()`. If negative, ``position`` is considered relative to the end of the array. +Inserisce un nuovo elemento (``value``) a un indice fornito (``position``) nell'array. ``position`` dovrebbe essere tra ``0`` e la dimensione dell'array (:ref:`size()`). Se negativo, ``position`` è considerato relativo alla fine dell'array. -Returns :ref:`@GlobalScope.OK` on success, or one of the other :ref:`Error` constants if this method fails. +Restituisce :ref:`@GlobalScope.OK` al successo, o una delle altre costanti di :ref:`Error` se questo metodo fallisce. -\ **Note:** Every element's index after ``position`` needs to be shifted forward, which may have a noticeable performance cost, especially on larger arrays. +\ **Nota:** Ogni indice degli elementi dopo l'indice ``position`` deve essere spostato in avanti, il che potrebbe avere un impatto notevole sulle prestazioni, soprattutto sugli array più grandi. .. rst-class:: classref-item-separator @@ -1002,7 +1010,7 @@ In GDScript, è possibile definire un array tipizzato con la tipizzazione static |void| **make_read_only**\ (\ ) :ref:`🔗` -Rende l'array di sola lettura. Gli elementi dell'array non possono essere sovrascritti con valori diversi, e il loro ordine non può cambiare. Non si applica agli elementi nidificati, come i dizionari. +Rende l'array di sola lettura. Gli elementi dell'array non possono essere sovrascritti con valori diversi, e il loro ordine non può cambiare. Non si applica agli elementi annidati, come i dizionari. In GDScript, gli array diventano automaticamente di sola lettura se dichiarati con la parola chiave ``const``. @@ -1218,13 +1226,13 @@ Vedi anche :ref:`map()`, :ref:`filter()`\ ) :ref:`🔗` -Removes the element from the array at the given index (``position``). If the index is out of bounds, this method fails. If the index is negative, ``position`` is considered relative to the end of the array. +Rimuove l'elemento dall'array all'indice ``position``. Se l'indice è fuori dai limiti, questo metodo fallisce. Se l'indice è negativo, ``position`` è considerato relativo alla fine dell'array. -If you need to return the removed element, use :ref:`pop_at()`. To remove an element by value, use :ref:`erase()` instead. +Se è necessario restituire l'elemento rimosso, usa :ref:`pop_at()`. Per rimuovere un elemento per valore, usa invece :ref:`erase()`. -\ **Note:** This method shifts every element's index after ``position`` back, which may have a noticeable performance cost, especially on larger arrays. +\ **Nota:** Questo metodo sposta indietro l'indice di ogni elemento dopo ``position``, il che potrebbe avere un notevole costo sulle prestazioni, soprattutto sugli array più grandi. -\ **Note:** The ``position`` cannot be negative. To remove an element relative to the end of the array, use ``arr.remove_at(arr.size() - (i + 1))``. To remove the last element from the array, use ``arr.resize(arr.size() - 1)``. +\ **Nota:** ``position`` non può essere negativo. Per rimuovere un elemento relativo alla fine dell'array, utilizza ``arr.remove_at(arr.size() - (i + 1))``. Per rimuovere l'ultimo elemento dall'array, utilizza ``arr.resize(arr.size() - 1)``. .. rst-class:: classref-item-separator @@ -1236,11 +1244,11 @@ If you need to return the removed element, use :ref:`pop_at()` **resize**\ (\ size\: :ref:`int`\ ) :ref:`🔗` -Sets the array's number of elements to ``size``. If ``size`` is smaller than the array's current size, the elements at the end are removed. If ``size`` is greater, new default elements (usually ``null``) are added, depending on the array's type. +Imposta il numero di elementi dell'array a ``size``. Se ``size`` è più piccolo della dimensione corrente dell'array, gli elementi alla fine sono rimossi. Se ``size`` è maggiore, sono aggiunti nuovi elementi predefiniti (di solito ``null``), a seconda del tipo dell'array. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_LOCKED` if the array is read-only, :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, o una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_LOCKED` se l'array è di sola lettura, :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa o :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. -\ **Note:** Calling this method once and assigning the new values is faster than calling :ref:`append()` for every new element. +\ **Nota:** Chiamare questo metodo una volta e assegnare i nuovi valori è più veloce di chiamare :ref:`append()` per ogni nuovo elemento. .. rst-class:: classref-item-separator @@ -1328,11 +1336,11 @@ Restituisce il numero di elementi nell'array. Gli array vuoti (``[]``) restituis Restituisce un nuovo **Array** contenente gli elementi di questo array, dall'indice ``begin`` (inclusivo) a ``end`` (esclusivo), ogni numero di elementi (``step``). -Se ``start`` o ``end`` sono negativi, il loro valore è relativo alla fine dell'array. +Se ``begin`` o ``end`` sono negativi, il loro valore è relativo alla fine dell'array. Se ``step`` è negativo, questo metodo itera attraverso l'array al rovescio, restituendo una sezione ordinata all'indietro. Affinché funzioni, ``begin`` deve essere maggiore di ``end``. -Se ``deep`` è ``true``, tutti gli elementi nidificati di tipo **Array** e :ref:`Dictionary` nella sezione sono duplicati dall'originale, ricorsivamente. Vedi anche :ref:`duplicate()`). +Se ``deep`` è ``true``, tutti gli elementi annidati di tipo **Array** e :ref:`Dictionary` nella sezione sono duplicati dall'originale, ricorsivamente. Vedi anche :ref:`duplicate()`). :: diff --git a/classes/it/class_arraymesh.rst b/classes/it/class_arraymesh.rst index 2e65aee9d3..bc82bb183d 100644 --- a/classes/it/class_arraymesh.rst +++ b/classes/it/class_arraymesh.rst @@ -14,7 +14,7 @@ Un tipo di :ref:`Mesh` che fornisce utilità per la costruzione di u Descrizione ---------------------- -Un **ArrayMesh** viene utilizzato per costruire una :ref:`Mesh` specificando gli attributi come più array. +Un **ArrayMesh** serve per costruire una :ref:`Mesh` specificando gli attributi come più array. L'esempio più basilare è la creazione di un unico triangolo: diff --git a/classes/it/class_aspectratiocontainer.rst b/classes/it/class_aspectratiocontainer.rst index babe9ff77e..0adf103a8f 100644 --- a/classes/it/class_aspectratiocontainer.rst +++ b/classes/it/class_aspectratiocontainer.rst @@ -78,7 +78,7 @@ La larghezza dei controlli figli è regolata automaticamente in base all'altezza :ref:`StretchMode` **STRETCH_FIT** = ``2`` -Il rettangolo limite dei controlli figli è regolato automaticamente per adattarsi all'interno del contenitore mantenendo il rapporto di aspetto. +Il rettangolo di delimitazione dei controlli figli è regolato automaticamente per adattarsi all'interno del contenitore mantenendo il rapporto di aspetto. .. _class_AspectRatioContainer_constant_STRETCH_COVER: @@ -86,9 +86,9 @@ Il rettangolo limite dei controlli figli è regolato automaticamente per adattar :ref:`StretchMode` **STRETCH_COVER** = ``3`` -La larghezza e l'altezza dei controlli figli sono regolate automaticamente in modo che il loro rettangolo limite copre l'intera area del contenitore, allo stesso tempo mantenendo il rapporto di aspetto. +La larghezza e l'altezza dei controlli figli sono regolate automaticamente in modo che il loro rettangolo di delimitazione copre l'intera area del contenitore, allo stesso tempo mantenendo il rapporto di aspetto. -Quando il rettangolo limite dei controlli figli supera le dimensioni del contenitore e :ref:`Control.clip_contents` è abilitato, questo permette di mostrare solo l'area del contenitore limitata dal proprio rettangolo limite. +Quando il rettangolo di delimitazione dei controlli figli supera le dimensioni del contenitore e :ref:`Control.clip_contents` è abilitato, questo permette di mostrare solo l'area del contenitore limitata dal proprio rettangolo di delimitazione. .. rst-class:: classref-item-separator @@ -195,7 +195,7 @@ Il rapporto di aspetto da applicare sui controlli figli. Questa è la larghezza - |void| **set_stretch_mode**\ (\ value\: :ref:`StretchMode`\ ) - :ref:`StretchMode` **get_stretch_mode**\ (\ ) -La modalità di allargamento utilizzata per allineare i controlli figli. +La modalità di stiramento utilizzata per allineare i controlli figli. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_astar2d.rst b/classes/it/class_astar2d.rst index efe1fc8497..953f727c2b 100644 --- a/classes/it/class_astar2d.rst +++ b/classes/it/class_astar2d.rst @@ -119,7 +119,7 @@ Descrizioni delle proprietà - |void| **set_neighbor_filter_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_neighbor_filter_enabled**\ (\ ) -If ``true`` enables the filtering of neighbors via :ref:`_filter_neighbor()`. +Se ``true`` abilita il filtraggio dei vicini tramite :ref:`_filter_neighbor()`. .. rst-class:: classref-section-separator @@ -164,9 +164,9 @@ Si noti che questa funzione è nascosta nella classe predefinita **AStar2D**. :ref:`bool` **_filter_neighbor**\ (\ from_id\: :ref:`int`, neighbor_id\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Called when neighboring enters processing and if :ref:`neighbor_filter_enabled` is ``true``. If ``true`` is returned the point will not be processed. +Chiamato quando il punto adiacente entra in elaborazione e se :ref:`neighbor_filter_enabled` è ``true``. Se viene restituito ``true``, il punto non sarà elaborato. -Note that this function is hidden in the default **AStar2D** class. +Si noti che questa funzione è nascosta nella classe predefinita **AStar2D**. .. rst-class:: classref-item-separator @@ -468,13 +468,13 @@ Restituisce un array di tutti gli ID dei punti. :ref:`PackedVector2Array` **get_point_path**\ (\ from_id\: :ref:`int`, to_id\: :ref:`int`, allow_partial_path\: :ref:`bool` = false\ ) :ref:`🔗` -Returns an array with the points that are in the path found by AStar2D between the given points. The array is ordered from the starting point to the ending point of the path. +Restituisce un array con i punti che sono presenti nel percorso trovato da AStar2D tra i punti indicati. L'array è ordinato dal punto iniziale al punto finale del percorso. -If there is no valid path to the target, and ``allow_partial_path`` is ``true``, returns a path to the point closest to the target that can be reached. +Se non c'è un percorso valido per la destinazione, e ``allow_partial_path`` è ``true``, restituisce un percorso al punto più vicino alla destinazione che può essere raggiunto. -\ **Note:** This method is not thread-safe; it can only be used from a single :ref:`Thread` at a given time. Consider using :ref:`Mutex` to ensure exclusive access to one thread to avoid race conditions. +\ **Nota:** Questo metodo non è thread-safe; si può usare solo da un singolo :ref:`Thread` alla volta. Si consiglia di utilizzare :ref:`Mutex` per garantire l'accesso esclusivo a un thread ed evitare accessi concorrenti. -Additionally, when ``allow_partial_path`` is ``true`` and ``to_id`` is disabled the search may take an unusually long time to finish. +Inoltre, quando ``allow_partial_path`` è ``true`` e ``to_id`` è disabilitato, la ricerca potrebbe richiedere un tempo insolitamente lungo per essere completata. .. rst-class:: classref-item-separator diff --git a/classes/it/class_astar3d.rst b/classes/it/class_astar3d.rst index 8be302cbde..42b1a10f6d 100644 --- a/classes/it/class_astar3d.rst +++ b/classes/it/class_astar3d.rst @@ -14,13 +14,13 @@ Un'implementazione di A\* per trovare il percorso più breve tra due vertici su Descrizione ---------------------- -A\* (A star) is a computer algorithm used in pathfinding and graph traversal, the process of plotting short paths among vertices (points), passing through a given set of edges (segments). It enjoys widespread use due to its performance and accuracy. Godot's A\* implementation uses points in 3D space and Euclidean distances by default. +A\* (A star) è un algoritmo informatico utilizzato per le ricerche di percorsi e l'attraversamento di grafi, ovvero il processo di tracciare brevi percorsi tra vertici (punti) che passano per un determinato insieme di spigoli (segmenti). È ampiamente utilizzato grazie alle sue prestazioni e alla sua precisione. L'implementazione di A\* di Godot utilizza punti nello spazio 3D e distanze euclidee per impostazione predefinita. -You must add points manually with :ref:`add_point()` and create segments manually with :ref:`connect_points()`. Once done, you can test if there is a path between two points with the :ref:`are_points_connected()` function, get a path containing indices by :ref:`get_id_path()`, or one containing actual coordinates with :ref:`get_point_path()`. +È necessario aggiungere manualmente i punti con :ref:`add_point()` e creare manualmente i segmenti con :ref:`connect_points()`. Una volta fatto, è possibile verificare se esiste un percorso tra due punti con la funzione :ref:`are_points_connected()`, ottenere un percorso contenente indici con :ref:`get_id_path()` o uno contenente coordinate effettive con :ref:`get_point_path()`. -It is also possible to use non-Euclidean distances. To do so, create a script that extends **AStar3D** and override the methods :ref:`_compute_cost()` and :ref:`_estimate_cost()`. Both should take two point IDs and return the distance between the corresponding points. +È anche possibile utilizzare distanze non euclidee. Per farlo, è necessario creare uno script che estenda **AStar3D** e sovrascriva i metodi :ref:`_compute_cost()` e :ref:`_estimate_cost()`. Entrambi dovrebbero accettare due ID punto e restituire la distanza tra i punti corrispondenti. -\ **Example:** Use Manhattan distance instead of Euclidean distance: +\ **Esempio:** Usa la distanza di Manhattan invece della distanza euclidea: .. tabs:: @@ -65,9 +65,9 @@ It is also possible to use non-Euclidean distances. To do so, create a script th -\ :ref:`_estimate_cost()` should return a lower bound of the distance, i.e. ``_estimate_cost(u, v) <= _compute_cost(u, v)``. This serves as a hint to the algorithm because the custom :ref:`_compute_cost()` might be computation-heavy. If this is not the case, make :ref:`_estimate_cost()` return the same value as :ref:`_compute_cost()` to provide the algorithm with the most accurate information. +\ :ref:`_estimate_cost()` dovrebbe restituire un limite inferiore della distanza, ovvero ``_estimate_cost(u, v) <= _compute_cost(u, v)``. Questo serve come suggerimento per l'algoritmo, poiché il metodo personalizzato :ref:`_compute_cost()` potrebbe richiedere un'elaborazione complessa. In caso contrario, assicurarsi che :ref:`_estimate_cost()` restituisca lo stesso valore di :ref:`_compute_cost()` per fornire all'algoritmo le informazioni più accurate. -If the default :ref:`_estimate_cost()` and :ref:`_compute_cost()` methods are used, or if the supplied :ref:`_estimate_cost()` method returns a lower bound of the cost, then the paths returned by A\* will be the lowest-cost paths. Here, the cost of a path equals the sum of the :ref:`_compute_cost()` results of all segments in the path multiplied by the ``weight_scale``\ s of the endpoints of the respective segments. If the default methods are used and the ``weight_scale``\ s of all points are set to ``1.0``, then this equals the sum of Euclidean distances of all segments in the path. +Se sono utilizzati i metodi predefiniti :ref:`_estimate_cost()` e :ref:`_compute_cost()`, o se il metodo :ref:`_estimate_cost()` fornito restituisce un limite inferiore del costo, i percorsi restituiti da A\* saranno quelli con il costo più basso. In questo caso, il costo di un percorso è uguale alla somma dei risultati di :ref:`_compute_cost()` di tutti i segmenti del percorso, moltiplicati per i valori di ``weight_scale`` dei punti finali dei rispettivi segmenti. Se sono utilizzati i metodi predefiniti, e i valori di ``weight_scale`` di tutti i punti sono impostati su ``1.0``, questo è uguale alla somma delle distanze euclidee di tutti i segmenti del percorso. .. rst-class:: classref-reftable-group @@ -163,7 +163,7 @@ Descrizioni delle proprietà - |void| **set_neighbor_filter_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_neighbor_filter_enabled**\ (\ ) -If ``true`` enables the filtering of neighbors via :ref:`_filter_neighbor()`. +Se ``true`` abilita il filtraggio dei vicini tramite :ref:`_filter_neighbor()`. .. rst-class:: classref-section-separator @@ -208,9 +208,9 @@ Si noti che questa funzione è nascosta nella classe predefinita **AStar3D**. :ref:`bool` **_filter_neighbor**\ (\ from_id\: :ref:`int`, neighbor_id\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Called when neighboring point enters processing and if :ref:`neighbor_filter_enabled` is ``true``. If ``true`` is returned the point will not be processed. +Chiamato quando il punto adiacente entra in elaborazione e se :ref:`neighbor_filter_enabled` è ``true``. Se viene restituito ``true``, il punto non sarà elaborato. -Note that this function is hidden in the default **AStar3D** class. +Si noti che questa funzione è nascosta nella classe predefinita **AStar3D**. .. rst-class:: classref-item-separator @@ -510,13 +510,13 @@ Restituisce un array di tutti gli ID dei punti. :ref:`PackedVector3Array` **get_point_path**\ (\ from_id\: :ref:`int`, to_id\: :ref:`int`, allow_partial_path\: :ref:`bool` = false\ ) :ref:`🔗` -Returns an array with the points that are in the path found by AStar3D between the given points. The array is ordered from the starting point to the ending point of the path. +Restituisce un array con i punti che sono presenti nel percorso trovato da AStar3D tra i punti indicati. L'array è ordinato dal punto iniziale al punto finale del percorso. -If there is no valid path to the target, and ``allow_partial_path`` is ``true``, returns a path to the point closest to the target that can be reached. +Se non c'è un percorso valido per la destinazione, e ``allow_partial_path`` è ``true``, restituisce un percorso al punto più vicino alla destinazione che può essere raggiunto. -\ **Note:** This method is not thread-safe; it can only be used from a single :ref:`Thread` at a given time. Consider using :ref:`Mutex` to ensure exclusive access to one thread to avoid race conditions. +\ **Nota:** Questo metodo non è thread-safe; si può usare solo da un singolo :ref:`Thread` alla volta. Si consiglia di utilizzare :ref:`Mutex` per garantire l'accesso esclusivo a un thread ed evitare accessi concorrenti. -Additionally, when ``allow_partial_path`` is ``true`` and ``to_id`` is disabled the search may take an unusually long time to finish. +Inoltre, quando ``allow_partial_path`` è ``true`` e ``to_id`` è disabilitato, la ricerca potrebbe richiedere un tempo insolitamente lungo per essere completata. .. rst-class:: classref-item-separator diff --git a/classes/it/class_astargrid2d.rst b/classes/it/class_astargrid2d.rst index ad1108cc5d..741fd039ef 100644 --- a/classes/it/class_astargrid2d.rst +++ b/classes/it/class_astargrid2d.rst @@ -571,13 +571,13 @@ Restituisce un array di dizionari con i dati dei punti (``id``: :ref:`Vector2i` **get_point_path**\ (\ from_id\: :ref:`Vector2i`, to_id\: :ref:`Vector2i`, allow_partial_path\: :ref:`bool` = false\ ) :ref:`🔗` -Returns an array with the points that are in the path found by **AStarGrid2D** between the given points. The array is ordered from the starting point to the ending point of the path. +Restituisce un array con i punti che sono presenti nel percorso trovato da **AStarGrid2D** tra i punti indicati. L'array è ordinato dal punto iniziale al punto finale del percorso. -If there is no valid path to the target, and ``allow_partial_path`` is ``true``, returns a path to the point closest to the target that can be reached. +Se non c'è un percorso valido per la destinazione, e ``allow_partial_path`` è ``true``, restituisce un percorso al punto più vicino alla destinazione che può essere raggiunto. -\ **Note:** This method is not thread-safe; it can only be used from a single :ref:`Thread` at a given time. Consider using :ref:`Mutex` to ensure exclusive access to one thread to avoid race conditions. +\ **Nota:** Questo metodo non è thread-safe. Se chiamato da un :ref:`Thread`, restituirà un array vuoto e stamperà un messaggio di errore. -Additionally, when ``allow_partial_path`` is ``true`` and ``to_id`` is solid the search may take an unusually long time to finish. +Inoltre, quando ``allow_partial_path`` è ``true`` e ``to_id`` è solido, la ricerca potrebbe richiedere un tempo insolitamente lungo per essere completata. .. rst-class:: classref-item-separator diff --git a/classes/it/class_audioeffectcompressor.rst b/classes/it/class_audioeffectcompressor.rst index 85ba32331f..45e25a9e80 100644 --- a/classes/it/class_audioeffectcompressor.rst +++ b/classes/it/class_audioeffectcompressor.rst @@ -16,17 +16,17 @@ Riduce i suoni che superano un certa soglia sonora, attenua la dinamica e aument Descrizione ---------------------- -Dynamic range compressor reduces the level of the sound when the amplitude goes over a certain threshold in Decibels. One of the main uses of a compressor is to increase the dynamic range by clipping as little as possible (when sound goes over 0dB). +Il compressore di gamma dinamica riduce il livello del suono quando l'ampiezza supera una certa soglia in Decibel. Uno degli usi principali di un compressore è quello di aumentare la gamma dinamica tagliando il meno possibile (quando il suono supera 0dB). -Compressor has many uses in the mix: +Il compressore ha molti usi nel mix: -- In the Master bus to compress the whole output (although an :ref:`AudioEffectHardLimiter` is probably better). +- Nel bus Master per comprimere l'intero risultato (anche se un :ref:`AudioEffectHardLimiter` è probabilmente migliore). -- In voice channels to ensure they sound as balanced as possible. +- Nei canali vocali per assicurarsi che suonino quanto più bilanciati possibili. -- Sidechained. This can reduce the sound level sidechained with another audio bus for threshold detection. This technique is common in video game mixing to the level of music and SFX while voices are being heard. +- In sidechain. Questo può ridurre il livello del suono in sidechain con un altro bus audio per rilevare le soglie. Questa tecnica è comune nei videogiochi che mixano al livello della musica e degli effetti sonori mentre si ascoltano voci. -- Accentuates transients by using a wider attack, making effects sound more punchy. +- Accentua i transienti utilizzando un attacco più ampio, rendendo gli effetti sonori più pungenti. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_audioeffectstereoenhance.rst b/classes/it/class_audioeffectstereoenhance.rst index 28a850f098..20b189c1ef 100644 --- a/classes/it/class_audioeffectstereoenhance.rst +++ b/classes/it/class_audioeffectstereoenhance.rst @@ -76,7 +76,7 @@ Amplifica la differenza tra i canali stereo, aumentando o diminuendo il panning - |void| **set_surround**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_surround**\ (\ ) -Widens sound stage through phase shifting in conjunction with :ref:`time_pullout_ms`. Just pans sound to the left channel if :ref:`time_pullout_ms` is 0. +Amplia la scena sonora tramite sfasamento, in combinazione con :ref:`time_pullout_ms`. Sposta semplicemente l'audio sul canale sinistro se :ref:`time_pullout_ms` è 0. .. rst-class:: classref-item-separator diff --git a/classes/it/class_audiolistener2d.rst b/classes/it/class_audiolistener2d.rst index ca2b0b53e7..b534fb8982 100644 --- a/classes/it/class_audiolistener2d.rst +++ b/classes/it/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/it/class_audiolistener3d.rst b/classes/it/class_audiolistener3d.rst index e10bcb95ec..76d777193e 100644 --- a/classes/it/class_audiolistener3d.rst +++ b/classes/it/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: @@ -78,7 +78,7 @@ Disabilita la simulazione dell'`effetto Doppler ` **DOPPLER_TRACKING_IDLE_STEP** = ``1`` -Simulate `Doppler effect `__ by tracking positions of objects that are changed in ``_process``. Changes in the relative velocity of this listener compared to those objects affect how audio is perceived (changing the audio's :ref:`AudioStreamPlayer3D.pitch_scale`). +Simula l'`effetto Doppler `__ monitorando le posizioni degli oggetti che cambiano in ``_process``. I cambiamenti nella velocità relativa di questo ascoltatore rispetto a tali oggetti influiscono sul modo in cui l'audio viene percepito, modificando la scala del tono (:ref:`AudioStreamPlayer3D.pitch_scale`) dell'audio. .. _class_AudioListener3D_constant_DOPPLER_TRACKING_PHYSICS_STEP: @@ -86,7 +86,7 @@ Simulate `Doppler effect `__ by tr :ref:`DopplerTracking` **DOPPLER_TRACKING_PHYSICS_STEP** = ``2`` -Simulate `Doppler effect `__ by tracking positions of objects that are changed in ``_physics_process``. Changes in the relative velocity of this listener compared to those objects affect how audio is perceived (changing the audio's :ref:`AudioStreamPlayer3D.pitch_scale`). +Simula l'`effetto Doppler `__ monitorando le posizioni degli oggetti che cambiano in ``_physics_process``. I cambiamenti nella velocità relativa di questo ascoltatore rispetto a tali oggetti influiscono sul modo in cui l'audio viene percepito, modificando la scala del tono (:ref:`AudioStreamPlayer3D.pitch_scale`) dell'audio. .. rst-class:: classref-section-separator @@ -108,9 +108,9 @@ Descrizioni delle proprietà - |void| **set_doppler_tracking**\ (\ value\: :ref:`DopplerTracking`\ ) - :ref:`DopplerTracking` **get_doppler_tracking**\ (\ ) -If not :ref:`DOPPLER_TRACKING_DISABLED`, this listener will simulate the `Doppler effect `__ for objects changed in particular ``_process`` methods. +Se non è :ref:`DOPPLER_TRACKING_DISABLED`, questa telecamera simulerà l'`effetto Doppler `__ per gli oggetti modificati in particolari metodi ``_process``. -\ **Note:** The Doppler effect will only be heard on :ref:`AudioStreamPlayer3D`\ s if :ref:`AudioStreamPlayer3D.doppler_tracking` is not set to :ref:`AudioStreamPlayer3D.DOPPLER_TRACKING_DISABLED`. +\ **Nota:** L'effetto Doppler sarà udibile solo sugli :ref:`AudioStreamPlayer3D` se :ref:`AudioStreamPlayer3D.doppler_tracking` non è impostato su :ref:`AudioStreamPlayer3D.DOPPLER_TRACKING_DISABLED`. .. rst-class:: classref-section-separator diff --git a/classes/it/class_audiostream.rst b/classes/it/class_audiostream.rst index a4be436a7c..ed961ace7d 100644 --- a/classes/it/class_audiostream.rst +++ b/classes/it/class_audiostream.rst @@ -105,7 +105,7 @@ Descrizioni dei metodi :ref:`int` **_get_bar_beats**\ (\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo restituire i battiti per battuta di questo flusso. +Sovrascrivi questo metodo per restituire i battiti per battuta di questo flusso. .. rst-class:: classref-item-separator @@ -181,9 +181,9 @@ Sovrascrivi questo metodo per personalizzare il nome assegnato a questo flusso a :ref:`Dictionary` **_get_tags**\ (\ ) |virtual| |const| :ref:`🔗` -Override this method to customize the tags for this audio stream. Should return a :ref:`Dictionary` of strings with the tag as the key and its content as the value. +Sovrascrivi questo metodo per personalizzare i tag per questo flusso audio. Dovrebbe restituire un :ref:`Dictionary` di stringhe con il tag come chiave e il suo contenuto come valore. -Commonly used tags include ``title``, ``artist``, ``album``, ``tracknumber``, and ``date``. +I tag comunemente utilizzati includono ``title``, ``artist``, ``album``, ``tracknumber`` e ``date``. .. rst-class:: classref-item-separator @@ -195,7 +195,7 @@ Commonly used tags include ``title``, ``artist``, ``album``, ``tracknumber``, an :ref:`bool` **_has_loop**\ (\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo restituire ``true`` se questo flusso si ripete. +Sovrascrivi questo metodo per restituire ``true`` se questo flusso si ripete. .. rst-class:: classref-item-separator @@ -259,7 +259,7 @@ Genera un :ref:`AudioSample` basato sul flusso attuale. :ref:`float` **get_length**\ (\ ) |const| :ref:`🔗` -Returns the length of the audio stream in seconds. If this stream is an :ref:`AudioStreamRandomizer`, returns the length of the last played stream. If this stream has an indefinite length (such as for :ref:`AudioStreamGenerator` and :ref:`AudioStreamMicrophone`), returns ``0.0``. +Restituisce la durata del flusso audio in secondi. Se questo flusso è un :ref:`AudioStreamRandomizer`, restituisce la durata dell'ultimo flusso riprodotto. Se questo flusso ha una lunghezza indefinita (ad esempio per :ref:`AudioStreamGenerator` e :ref:`AudioStreamMicrophone`), restituisce ``0.0``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_audiostreaminteractive.rst b/classes/it/class_audiostreaminteractive.rst index 2befd98f29..137f686e9e 100644 --- a/classes/it/class_audiostreaminteractive.rst +++ b/classes/it/class_audiostreaminteractive.rst @@ -370,7 +370,7 @@ Restituisce la clip verso la quale avanzerà automaticamente la clip a cui fa ri :ref:`StringName` **get_clip_name**\ (\ clip_index\: :ref:`int`\ ) |const| :ref:`🔗` -Return the name of a clip. +Restituisce il nome di una clip. .. rst-class:: classref-item-separator @@ -418,7 +418,7 @@ Restituisce la modalità per una transizione (vedi :ref:`add_transition()` **get_transition_filler_clip**\ (\ from_clip\: :ref:`int`, to_clip\: :ref:`int`\ ) |const| :ref:`🔗` -Return the filler clip for a transition (see :ref:`add_transition()`). +Restituisce la clip di riempimento per una transizione (vedi :ref:`add_transition()`). .. rst-class:: classref-item-separator @@ -442,7 +442,7 @@ Restituisce la posizione del tempo di origine per una transizione (vedi :ref:`ad :ref:`PackedInt32Array` **get_transition_list**\ (\ ) |const| :ref:`🔗` -Return the list of transitions (from, to interleaved). +Restituisce la lista delle transizioni (da, a interlacciato). .. rst-class:: classref-item-separator diff --git a/classes/it/class_audiostreamoggvorbis.rst b/classes/it/class_audiostreamoggvorbis.rst index 9f19a9dc6f..bafa40f93b 100644 --- a/classes/it/class_audiostreamoggvorbis.rst +++ b/classes/it/class_audiostreamoggvorbis.rst @@ -189,11 +189,11 @@ Contiene il dati Ogg grezzi per questo flusso. - |void| **set_tags**\ (\ value\: :ref:`Dictionary`\ ) - :ref:`Dictionary` **get_tags**\ (\ ) -Contains user-defined tags if found in the Ogg Vorbis data. +Contiene tag definiti dall'utente se presenti nei dati Ogg Vorbis. -Commonly used tags include ``title``, ``artist``, ``album``, ``tracknumber``, and ``date`` (``date`` does not have a standard date format). +I tag comunemente utilizzati includono ``title``, ``artist``, ``album``, ``tracknumber`` e ``date`` (``date`` non ha un formato di data standard). -\ **Note:** No tag is *guaranteed* to be present in every file, so make sure to account for the keys not always existing. +\ **Nota:** Nessun tag è *garantito* a essere presente in ogni file, quindi assicurati di tenere conto di chiavi che non esistono sempre. .. rst-class:: classref-section-separator diff --git a/classes/it/class_audiostreamplayer.rst b/classes/it/class_audiostreamplayer.rst index 1dc17b21cb..bdf7643825 100644 --- a/classes/it/class_audiostreamplayer.rst +++ b/classes/it/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: @@ -223,7 +223,7 @@ Il numero massimo di suoni che questo nodo può riprodurre allo stesso tempo. Ch - |void| **set_mix_target**\ (\ value\: :ref:`MixTarget`\ ) - :ref:`MixTarget` **get_mix_target**\ (\ ) -The mix target channels. Has no effect when two speakers or less are detected (see :ref:`SpeakerMode`). +I canali di destinazione del mix. Non ha alcun effetto quando sono rilevati due altoparlanti o meno (vedi :ref:`SpeakerMode`). .. rst-class:: classref-item-separator diff --git a/classes/it/class_audiostreamplayer2d.rst b/classes/it/class_audiostreamplayer2d.rst index d6454d8b13..1c05cf48a7 100644 --- a/classes/it/class_audiostreamplayer2d.rst +++ b/classes/it/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/it/class_audiostreamplayer3d.rst b/classes/it/class_audiostreamplayer3d.rst index 89c0d60655..632b3b04c6 100644 --- a/classes/it/class_audiostreamplayer3d.rst +++ b/classes/it/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: @@ -330,9 +330,9 @@ Il bus su cui viene riprodotto questo audio. - |void| **set_doppler_tracking**\ (\ value\: :ref:`DopplerTracking`\ ) - :ref:`DopplerTracking` **get_doppler_tracking**\ (\ ) -Decides in which step the Doppler effect should be calculated. +Decide in quale fase calcolare l'effetto Doppler. -\ **Note:** If :ref:`doppler_tracking` is not :ref:`DOPPLER_TRACKING_DISABLED` but the current :ref:`Camera3D`/:ref:`AudioListener3D` has doppler tracking disabled, the Doppler effect will be heard but will not take the movement of the current listener into account. If accurate Doppler effect is desired, doppler tracking should be enabled on both the **AudioStreamPlayer3D** and the current :ref:`Camera3D`/:ref:`AudioListener3D`. +\ **Nota:** Se :ref:`doppler_tracking` non è :ref:`DOPPLER_TRACKING_DISABLED` ma il :ref:`Camera3D`/:ref:`AudioListener3D` attuale ha il tracciamento Doppler disabilitato, l'effetto Doppler sarà udito ma non terrà conto del movimento dell'ascoltatore attuale. Se si desidera un effetto Doppler accurato, è necessario abilitare il tracciamento Doppler sia su **AudioStreamPlayer3D** sia sul :ref:`Camera3D`/:ref:`AudioListener3D` attuale. .. rst-class:: classref-item-separator @@ -451,11 +451,11 @@ Il numero massimo di suoni che questo nodo può riprodurre allo stesso tempo. Ri - |void| **set_panning_strength**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_panning_strength**\ (\ ) -Scales the panning strength for this node by multiplying the base :ref:`ProjectSettings.audio/general/3d_panning_strength` by this factor. If the product is ``0.0`` then stereo panning is disabled and the volume is the same for all channels. If the product is ``1.0`` then one of the channels will be muted when the sound is located exactly to the left (or right) of the listener. +Scala l'intensità del panning per questo nodo moltiplicando la :ref:`ProjectSettings.audio/general/3d_panning_strength` base per questo fattore. Se il prodotto è ``0.0``, il panning stereo è disabilitato e il volume è lo stesso per tutti i canali. Se il prodotto è ``1.0``, uno dei canali sarà silenziato quando il suono si trova esattamente a sinistra (o a destra) dell'ascoltatore. -Two speaker stereo arrangements implement the `WebAudio standard for StereoPannerNode Panning `__ where the volume is cosine of half the azimuth angle to the ear. +Le disposizioni stereo a due altoparlanti implementano lo `standard WebAudio per il panning StereoPannerNode `__, dove il volume è il coseno di metà dell'angolo azimutale rispetto all'orecchio. -For other speaker arrangements such as the 5.1 and 7.1 the SPCAP (Speaker-Placement Correction Amplitude) algorithm is implemented. +Per altre disposizioni di altoparlanti, come 5.1 e 7.1, è implementato l'algoritmo SPCAP (Speaker-Placement Correction Amplitude). .. rst-class:: classref-item-separator diff --git a/classes/it/class_audiostreamwav.rst b/classes/it/class_audiostreamwav.rst index 9cb2e80084..3d8bf7826d 100644 --- a/classes/it/class_audiostreamwav.rst +++ b/classes/it/class_audiostreamwav.rst @@ -305,13 +305,13 @@ Se ``true``, l'audio è stereo. - |void| **set_tags**\ (\ value\: :ref:`Dictionary`\ ) - :ref:`Dictionary` **get_tags**\ (\ ) -Contains user-defined tags if found in the WAV data. +Contiene tag definiti dall'utente se presenti nei dati WAV. -Commonly used tags include ``title``, ``artist``, ``album``, ``tracknumber``, and ``date`` (``date`` does not have a standard date format). +I tag comunemente utilizzati includono ``title``, ``artist``, ``album``, ``tracknumber`` e ``date`` (``date`` non ha un formato di data standard). -\ **Note:** No tag is *guaranteed* to be present in every file, so make sure to account for the keys not always existing. +\ **Nota:** Nessun tag è *garantito* a essere presente in ogni file, quindi assicurati di tenere conto di chiavi che non esistono sempre. -\ **Note:** Only WAV files using a ``LIST`` chunk with an identifier of ``INFO`` to encode the tags are currently supported. +\ **Nota:** Attualmente sono supportati solo i file WAV che utilizzano un blocco ``LIST`` con un identificatore di ``INFO`` per codificare i tag. .. rst-class:: classref-section-separator diff --git a/classes/it/class_backbuffercopy.rst b/classes/it/class_backbuffercopy.rst index fbc34bb406..86eda4bfe3 100644 --- a/classes/it/class_backbuffercopy.rst +++ b/classes/it/class_backbuffercopy.rst @@ -98,7 +98,7 @@ Descrizioni delle proprietà - |void| **set_copy_mode**\ (\ value\: :ref:`CopyMode`\ ) - :ref:`CopyMode` **get_copy_mode**\ (\ ) -Buffer mode. +Modalità di buffer. .. rst-class:: classref-item-separator diff --git a/classes/it/class_basebutton.rst b/classes/it/class_basebutton.rst index da2a3c3da9..fd0e5264d1 100644 --- a/classes/it/class_basebutton.rst +++ b/classes/it/class_basebutton.rst @@ -300,9 +300,9 @@ Se ``true``, lo stato del pulsante è premuto. Significa che il pulsante è prem - |void| **set_disabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_disabled**\ (\ ) -If ``true``, the button is in disabled state and can't be clicked or toggled. +Se ``true``, il pulsante è disabilitato e non può essere cliccato o commutato. -\ **Note:** If the button is disabled while held down, :ref:`button_up` will be emitted. +\ **Nota:** Se il pulsante viene disattivato mentre è tenuto premuto, verrà emesso :ref:`button_up` . .. rst-class:: classref-item-separator diff --git a/classes/it/class_basematerial3d.rst b/classes/it/class_basematerial3d.rst index 71d97bbfcd..566d9d3691 100644 --- a/classes/it/class_basematerial3d.rst +++ b/classes/it/class_basematerial3d.rst @@ -380,7 +380,7 @@ Texture che specifica i vettori di normali per pixel. :ref:`TextureParam` **TEXTURE_BENT_NORMAL** = ``18`` -Texture specifying per-pixel bent normal vector. +Texture che specifica i vettori di normali piegati per pixel. .. _class_BaseMaterial3D_constant_TEXTURE_RIM: @@ -944,7 +944,7 @@ enum **DepthTest**: :ref:`🔗` :ref:`DepthTest` **DEPTH_TEST_DEFAULT** = ``0`` -Depth test will discard the pixel if it is behind other pixels. +Il test di profondità scarterà il pixel se si trova dietro altri pixel. .. _class_BaseMaterial3D_constant_DEPTH_TEST_INVERTED: @@ -952,7 +952,7 @@ Depth test will discard the pixel if it is behind other pixels. :ref:`DepthTest` **DEPTH_TEST_INVERTED** = ``1`` -Depth test will discard the pixel if it is in front of other pixels. Useful for stencil effects. +Il test di profondità scarterà il pixel se si trova davanti ad altri pixel. Utile per gli effetti stencil. .. rst-class:: classref-item-separator @@ -1142,7 +1142,7 @@ Abilita la ripetizione della texture quando le coordinate UV sono all di fuori d :ref:`Flags` **FLAG_INVERT_HEIGHTMAP** = ``17`` -Inverte i valori letti da una texture di profondità per convertirli in valori di altezza (mappa di altezza). +Inverte i valori letti da una texture di profondità per convertirli in valori di altezza (heightmap). .. _class_BaseMaterial3D_constant_FLAG_SUBSURFACE_MODE_SKIN: @@ -1150,7 +1150,7 @@ Inverte i valori letti da una texture di profondità per convertirli in valori d :ref:`Flags` **FLAG_SUBSURFACE_MODE_SKIN** = ``18`` -Abilita la modalità pelle per il subsurface scattering che è utilizzata per migliorare l'aspetto del subsurface scattering quando utilizzata per la pelle umana. +Abilita la modalità pelle per il subsurface scattering che serve per migliorare l'aspetto del subsurface scattering quando utilizzata per la pelle umana. .. _class_BaseMaterial3D_constant_FLAG_PARTICLE_TRAILS_MODE: @@ -1224,7 +1224,7 @@ enum **DiffuseMode**: :ref:`🔗` :ref:`DiffuseMode` **DIFFUSE_BURLEY** = ``0`` -Default diffuse scattering algorithm. +Algoritmo di riflessione diffusa predefinito. .. _class_BaseMaterial3D_constant_DIFFUSE_LAMBERT: @@ -1232,7 +1232,7 @@ Default diffuse scattering algorithm. :ref:`DiffuseMode` **DIFFUSE_LAMBERT** = ``1`` -La dispersione diffusa ignora la rugosità. +La riflessione diffusa ignora la rugosità. .. _class_BaseMaterial3D_constant_DIFFUSE_LAMBERT_WRAP: @@ -1266,11 +1266,11 @@ enum **SpecularMode**: :ref:`🔗` :ref:`SpecularMode` **SPECULAR_SCHLICK_GGX** = ``0`` -Default specular blob. +Blob speculare predefinito. -\ **Note:** Forward+ uses multiscattering for more accurate reflections, although the impact of multiscattering is more noticeable on rough metallic surfaces than on smooth, non-metallic surfaces. +\ **Nota:** Forward+ utilizza un multiscattering per riflessi più accurati, sebbene l'impatto del multiscattering sia più evidente sulle superfici metalliche ruvide rispetto alle superfici lisce e non metalliche. -\ **Note:** Mobile and Compatibility don't perform multiscattering for performance reasons. Instead, they perform single scattering, which means rough metallic surfaces may look slightly darker than intended. +\ **Nota:** Mobile e Compatibilità non eseguono un multiscattering per motivi di prestazioni. Eseguono invece un single scattering, il che significa che le superfici metalliche ruvide potrebbero apparire leggermente più scure del previsto. .. _class_BaseMaterial3D_constant_SPECULAR_TOON: @@ -1474,9 +1474,9 @@ Disabilita le operazioni di stencil. :ref:`StencilMode` **STENCIL_MODE_OUTLINE** = ``1`` -Stencil preset which applies an outline to the object. +Preimpostazione di stencil che applica un contorno all'oggetto. -\ **Note:** Requires a :ref:`Material.next_pass` material which will be automatically applied. Any manual changes made to :ref:`Material.next_pass` will be lost when the stencil properties are modified or the scene is reloaded. To safely apply a :ref:`Material.next_pass` material on a material that uses stencil presets, use :ref:`GeometryInstance3D.material_overlay` instead. +\ **Nota:** Richiede un materiale :ref:`Material.next_pass` che verrà applicato automaticamente. Qualsiasi modifica manuale apportata a :ref:`Material.next_pass` andrà persa quando le proprietà dello stencil cambiano o la scena viene ricaricata. Per applicare in modo sicuro un materiale :ref:`Material.next_pass` a un materiale che utilizza una preimpostazione di stencil, utilizzare invece :ref:`GeometryInstance3D.material_overlay`. .. _class_BaseMaterial3D_constant_STENCIL_MODE_XRAY: @@ -1484,9 +1484,9 @@ Stencil preset which applies an outline to the object. :ref:`StencilMode` **STENCIL_MODE_XRAY** = ``2`` -Stencil preset which shows a silhouette of the object behind walls. +Preimpostazione di stencil che mostra la silhouette dell'oggetto dietro i muri. -\ **Note:** Requires a :ref:`Material.next_pass` material which will be automatically applied. Any manual changes made to :ref:`Material.next_pass` will be lost when the stencil properties are modified or the scene is reloaded. To safely apply a :ref:`Material.next_pass` material on a material that uses stencil presets, use :ref:`GeometryInstance3D.material_overlay` instead. +\ **Nota:** Richiede un materiale :ref:`Material.next_pass` che verrà applicato automaticamente. Qualsiasi modifica manuale apportata a :ref:`Material.next_pass` andrà persa quando le proprietà dello stencil cambiano o la scena viene ricaricata. Per applicare in modo sicuro un materiale :ref:`Material.next_pass` a un materiale che utilizza una preimpostazione di stencil, utilizzare invece :ref:`GeometryInstance3D.material_overlay`. .. _class_BaseMaterial3D_constant_STENCIL_MODE_CUSTOM: @@ -1494,7 +1494,7 @@ Stencil preset which shows a silhouette of the object behind walls. :ref:`StencilMode` **STENCIL_MODE_CUSTOM** = ``3`` -Enables stencil operations without a preset. +Permette le operazioni di stencil senza una preimpostazione. .. rst-class:: classref-item-separator @@ -1512,7 +1512,7 @@ enum **StencilFlags**: :ref:`🔗` :ref:`StencilFlags` **STENCIL_FLAG_READ** = ``1`` -The material will only be rendered where it passes a stencil comparison with existing stencil buffer values. See :ref:`StencilCompare`. +Il materiale sarà renderizzato solo se passa un confronto di stencil con i valori esistenti nel buffer dello stencil. Vedi :ref:`StencilCompare`. .. _class_BaseMaterial3D_constant_STENCIL_FLAG_WRITE: @@ -1520,7 +1520,7 @@ The material will only be rendered where it passes a stencil comparison with exi :ref:`StencilFlags` **STENCIL_FLAG_WRITE** = ``2`` -The material will write the reference value to the stencil buffer where it passes the depth test. +Il materiale scriverà il valore di riferimento nel buffer dello stencil dove passa il test di profondità. .. _class_BaseMaterial3D_constant_STENCIL_FLAG_WRITE_DEPTH_FAIL: @@ -1528,7 +1528,7 @@ The material will write the reference value to the stencil buffer where it passe :ref:`StencilFlags` **STENCIL_FLAG_WRITE_DEPTH_FAIL** = ``4`` -The material will write the reference value to the stencil buffer where it fails the depth test. +Il materiale scriverà il valore di riferimento nel buffer dello stencil dove fallisce il test di profondità. .. rst-class:: classref-item-separator @@ -1546,7 +1546,7 @@ enum **StencilCompare**: :ref:`🔗` :ref:`StencilCompare` **STENCIL_COMPARE_ALWAYS** = ``0`` -Always passes the stencil test. +Passa sempre il test dello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_LESS: @@ -1554,7 +1554,7 @@ Always passes the stencil test. :ref:`StencilCompare` **STENCIL_COMPARE_LESS** = ``1`` -Passes the stencil test when the reference value is less than the existing stencil value. +Passa il test dello stencil quando il valore di riferimento è minore del valore esistente nello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_EQUAL: @@ -1562,7 +1562,7 @@ Passes the stencil test when the reference value is less than the existing stenc :ref:`StencilCompare` **STENCIL_COMPARE_EQUAL** = ``2`` -Passes the stencil test when the reference value is equal to the existing stencil value. +Passa il test dello stencil quando il valore di riferimento è uguale al valore esistente nello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_LESS_OR_EQUAL: @@ -1570,7 +1570,7 @@ Passes the stencil test when the reference value is equal to the existing stenci :ref:`StencilCompare` **STENCIL_COMPARE_LESS_OR_EQUAL** = ``3`` -Passes the stencil test when the reference value is less than or equal to the existing stencil value. +Passa il test dello stencil quando il valore di riferimento è minore o uguale al valore esistente nello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_GREATER: @@ -1578,7 +1578,7 @@ Passes the stencil test when the reference value is less than or equal to the ex :ref:`StencilCompare` **STENCIL_COMPARE_GREATER** = ``4`` -Passes the stencil test when the reference value is greater than the existing stencil value. +Passa il test dello stencil quando il valore di riferimento è maggiore del valore esistente nello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_NOT_EQUAL: @@ -1586,7 +1586,7 @@ Passes the stencil test when the reference value is greater than the existing st :ref:`StencilCompare` **STENCIL_COMPARE_NOT_EQUAL** = ``5`` -Passes the stencil test when the reference value is not equal to the existing stencil value. +Passa il test dello stencil quando il valore di riferimento non è uguale al valore esistente nello stencil. .. _class_BaseMaterial3D_constant_STENCIL_COMPARE_GREATER_OR_EQUAL: @@ -1594,7 +1594,7 @@ Passes the stencil test when the reference value is not equal to the existing st :ref:`StencilCompare` **STENCIL_COMPARE_GREATER_OR_EQUAL** = ``6`` -Passes the stencil test when the reference value is greater than or equal to the existing stencil value. +Passa il test dello stencil quando il valore di riferimento è maggiore o uguale al valore esistente nello stencil. .. rst-class:: classref-section-separator @@ -2008,9 +2008,9 @@ Se ``true``, lo shader manterrà la scala impostata per la mesh. Altrimenti la s - |void| **set_billboard_mode**\ (\ value\: :ref:`BillboardMode`\ ) - :ref:`BillboardMode` **get_billboard_mode**\ (\ ) -Controls how the object faces the camera. +Controlla il modo in cui l'oggetto è rivolto verso la telecamera. -\ **Note:** Billboard mode is not suitable for VR because the left-right vector of the camera is not horizontal when the screen is attached to your head instead of on the table. See `GitHub issue #41567 `__ for details. +\ **Nota:** La modalità billboard non è adatta per il VR perché il vettore di sinistra-destra della telecamera non è orizzontale quando lo schermo è fissato alla testa anziché sul tavolo. Vedi `Problema su GitHub #41567 `__ per i dettagli. .. rst-class:: classref-item-separator @@ -2027,9 +2027,9 @@ Controls how the object faces the camera. - |void| **set_blend_mode**\ (\ value\: :ref:`BlendMode`\ ) - :ref:`BlendMode` **get_blend_mode**\ (\ ) -The material's blend mode. +La modalità di fusione del materiale. -\ **Note:** Values other than ``Mix`` force the object into the transparent pipeline. +\ **Nota:** Valori diversi da ``Mix`` forzano l'oggetto nella pipeline di trasparenza. .. rst-class:: classref-item-separator @@ -2116,7 +2116,7 @@ Texture che definisce l'intensità dell'effetto di rivestimento trasparente e la - |void| **set_cull_mode**\ (\ value\: :ref:`CullMode`\ ) - :ref:`CullMode` **get_cull_mode**\ (\ ) -Determines which side of the triangle to cull depending on whether the triangle faces towards or away from the camera. +Determina quale lato del triangolo eliminare a seconda che il triangolo sia rivolto verso o via dalla telecamera. .. rst-class:: classref-item-separator @@ -2133,7 +2133,7 @@ Determines which side of the triangle to cull depending on whether the triangle - |void| **set_depth_draw_mode**\ (\ value\: :ref:`DepthDrawMode`\ ) - :ref:`DepthDrawMode` **get_depth_draw_mode**\ (\ ) -Determines when depth rendering takes place. See also :ref:`transparency`. +Determina quando avviene il rendering della profondità. Vedi anche :ref:`transparency`. .. rst-class:: classref-item-separator @@ -2152,9 +2152,9 @@ Determines when depth rendering takes place. See also :ref:`transparency`. +Determina quale operatore di confronto viene utilizzato durante il test di profondità. Vedi :ref:`DepthTest`. -\ **Note:** Changing :ref:`depth_test` to a non-default value only has a visible effect when used on a transparent material, or a material that has :ref:`depth_draw_mode` set to :ref:`DEPTH_DRAW_DISABLED`. +\ **Nota:** Modificare :ref:`depth_test` in un valore non predefinito ha un effetto visibile solo se utilizzato su un materiale trasparente o su un materiale che ha :ref:`depth_draw_mode` impostato su :ref:`DEPTH_DRAW_DISABLED`. .. rst-class:: classref-item-separator @@ -2190,7 +2190,7 @@ Texture che specifica il colore della sovrapposizione del dettaglio. Il canale a - |void| **set_detail_blend_mode**\ (\ value\: :ref:`BlendMode`\ ) - :ref:`BlendMode` **get_detail_blend_mode**\ (\ ) -Specifies how the :ref:`detail_albedo` should blend with the current ``ALBEDO``. +Specifica come il :ref:`detail_albedo` dovrebbe fondersi con l'attuale ``ALBEDO``. .. rst-class:: classref-item-separator @@ -2260,7 +2260,7 @@ Texture che specifica la normale per ogni pixel della sovrapposizione del dettag - |void| **set_detail_uv**\ (\ value\: :ref:`DetailUV`\ ) - :ref:`DetailUV` **get_detail_uv**\ (\ ) -Specifies whether to use ``UV`` or ``UV2`` for the detail layer. +Specifica se utilizzare ``UV`` o ``UV2`` per lo strato del dettaglio. .. rst-class:: classref-item-separator @@ -2277,7 +2277,7 @@ Specifies whether to use ``UV`` or ``UV2`` for the detail layer. - |void| **set_diffuse_mode**\ (\ value\: :ref:`DiffuseMode`\ ) - :ref:`DiffuseMode` **get_diffuse_mode**\ (\ ) -The algorithm used for diffuse light scattering. +L'algoritmo utilizzato per la diffusione della luce. .. rst-class:: classref-item-separator @@ -2345,7 +2345,7 @@ Se ``true``, l'oggetto non riceve alcuna ombra che altrimenti sarebbe proiettata - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, disables specular occlusion even if :ref:`ProjectSettings.rendering/reflections/specular_occlusion/enabled` is ``false``. +Se ``true``, disabilita l'occlusione speculare anche se :ref:`ProjectSettings.rendering/reflections/specular_occlusion/enabled` è ``false``. .. rst-class:: classref-item-separator @@ -2502,7 +2502,7 @@ Utilizza ``UV2`` per leggere da :ref:`emission_texture`\ ) - :ref:`EmissionOperator` **get_emission_operator**\ (\ ) -Sets how :ref:`emission` interacts with :ref:`emission_texture`. Can either add or multiply. +Imposta il modo in cui :ref:`emission` interagisce con :ref:`emission_texture`. Può essere una somma o una moltiplicazione. .. rst-class:: classref-item-separator @@ -2536,7 +2536,7 @@ Texture che specifica quanta luce è emessa per la superfice in un determinato p - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the object is rendered at the same size regardless of distance. The object's size on screen is the same as if the camera was ``1.0`` units away from the object's origin, regardless of the actual distance from the camera. The :ref:`Camera3D`'s field of view (or :ref:`Camera3D.size` when in orthogonal/frustum mode) still affects the size the object is drawn at. +Se ``true``, l'oggetto viene renderizzato con le stesse dimensioni a prescindere dalla distanza. Le dimensioni dell'oggetto sullo schermo sono le stesse che avrebbe se la telecamera fosse a ``1.0`` unità di distanza dall'origine dell'oggetto, a prescindere dalla distanza effettiva dalla telecamera. Il campo visivo della :ref:`Camera3D` (o :ref:`Camera3D.size` in modalità ortogonale/tronco) influenza comunque le dimensioni dell'oggetto disegnato. .. rst-class:: classref-item-separator @@ -2553,9 +2553,9 @@ If ``true``, the object is rendered at the same size regardless of distance. The - |void| **set_fov_override**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_fov_override**\ (\ ) -Overrides the :ref:`Camera3D`'s field of view angle (in degrees). +Sostituisce l'angolo del campo visivo del :ref:`Camera3D` (in gradi). -\ **Note:** This behaves as if the field of view is set on a :ref:`Camera3D` with :ref:`Camera3D.keep_aspect` set to :ref:`Camera3D.KEEP_HEIGHT`. Additionally, it may not look correct on a non-perspective camera where the field of view setting is ignored. +\ **Nota:** Questo si comporta come se il campo visivo fosse impostato su una :ref:`Camera3D` con :ref:`Camera3D.keep_aspect` impostato su :ref:`Camera3D.KEEP_HEIGHT`. Inoltre, potrebbe non apparire corretto su una telecamera non prospettica, in cui l'impostazione del campo visivo è ignorata. .. rst-class:: classref-item-separator @@ -2644,7 +2644,7 @@ Se ``true``, la mappatura dell'altezza è abilitata (chiamata anche "mappatura d - |void| **set_heightmap_deep_parallax_flip_binormal**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_heightmap_deep_parallax_flip_binormal**\ (\ ) -Se ``true``, capovolge i vettori binormali della mesh quando interpreta la mappa dell'altezza. Se l'effetto della mappa d'altezza sembra strano quando la telecamera si muove (anche con un adeguato :ref:`heightmap_scale`), prova a impostare questo a ``true``. +Se ``true``, capovolge i vettori binormali della mesh durante l'interpretazione della heightmap. Se l'effetto della heightmap appare strano quando la telecamera si muove (anche con un'adeguata :ref:`heightmap_scale`), prova a impostare questo su ``true``. .. rst-class:: classref-item-separator @@ -2661,7 +2661,7 @@ Se ``true``, capovolge i vettori binormali della mesh quando interpreta la mappa - |void| **set_heightmap_deep_parallax_flip_tangent**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_heightmap_deep_parallax_flip_tangent**\ (\ ) -Se ``true``, inverte i vettori tangenti della mesh durante l'interpretazione della mappa di altezza. Se l'effetto della mappa d'altezza sembra strano quando la telecamera si muove (anche con un :ref:`heightmap_scale` adeguato), prova a impostarlo su ``true``. +Se ``true``, inverte i vettori tangenti della mesh durante l'interpretazione della heightmap. Se l'effetto della heightmap appare strano quando la telecamera si muove (anche con un :ref:`heightmap_scale` adeguato), prova a impostarlo su ``true``. .. rst-class:: classref-item-separator @@ -2678,9 +2678,9 @@ Se ``true``, inverte i vettori tangenti della mesh durante l'interpretazione del - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -Se ``true``, interpreta la texture della mappa d'altezza come una mappa di profondità, con valori più chiari che sembrano essere "più bassi" in altitudine rispetto ai valori più scuri. +Se ``true``, interpreta la texture della heightmap come una mappa di profondità, con valori più chiari che sembrano essere "più bassi" in altitudine rispetto ai valori più scuri. -Questo si può abilitare per compatibilità con alcuni materiali creati per Godot 3.x. Ciò non è necessario se l'opzione Inverti importazione è stata usata per invertire la mappa di profondità in Godot 3.x, nel qual caso :ref:`heightmap_flip_texture` dovrebbe rimanere ``false``. +Si può abilitare per compatibilità con alcuni materiali creati per Godot 3.x. Ciò non è necessario se l'opzione d'importazione Inverti è stata usata per invertire la mappa di profondità in Godot 3.x, nel qual caso :ref:`heightmap_flip_texture` dovrebbe rimanere ``false``. .. rst-class:: classref-item-separator @@ -2735,9 +2735,9 @@ Il numero di strati da utilizzare per la mappatura di occlusione parallasse quan - |void| **set_heightmap_scale**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_heightmap_scale**\ (\ ) -The heightmap scale to use for the parallax effect (see :ref:`heightmap_enabled`). The default value is tuned so that the highest point (value = 255) appears to be 5 cm higher than the lowest point (value = 0). Higher values result in a deeper appearance, but may result in artifacts appearing when looking at the material from oblique angles, especially when the camera moves. Negative values can be used to invert the parallax effect, but this is different from inverting the texture using :ref:`heightmap_flip_texture` as the material will also appear to be "closer" to the camera. In most cases, :ref:`heightmap_scale` should be kept to a positive value. +La scala della heightmap da utilizzare per l'effetto di parallasse (vedi :ref:`heightmap_enabled`). Il valore predefinito è calibrato in modo che il punto più alto (valore = 255) sembri essere 5 cm più alto del punto più basso (valore = 0). Valori più alti producono un aspetto più profondo, ma potrebbero far apparire artefatti quando si guarda il materiale da angolazioni oblique, soprattutto quando la telecamera si muove. È possibile usare valori negativi per invertire l'effetto di parallasse, ma ciò è diverso dall'invertire la texture tramite :ref:`heightmap_flip_texture` poiché anche il materiale sembrerà essere "più vicino" alla telecamera. Nella maggior parte dei casi, :ref:`heightmap_scale` dovrebbe essere mantenuto su un valore positivo. -\ **Note:** If the height map effect looks strange regardless of this value, try adjusting :ref:`heightmap_flip_binormal` and :ref:`heightmap_flip_tangent`. See also :ref:`heightmap_texture` for recommendations on authoring heightmap textures, as the way the heightmap texture is authored affects how :ref:`heightmap_scale` behaves. +\ **Nota:** Se l'effetto della heightmap appare strano a prescindere da questo valore, prova a regolare :ref:`heightmap_flip_binormal` e :ref:`heightmap_flip_tangent`. Vedi anche :ref:`heightmap_texture` per consigli sulla creazione di texture di heightmap, poiché il modo in cui viene creata la texture di heightmap influisce sul comportamento di :ref:`heightmap_scale`. .. rst-class:: classref-item-separator @@ -2754,11 +2754,11 @@ The heightmap scale to use for the parallax effect (see :ref:`heightmap_enabled< - |void| **set_texture**\ (\ param\: :ref:`TextureParam`, texture\: :ref:`Texture2D`\ ) - :ref:`Texture2D` **get_texture**\ (\ param\: :ref:`TextureParam`\ ) |const| -La texture da utilizzare come mappa d'altezza. Vedi anche :ref:`heightmap_enabled`. +La texture da utilizzare come heightmap. Vedi anche :ref:`heightmap_enabled`. Per ottenere i migliori risultati, la texture dovrebbe essere normalizzata (con :ref:`heightmap_scale` ridotto per compensare). In `GIMP `__, ciò si può fare tramite **Colori > Auto > Equalizza**. Se la texture utilizza solo una piccola parte della suo intervallo disponibile, l'effetto di parallasse potrebbe apparire strano, soprattutto quando la telecamera si muove. -\ **Nota:** Per ridurre l'utilizzo di memoria e migliorare i tempi di caricamento, potresti essere in grado di utilizzare una texture della mappa d'altezza a risoluzione inferiore poiché la maggior parte delle mappe d'altezza sono composte solo da dati a bassa frequenza. +\ **Nota:** Per ridurre l'utilizzo di memoria e migliorare i tempi di caricamento, potrebbe essere possibile utilizzare una texture di heightmap a bassa risoluzione, poiché la maggior parte delle heightmap sono composte solo da dati a bassa frequenza. .. rst-class:: classref-item-separator @@ -3297,9 +3297,9 @@ Se ``true``, abilita la modalità di rendering "da ombra a opacità" in cui l'il - |void| **set_specular_mode**\ (\ value\: :ref:`SpecularMode`\ ) - :ref:`SpecularMode` **get_specular_mode**\ (\ ) -The method for rendering the specular blob. +Il modo per renderizzare il blob speculare. -\ **Note:** :ref:`specular_mode` only applies to the specular blob. It does not affect specular reflections from the sky, screen-space reflections, :ref:`VoxelGI`, SDFGI or :ref:`ReflectionProbe`\ s. To disable reflections from these sources as well, set :ref:`metallic_specular` to ``0.0`` instead. +\ **Nota:** :ref:`specular_mode` si applica solo al blob speculare. Non influisce sui riflessi speculari del cielo, sui riflessi nello spazio dello schermo, sui :ref:`VoxelGI`, SDFGI o :ref:`ReflectionProbe`. Per disabilitare anche i riflessi provenienti da queste fonti, imposta invece :ref:`metallic_specular` su ``0.0``. .. rst-class:: classref-item-separator @@ -3318,7 +3318,7 @@ The method for rendering the specular blob. **Sperimentale:** May be affected by future rendering pipeline changes. -The primary color of the stencil effect. +Il colore primario dell'effetto stencil. .. rst-class:: classref-item-separator @@ -3337,7 +3337,7 @@ The primary color of the stencil effect. **Sperimentale:** May be affected by future rendering pipeline changes. -The comparison operator to use for stencil masking operations. See :ref:`StencilCompare`. +L'operatore di confronto da utilizzare per le operazioni di mascheramento di stencil. Vedi :ref:`StencilCompare`. .. rst-class:: classref-item-separator @@ -3356,7 +3356,7 @@ The comparison operator to use for stencil masking operations. See :ref:`Stencil **Sperimentale:** May be affected by future rendering pipeline changes. -The flags dictating how the stencil operation behaves. See :ref:`StencilFlags`. +I flag che determinano il comportamento dell'operazione di stencil. Vedi :ref:`StencilFlags`. .. rst-class:: classref-item-separator @@ -3375,7 +3375,7 @@ The flags dictating how the stencil operation behaves. See :ref:`StencilFlags`. +La modalità dell'effetto stencil. Vedi :ref:`StencilMode`. .. rst-class:: classref-item-separator @@ -3394,7 +3394,7 @@ The stencil effect mode. See :ref:`StencilMode` **Sperimentale:** May be affected by future rendering pipeline changes. -The outline thickness for :ref:`STENCIL_MODE_OUTLINE`. +Lo spessore del contorno per :ref:`STENCIL_MODE_OUTLINE`. .. rst-class:: classref-item-separator @@ -3413,7 +3413,7 @@ The outline thickness for :ref:`STENCIL_MODE_OUTLINE`\ ) - :ref:`TextureFilter` **get_texture_filter**\ (\ ) -Filter flags for the texture. +I flag di filtro per la texture. -\ **Note:** :ref:`heightmap_texture` is always sampled with linear filtering, even if nearest-neighbor filtering is selected here. This is to ensure the heightmap effect looks as intended. If you need sharper height transitions between pixels, resize the heightmap texture in an image editor with nearest-neighbor filtering. +\ **Nota:** :ref:`heightmap_texture` è sempre campionato con il filtro lineare, anche se qui è selezionato il filtro più vicino. Ciò è per garantire che l'effetto della heightmap appaia come previsto. Se c'è bisogno di transizioni più nitide tra i pixel che rappresentano le altezze, ridimensiona la texture della heightmap in un editor di immagini con il filtro più vicino. .. rst-class:: classref-item-separator @@ -3602,7 +3602,7 @@ Filter flags for the texture. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the texture repeats when exceeding the texture's size. See :ref:`FLAG_USE_TEXTURE_REPEAT`. +Se ``true``, la texture si ripete quando supera le dimensioni della texture. Vedi :ref:`FLAG_USE_TEXTURE_REPEAT`. .. rst-class:: classref-item-separator @@ -3689,7 +3689,7 @@ Se ``true``, la dimensione di rendering dei punti può essere modificata. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true`` use :ref:`z_clip_scale` to scale the object being rendered towards the camera to avoid clipping into things like walls. +Se ``true`` usa :ref:`z_clip_scale` per ridimensionare l'oggetto renderizzato verso la telecamera per evitare il clipping in cose come i muri. .. rst-class:: classref-item-separator @@ -3740,7 +3740,7 @@ Di quanto scalare le coordinate ``UV``. Questo è moltiplicato per ``UV`` nella - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, instead of using ``UV`` textures will use a triplanar texture lookup to determine how to apply textures. Triplanar uses the orientation of the object's surface to blend between texture coordinates. It reads from the source texture 3 times, once for each axis and then blends between the results based on how closely the pixel aligns with each axis. This is often used for natural features to get a realistic blend of materials. Because triplanar texturing requires many more texture reads per-pixel it is much slower than normal UV texturing. Additionally, because it is blending the texture between the three axes, it is unsuitable when you are trying to achieve crisp texturing. +Se ``true``, invece di usare gli ``UV``, le texture useranno una ricerca triplanare per determinare come applicarsi. Triplanar usa l'orientamento della superficie dell'oggetto per fondere tra le coordinate delle texture. Legge dalla texture sorgente 3 volte, una per ogni asse, e poi fonde i risultati in base a quanto il pixel si allinea con ogni asse. Questo è spesso usato per le caratteristiche naturali, al fine di ottenere una fusione realistica di materiali. Poiché la texturizzazione triplanare richiede molte più letture di texture per pixel, è molto più lenta della solita texturizzazione tramite UV. Inoltre, poiché fonde la texture tra i tre assi, non è adatta per ottenere una texturizzazione nitida. .. rst-class:: classref-item-separator @@ -3827,7 +3827,7 @@ Di quanto scalare le coordinate ``UV2``. Questo è moltiplicato per ``UV2`` nell - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enable\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, instead of using ``UV2`` textures will use a triplanar texture lookup to determine how to apply textures. Triplanar uses the orientation of the object's surface to blend between texture coordinates. It reads from the source texture 3 times, once for each axis and then blends between the results based on how closely the pixel aligns with each axis. This is often used for natural features to get a realistic blend of materials. Because triplanar texturing requires many more texture reads per-pixel it is much slower than normal UV texturing. Additionally, because it is blending the texture between the three axes, it is unsuitable when you are trying to achieve crisp texturing. +Se ``true``, invece di usare gli ``UV2``, le texture useranno una ricerca triplanare per determinare come applicarsi. Triplanar usa l'orientamento della superficie dell'oggetto per fondere tra le coordinate delle texture. Legge dalla texture sorgente 3 volte, una per ogni asse, e poi fonde i risultati in base a quanto il pixel si allinea con ogni asse. Questo è spesso usato per le caratteristiche naturali, al fine di ottenere una fusione realistica di materiali. Poiché la texturizzazione triplanare richiede molte più letture di texture per pixel, è molto più lenta della solita texturizzazione tramite UV. Inoltre, poiché fonde la texture tra i tre assi, non è adatta per ottenere una texturizzazione nitida. .. rst-class:: classref-item-separator @@ -3916,7 +3916,7 @@ Se ``true``, il colore dei vertici è utilizzato per il colore dell'albedo. - |void| **set_z_clip_scale**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_z_clip_scale**\ (\ ) -Scales the object being rendered towards the camera to avoid clipping into things like walls. This is intended to be used for objects that are fixed with respect to the camera like player arms, tools, etc. Lighting and shadows will continue to work correctly when this setting is adjusted, but screen-space effects like SSAO and SSR may break with lower scales. Therefore, try to keep this setting as close to ``1.0`` as possible. +Ridimensiona l'oggetto renderizzato verso la telecamera per evitare il clipping in cose come i muri. Questa impostazione è pensata per oggetti fissi rispetto alla telecamera, come le braccia, gli strumenti, ecc. del giocatore. Luci e ombre continueranno a funzionare correttamente quando questa impostazione è regolata, ma gli effetti nello spazio dello schermo, come SSAO e SSR, potrebbero non funzionare correttamente con scale inferiori. Pertanto, si consiglia di mantenere questa impostazione il più vicino possibile a ``1.0``. .. rst-class:: classref-section-separator diff --git a/classes/it/class_basis.rst b/classes/it/class_basis.rst index 3ea8ec35f0..49aa378223 100644 --- a/classes/it/class_basis.rst +++ b/classes/it/class_basis.rst @@ -12,7 +12,7 @@ Una matrice 3×3 per rappresentare la rotazione e la scala 3D. Descrizione ---------------------- -Il tipo di :ref:`Variant` integrato **Basis** è una `matrice `__ 3×3 utilizzata per rappresentare rotazione, scala e taglio. Viene spesso utilizzato all'interno di un :ref:`Transform3D`. +Il tipo di :ref:`Variant` integrato **Basis** è una `matrice `__ 3×3 utilizzata per rappresentare rotazione, scala e deformazione. Viene spesso utilizzato all'interno di un :ref:`Transform3D`. Una base è composta da 3 vettori di assi, ciascuno dei quali rappresenta una colonna della matrice: :ref:`x`, :ref:`y` e :ref:`z`. La lunghezza di ciascun asse (:ref:`Vector3.length()`) influenza la scala della base, mentre la direzione di tutti gli assi influenza la rotazione. Di solito questi assi sono perpendicolari tra loro. Tuttavia, quando si ruota un asse individualmente, la base diventa inclinata. L'applicazione di una base inclinata a un modello 3D farà apparire il modello distorto. @@ -366,13 +366,13 @@ Descrizioni dei metodi :ref:`float` **determinant**\ (\ ) |const| :ref:`🔗` -Restituisce il `determinante `__ della matrice di questa base. Per la matematica avanzata, questo numero può essere usato per determinare alcuni attributi: +Returns the `determinant `__ of this basis's matrix. For advanced math, this number can be used to determine a few attributes: -- Se il determinante è esattamente ``0.0``, la base non è invertibile (vedi :ref:`inverse()`). +- If the determinant is exactly ``0.0``, the basis is not invertible (see :ref:`inverse()`). -- Se il determinante è un numero negativo, la base rappresenta una scala negativa. +- If the determinant is a negative number, the basis represents a negative scale. -\ **Nota:** Se la scala della base è la stessa per ogni asse, il suo determinante è sempre quella scala elevata alla potenza di 2. +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator @@ -411,7 +411,7 @@ Costruisce una nuova **Basis** che rappresenta solo la rotazione dal :ref:`Vecto -L'ordine di ogni rotazione consecutiva può essere modificato con ``order`` (vedi le costanti di :ref:`EulerOrder`). Come predefinito, è usata la convenzione YXZ (:ref:`@GlobalScope.EULER_ORDER_YXZ`): la base ruota prima attorno all'asse Y (imbardata), poi X (beccheggio) e infine Z (rollio). Quando si utilizza il metodo opposto :ref:`get_euler()`, questo ordine è invertito. +L'ordine di ogni rotazione consecutiva si essere cambiare con ``order`` (vedi le costanti di :ref:`EulerOrder`). Come predefinito, è usata la convenzione YXZ (:ref:`@GlobalScope.EULER_ORDER_YXZ`): la base ruota prima attorno all'asse Y (imbardata), poi X (beccheggio) e infine Z (rollio). Quando si utilizza il metodo opposto :ref:`get_euler()`, questo ordine è invertito. .. rst-class:: classref-item-separator @@ -728,9 +728,9 @@ Le righe della matrice base sono moltiplicate per i componenti di ``scale``. Que :ref:`Basis` **scaled_local**\ (\ scale\: :ref:`Vector3`\ ) |const| :ref:`🔗` -Returns this basis with each axis scaled by the corresponding component in the given ``scale``. +Restituisce questa base con i componenti di ciascun asse ridimensionati in base ai componenti di ``scale``. -The basis matrix's columns are multiplied by ``scale``'s components. This operation is a local scale (relative to self). +Le righe della matrice base sono moltiplicate per i componenti di ``scale``. Questa operazione è una scala locale (relativa a se stesso). .. tabs:: @@ -742,11 +742,11 @@ The basis matrix's columns are multiplied by ``scale``'s components. This operat Vector3(2, 2, 2), Vector3(3, 3, 3) ) - my_basis = my_basis.scaled_local(Vector3(0, 2, -2)) + my_basis = my_basis.scaled(Vector3(0, 2, -2)) - print(my_basis.x) # Prints (0.0, 0.0, 0.0) - print(my_basis.y) # Prints (4.0, 4.0, 4.0) - print(my_basis.z) # Prints (-6.0, -6.0, -6.0) + print(my_basis.x) # Stampa (0.0, 0.0, 0.0) + print(my_basis.y) # Stampa (4.0, 4.0, 4.0) + print(my_basis.z) # Stampa (-6.0, -6.0, -6.0) .. code-tab:: csharp @@ -755,11 +755,11 @@ The basis matrix's columns are multiplied by ``scale``'s components. This operat new Vector3(2.0f, 2.0f, 2.0f), new Vector3(3.0f, 3.0f, 3.0f) ); - myBasis = myBasis.ScaledLocal(new Vector3(0.0f, 2.0f, -2.0f)); + myBasis = myBasis.Scaled(new Vector3(0.0f, 2.0f, -2.0f)); - GD.Print(myBasis.X); // Prints (0, 0, 0) - GD.Print(myBasis.Y); // Prints (4, 4, 4) - GD.Print(myBasis.Z); // Prints (-6, -6, -6) + GD.Print(myBasis.X); // Stampa (0, 0, 0) + GD.Print(myBasis.Y); // Stampa (4, 4, 4) + GD.Print(myBasis.Z); // Stampa (-6, -6, -6) @@ -934,7 +934,6 @@ Trasforma (moltiplica) il vettore ``right`` per questa base, restituendo un :ref GD.Print(myBasis * new Vector3(1, 2, 3)); // Prints (4, 2, 6) -.. tabs:: .. rst-class:: classref-item-separator diff --git a/classes/it/class_bitmap.rst b/classes/it/class_bitmap.rst index b6c2038e03..018083d63d 100644 --- a/classes/it/class_bitmap.rst +++ b/classes/it/class_bitmap.rst @@ -67,7 +67,7 @@ Descrizioni dei metodi :ref:`Image` **convert_to_image**\ (\ ) |const| :ref:`🔗` -Returns an image of the same size as the bitmap and with an :ref:`Format` of type :ref:`Image.FORMAT_L8`. ``true`` bits of the bitmap are being converted into white pixels, and ``false`` bits into black. +Restituisce un'immagine delle stesse dimensioni della bitmap e con un :ref:`Format` di tipo :ref:`Image.FORMAT_L8`. I bit ``true`` della bitmap vengono convertiti in pixel bianchi, mentre i bit ``false`` in pixel neri. .. rst-class:: classref-item-separator diff --git a/classes/it/class_boneattachment3d.rst b/classes/it/class_boneattachment3d.rst index 035641369f..35eb65c947 100644 --- a/classes/it/class_boneattachment3d.rst +++ b/classes/it/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: @@ -109,7 +109,7 @@ Il nome dell'osso attaccato. - |void| **set_external_skeleton**\ (\ value\: :ref:`NodePath`\ ) - :ref:`NodePath` **get_external_skeleton**\ (\ ) -The :ref:`NodePath` to the external :ref:`Skeleton3D` node. +Il :ref:`NodePath` al nodo :ref:`Skeleton3D` esterno, se ne è stato impostato uno. .. rst-class:: classref-item-separator @@ -126,9 +126,9 @@ The :ref:`NodePath` to the external :ref:`Skeleton3D`\ ) - :ref:`bool` **get_override_pose**\ (\ ) -Whether the **BoneAttachment3D** node will override the bone pose of the bone it is attached to. When set to ``true``, the **BoneAttachment3D** node can change the pose of the bone. When set to ``false``, the **BoneAttachment3D** will always be set to the bone's transform. +Se il nodo BoneAttachment3D sovrascriverà la posa dell'osso a cui è attaccato. Se impostato su ``true``, il nodo **BoneAttachment3D** può modificare la posa dell'osso. Se impostato su ``false``, il **BoneAttachment3D** sarà sempre impostato sulla trasformazione dell'osso. -\ **Note:** This override performs interruptively in the skeleton update process using signals due to the old design. It may cause unintended behavior when used at the same time with :ref:`SkeletonModifier3D`. +\ **Nota:** Questa sovrascrittura è effettuata in modo interruttivo nel processo di aggiornamento dello scheletro, attraverso segnali, a causa del vecchio design. Potrebbe causare comportamenti indesiderati se utilizzato con :ref:`SkeletonModifier3D` allo stesso tempo. .. rst-class:: classref-item-separator @@ -145,7 +145,7 @@ Whether the **BoneAttachment3D** node will override the bone pose of the bone it - |void| **set_use_external_skeleton**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_use_external_skeleton**\ (\ ) -Whether the **BoneAttachment3D** node will use an external :ref:`Skeleton3D` node rather than attempting to use its parent node as the :ref:`Skeleton3D`. When set to ``true``, the **BoneAttachment3D** node will use the external :ref:`Skeleton3D` node set in :ref:`external_skeleton`. +Imposta se il nodo BoneAttachment3D utilizzerà un nodo :ref:`Skeleton3D` esterno anziché tentare di utilizzare il suo nodo padre come :ref:`Skeleton3D`. Se impostato su ``true``, il nodo **BoneAttachment3D** utilizzerà il nodo :ref:`Skeleton3D` esterno impostato in :ref:`external_skeleton`. .. rst-class:: classref-section-separator @@ -162,7 +162,7 @@ Descrizioni dei metodi :ref:`Skeleton3D` **get_skeleton**\ (\ ) :ref:`🔗` -Returns the parent or external :ref:`Skeleton3D` node if it exists, otherwise returns ``null``. +Restituisce il nodo :ref:`Skeleton3D` padre o esterno se esiste, altrimenti restituisce ``null``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_boneconstraint3d.rst b/classes/it/class_boneconstraint3d.rst index 70c2bf904b..48c88cff09 100644 --- a/classes/it/class_boneconstraint3d.rst +++ b/classes/it/class_boneconstraint3d.rst @@ -9,14 +9,14 @@ BoneConstraint3D **Ereditato da:** :ref:`AimModifier3D`, :ref:`ConvertTransformModifier3D`, :ref:`CopyTransformModifier3D` -A node that may modify Skeleton3D's bone with associating the two bones. +Un nodo che può modificare un osso di uno Skeleton3D associando due ossa. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Base class of :ref:`SkeletonModifier3D` that modifies the bone set in :ref:`set_apply_bone()` based on the transform of the bone retrieved by :ref:`get_reference_bone()`. +Classe base di :ref:`SkeletonModifier3D` che modifica l'insieme di ossa in :ref:`set_apply_bone()` in base alla trasformazione dell'osso recuperato da :ref:`get_reference_bone()`. .. rst-class:: classref-reftable-group @@ -69,7 +69,7 @@ Descrizioni dei metodi |void| **clear_setting**\ (\ ) :ref:`🔗` -Clear all settings. +Cancella tutte le impostazioni. .. rst-class:: classref-item-separator @@ -81,7 +81,7 @@ Clear all settings. :ref:`float` **get_amount**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the apply amount of the setting at ``index``. +Restituisce la quantità d'applicazione dell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -93,7 +93,7 @@ Returns the apply amount of the setting at ``index``. :ref:`int` **get_apply_bone**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the apply bone of the setting at ``index``. This bone will be modified. +Restituisce l'osso d'applicazione dell'impostazione all'indice ``index``. Quest'osso sarà modificato. .. rst-class:: classref-item-separator @@ -105,7 +105,7 @@ Returns the apply bone of the setting at ``index``. This bone will be modified. :ref:`String` **get_apply_bone_name**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the apply bone name of the setting at ``index``. This bone will be modified. +Restituisce il nome dell'osso d'applicazione dell'impostazione all'indice ``index``. Quest'osso sarà modificato. .. rst-class:: classref-item-separator @@ -117,9 +117,9 @@ Returns the apply bone name of the setting at ``index``. This bone will be modif :ref:`int` **get_reference_bone**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the reference bone of the setting at ``index``. +Restituisce l'osso di riferimento dell'impostazione all'indice ``index``. -This bone will be only referenced and not modified by this modifier. +Questo osso sarà solo referenziato e non modificato da questo modificatore. .. rst-class:: classref-item-separator @@ -131,9 +131,9 @@ This bone will be only referenced and not modified by this modifier. :ref:`String` **get_reference_bone_name**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the reference bone name of the setting at ``index``. +Restituisce il nome dell'osso di riferimento dell'impostazione all'indice ``index``. -This bone will be only referenced and not modified by this modifier. +Questo osso sarà solo referenziato e non modificato da questo modificatore. .. rst-class:: classref-item-separator @@ -145,7 +145,7 @@ This bone will be only referenced and not modified by this modifier. :ref:`int` **get_setting_count**\ (\ ) |const| :ref:`🔗` -Returns the number of settings in the modifier. +Restituisce il numero di impostazioni nel modificatore. .. rst-class:: classref-item-separator @@ -157,7 +157,7 @@ Returns the number of settings in the modifier. |void| **set_amount**\ (\ index\: :ref:`int`, amount\: :ref:`float`\ ) :ref:`🔗` -Sets the apply amount of the setting at ``index`` to ``amount``. +Imposta la quantità d'applicazione dell'impostazione all'indice ``index`` su ``amount``. .. rst-class:: classref-item-separator @@ -169,7 +169,7 @@ Sets the apply amount of the setting at ``index`` to ``amount``. |void| **set_apply_bone**\ (\ index\: :ref:`int`, bone\: :ref:`int`\ ) :ref:`🔗` -Sets the apply bone of the setting at ``index`` to ``bone``. This bone will be modified. +Imposta l'osso d'applicazione dell'impostazione all'indice ``index`` su ``bone``. Quest'osso sarà modificato. .. rst-class:: classref-item-separator @@ -181,7 +181,7 @@ Sets the apply bone of the setting at ``index`` to ``bone``. This bone will be m |void| **set_apply_bone_name**\ (\ index\: :ref:`int`, bone_name\: :ref:`String`\ ) :ref:`🔗` -Sets the apply bone of the setting at ``index`` to ``bone_name``. This bone will be modified. +Imposta l'osso d'applicazione dell'impostazione all'indice ``index`` sull'osso con il nome ``bone_name``. Quest'osso sarà modificato. .. rst-class:: classref-item-separator @@ -193,9 +193,9 @@ Sets the apply bone of the setting at ``index`` to ``bone_name``. This bone will |void| **set_reference_bone**\ (\ index\: :ref:`int`, bone\: :ref:`int`\ ) :ref:`🔗` -Sets the reference bone of the setting at ``index`` to ``bone``. +Imposta l'osso di riferimento dell'impostazione all'indice ``index`` su ``bone``. -This bone will be only referenced and not modified by this modifier. +Questo osso sarà solo referenziato e non modificato da questo modificatore. .. rst-class:: classref-item-separator @@ -207,9 +207,9 @@ This bone will be only referenced and not modified by this modifier. |void| **set_reference_bone_name**\ (\ index\: :ref:`int`, bone_name\: :ref:`String`\ ) :ref:`🔗` -Sets the reference bone of the setting at ``index`` to ``bone_name``. +Imposta l'osso di riferimento dell'impostazione all'indice ``index`` sull'osso con il nome ``bone_name``. -This bone will be only referenced and not modified by this modifier. +Questo osso sarà solo referenziato e non modificato da questo modificatore. .. rst-class:: classref-item-separator @@ -221,7 +221,7 @@ This bone will be only referenced and not modified by this modifier. |void| **set_setting_count**\ (\ count\: :ref:`int`\ ) :ref:`🔗` -Sets the number of settings in the modifier. +Imposta il numero di impostazioni nel modificatore. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_boxshape3d.rst b/classes/it/class_boxshape3d.rst index 78bb9a4567..d269c48f6d 100644 --- a/classes/it/class_boxshape3d.rst +++ b/classes/it/class_boxshape3d.rst @@ -14,7 +14,7 @@ Una forma di scatola 3D utilizzata per la collisione di fisica. Descrizione ---------------------- -Una forma cilindrica 3D, progettata per l'uso in fisica. Solitamente utilizzata per fornire una forma per un :ref:`CollisionShape3D`. +Una forma a scatola 3D, progettata per l'uso in fisica. Solitamente utilizzata per fornire una forma per un :ref:`CollisionShape3D`. \ **Prestazioni:** **BoxShape3D** è veloce per verificare le collisioni. È più veloce di :ref:`CapsuleShape3D` e :ref:`CylinderShape3D`, ma è più lenta di :ref:`SphereShape3D`. diff --git a/classes/it/class_button.rst b/classes/it/class_button.rst index 25f55fcdbf..20fc652ded 100644 --- a/classes/it/class_button.rst +++ b/classes/it/class_button.rst @@ -194,7 +194,7 @@ Descrizioni delle proprietà - |void| **set_text_alignment**\ (\ value\: :ref:`HorizontalAlignment`\ ) - :ref:`HorizontalAlignment` **get_text_alignment**\ (\ ) -Text alignment policy for the button's text. +Criterio di allineamento del testo per il testo del pulsante. .. rst-class:: classref-item-separator @@ -211,7 +211,7 @@ Text alignment policy for the button's text. - |void| **set_autowrap_mode**\ (\ value\: :ref:`AutowrapMode`\ ) - :ref:`AutowrapMode` **get_autowrap_mode**\ (\ ) -Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`, il testo è racchiuso all'interno del rettangolo limite del nodo. +Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`, il testo è racchiuso all'interno del rettangolo di delimitazione del nodo. .. rst-class:: classref-item-separator @@ -228,7 +228,7 @@ Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`\]\ ) - |bitfield|\[:ref:`LineBreakFlag`\] **get_autowrap_trim_flags**\ (\ ) -Autowrap space trimming flags. See :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` and :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` for more info. +Flag di troncamento spazi per il ritorno a capo automatico. Vedi :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` e :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` per ulteriori informazioni. .. rst-class:: classref-item-separator @@ -383,7 +383,7 @@ Direzione di scrittura del testo di base. - |void| **set_text_overrun_behavior**\ (\ value\: :ref:`OverrunBehavior`\ ) - :ref:`OverrunBehavior` **get_text_overrun_behavior**\ (\ ) -Sets the clipping behavior when the text exceeds the node's bounding rectangle. +Imposta il comportamento di ritaglio quando il testo supera il rettangolo di delimitazione del nodo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_buttongroup.rst b/classes/it/class_buttongroup.rst index 23d9e39aa5..d6bb2c6735 100644 --- a/classes/it/class_buttongroup.rst +++ b/classes/it/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/it/class_callable.rst b/classes/it/class_callable.rst index fdb63c43b5..bc20940f1b 100644 --- a/classes/it/class_callable.rst +++ b/classes/it/class_callable.rst @@ -12,7 +12,7 @@ Un tipo integrato che rappresenta un metodo o una funzione autonoma. Descrizione ---------------------- -**Callable** is a built-in :ref:`Variant` type that represents a function. It can either be a method within an :ref:`Object` instance, or a custom callable used for different purposes (see :ref:`is_custom()`). Like all :ref:`Variant` types, it can be stored in variables and passed to other functions. It is most commonly used for signal callbacks. +Il **Callable** (chiamabile) è un tipo di :ref:`Variant` incorporato che rappresenta una funzione. Può essere un metodo all'interno di un'istanza di :ref:`Object` o un chiamabile personalizzato utilizzato per diversi scopi (vedi :ref:`is_custom()`). Come tutti i tipi di :ref:`Variant`, può essere memorizzato in variabili e passato ad altre funzioni. È più comunemente usato per le richiamate di segnale. .. tabs:: @@ -24,13 +24,13 @@ Descrizione func test(): var callable = Callable(self, "print_args") - callable.call("hello", "world") # Prints "hello world ". - callable.call(Vector2.UP, 42, callable) # Prints "(0.0, -1.0) 42 Node(node.gd)::print_args" - callable.call("invalid") # Invalid call, should have at least 2 arguments. + callable.call("ciao", "mondo") # Stampa "ciao modo". + callable.call(Vector2.UP, 42, callable) # Stampa "(0.0, -1.0) 42 Node(node.gd)::print_args" + callable.call("invalid") # Chiamata non valida, deve avere almeno 2 argomenti. .. code-tab:: csharp - // Default parameter values are not supported. + // I valori predefiniti dei parametri non sono supportati public void PrintArgs(Variant arg1, Variant arg2, Variant arg3 = default) { GD.PrintS(arg1, arg2, arg3); @@ -38,16 +38,16 @@ Descrizione public void Test() { - // Invalid calls fail silently. + // Le chiamate non valide falliscono silenziosamente. Callable callable = new Callable(this, MethodName.PrintArgs); - callable.Call("hello", "world"); // Default parameter values are not supported, should have 3 arguments. - callable.Call(Vector2.Up, 42, callable); // Prints "(0, -1) 42 Node(Node.cs)::PrintArgs" - callable.Call("invalid"); // Invalid call, should have 3 arguments. + callable.Call("ciao", "mondo"); // I valori predefiniti dei parametri non sono supportati, deve avere 3 argomenti. + callable.Call(Vector2.Up, 42, callable); // Stampa "(0, -1) 42 Node(Node.cs)::PrintArgs" + callable.Call("invalid"); // Chiamata non valida, deve avere 3 argomenti. } -In GDScript, it's possible to create lambda functions within a method. Lambda functions are custom callables that are not associated with an :ref:`Object` instance. Optionally, lambda functions can also be named. The name will be displayed in the debugger, or when calling :ref:`get_method()`. +In GDScript è possibile creare funzioni lambda all'interno di un metodo. Le funzioni lambda sono chiamabili personalizzati che non sono associati a un'istanza di :ref:`Object`. Facoltativamente, è possibile nominare anche le funzioni lambda. Il nome sarà visualizzato nel debugger o quando si chiama :ref:`get_method()`. :: @@ -55,30 +55,30 @@ In GDScript, it's possible to create lambda functions within a method. Lambda fu var my_lambda = func (message): print(message) - # Prints "Hello everyone!" - my_lambda.call("Hello everyone!") + # Stampa "Ciao a tutti!" + my_lambda.call("Ciao a tutti!") - # Prints "Attack!", when the button_pressed signal is emitted. - button_pressed.connect(func(): print("Attack!")) + # Stampa "Attacca!", quando il segnale button_pressed viene emesso. + button_pressed.connect(func(): print("Attacca!")) -In GDScript, you can access methods and global functions as **Callable**\ s: +In GDScript, è possibile accedere a metodi e funzioni globali come **Callable**: :: - tween.tween_callback(node.queue_free) # Object methods. - tween.tween_callback(array.clear) # Methods of built-in types. - tween.tween_callback(print.bind("Test")) # Global functions. + tween.tween_callback(node.queue_free) # Metodi di Object. + tween.tween_callback(array.clear) # Metodi di tipi integrati. + tween.tween_callback(print.bind("Test")) # Funzioni globali. -\ **Note:** :ref:`Dictionary` does not support the above due to ambiguity with keys. +\ **Nota:** :ref:`Dictionary` non supporta quanto descritto sopra a causa dell'ambiguità con le chiavi. :: var dictionary = { "hello": "world" } - # This will not work, `clear` is treated as a key. + # Questo non funzionerà, `clear` è trattato come chiave. tween.tween_callback(dictionary.clear) - # This will work. + # Questo funzionerà. tween.tween_callback(Callable.create(dictionary, "clear")) .. note:: @@ -308,7 +308,7 @@ Chiama il metodo rappresentato da questo **Callable**. A differenza di :ref:`cal Crea un nuovo **Callable** per il metodo con nome ``method`` nel ``variant`` specificato. Per rappresentare un metodo di tipo :ref:`Variant` integrato, è utilizzato un chiamabile personalizzato (vedi :ref:`is_custom()`). Se ``variant`` è :ref:`Object`, sarà invece creato un chiamabile standard. -\ **Nota:** Questo metodo è sempre necessario per il tipo :ref:`Dictionary`, poiché la sintassi della proprietà è utilizzata per accedere alle sue voci. Puoi anche utilizzare questo metodo quando il tipo di ``variable`` non è conosciuto in anticipo (per il polimorfismo). +\ **Nota:** Questo metodo è sempre necessario per il tipo :ref:`Dictionary`, poiché la sintassi della proprietà è utilizzata per accedere alle sue voci. Puoi anche utilizzare questo metodo quando il tipo di ``variant`` non è conosciuto in anticipo (per il polimorfismo). .. rst-class:: classref-item-separator diff --git a/classes/it/class_callbacktweener.rst b/classes/it/class_callbacktweener.rst index c83a9aeda3..2b0807d724 100644 --- a/classes/it/class_callbacktweener.rst +++ b/classes/it/class_callbacktweener.rst @@ -14,7 +14,7 @@ Richiama il metodo specificato dopo un ritardo facoltativo. Descrizione ---------------------- -**CallbackTweener** è utilizzato per chiamare un metodo in una sequenza di tweening. Vedi :ref:`Tween.tween_callback()` per maggiori informazioni sull'utilizzo. +**CallbackTweener** serve per chiamare un metodo in una sequenza di tweening. Vedi :ref:`Tween.tween_callback()` per maggiori informazioni sull'utilizzo. Il tweener terminerà automaticamente se l'oggetto di destinazione del callback viene liberato. diff --git a/classes/it/class_camera2d.rst b/classes/it/class_camera2d.rst index f99a423afe..f290e7e6fb 100644 --- a/classes/it/class_camera2d.rst +++ b/classes/it/class_camera2d.rst @@ -14,13 +14,13 @@ Nodo di telecamera per le scene in 2D. Descrizione ---------------------- -Camera node for 2D scenes. It forces the screen (current layer) to scroll following this node. This makes it easier (and faster) to program scrollable scenes than manually changing the position of :ref:`CanvasItem`-based nodes. +Nodo telecamera per le scene 2D. Forza lo schermo (livello attuale) a scorrere seguendo questo nodo. Ciò rende più facile (e veloce) programmare scene scorrevoli rispetto alla modifica manuale della posizione dei nodi basati su :ref:`CanvasItem`. -Cameras register themselves in the nearest :ref:`Viewport` node (when ascending the tree). Only one camera can be active per viewport. If no viewport is available ascending the tree, the camera will register in the global viewport. +Le telecamere si registrano nel nodo :ref:`Viewport` più vicino (quando si sale nell'albero). Solo una telecamera può essere attiva per ogni viewport. Se non è disponibile alcuna viewport salendo nell'albero, la telecamera si registrerà nella viewport globale. -This node is intended to be a simple helper to get things going quickly, but more functionality may be desired to change how the camera works. To make your own custom camera node, inherit it from :ref:`Node2D` and change the transform of the canvas by setting :ref:`Viewport.canvas_transform` in :ref:`Viewport` (you can obtain the current :ref:`Viewport` by using :ref:`Node.get_viewport()`). +Questo nodo è pensato come aiuto per far funzionare le cose rapidamente, ma potrebbero essere desiderate più funzionalità per cambiare il modo in cui funziona la telecamera. Per creare il tuo nodo telecamera personalizzato, ereditalo da :ref:`Node2D` e modifica la trasformazione del canvas impostando :ref:`Viewport.canvas_transform` in :ref:`Viewport` (puoi ottenere la :ref:`Viewport` attuale tramite :ref:`Node.get_viewport()`). -Note that the **Camera2D** node's :ref:`Node2D.global_position` doesn't represent the actual position of the screen, which may differ due to applied smoothing or limits. You can use :ref:`get_screen_center_position()` to get the real position. Same for the node's :ref:`Node2D.global_rotation` which may be different due to applied rotation smoothing. You can use :ref:`get_screen_rotation()` to get the current rotation of the screen. +Nota che la :ref:`Node2D.global_position` del nodo **Camera2D** non rappresenta la posizione effettiva dello schermo, che potrebbe differire a causa di attenuazioni o limiti applicati. Puoi usare :ref:`get_screen_center_position()` per ottenere la posizione reale. Lo stesso vale per la :ref:`Node2D.global_rotation` del nodo, che potrebbe essere diversa a causa dell'applicazione dell'attenuazione della rotazione. È possibile usare :ref:`get_screen_rotation()` per ottenere la rotazione attuale dello schermo. .. rst-class:: classref-introduction-group @@ -208,7 +208,7 @@ Descrizioni delle proprietà - |void| **set_anchor_mode**\ (\ value\: :ref:`AnchorMode`\ ) - :ref:`AnchorMode` **get_anchor_mode**\ (\ ) -The Camera2D's anchor point. +Il punto di ancoraggio della Camera2D. .. rst-class:: classref-item-separator @@ -486,7 +486,7 @@ Limite di scorrimento inferiore in pixel. La telecamera smette di muoversi quand - |void| **set_limit_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_limit_enabled**\ (\ ) -If ``true``, the limits will be enabled. Disabling this will allow the camera to focus anywhere, when the four ``limit_*`` properties will not work. +Se ``true``, i limiti saranno abilitati. Disabilitandoli, la telecamera potrà focalizzarsi ovunque, quando le quattro proprietà ``limit_*`` non funzioneranno. .. rst-class:: classref-item-separator @@ -626,7 +626,7 @@ Velocità in pixel al secondo dell'effetto di attenuazione della fotocamera quan - |void| **set_process_callback**\ (\ value\: :ref:`Camera2DProcessCallback`\ ) - :ref:`Camera2DProcessCallback` **get_process_callback**\ (\ ) -The camera's process callback. +Il callback di processo della telecamera. .. rst-class:: classref-item-separator @@ -679,9 +679,9 @@ Velocità angolare asintotica dell'effetto di attenuazione della rotazione della - |void| **set_zoom**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_zoom**\ (\ ) -The camera's zoom. Higher values are more zoomed in. For example, a zoom of ``Vector2(2.0, 2.0)`` will be twice as zoomed in on each axis (the view covers an area four times smaller). In contrast, a zoom of ``Vector2(0.5, 0.5)`` will be twice as zoomed out on each axis (the view covers an area four times larger). The X and Y components should generally always be set to the same value, unless you wish to stretch the camera view. +Lo zoom della telecamera. Valori più alti risultano in un ingrandimento maggiore. Ad esempio, uno zoom di ``Vector2(2.0, 2.0)`` raddoppia l'ingrandimento su ciascun asse (la vista copre un'area quattro volte più piccola). Al contrario, uno zoom di ``Vector2(0.5, 0.5)`` rimpicciolirà di due volte su ciascun asse (la vista copre un'area quattro volte più grande). In genere, le componenti X e Y si dovrebbero sempre impostare sullo stesso valore, a meno che non si desideri stirare la vista della telecamera. -\ **Note:** :ref:`FontFile.oversampling` does *not* take **Camera2D** zoom into account. This means that zooming in/out will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated unless the font is part of a :ref:`CanvasLayer` that makes it ignore camera zoom. To ensure text remains crisp regardless of zoom, you can enable MSDF font rendering by enabling :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, :ref:`SystemFont.multichannel_signed_distance_field` can be enabled in the inspector. +\ **Nota:** :ref:`FontFile.oversampling` *non* tiene conto dello zoom della **Camera2D**. Ciò significa che lo zoom in avanti/indietro farà in modo che i font bitmap e i font dinamici rasterizzati (non MSDF) appaiano sfocati o pixelati, a meno che il font non faccia parte di un :ref:`CanvasLayer` che gli fa ignorare lo zoom della telecamera. Per garantire che il testo rimanga nitido a prescindere dallo zoom, è possibile abilitare il rendering dei font MSDF abilitando :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (si applica solo al font predefinito del progetto) o abilitando **Multichannel Signed Distance Field** nelle opzioni di importazione di un DynamicFont per i font personalizzati. Sui font di sistema, è possibile abilitare :ref:`SystemFont.multichannel_signed_distance_field` nell'Ispettore. .. rst-class:: classref-section-separator @@ -760,9 +760,9 @@ Restituisce il centro dello schermo dal punto di vista di questa telecamera, in :ref:`float` **get_screen_rotation**\ (\ ) |const| :ref:`🔗` -Returns the current screen rotation from this camera's point of view. +Restituisce la rotazione attuale dello schermo dal punto di vista di questa telecamera. -\ **Note:** The screen rotation can be different from :ref:`Node2D.global_rotation` if the camera is rotating smoothly due to :ref:`rotation_smoothing_enabled`. +\ **Nota:** La rotazione dello schermo può essere diversa da :ref:`Node2D.global_rotation` se la telecamera ruota in modo fluido a causa di :ref:`rotation_smoothing_enabled`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_camera3d.rst b/classes/it/class_camera3d.rst index 708d6e1277..2c34a788af 100644 --- a/classes/it/class_camera3d.rst +++ b/classes/it/class_camera3d.rst @@ -308,9 +308,9 @@ Se nella scena sono presenti più telecamere, una diventerà sempre attuale. Ad - |void| **set_doppler_tracking**\ (\ value\: :ref:`DopplerTracking`\ ) - :ref:`DopplerTracking` **get_doppler_tracking**\ (\ ) -If not :ref:`DOPPLER_TRACKING_DISABLED`, this camera will simulate the `Doppler effect `__ for objects changed in particular ``_process`` methods. +Se non è :ref:`DOPPLER_TRACKING_DISABLED`, questa telecamera simulerà l'`effetto Doppler `__ per gli oggetti modificati in particolari metodi ``_process``. -\ **Note:** The Doppler effect will only be heard on :ref:`AudioStreamPlayer3D`\ s if :ref:`AudioStreamPlayer3D.doppler_tracking` is not set to :ref:`AudioStreamPlayer3D.DOPPLER_TRACKING_DISABLED`. +\ **Nota:** L'effetto Doppler sarà udibile solo sugli :ref:`AudioStreamPlayer3D` se :ref:`AudioStreamPlayer3D.doppler_tracking` non è impostato su :ref:`AudioStreamPlayer3D.DOPPLER_TRACKING_DISABLED`. .. rst-class:: classref-item-separator @@ -703,9 +703,9 @@ Imposta la proiezione della telecamera sulla modalità tronco (vedi :ref:`PROJEC |void| **set_orthogonal**\ (\ size\: :ref:`float`, z_near\: :ref:`float`, z_far\: :ref:`float`\ ) :ref:`🔗` -Sets the camera projection to orthogonal mode (see :ref:`PROJECTION_ORTHOGONAL`), by specifying a ``size``, and the ``z_near`` and ``z_far`` clip planes in world space units. +Imposta la proiezione della telecamera in modalità ortogonale (vedi :ref:`PROJECTION_ORTHOGONAL`), specificando una dimensione ``size`` e i piani di ritaglio ``z_near`` e ``z_far`` in unità di spazio mondiale. -As a hint, 3D games that look 2D often use this projection, with ``size`` specified in pixels. +Come suggerimento, i giochi 3D che sembrano 2D utilizzano spesso questa proiezione, con ``size`` specificato in pixel. .. rst-class:: classref-item-separator diff --git a/classes/it/class_cameraattributesphysical.rst b/classes/it/class_cameraattributesphysical.rst index 040592818a..9d9a3431e9 100644 --- a/classes/it/class_cameraattributesphysical.rst +++ b/classes/it/class_cameraattributesphysical.rst @@ -14,7 +14,7 @@ Impostazioni di telecamera basate sulla fisica. Descrizione ---------------------- -**CameraAttributesPhysical** è utilizzato per impostare le impostazioni di rendering, in base alle impostazioni di una fotocamera reale. È responsabile dell'esposizione, dell'esposizione automatica e della profondità di campo. +**CameraAttributesPhysical** serve per cambiare le impostazioni di rendering in base alle impostazioni di una fotocamera reale. È responsabile dell'esposizione, dell'esposizione automatica e della profondità di campo. Quando è utilizzato in un :ref:`WorldEnvironment`, fornisce impostazioni predefinite per l'esposizione, l'esposizione automatica e la profondità di campo che saranno utilizzate da tutte le telecamere senza i propri :ref:`CameraAttributes`, inclusa la telecamera dell'editor. Quando è utilizzato in un :ref:`Camera3D`, sostituirà qualsiasi :ref:`CameraAttributes` impostato nel :ref:`WorldEnvironment` e sostituirà le proprietà :ref:`Camera3D.far`, :ref:`Camera3D.near`, :ref:`Camera3D.fov` e :ref:`Camera3D.keep_aspect` del :ref:`Camera3D`. Quando è utilizzato in :ref:`VoxelGI` o :ref:`LightmapGI`, solo le impostazioni di esposizione saranno utilizzate. diff --git a/classes/it/class_camerafeed.rst b/classes/it/class_camerafeed.rst index fcc8ea3410..5316fe4658 100644 --- a/classes/it/class_camerafeed.rst +++ b/classes/it/class_camerafeed.rst @@ -14,11 +14,11 @@ Un feed della telecamera ti dà accesso a una singola telecamera fisica collegat Descrizione ---------------------- -A camera feed gives you access to a single physical camera attached to your device. When enabled, Godot will start capturing frames from the camera which can then be used. See also :ref:`CameraServer`. +Un feed di fotocamera ti dà accesso a una singola fotocamera fisica collegata al tuo dispositivo. Quando abilitato, Godot inizierà a catturare fotogrammi dalla fotocamera da poi utilizzare. Vedi anche :ref:`CameraServer`. -\ **Note:** Many cameras will return YCbCr images which are split into two textures and need to be combined in a shader. Godot does this automatically for you if you set the environment to show the camera image in the background. +\ **Nota:** Molte fotocamere restituiscono immagini in YCbCr che sono divise in due texture e che devono essere combinate in uno shader. Godot fa ciò automaticamente se l'ambiente è impostato per mostrare l'immagine della fotocamera nello sfondo. -\ **Note:** This class is currently only implemented on Linux, Android, macOS, and iOS. On other platforms no **CameraFeed**\ s will be available. To get a **CameraFeed** on iOS, the camera plugin from `godot-ios-plugins `__ is required. +\ **Nota:** Questa classe è attualmente implementata solo su Linux, Android, macOS e iOS. Su altre piattaforme i **CameraFeed** non saranno disponibili. Per ottenere un **CameraFeed** su iOS, è necessaria l'estensione della fotocamera da `godot-ios-plugins `__. .. rst-class:: classref-reftable-group @@ -356,13 +356,13 @@ Imposta il feed come feed esterno fornito da un'altra libreria. :ref:`bool` **set_format**\ (\ index\: :ref:`int`, parameters\: :ref:`Dictionary`\ ) :ref:`🔗` -Sets the feed format parameters for the given ``index`` in the :ref:`formats` array. Returns ``true`` on success. By default, the YUYV encoded stream is transformed to :ref:`FEED_RGB`. The YUYV encoded stream output format can be changed by setting ``parameters``'s ``output`` entry to one of the following: +Imposta i parametri del formato feed per l'indice ``index`` nell'array :ref:`formats`. Restituisce ``true`` in caso di successo. Come predefinito, il flusso codificato in YUYV viene trasformato in :ref:`FEED_RGB`. È possibile modificare il formato risultante del flusso codificato in YUYV impostando la voce ``output`` di ``parameters`` a uno dei seguenti: -- ``"separate"`` will result in :ref:`FEED_YCBCR_SEP`; +- ``"separate"`` produrrà :ref:`FEED_YCBCR_SEP`; -- ``"grayscale"`` will result in desaturated :ref:`FEED_RGB`; +- ``"grayscale"`` produrrà :ref:`FEED_RGB` desaturato; -- ``"copy"`` will result in :ref:`FEED_YCBCR`. +- ``"copy"`` produrrà :ref:`FEED_YCBCR`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_cameraserver.rst b/classes/it/class_cameraserver.rst index bcb938b338..51bfa5c11f 100644 --- a/classes/it/class_cameraserver.rst +++ b/classes/it/class_cameraserver.rst @@ -14,11 +14,11 @@ Server che tiene traccia delle diverse fotocamere accessibili in Godot. Descrizione ---------------------- -The **CameraServer** keeps track of different cameras accessible in Godot. These are external cameras such as webcams or the cameras on your phone. +Il **CameraServer** tiene traccia delle diverse fotocamere accessibili in Godot. Queste sono fotocamere esterne come webcam o fotocamere sul un telefono. -It is notably used to provide AR modules with a video feed from the camera. +Serve in particolare per fornire ai moduli AR un feed video dalla fotocamera. -\ **Note:** This class is currently only implemented on Linux, Android, macOS, and iOS. On other platforms no :ref:`CameraFeed`\ s will be available. To get a :ref:`CameraFeed` on iOS, the camera plugin from `godot-ios-plugins `__ is required. +\ **Nota:** Questa classe è attualmente implementata solo su Linux, Android, macOS e iOS. Su altre piattaforme i :ref:`CameraFeed` non saranno disponibili. Per ottenere un :ref:`CameraFeed` su iOS, è necessaria l'estensione della fotocamera da `godot-ios-plugins `__. .. rst-class:: classref-reftable-group @@ -91,7 +91,7 @@ Emesso quando un :ref:`CameraFeed` viene rimosso (ad esempio u **camera_feeds_updated**\ (\ ) :ref:`🔗` -Emitted when camera feeds are updated. +Emesso quando i feed della fotocamera vengono aggiornati. .. rst-class:: classref-section-separator @@ -160,11 +160,11 @@ Descrizioni delle proprietà - |void| **set_monitoring_feeds**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_monitoring_feeds**\ (\ ) -If ``true``, the server is actively monitoring available camera feeds. +Se ``true``, il server sta monitorando attivamente i feed della fotocamera disponibili. -This has a performance cost, so only set it to ``true`` when you're actively accessing the camera. +Questo ha un impatto negativo sulle prestazioni, quindi impostalo su ``true`` solo quando accedi attivamente alla fotocamera. -\ **Note:** After setting it to ``true``, you can receive updated camera feeds through the :ref:`camera_feeds_updated` signal. +\ **Nota:** Dopo averlo impostato su ``true``, è possibile ricevere feed aggiornati della telecamera attraverso il segnale :ref:`camera_feeds_updated`. .. tabs:: diff --git a/classes/it/class_canvasitem.rst b/classes/it/class_canvasitem.rst index 7d6a0fd84c..85dca12c25 100644 --- a/classes/it/class_canvasitem.rst +++ b/classes/it/class_canvasitem.rst @@ -16,15 +16,15 @@ Classe di base astratta per ogni nodo nello spazio 2D. Descrizione ---------------------- -Abstract base class for everything in 2D space. Canvas items are laid out in a tree; children inherit and extend their parent's transform. **CanvasItem** is extended by :ref:`Control` for GUI-related nodes, and by :ref:`Node2D` for 2D game objects. +Classe base astratta per tutto ciò che si trova nello spazio 2D. Gli elementi canvas sono disposti in un albero; i figli ereditano ed estendono la trasformazione del genitore. **CanvasItem** è esteso da :ref:`Control` per i nodi che riguardano la GUI e da :ref:`Node2D` per gli oggetti di gioco 2D. -Any **CanvasItem** can draw. For this, :ref:`queue_redraw()` is called by the engine, then :ref:`NOTIFICATION_DRAW` will be received on idle time to request a redraw. Because of this, canvas items don't need to be redrawn on every frame, improving the performance significantly. Several functions for drawing on the **CanvasItem** are provided (see ``draw_*`` functions). However, they can only be used inside :ref:`_draw()`, its corresponding :ref:`Object._notification()` or methods connected to the :ref:`draw` signal. +Qualsiasi **CanvasItem** può disegnare. Per fare ciò, il motore chiama :ref:`queue_redraw()`, quindi :ref:`NOTIFICATION_DRAW` sarà ricevuto durante il tempo di inattività per richiedere un ridisegno. Per questo motivo, gli elementi canvas non hanno bisogno di ridisegnarsi a ogni frame, migliorando notevolmente le prestazioni. Sono disponibili diverse funzioni per disegnare su **CanvasItem** (consulare le funzioni ``draw_*``). Tuttavia, è solo possibile utilizzarle all'interno di :ref:`_draw()`, della sua notifica corrispondente (:ref:`Object._notification()`) o di metodi connessi al segnale :ref:`draw`. -Canvas items are drawn in tree order on their canvas layer. By default, children are on top of their parents, so a root **CanvasItem** will be drawn behind everything. This behavior can be changed on a per-item basis. +Gli elementi canvas sono disegnati in ordine ad albero sul loro livello canvas. Come predefinito, i figli si trovano sopra i genitori, quindi un **CanvasItem** radice sarà disegnato dietro tutto. È possibile cambiare questo comportamento per ogni singolo elemento. -A **CanvasItem** can be hidden, which will also hide its children. By adjusting various other properties of a **CanvasItem**, you can also modulate its color (via :ref:`modulate` or :ref:`self_modulate`), change its Z-index, blend mode, and more. +Un **CanvasItem** può essere nascosto, nascondendo così anche i suoi figli. Cambiando varie altre proprietà di un **CanvasItem**, è anche possibile modularne il colore (tramite :ref:`modulate` o :ref:`self_modulate`), modificarne l'indice Z, la modalità di fusione e altro ancora. -Note that properties like transform, modulation, and visibility are only propagated to *direct* **CanvasItem** child nodes. If there is a non-**CanvasItem** node in between, like :ref:`Node` or :ref:`AnimationPlayer`, the **CanvasItem** nodes below will have an independent position and :ref:`modulate` chain. See also :ref:`top_level`. +Si noti che proprietà come trasformazione, modulazione e visibilità sono propagate solo ai nodi **CanvasItem** figlio *diretti*. Se è presente un nodo non **CanvasItem** intermedio, come :ref:`Node` o :ref:`AnimationPlayer`, i nodi **CanvasItem** sottostanti avranno una "catena" indipendente per la posizione e per :ref:`modulate`. Vedi anche :ref:`top_level`. .. rst-class:: classref-introduction-group @@ -236,7 +236,7 @@ Emesso quando il **CanvasItem** deve essere ridisegnato, *dopo* la relativa noti **hidden**\ (\ ) :ref:`🔗` -Emitted when this node becomes hidden, i.e. it's no longer visible in the tree (see :ref:`is_visible_in_tree()`). +Emesso quando questo nodo diventa nascosto, ovvero non è più visibile nell'albero (vedi :ref:`is_visible_in_tree()`). .. rst-class:: classref-item-separator @@ -260,9 +260,9 @@ Emesso quando i confini :ref:`Rect2` del **CanvasItem** (posizione **visibility_changed**\ (\ ) :ref:`🔗` -Emitted when the **CanvasItem**'s visibility changes, either because its own :ref:`visible` property changed or because its visibility in the tree changed (see :ref:`is_visible_in_tree()`). +Emesso quando la visibilità del **CanvasItem** cambia, che sia perché è cambiata la sua proprietà :ref:`visible` o perché è cambiata la sua visibilità nell'albero (vedi :ref:`is_visible_in_tree()`). -This signal is emitted *after* the related :ref:`NOTIFICATION_VISIBILITY_CHANGED` notification. +Questo segnale viene emesso *dopo* la notifica correlata :ref:`NOTIFICATION_VISIBILITY_CHANGED`. .. rst-class:: classref-section-separator @@ -309,9 +309,9 @@ Il filtro della texture fonde tra i 4 pixel più vicini. Ciò rende la texture l :ref:`TextureFilter` **TEXTURE_FILTER_NEAREST_WITH_MIPMAPS** = ``3`` -The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look pixelated from up close, and smooth from a distance. +Il filtro della texture legge dal pixel più vicino e lo fonde tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture pixelata da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_CanvasItem_constant_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS: @@ -319,9 +319,9 @@ Use this for non-pixel art textures that may be viewed at a low scale (e.g. due :ref:`TextureFilter` **TEXTURE_FILTER_LINEAR_WITH_MIPMAPS** = ``4`` -The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look smooth from up close, and smooth from a distance. +Il filtro della texture fonde tra i 4 pixel più vicini e tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture liscia da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_CanvasItem_constant_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC: @@ -329,9 +329,9 @@ Use this for non-pixel art textures that may be viewed at a low scale (e.g. due :ref:`TextureFilter` **TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC** = ``5`` -The texture filter reads from the nearest pixel and blends between 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``) based on the angle between the surface and the camera view. This makes the texture look pixelated from up close, and smooth from a distance. Anisotropic filtering improves texture quality on surfaces that are almost in line with the camera, but is slightly slower. The anisotropic filtering level can be changed by adjusting :ref:`ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level`. +Il filtro della texture legge dal pixel più vicino e lo fonde tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``) a seconda dell'angolo tra la superficie e la vista della telecamera. Ciò rende la texture pixelata da vicino, e liscia da lontano. Il filtro anisotropico migliora la qualità delle texture sulle superfici quasi in linea con la telecamera, ma è leggermente più lento. Il livello di filtro anisotropico si può cambiare regolando :ref:`ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level`. -\ **Note:** This texture filter is rarely useful in 2D projects. :ref:`TEXTURE_FILTER_NEAREST_WITH_MIPMAPS` is usually more appropriate in this case. +\ **Nota:** Questo filtro di texture è raramente utile nei progetti 2D. :ref:`TEXTURE_FILTER_NEAREST_WITH_MIPMAPS` è solitamente più appropriato in questo caso. .. _class_CanvasItem_constant_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC: @@ -339,9 +339,9 @@ The texture filter reads from the nearest pixel and blends between 2 mipmaps (or :ref:`TextureFilter` **TEXTURE_FILTER_LINEAR_WITH_MIPMAPS_ANISOTROPIC** = ``6`` -The texture filter blends between the nearest 4 pixels and blends between 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``) based on the angle between the surface and the camera view. This makes the texture look smooth from up close, and smooth from a distance. Anisotropic filtering improves texture quality on surfaces that are almost in line with the camera, but is slightly slower. The anisotropic filtering level can be changed by adjusting :ref:`ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level`. +Il filtro della texture fonde tra i 4 pixel più vicini e tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``) a seconda dell'angolo tra la superficie e la vista della telecamera. Ciò rende la texture liscia da vicino, e liscia da lontano. Il filtro anisotropico migliora la qualità delle texture sulle superfici quasi in linea con la telecamera, ma è leggermente più lento. Il livello di filtro anisotropico si può cambiare regolando :ref:`ProjectSettings.rendering/textures/default_filters/anisotropic_filtering_level`. -\ **Note:** This texture filter is rarely useful in 2D projects. :ref:`TEXTURE_FILTER_LINEAR_WITH_MIPMAPS` is usually more appropriate in this case. +\ **Nota:** Questo filtro di texture è raramente utile nei progetti 2D. :ref:`TEXTURE_FILTER_LINEAR_WITH_MIPMAPS` è solitamente più appropriato in questo caso. .. _class_CanvasItem_constant_TEXTURE_FILTER_MAX: @@ -375,7 +375,7 @@ Il **CanvasItem** erediterà il filtro dal suo genitore. :ref:`TextureRepeat` **TEXTURE_REPEAT_DISABLED** = ``1`` -The texture does not repeat. Sampling the texture outside its extents will result in "stretching" of the edge pixels. You can avoid this by ensuring a 1-pixel fully transparent border on each side of the texture. +La texture non si ripete. Campionare la texture al di fuori dei suoi limiti produrrà uno "stiramento" dei pixel sul bordo. È possibile evitare ciò assicurandosi che ci sia un bordo di 1 pixel completamente trasparente su ciascun lato della texture. .. _class_CanvasItem_constant_TEXTURE_REPEAT_ENABLED: @@ -383,7 +383,7 @@ The texture does not repeat. Sampling the texture outside its extents will resul :ref:`TextureRepeat` **TEXTURE_REPEAT_ENABLED** = ``2`` -The texture repeats when exceeding the texture's size. +La texture si ripete quando eccede le dimensioni della texture stessa. .. _class_CanvasItem_constant_TEXTURE_REPEAT_MIRROR: @@ -391,7 +391,7 @@ The texture repeats when exceeding the texture's size. :ref:`TextureRepeat` **TEXTURE_REPEAT_MIRROR** = ``3`` -The texture repeats when the exceeding the texture's size in a "2×2 tiled mode". Repeated textures at even positions are mirrored. +La texture si ripete quando eccede le dimensioni della texture stessa, in una "modalità a piastrelle 2×2". Le texture ripetute alle posizioni pari sono rispecchiate. .. _class_CanvasItem_constant_TEXTURE_REPEAT_MAX: @@ -417,7 +417,7 @@ enum **ClipChildrenMode**: :ref:`🔗` :ref:`ClipChildrenMode` **CLIP_CHILDREN_DISABLED** = ``0`` -Children are drawn over this node and are not clipped. +I figli sono disegnati su questo nodo e non sono ritagliati. .. _class_CanvasItem_constant_CLIP_CHILDREN_ONLY: @@ -425,7 +425,7 @@ Children are drawn over this node and are not clipped. :ref:`ClipChildrenMode` **CLIP_CHILDREN_ONLY** = ``1`` -This node is used as a mask and is **not** drawn. The mask is based on this node's alpha channel: Opaque pixels are kept, transparent pixels are discarded, and semi-transparent pixels are blended in according to their opacity. Children are clipped to this node's drawn area. +Questo nodo è utilizzato come maschera e **non** è disegnato. La maschera si basa sul canale alfa di questo nodo: i pixel opachi sono mantenuti, i pixel trasparenti sono scartati e i pixel semitrasparenti sono sfumati in base alla loro opacità. I figli sono ritagliati nell'area disegnata di questo nodo. .. _class_CanvasItem_constant_CLIP_CHILDREN_AND_DRAW: @@ -433,7 +433,7 @@ This node is used as a mask and is **not** drawn. The mask is based on this node :ref:`ClipChildrenMode` **CLIP_CHILDREN_AND_DRAW** = ``2`` -This node is used as a mask and is also drawn. The mask is based on this node's alpha channel: Opaque pixels are kept, transparent pixels are discarded, and semi-transparent pixels are blended in according to their opacity. Children are clipped to the parent's drawn area. +Questo nodo è utilizzato come maschera ed è anche disegnato. La maschera si basa sul canale alfa di questo nodo: i pixel opachi sono mantenuti, i pixel trasparenti sono scartati e i pixel semitrasparenti sono sfumati in base alla loro opacità. I figli sono ritagliati nell'area disegnata di questo nodo. .. _class_CanvasItem_constant_CLIP_CHILDREN_MAX: @@ -458,9 +458,9 @@ Costanti **NOTIFICATION_TRANSFORM_CHANGED** = ``2000`` :ref:`🔗` -Notification received when this node's global transform changes, if :ref:`is_transform_notification_enabled()` is ``true``. See also :ref:`set_notify_transform()` and :ref:`get_transform()`. +Notifica ricevuta quando la trasformazione globale di questo nodo cambia, se :ref:`is_transform_notification_enabled()` è ``true``. Vedi anche :ref:`set_notify_transform()` e :ref:`get_transform()`. -\ **Note:** Many canvas items such as :ref:`Camera2D` or :ref:`CollisionObject2D` automatically enable this in order to function correctly. +\ **Nota:** Molti elementi canvas come :ref:`Camera2D` o :ref:`CollisionObject2D` abilitano questa automaticamente per funzionare correttamente. .. _class_CanvasItem_constant_NOTIFICATION_LOCAL_TRANSFORM_CHANGED: @@ -468,9 +468,9 @@ Notification received when this node's global transform changes, if :ref:`is_tra **NOTIFICATION_LOCAL_TRANSFORM_CHANGED** = ``35`` :ref:`🔗` -Notification received when this node's transform changes, if :ref:`is_local_transform_notification_enabled()` is ``true``. This is not received when a parent :ref:`Node2D`'s transform changes. See also :ref:`set_notify_local_transform()`. +Notifica ricevuta quando la trasformazione di questo nodo cambia, se :ref:`is_local_transform_notification_enabled()` è ``true``. Questa notifica non viene ricevuta quando la trasformazione di un nodo :ref:`Node2D` genitore cambia. Vedi anche :ref:`set_notify_local_transform()`. -\ **Note:** Many canvas items such as :ref:`Camera2D` or :ref:`CollisionShape2D` automatically enable this in order to function correctly. +\ **Nota:** Molti elementi canvas come :ref:`Camera2D` o :ref:`CollisionObject2D` abilitano questa automaticamente per funzionare correttamente. .. _class_CanvasItem_constant_NOTIFICATION_DRAW: @@ -486,9 +486,9 @@ Viene richiesto di disegnare il **CanvasItem** (vedi :ref:`_draw()` -Notification received when this node's visibility changes (see :ref:`visible` and :ref:`is_visible_in_tree()`). +Notifica ricevuta quando la visibilità di questo nodo cambia (vedi :ref:`visible` e :ref:`is_visible_in_tree()`). -This notification is received *before* the related :ref:`visibility_changed` signal. +Questa notifica viene ricevuta *prima* del segnale corrispondente :ref:`visibility_changed`. .. _class_CanvasItem_constant_NOTIFICATION_ENTER_CANVAS: @@ -512,7 +512,7 @@ Il **CanvasItem** è uscito dal canvas. **NOTIFICATION_WORLD_2D_CHANGED** = ``36`` :ref:`🔗` -Notification received when this **CanvasItem** is registered to a new :ref:`World2D` (see :ref:`get_world_2d()`). +Notifica ricevuta quando questo **CanvasItem** è registrato in un nuovo :ref:`World2D` (vedi :ref:`get_world_2d()`). .. rst-class:: classref-section-separator @@ -534,9 +534,9 @@ Descrizioni delle proprietà - |void| **set_clip_children_mode**\ (\ value\: :ref:`ClipChildrenMode`\ ) - :ref:`ClipChildrenMode` **get_clip_children_mode**\ (\ ) -The mode in which this node clips its children, acting as a mask. +La modalità con cui questo nodo ritaglia i suoi figli, fungendo da maschera. -\ **Note:** Clipping nodes cannot be nested or placed within a :ref:`CanvasGroup`. If an ancestor of this node clips its children or is a :ref:`CanvasGroup`, then this node's clip mode should be set to :ref:`CLIP_CHILDREN_DISABLED` to avoid unexpected behavior. +\ **Nota:** Non è possibile annidare o inserire i nodi ritagliati in un :ref:`CanvasGroup`. Se un antenato di questo nodo ritaglia i suoi figli o è un :ref:`CanvasGroup`, è necessario impostare la modalità di ritaglio di questo nodo su :ref:`CLIP_CHILDREN_DISABLED` per evitare comportamenti imprevisti. .. rst-class:: classref-item-separator @@ -604,9 +604,9 @@ Il colore applicato a questo **CanvasItem**. Questa proprietà influisce sui **C - |void| **set_self_modulate**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_self_modulate**\ (\ ) -The color applied to this **CanvasItem**. This property does **not** affect child **CanvasItem**\ s, unlike :ref:`modulate` which affects both the node itself and its children. +Il colore applicato a questo **CanvasItem**. Questa proprietà **non** influisce sui **CanvasItem** figli, a differenza di :ref:`modulate` che influisce sia sul nodo stesso sia sui suoi figli. -\ **Note:** Internal children are also not affected by this property (see the ``include_internal`` parameter in :ref:`Node.add_child()`). For built-in nodes this includes sliders in :ref:`ColorPicker`, and the tab bar in :ref:`TabContainer`. +\ **Nota:** Anche i figli interni non sono influenzati da questa proprietà (vedi il parametro ``include_internal`` in :ref:`Node.get_child()`). Per i nodi integrati, ciò include gli slider in :ref:`ColorPicker` e la barra delle schede in :ref:`TabContainer`. .. rst-class:: classref-item-separator @@ -623,7 +623,7 @@ The color applied to this **CanvasItem**. This property does **not** affect chil - |void| **set_draw_behind_parent**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_draw_behind_parent_enabled**\ (\ ) -If ``true``, this node draws behind its parent. +Se ``true``, questo nodo si disegna dietro il suo genitore. .. rst-class:: classref-item-separator @@ -640,7 +640,7 @@ If ``true``, this node draws behind its parent. - |void| **set_texture_filter**\ (\ value\: :ref:`TextureFilter`\ ) - :ref:`TextureFilter` **get_texture_filter**\ (\ ) -The filtering mode used to render this **CanvasItem**'s texture(s). +La modalità di filtro usata per renderizzare le texture di questo **CanvasItem**. .. rst-class:: classref-item-separator @@ -657,9 +657,9 @@ The filtering mode used to render this **CanvasItem**'s texture(s). - |void| **set_texture_repeat**\ (\ value\: :ref:`TextureRepeat`\ ) - :ref:`TextureRepeat` **get_texture_repeat**\ (\ ) -The repeating mode used to render this **CanvasItem**'s texture(s). It affects what happens when the texture is sampled outside its extents, for example by setting a :ref:`Sprite2D.region_rect` that is larger than the texture or assigning :ref:`Polygon2D` UV points outside the texture. +La modalità di ripetizione utilizzata per renderizzare le texture di questo **CanvasItem**. Influisce su ciò che accade quando la texture è campionata al di fuori dei suoi limiti, ad esempio impostando un :ref:`Sprite2D.region_rect` più grande della texture o assegnando punti UV di un :ref:`Polygon2D` al di fuori della texture. -\ **Note:** :ref:`TextureRect` is not affected by :ref:`texture_repeat`, as it uses its own texture repeating implementation. +\ **Nota:** :ref:`TextureRect` non è influenzato da :ref:`texture_repeat`, poiché utilizza una propria implementazione per ripetere le texture. .. rst-class:: classref-item-separator @@ -693,7 +693,7 @@ Se ``true``, questo **CanvasItem** *non* erediterà la sua trasformazione dai ** - |void| **set_use_parent_material**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_use_parent_material**\ (\ ) -If ``true``, the parent **CanvasItem**'s :ref:`material` is used as this node's material. +Se ``true``, il :ref:`material` del **CanvasItem** genitore è utilizzato come materiale di questo nodo. .. rst-class:: classref-item-separator @@ -767,9 +767,9 @@ I nodi sono ordinati l'uno rispetto all'altro solo se si trovano sullo stesso :r - |void| **set_z_as_relative**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_z_relative**\ (\ ) -If ``true``, this node's final Z index is relative to its parent's Z index. +Se ``true``, l'indice Z effettivo di questo nodo è relativo all'indice Z del suo genitore. -For example, if :ref:`z_index` is ``2`` and its parent's final Z index is ``3``, then this node's final Z index will be ``5`` (``2 + 3``). +Ad esempio, se :ref:`z_index` è ``2`` e l'indice Z effettivo del suo genitore è ``3``, allora l'indice Z effettivo di questo nodo sarà ``5`` (``2 + 3``). .. rst-class:: classref-item-separator @@ -786,9 +786,9 @@ For example, if :ref:`z_index` is ``2`` and i - |void| **set_z_index**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_z_index**\ (\ ) -The order in which this node is drawn. A node with a higher Z index will display in front of others. Must be between :ref:`RenderingServer.CANVAS_ITEM_Z_MIN` and :ref:`RenderingServer.CANVAS_ITEM_Z_MAX` (inclusive). +Controlla l'ordine in cui sono disegnati i nodi. Un nodo con un indice Z più alto sarà visualizzato davanti agli altri. Deve essere compreso tra :ref:`RenderingServer.CANVAS_ITEM_Z_MIN` e :ref:`RenderingServer.CANVAS_ITEM_Z_MAX` (inclusi). -\ **Note:** The Z index does **not** affect the order in which **CanvasItem** nodes are processed or the way input events are handled. This is especially important to keep in mind for :ref:`Control` nodes. +\ **Nota:** L'indice Z **non** influisce sull'ordine in cui sono elaborati i nodi **CanvasItem** o sul modo in cui sono gestiti gli eventi di input. Questo è particolarmente importante da tenere in mente per i nodi :ref:`Control`. .. rst-class:: classref-section-separator @@ -831,11 +831,11 @@ I comandi di disegno successivi verranno ignorati a meno che non rientrino nella |void| **draw_arc**\ (\ center\: :ref:`Vector2`, radius\: :ref:`float`, start_angle\: :ref:`float`, end_angle\: :ref:`float`, point_count\: :ref:`int`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws an unfilled arc between the given angles with a uniform ``color`` and ``width`` and optional antialiasing (supported only for positive ``width``). The larger the value of ``point_count``, the smoother the curve. ``center`` is defined in local space. See also :ref:`draw_circle()`. +Disegna un arco vuoto tra gli angoli specificati con un colore (``color``) e spessore (``width``) uniformi, e antialiasing opzionale (supportato solo per valori positivi di ``width``). Maggiore è il valore di ``point_count``, più liscia sarà la curva. ``center`` è definito in spazio locale. Vedi anche :ref:`draw_circle()`. -If ``width`` is negative, it will be ignored and the arc will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the arc will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà ignorato e l'arco verrà disegnato utilizzando :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. Ciò significa che quando il CanvasItem viene ridimensionato, l'arco rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -The arc is drawn from ``start_angle`` towards the value of ``end_angle`` so in clockwise direction if ``start_angle < end_angle`` and counter-clockwise otherwise. Passing the same angles but in reversed order will produce the same arc. If absolute difference of ``start_angle`` and ``end_angle`` is greater than :ref:`@GDScript.TAU` radians, then a full circle arc is drawn (i.e. arc will not overlap itself). +L'arco viene disegnato da ``start_angle`` verso il valore di ``end_angle``, quindi in senso orario se ``start_angle < end_angle`` e in senso antiorario altrimenti. Passando gli stessi angoli ma in ordine inverso si produrrà lo stesso arco. Se la differenza assoluta tra ``start_angle`` e ``end_angle`` è maggiore di :ref:`@GDScript.TAU` radianti, viene disegnato un arco di cerchio completo (ovvero l'arco non si sovrapporrà a se stesso). .. rst-class:: classref-item-separator @@ -847,7 +847,7 @@ The arc is drawn from ``start_angle`` towards the value of ``end_angle`` so in c |void| **draw_char**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, char\: :ref:`String`, font_size\: :ref:`int` = 16, modulate\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws a string first character using a custom font. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. ``pos`` is defined in local space. +Disegna il primo carattere di una stringa usando un font personalizzato. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. ``pos`` è definito in spazio locale. .. rst-class:: classref-item-separator @@ -859,7 +859,7 @@ Draws a string first character using a custom font. If ``oversampling`` is great |void| **draw_char_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, char\: :ref:`String`, font_size\: :ref:`int` = 16, size\: :ref:`int` = -1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws a string first character outline using a custom font. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. ``pos`` is defined in local space. +Disegna il contorno del primo carattere di una stringa usando un font personalizzato. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. ``pos`` è definito in spazio locale. .. rst-class:: classref-item-separator @@ -871,15 +871,15 @@ Draws a string first character outline using a custom font. If ``oversampling`` |void| **draw_circle**\ (\ position\: :ref:`Vector2`, radius\: :ref:`float`, color\: :ref:`Color`, filled\: :ref:`bool` = true, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a circle, with ``position`` defined in local space. See also :ref:`draw_arc()`, :ref:`draw_polyline()`, and :ref:`draw_polygon()`. +Disegna un cerchio, con la posizione ``position`` definita in spazio locale. Vedi anche :ref:`draw_arc()`, :ref:`draw_polyline()` e :ref:`draw_polygon()`. -If ``filled`` is ``true``, the circle will be filled with the ``color`` specified. If ``filled`` is ``false``, the circle will be drawn as a stroke with the ``color`` and ``width`` specified. +Se ``filled`` è ``true``, il cerchio verrà riempito con il colore ``color``. Se ``filled`` è ``false``, il cerchio verrà disegnato come un tratto con il colore ``color`` e lo spessore ``width``. -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà disegnata una primitiva a due punti invece di una a quattro punti. Ciò significa che quando il CanvasItem viene ridimensionato, la linea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +Se ``antialiased`` è ``true``, al contorno verranno aggiunte delle "sfumature" semitrasparenti, rendendo i contorni più lisci. -\ **Note:** ``width`` is only effective if ``filled`` is ``false``. +\ **Nota:** ``width`` è efficace solo se ``filled`` è ``false``. .. rst-class:: classref-item-separator @@ -891,9 +891,9 @@ If ``antialiased`` is ``true``, half transparent "feathers" will be attached to |void| **draw_colored_polygon**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, uvs\: :ref:`PackedVector2Array` = PackedVector2Array(), texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a colored polygon of any number of points, convex or concave. The points in the ``points`` array are defined in local space. Unlike :ref:`draw_polygon()`, a single color must be specified for the whole polygon. +Disegna un poligono colorato con un numero qualsiasi di punti, convesso o concavo. I punti nell'array ``points`` sono definiti in spazio locale. A differenza di :ref:`draw_polygon()`, è necessario specificare un singolo colore per l'intero poligono. -\ **Note:** If you frequently redraw the same polygon with a large number of vertices, consider pre-calculating the triangulation with :ref:`Geometry2D.triangulate_polygon()` and using :ref:`draw_mesh()`, :ref:`draw_multimesh()`, or :ref:`RenderingServer.canvas_item_add_triangle_array()`. +\ **Nota:** Se spesso viene ridisegnato lo stesso poligono con un numero elevato di vertici, considera di precalcolare la triangolazione con :ref:`Geometry2D.triangulate_polygon()` e di usare :ref:`draw_mesh()`, :ref:`draw_multimesh()` o :ref:`RenderingServer.canvas_item_add_triangle_array()`. .. rst-class:: classref-item-separator @@ -905,15 +905,15 @@ Draws a colored polygon of any number of points, convex or concave. The points i |void| **draw_dashed_line**\ (\ from\: :ref:`Vector2`, to\: :ref:`Vector2`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, dash\: :ref:`float` = 2.0, aligned\: :ref:`bool` = true, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a dashed line from a 2D point to another, with a given color and width. The ``from`` and ``to`` positions are defined in local space. See also :ref:`draw_line()`, :ref:`draw_multiline()`, and :ref:`draw_polyline()`. +Disegna una linea tratteggiata da un punto 2D a un altro, con un colore e uno spessore specificati. Le posizioni ``from`` e ``to`` sono definite in spazio locale. Vedi anche :ref:`draw_line()`, :ref:`draw_multiline()` e :ref:`draw_polyline()`. -If ``width`` is negative, then a two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the line parts will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà disegnata una primitiva a due punti invece di una a quattro punti. Ciò significa che quando il CanvasItem viene ridimensionato, le parti della linea rimarranno sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -\ ``dash`` is the length of each dash in pixels, with the gap between each dash being the same length. If ``aligned`` is ``true``, the length of the first and last dashes may be shortened or lengthened to allow the line to begin and end at the precise points defined by ``from`` and ``to``. Both ends are always symmetrical when ``aligned`` is ``true``. If ``aligned`` is ``false``, all dashes will have the same length, but the line may appear incomplete at the end due to the dash length not dividing evenly into the line length. Only full dashes are drawn when ``aligned`` is ``false``. +\ ``dash`` è la lunghezza di ogni trattino in pixel, con lo spazio tra ogni trattino della stessa lunghezza. Se ``aligned`` è ``true``, la lunghezza del primo e dell'ultimo trattino potrebbe essere accorciata o allungata per consentire alla linea di iniziare e finire nei punti precisi definiti da ``from`` e ``to``. Entrambe le estremità sono sempre simmetriche quando ``aligned`` è ``true``. Se ``aligned`` è ``false``, tutti i trattini avranno la stessa lunghezza, ma la linea potrebbe apparire incompleta alla fine, a causa dei trattini che non si dividono equamente per la lunghezza della linea. Quando ``aligned`` è ``false``, vengono disegnati solo trattini completi. -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +Se ``antialiased`` è ``true``, al contorno verranno aggiunte delle "sfumature" semitrasparenti, rendendo i contorni più lisci. -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **Nota:** ``antialiased`` è efficace solo se ``width`` è maggiore di ``0.0``. .. rst-class:: classref-item-separator @@ -937,9 +937,9 @@ Dopo aver inviato tutte le sezioni di animazione tramite :ref:`draw_animation_sl |void| **draw_lcd_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a textured rectangle region of the font texture with LCD subpixel anti-aliasing at a given position, optionally modulated by a color. The ``rect`` is defined in local space. +Disegna una regione rettangolare texturizzata della texture del font con anti-aliasing dei subpixel LCD in una posizione specifica, opzionalmente modulata da un colore. Il rettangolo ``rect`` è definito in spazio locale. -Texture is drawn using the following blend operation, blend mode of the :ref:`CanvasItemMaterial` is ignored: +La texture viene disegnata attraverso la seguente operazione di fusione, ignorando la modalità di fusione del :ref:`CanvasItemMaterial`: :: @@ -958,9 +958,9 @@ Texture is drawn using the following blend operation, blend mode of the :ref:`Ca |void| **draw_line**\ (\ from\: :ref:`Vector2`, to\: :ref:`Vector2`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a line from a 2D point to another, with a given color and width. It can be optionally antialiased. The ``from`` and ``to`` positions are defined in local space. See also :ref:`draw_dashed_line()`, :ref:`draw_multiline()`, and :ref:`draw_polyline()`. +Disegna una linea da un punto 2D a un altro, con il colore e la larghezza specificati. È possibile opzionalmente applicare un antialiasing. Le posizioni ``from`` e ``to`` sono definite in spazio locale. Vedi anche :ref:`draw_dashed_line()`, :ref:`draw_multiline()` e :ref:`draw_polyline()`. -If ``width`` is negative, then a two-point primitive will be drawn instead of a four-point one. This means that when the CanvasItem is scaled, the line will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà disegnata una primitiva a due punti invece di una a quattro punti. Ciò significa che quando il CanvasItem viene ridimensionato, la linea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. .. rst-class:: classref-item-separator @@ -972,7 +972,7 @@ If ``width`` is negative, then a two-point primitive will be drawn instead of a |void| **draw_mesh**\ (\ mesh\: :ref:`Mesh`, texture\: :ref:`Texture2D`, transform\: :ref:`Transform2D` = Transform2D(1, 0, 0, 1, 0, 0), modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a :ref:`Mesh` in 2D, using the provided texture. See :ref:`MeshInstance2D` for related documentation. The ``transform`` is defined in local space. +Disegna una :ref:`Mesh` in 2D, utilizzando la texture fornita. Vedi :ref:`MeshInstance2D` per la documentazione al riguardo. La trasformazione ``transform`` è definita in spazio locale. .. rst-class:: classref-item-separator @@ -984,11 +984,11 @@ Draws a :ref:`Mesh` in 2D, using the provided texture. See :ref:`Mes |void| **draw_msdf_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), outline\: :ref:`float` = 0.0, pixel_range\: :ref:`float` = 4.0, scale\: :ref:`float` = 1.0\ ) :ref:`🔗` -Draws a textured rectangle region of the multichannel signed distance field texture at a given position, optionally modulated by a color. The ``rect`` is defined in local space. See :ref:`FontFile.multichannel_signed_distance_field` for more information and caveats about MSDF font rendering. +Disegna una regione rettangolare con texture della texture MSDF in una posizione specificata, modulata facoltativamente da un colore. Il rettangolo ``rect`` è definito in spazio locale. Vedi :ref:`FontFile.multichannel_signed_distance_field` per ulteriori informazioni e avvertimenti sul rendering dei font MSDF. -If ``outline`` is positive, each alpha channel value of pixel in region is set to maximum value of true distance in the ``outline`` radius. +Se ``outline`` è positivo, ogni valore del canale alfa del pixel nella regione viene impostato sul valore massimo della distanza reale nel raggio ``outline``. -Value of the ``pixel_range`` should the same that was used during distance field texture generation. +Il valore di ``pixel_range`` dovrebbe essere lo stesso usato durante la generazione della texture MSDF. .. rst-class:: classref-item-separator @@ -1000,11 +1000,11 @@ Value of the ``pixel_range`` should the same that was used during distance field |void| **draw_multiline**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws multiple disconnected lines with a uniform ``width`` and ``color``. Each line is defined by two consecutive points from ``points`` array in local space, i.e. i-th segment consists of ``points[2 * i]``, ``points[2 * i + 1]`` endpoints. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw interconnected lines, use :ref:`draw_polyline()` instead. +Disegna più linee sconnesse con uno spessore (``width``) e un colore (``color``) uniformi. Ogni linea è definita da due punti consecutivi nell'array ``points`` in spazio locale, ovvero l'i-esimo segmento è costituito da ``points[2 * i]``, ``points[2 * i + 1]`` estremi. Quando si disegnano grandi quantità di linee, questa funzione è più veloce rispetto all'utilizzo di singole chiamate al metodo :ref:`draw_line()`. Per disegnare linee interconnesse, usare invece il metodo :ref:`draw_polyline()`. -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà disegnata una primitiva a due punti invece di una a quattro punti. Ciò significa che quando il CanvasItem viene ridimensionato, la linea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **Nota:** ``antialiased`` è efficace solo se ``width`` è maggiore di ``0.0``. .. rst-class:: classref-item-separator @@ -1016,11 +1016,11 @@ If ``width`` is negative, then two-point primitives will be drawn instead of a f |void| **draw_multiline_colors**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws multiple disconnected lines with a uniform ``width`` and segment-by-segment coloring. Each segment is defined by two consecutive points from ``points`` array in local space and a corresponding color from ``colors`` array, i.e. i-th segment consists of ``points[2 * i]``, ``points[2 * i + 1]`` endpoints and has ``colors[i]`` color. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw interconnected lines, use :ref:`draw_polyline_colors()` instead. +Disegna più linee sconnesse con uno spessore (``width``) uniforme e colore segmento-per-segmento . Ogni linea è definita da due punti consecutivi nell'array ``points`` in spazio locale, ovvero l'i-esimo segmento è costituito da ``points[2 * i]``, ``points[2 * i + 1]`` estremi e ha il colore ``colors[i]``. Quando si disegnano grandi quantità di linee, questa funzione è più veloce rispetto all'utilizzo di singole chiamate al metodo :ref:`draw_line()`. Per disegnare linee interconnesse, usare invece il metodo :ref:`draw_polyline_colors()`. -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà disegnata una primitiva a due punti invece di una a quattro punti. Ciò significa che quando il CanvasItem viene ridimensionato, la linea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **Nota:** ``antialiased`` è efficace solo se ``width`` è maggiore di ``0.0``. .. rst-class:: classref-item-separator @@ -1032,7 +1032,7 @@ If ``width`` is negative, then two-point primitives will be drawn instead of a f |void| **draw_multiline_string**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, max_lines\: :ref:`int` = -1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), brk_flags\: |bitfield|\[:ref:`LineBreakFlag`\] = 3, justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Breaks ``text`` into lines and draws it using the specified ``font`` at the ``pos`` in local space (top-left corner). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Divide il testo ``text`` in righe e lo disegna attraverso il ``font`` specificato nella posizione ``pos`` in spazio locale (angolo in alto a sinistra). Il colore del testo verrà moltiplicato per ``modulate``. Se ``width`` è maggiore o uguale a 0, il testo verrà troncato se supera la larghezza specificata. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -1044,7 +1044,7 @@ Breaks ``text`` into lines and draws it using the specified ``font`` at the ``po |void| **draw_multiline_string_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, max_lines\: :ref:`int` = -1, size\: :ref:`int` = 1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), brk_flags\: |bitfield|\[:ref:`LineBreakFlag`\] = 3, justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Breaks ``text`` to the lines and draws text outline using the specified ``font`` at the ``pos`` in local space (top-left corner). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Divide il testo ``text`` in righe e ne disegna il contorno attraverso il ``font`` specificato nella posizione ``pos`` in spazio locale (angolo in alto a sinistra). Il colore del testo verrà moltiplicato per ``modulate``. Se ``width`` è maggiore o uguale a 0, il testo verrà troncato se supera la larghezza specificata. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -1068,9 +1068,9 @@ Disegna una :ref:`MultiMesh` in 2D, utilizzando la texture forn |void| **draw_polygon**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, uvs\: :ref:`PackedVector2Array` = PackedVector2Array(), texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a solid polygon of any number of points, convex or concave. Unlike :ref:`draw_colored_polygon()`, each point's color can be changed individually. The ``points`` array is defined in local space. See also :ref:`draw_polyline()` and :ref:`draw_polyline_colors()`. If you need more flexibility (such as being able to use bones), use :ref:`RenderingServer.canvas_item_add_triangle_array()` instead. +Disegna un poligono solido con un numero qualsiasi di punti, convessi o concavi. A differenza di :ref:`draw_colored_polygon()`, è possibile modificare il colore di ogni punto individualmente. L'array ``points`` è definito in spazio locale. Vedi anche :ref:`draw_polyline()` e :ref:`draw_polyline_colors()`. Se c'è bisogno di maggiore flessibilità (ad esempio, per poter utilizzare ossa), usa invece :ref:`RenderingServer.canvas_item_add_triangle_array()`. -\ **Note:** If you frequently redraw the same polygon with a large number of vertices, consider pre-calculating the triangulation with :ref:`Geometry2D.triangulate_polygon()` and using :ref:`draw_mesh()`, :ref:`draw_multimesh()`, or :ref:`RenderingServer.canvas_item_add_triangle_array()`. +\ **Nota:** Se spesso viene ridisegnato lo stesso poligono con un numero elevato di vertici, considera di precalcolare la triangolazione con :ref:`Geometry2D.triangulate_polygon()` e di usare :ref:`draw_mesh()`, :ref:`draw_multimesh()` o :ref:`RenderingServer.canvas_item_add_triangle_array()`. .. rst-class:: classref-item-separator @@ -1082,9 +1082,9 @@ Draws a solid polygon of any number of points, convex or concave. Unlike :ref:`d |void| **draw_polyline**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws interconnected line segments with a uniform ``color`` and ``width`` and optional antialiasing (supported only for positive ``width``). The ``points`` array is defined in local space. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw disconnected lines, use :ref:`draw_multiline()` instead. See also :ref:`draw_polygon()`. +Disegna segmenti interconnessi di linea con un colore (``color``) e uno spessore (``width``) uniformi e antialiasing opzionale (supportato solo per valori positivi di ``width``). L'array ``points`` è definito in spazio locale. Quando si disegnano grandi quantità di linee, questo metodo è più veloce rispetto all'utilizzo di singole chiamate al metodo :ref:`draw_line()`. Per disegnare linee scollegate, usare invece il metodo :ref:`draw_multiline()`. Vedi anche :ref:`draw_polygon()`. -If ``width`` is negative, it will be ignored and the polyline will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the polyline will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà ignorato e la polilinea verrà disegnata utilizzando :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. Ciò significa che quando CanvasItem viene ridimensionato, la polilinea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. .. rst-class:: classref-item-separator @@ -1096,9 +1096,9 @@ If ``width`` is negative, it will be ignored and the polyline will be drawn usin |void| **draw_polyline_colors**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws interconnected line segments with a uniform ``width``, point-by-point coloring, and optional antialiasing (supported only for positive ``width``). Colors assigned to line points match by index between ``points`` and ``colors``, i.e. each line segment is filled with a gradient between the colors of the endpoints. The ``points`` array is defined in local space. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw disconnected lines, use :ref:`draw_multiline_colors()` instead. See also :ref:`draw_polygon()`. +Disegna segmenti di linea interconnessi con uno spessore (``width``) uniforme, colorazione punto per punto e antialiasing opzionale (supportato solo per valori positivi di ``width``). I colori assegnati ai punti della linea corrispondono per indici tra ``points`` e ``colors``, ovvero ogni segmento della linea è riempito con un gradiente tra i colori delle estremità. L'array ``points`` è definito in spazio locale. Quando si disegnano grandi quantità di linee, questo metodo è più veloce rispetto all'utilizzo di singole chiamate al metodo :ref:`draw_line()`. Per disegnare linee scollegate, usare invece :ref:`draw_multiline_colors()`. Vedi anche :ref:`draw_polygon()`. -If ``width`` is negative, it will be ignored and the polyline will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the polyline will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verrà ignorato e la polilinea verrà disegnata utilizzando :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. Ciò significa che quando CanvasItem viene ridimensionato, la polilinea rimarrà sottile. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. .. rst-class:: classref-item-separator @@ -1110,7 +1110,7 @@ If ``width`` is negative, it will be ignored and the polyline will be drawn usin |void| **draw_primitive**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, uvs\: :ref:`PackedVector2Array`, texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for a triangle, and 4 points for a quad. If 0 points or more than 4 points are specified, nothing will be drawn and an error message will be printed. The ``points`` array is defined in local space. See also :ref:`draw_line()`, :ref:`draw_polyline()`, :ref:`draw_polygon()`, and :ref:`draw_rect()`. +Disegna una primitiva personalizzata. 1 punto per un punto, 2 punti per una linea, 3 punti per un triangolo e 4 punti per un quadrato. Se vengono specificati 0 punti o più di 4 punti, nulla verrà disegnato e verrà stampato un messaggio di errore. L'array ``points`` è definito in spazio locale. Vedi anche :ref:`draw_line()`, :ref:`draw_polyline()`, :ref:`draw_polygon()` e :ref:`draw_rect()`. .. rst-class:: classref-item-separator @@ -1122,15 +1122,15 @@ Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for |void| **draw_rect**\ (\ rect\: :ref:`Rect2`, color\: :ref:`Color`, filled\: :ref:`bool` = true, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a rectangle. If ``filled`` is ``true``, the rectangle will be filled with the ``color`` specified. If ``filled`` is ``false``, the rectangle will be drawn as a stroke with the ``color`` and ``width`` specified. The ``rect`` is specified in local space. See also :ref:`draw_texture_rect()`. +Disegna un rettangolo. Se ``filled`` è ``true``, il rettangolo verrà riempito con il colore ``color``. Se ``filled`` è ``false``, il rettangolo verrà disegnato come un tratto con il colore ``color`` e lo spessore ``width``. Il rettangolo ``rect`` è specificato in spazio locale. Vedi anche :ref:`draw_texture_rect()`. -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +Se ``width`` è negativo, verranno disegnate primitive a due punti invece che a quattro. Ciò significa che quando il CanvasItem viene ridimensionato, le linee rimarranno sottili. Se questo comportamento non è desiderato, passare un valore positivo per ``width`` come ``1.0``. -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +Se ``antialiased`` è ``true``, al contorno verranno aggiunte delle "sfumature" semitrasparenti, rendendo i contorni più lisci. -\ **Note:** ``width`` is only effective if ``filled`` is ``false``. +\ **Nota:** ``width`` è efficace solo se ``filled`` è ``false``. -\ **Note:** Unfilled rectangles drawn with a negative ``width`` may not display perfectly. For example, corners may be missing or brighter due to overlapping lines (for a translucent ``color``). +\ **Nota:** I rettangoli vuoti disegnati con un ``width`` negativo potrebbero non essere visualizzati perfettamente. Ad esempio, gli angoli potrebbero mancare o essere più chiari a causa di linee sovrapposte (per un ``color`` traslucido). .. rst-class:: classref-item-separator @@ -1142,9 +1142,9 @@ If ``antialiased`` is ``true``, half transparent "feathers" will be attached to |void| **draw_set_transform**\ (\ position\: :ref:`Vector2`, rotation\: :ref:`float` = 0.0, scale\: :ref:`Vector2` = Vector2(1, 1)\ ) :ref:`🔗` -Sets a custom local transform for drawing via components. Anything drawn afterwards will be transformed by this. +Imposta una trasformazione locale personalizzata per disegnare tramite componenti. Tutto ciò che sarà disegnato in seguito sarà trasformato da questa trasformazione. -\ **Note:** :ref:`FontFile.oversampling` does *not* take ``scale`` into account. This means that scaling up/down will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated. To ensure text remains crisp regardless of scale, you can enable MSDF font rendering by enabling :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, :ref:`SystemFont.multichannel_signed_distance_field` can be enabled in the inspector. +\ **Nota:** :ref:`FontFile.oversampling` *non* tiene conto di ``scale``. Ciò significa che aumentando o diminuendo la scala i font bitmap e i font dinamici rasterizzati (non MSDF) risulteranno sfocati o pixelati. Per garantire che il testo rimanga nitido a prescindere dalla scala, è possibile abilitare il rendering dei font MSDF abilitando :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (si applica solo al font predefinito del progetto) o abilitando **Multichannel Signed Distance Field** nelle opzioni di importazione di un DynamicFont per i font personalizzati. Sui font di sistema, è possibile abilitare :ref:`SystemFont.multichannel_signed_distance_field` nell'ispettore. .. rst-class:: classref-item-separator @@ -1156,7 +1156,7 @@ Sets a custom local transform for drawing via components. Anything drawn afterwa |void| **draw_set_transform_matrix**\ (\ xform\: :ref:`Transform2D`\ ) :ref:`🔗` -Sets a custom local transform for drawing via matrix. Anything drawn afterwards will be transformed by this. +Imposta una trasformazione locale personalizzata per il passaggio di disegno, tramite matrice. Tutto ciò che sarà disegnato in seguito sarà trasformato da questa trasformazione. .. rst-class:: classref-item-separator @@ -1168,34 +1168,34 @@ Sets a custom local transform for drawing via matrix. Anything drawn afterwards |void| **draw_string**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, modulate\: :ref:`Color` = Color(1, 1, 1, 1), justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws ``text`` using the specified ``font`` at the ``pos`` in local space (bottom-left corner using the baseline of the font). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Disegna il testo ``text`` attraverso il ``font`` specificato nella posizione ``pos`` in spazio locale (angolo in basso a sinistra, usando la linea di base del font). Il colore del testo verrà moltiplicato per ``modulate``. Se ``width`` è maggiore o uguale a 0, il testo verrà troncato se supera la larghezza specificata. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. -\ **Example:** Draw "Hello world", using the project's default font: +\ **Esempio:** Disegna "Ciao mondo", usando il font predefinito del progetto: .. tabs:: .. code-tab:: gdscript - # If using this method in a script that redraws constantly, move the - # `default_font` declaration to a member variable assigned in `_ready()` - # so the Control is only created once. + # Se si utilizza questo metodo in uno script che viene ridisegnato costantemente, + # spostare la dichiarazione `default_font` in una variabile membro assegnata in `_ready()` + # in modo che il controllo venga creato una sola volta. var default_font = ThemeDB.fallback_font var default_font_size = ThemeDB.fallback_font_size - draw_string(default_font, Vector2(64, 64), "Hello world", HORIZONTAL_ALIGNMENT_LEFT, -1, default_font_size) + draw_string(default_font, Vector2(64, 64), "Ciao mondo", HORIZONTAL_ALIGNMENT_LEFT, -1, default_font_size) .. code-tab:: csharp - // If using this method in a script that redraws constantly, move the - // `default_font` declaration to a member variable assigned in `_Ready()` - // so the Control is only created once. + // Se si utilizza questo metodo in uno script che viene ridisegnato costantemente, + // spostare la dichiarazione `default_font` in una variabile membro assegnata in `_ready()` + // in modo che il controllo venga creato una sola volta. Font defaultFont = ThemeDB.FallbackFont; int defaultFontSize = ThemeDB.FallbackFontSize; - DrawString(defaultFont, new Vector2(64, 64), "Hello world", HORIZONTAL_ALIGNMENT_LEFT, -1, defaultFontSize); + DrawString(defaultFont, new Vector2(64, 64), "Ciao mondo", HORIZONTAL_ALIGNMENT_LEFT, -1, defaultFontSize); -See also :ref:`Font.draw_string()`. +Vedi anche :ref:`Font.draw_string()`. .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ See also :ref:`Font.draw_string()`. |void| **draw_string_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, size\: :ref:`int` = 1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws ``text`` outline using the specified ``font`` at the ``pos`` in local space (bottom-left corner using the baseline of the font). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Disegna il contorno del testo ``text`` attraverso il ``font`` specificato nella posizione ``pos`` in spazio locale (angolo in basso a sinistra, usando la linea di base del font). Il colore del testo verrà moltiplicato per ``modulate``. Se ``width`` è maggiore o uguale a 0, il testo verrà troncato se supera la larghezza specificata. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -1219,7 +1219,7 @@ Draws ``text`` outline using the specified ``font`` at the ``pos`` in local spac |void| **draw_style_box**\ (\ style_box\: :ref:`StyleBox`, rect\: :ref:`Rect2`\ ) :ref:`🔗` -Draws a styled rectangle. The ``rect`` is defined in local space. +Disegna un rettangolo con stile. Il ``rect`` è definito nello spazio locale. .. rst-class:: classref-item-separator @@ -1231,7 +1231,7 @@ Draws a styled rectangle. The ``rect`` is defined in local space. |void| **draw_texture**\ (\ texture\: :ref:`Texture2D`, position\: :ref:`Vector2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a texture at a given position. The ``position`` is defined in local space. +Disegna una texture in una determinata posizione. La posizione ``position`` è definita in spazio locale. .. rst-class:: classref-item-separator @@ -1243,7 +1243,7 @@ Draws a texture at a given position. The ``position`` is defined in local space. |void| **draw_texture_rect**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, tile\: :ref:`bool`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a textured rectangle at a given position, optionally modulated by a color. The ``rect`` is defined in local space. If ``transpose`` is ``true``, the texture will have its X and Y coordinates swapped. See also :ref:`draw_rect()` and :ref:`draw_texture_rect_region()`. +Disegna un rettangolo con texture in una determinata posizione, modulato facoltativamente da un colore. Il rettangolo ``rect`` è definito in spazio locale. Se ``transpose`` è ``true``, la texture avrà le sue coordinate X e Y scambiate. Vedi anche :ref:`draw_rect()` e :ref:`draw_texture_rect_region()`. .. rst-class:: classref-item-separator @@ -1255,7 +1255,7 @@ Draws a textured rectangle at a given position, optionally modulated by a color. |void| **draw_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false, clip_uv\: :ref:`bool` = true\ ) :ref:`🔗` -Draws a textured rectangle from a texture's region (specified by ``src_rect``) at a given position in local space, optionally modulated by a color. If ``transpose`` is ``true``, the texture will have its X and Y coordinates swapped. See also :ref:`draw_texture_rect()`. +Disegna un rettangolo con texture da una regione di texture (specificata da ``src_rect``) in una determinata posizione in spazio locale, modulato facoltativamente da un colore. Se ``transpose`` è ``true``, la texture avrà le sue coordinate X e Y scambiate. Vedi anche :ref:`draw_texture_rect()`. .. rst-class:: classref-item-separator @@ -1267,9 +1267,9 @@ Draws a textured rectangle from a texture's region (specified by ``src_rect``) a |void| **force_update_transform**\ (\ ) :ref:`🔗` -Forces the node's transform to update. Fails if the node is not inside the tree. See also :ref:`get_transform()`. +Forza l'aggiornamento della trasformazione del nodo. Fallisce se il nodo non si trova all'interno dell'albero. Vedi anche :ref:`get_transform()`\ -\ **Note:** For performance reasons, transform changes are usually accumulated and applied *once* at the end of the frame. The update propagates through **CanvasItem** children, as well. Therefore, use this method only when you need an up-to-date transform (such as during physics operations). +\ **Nota:** Per motivi di prestazioni, le modifiche alle trasformazioni sono solitamente accumulate e applicate *una sola volta* alla fine del frame. L'aggiornamento si propaga anche attraverso i figli di **CanvasItem**. Pertanto, utilizzare questo metodo solo quando è necessaria una trasformazione aggiornata (ad esempio durante le operazioni di fisica). .. rst-class:: classref-item-separator @@ -1281,7 +1281,7 @@ Forces the node's transform to update. Fails if the node is not inside the tree. :ref:`RID` **get_canvas**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`RID` of the :ref:`World2D` canvas where this node is registered to, used by the :ref:`RenderingServer`. +Restituisce il :ref:`RID` del canvas :ref:`World2D` in cui è registrato questo nodo, utilizzato dal :ref:`RenderingServer`. .. rst-class:: classref-item-separator @@ -1293,7 +1293,7 @@ Returns the :ref:`RID` of the :ref:`World2D` canvas wh :ref:`RID` **get_canvas_item**\ (\ ) |const| :ref:`🔗` -Returns the internal canvas item :ref:`RID` used by the :ref:`RenderingServer` for this node. +Restituisce il RID interno dell'elemento canvas utilizzato dal :ref:`RenderingServer` per questo nodo. .. rst-class:: classref-item-separator @@ -1317,7 +1317,7 @@ Restituisce il :ref:`CanvasLayer` che contiene questo nodo, o :ref:`Transform2D` **get_canvas_transform**\ (\ ) |const| :ref:`🔗` -Returns the transform of this node, converted from its registered canvas's coordinate system to its viewport's coordinate system. See also :ref:`Node.get_viewport()`. +Restituisce la trasformazione di questo nodo, convertita dal sistema di coordinate del suo canvas registrato al sistema di coordinate della sua viewport. Vedi anche :ref:`Node.get_viewport()`. .. rst-class:: classref-item-separator @@ -1329,9 +1329,9 @@ Returns the transform of this node, converted from its registered canvas's coord :ref:`Vector2` **get_global_mouse_position**\ (\ ) |const| :ref:`🔗` -Returns mouse cursor's global position relative to the :ref:`CanvasLayer` that contains this node. +Restituisce la globale posizione del cursore del mouse relativa al :ref:`CanvasLayer` che contiene questo **CanvasItem**. -\ **Note:** For screen-space coordinates (e.g. when using a non-embedded :ref:`Popup`), you can use :ref:`DisplayServer.mouse_get_position()`. +\ **Nota:** Per le coordinate nello spazio dello schermo (ad esempio quando si utilizza un :ref:`Popup` non incorporato), è possibile usare :ref:`DisplayServer.mouse_get_position()`. .. rst-class:: classref-item-separator @@ -1405,7 +1405,7 @@ Uguale a :ref:`get_global_transform()` **get_transform**\ (\ ) |const| :ref:`🔗` -Returns the transform matrix of this **CanvasItem**. +Restituisce la matrice di trasformazione di questo **CanvasItem**. .. rst-class:: classref-item-separator @@ -1417,7 +1417,7 @@ Returns the transform matrix of this **CanvasItem**. :ref:`Rect2` **get_viewport_rect**\ (\ ) |const| :ref:`🔗` -Returns this node's viewport boundaries as a :ref:`Rect2`. See also :ref:`Node.get_viewport()`. +Restituisce i confini della viewport di questo nodo come :ref:`Rect2`. Vedi anche :ref:`Node.get_viewport()`. .. rst-class:: classref-item-separator @@ -1429,7 +1429,7 @@ Returns this node's viewport boundaries as a :ref:`Rect2`. See also :ref:`Transform2D` **get_viewport_transform**\ (\ ) |const| :ref:`🔗` -Returns the transform of this node, converted from its registered canvas's coordinate system to its viewport embedder's coordinate system. See also :ref:`Viewport.get_final_transform()` and :ref:`Node.get_viewport()`. +Restituisce la trasformazione di questo nodo, convertita dal sistema di coordinate del proprio canvas registrato al sistema di coordinate della viewport incorporatore. Vedi anche :ref:`Viewport.get_final_transform()` e :ref:`Node.get_viewport()`. .. rst-class:: classref-item-separator @@ -1441,7 +1441,7 @@ Returns the transform of this node, converted from its registered canvas's coord :ref:`bool` **get_visibility_layer_bit**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the layer at the given index is set in :ref:`visibility_layer`. +Restituisce ``true`` se lo strato all'indice specificato è impostato in :ref:`visibility_layer`. .. rst-class:: classref-item-separator @@ -1453,9 +1453,9 @@ Returns ``true`` if the layer at the given index is set in :ref:`visibility_laye :ref:`World2D` **get_world_2d**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`World2D` this node is registered to. +Restituisce il :ref:`World2D` in cui è registrato questo nodo. -Usually, this is the same as this node's viewport (see :ref:`Node.get_viewport()` and :ref:`Viewport.find_world_2d()`). +Di solito, questo è lo stesso utilizzato dalla viewport di questo nodo (vedi :ref:`Node.get_viewport()` e :ref:`Viewport.find_world_2d()`). .. rst-class:: classref-item-separator @@ -1479,7 +1479,7 @@ Nasconde il **CanvasItem** se è attualmente visibile. Ciò equivale a impostare :ref:`bool` **is_local_transform_notification_enabled**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the node receives :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` whenever its local transform changes. This is enabled with :ref:`set_notify_local_transform()`. +Restituisce ``true`` se il nodo riceve :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` quando cambia la sua trasformazione locale. Ciò è abilitato con :ref:`set_notify_local_transform()`. .. rst-class:: classref-item-separator @@ -1491,7 +1491,7 @@ Returns ``true`` if the node receives :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED :ref:`bool` **is_transform_notification_enabled**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the node receives :ref:`NOTIFICATION_TRANSFORM_CHANGED` whenever its global transform changes. This is enabled with :ref:`set_notify_transform()`. +Restituisce ``true``, se il nodo riceve :ref:`NOTIFICATION_TRANSFORM_CHANGED` quando cambia la sua trasformazione globale. Ciò è abilitato con :ref:`set_notify_transform()`. .. rst-class:: classref-item-separator @@ -1537,7 +1537,7 @@ Per l'operazione opposta, usa :ref:`get_global_transform_with_canvas()` **make_input_local**\ (\ event\: :ref:`InputEvent`\ ) |const| :ref:`🔗` -Returns a copy of the given ``event`` with its coordinates converted from global space to this **CanvasItem**'s local space. If not possible, returns the same :ref:`InputEvent` unchanged. +Restituisce una copia dell'evento ``event`` con le sue coordinate convertite dallo spazio globale allo spazio locale di questo **CanvasItem**. Se non è possibile, restituisce lo stesso :ref:`InputEvent` senza cambiamenti. .. rst-class:: classref-item-separator @@ -1549,7 +1549,7 @@ Returns a copy of the given ``event`` with its coordinates converted from global |void| **move_to_front**\ (\ ) :ref:`🔗` -Moves this node below its siblings, usually causing the node to draw on top of its siblings. Does nothing if this node does not have a parent. See also :ref:`Node.move_child()`. +Sposta questo nodo sotto i suoi fratelli, solitamente garantendo che il nodo sia disegnato sopra i suoi fratelli. Non fa nulla se questo nodo non ha un genitore. Vedi anche :ref:`Node.move_child()`. .. rst-class:: classref-item-separator @@ -1589,9 +1589,9 @@ Imposta il valore di un'uniforme di shader solo per questa istanza (`uniforme pe |void| **set_notify_local_transform**\ (\ enable\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, the node will receive :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` whenever its local transform changes. +Se ``true``, il nodo riceverà :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` quando la sua trasformazione locale cambia. -\ **Note:** Many canvas items such as :ref:`Bone2D` or :ref:`CollisionShape2D` automatically enable this in order to function correctly. +\ **Nota:** Molti elementi canvas come :ref:`Bone2D` o :ref:`CollisionShape2D` abilitano questo automaticamente per funzionare correttamente. .. rst-class:: classref-item-separator @@ -1603,9 +1603,9 @@ If ``true``, the node will receive :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED`\ ) :ref:`🔗` -If ``true``, the node will receive :ref:`NOTIFICATION_TRANSFORM_CHANGED` whenever global transform changes. +Se ``true``, il nodo riceverà :ref:`NOTIFICATION_TRANSFORM_CHANGED` quando la sua trasformazione globale cambia. -\ **Note:** Many canvas items such as :ref:`Camera2D` or :ref:`Light2D` automatically enable this in order to function correctly. +\ **Nota:** Molti elementi canvas come :ref:`Camera2D` o :ref:`Light2D` abilitano questo automaticamente per funzionare correttamente. .. rst-class:: classref-item-separator @@ -1629,9 +1629,9 @@ Imposta/cancella singoli bit sugli strati di visibilità per il rendering. Ciò |void| **show**\ (\ ) :ref:`🔗` -Show the **CanvasItem** if it's currently hidden. This is equivalent to setting :ref:`visible` to ``true``. +Mostra il **CanvasItem** se è attualmente nascosto. Ciò equivale a impostare :ref:`visible` su ``true``. -\ **Note:** For controls that inherit :ref:`Popup`, the correct way to make them visible is to call one of the multiple ``popup*()`` functions instead. +\ **Note:** Per i controlli che ereditano :ref:`Popup`, il modo corretto per renderli visibili è chiamare una delle molteplici funzioni ``popup*()``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_canvaslayer.rst b/classes/it/class_canvaslayer.rst index b90c451454..7cf1ca3a5f 100644 --- a/classes/it/class_canvaslayer.rst +++ b/classes/it/class_canvaslayer.rst @@ -16,13 +16,13 @@ Un nodo utilizzato per il rendering indipendente di oggetti all'interno di una s Descrizione ---------------------- -:ref:`CanvasItem`-derived nodes that are direct or indirect children of a **CanvasLayer** will be drawn in that layer. The layer is a numeric index that defines the draw order. The default 2D scene renders with index ``0``, so a **CanvasLayer** with index ``-1`` will be drawn below, and a **CanvasLayer** with index ``1`` will be drawn above. This order will hold regardless of the :ref:`CanvasItem.z_index` of the nodes within each layer. +I nodi derivati da :ref:`CanvasItem` che sono figli diretti o indiretti di un **CanvasLayer** saranno disegnati in quel livello. Il livello è un indice numerico che definisce l'ordine di disegno. La scena 2D predefinita renderizza con un indice ``0``, quindi un **CanvasLayer** con indice ``-1`` sarà disegnato sotto, e un **CanvasLayer** con indice ``1`` sarà disegnato sopra. Questo ordine sarà mantenuto a prescindere dal :ref:`CanvasItem.z_index` dei nodi all'interno di ciascun livello. -\ **CanvasLayer**\ s can be hidden and they can also optionally follow the viewport. This makes them useful for HUDs like health bar overlays (on layers ``1`` and higher) or backgrounds (on layers ``-1`` and lower). +È possibile nascondere i **CanvasLayer** e anche facoltativamente seguire la viewport. Ciò li rende utili per HUD come overlay di barre della salute (su livelli ``1`` e superiori) o sfondi (su livelli ``-1`` e inferiori). -\ **Note:** Embedded :ref:`Window`\ s are placed on layer ``1024``. :ref:`CanvasItem`\ s on layers ``1025`` and higher appear in front of embedded windows. +\ **Nota:** I nodi :ref:`Window` incorporati sono posizionati sul livello ``1024``. I :ref:`CanvasItem` sui livelli ``1025`` e superiori sono visualizzati davanti alle finestre incorporate. -\ **Note:** Each **CanvasLayer** is drawn on one specific :ref:`Viewport` and cannot be shared between multiple :ref:`Viewport`\ s, see :ref:`custom_viewport`. When using multiple :ref:`Viewport`\ s, for example in a split-screen game, you need to create an individual **CanvasLayer** for each :ref:`Viewport` you want it to be drawn on. +\ **Nota:** Ogni **CanvasLayer** è disegnato su una specifica :ref:`Viewport` e non può essere condiviso tra più :ref:`Viewport`, vedi :ref:`custom_viewport`. Quando si utilizzano più :ref:`Viewport`, ad esempio in un gioco a schermo diviso, è necessario creare un **CanvasLayer** per ogni :ref:`Viewport` su cui si desidera che sia disegnato. .. rst-class:: classref-introduction-group @@ -135,9 +135,9 @@ Il nodo :ref:`Viewport` personalizzato assegnato al **CanvasLaye - |void| **set_follow_viewport**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_following_viewport**\ (\ ) -If enabled, the **CanvasLayer** maintains its position in world space. If disabled, the **CanvasLayer** stays in a fixed position on the screen. +Se abilitato, il **CanvasLayer** mantiene la sua pozione in spazio globale. Se disabilitato, il **CanvasLayer** rimarrà in una posizione fissa sullo schermo. -Together with :ref:`follow_viewport_scale`, this can be used for a pseudo-3D effect. +Insieme a :ref:`follow_viewport_scale` può essere utilizzato per un effetto pseudo 3D. .. rst-class:: classref-item-separator @@ -171,11 +171,11 @@ Ridimensiona il livello quando si usa :ref:`follow_viewport_enabled`\ ) - :ref:`int` **get_layer**\ (\ ) -Layer index for draw order. Lower values are drawn behind higher values. +Indice di livello per l'ordine di visualizzazione. I valori più bassi sono disegnati dietro i valori più alti. -\ **Note:** If multiple CanvasLayers have the same layer index, :ref:`CanvasItem` children of one CanvasLayer are drawn behind the :ref:`CanvasItem` children of the other CanvasLayer. Which CanvasLayer is drawn in front is non-deterministic. +\ **Nota:** Se più CanvasLayer hanno lo stesso indice di livello, i figli :ref:`CanvasItem` di un CanvasLayer sono disegnati dietro i figli :ref:`CanvasItem` dell'altro CanvasLayer. Quale dei CanvasLayer è disegnato in primo piano non è deterministico. -\ **Note:** The layer index should be between :ref:`RenderingServer.CANVAS_LAYER_MIN` and :ref:`RenderingServer.CANVAS_LAYER_MAX` (inclusive). Any other value will wrap around. +\ **Nota:** L'indice di livello deve essere compreso tra :ref:`RenderingServer.CANVAS_LAYER_MIN` e :ref:`RenderingServer.CANVAS_LAYER_MAX` (inclusi). Qualsiasi altro valore verrà avvolto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_canvasmodulate.rst b/classes/it/class_canvasmodulate.rst index c1ddf05d21..e82d2a3baf 100644 --- a/classes/it/class_canvasmodulate.rst +++ b/classes/it/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/it/class_capsulemesh.rst b/classes/it/class_capsulemesh.rst index 2376583e62..28aa21a567 100644 --- a/classes/it/class_capsulemesh.rst +++ b/classes/it/class_capsulemesh.rst @@ -54,9 +54,9 @@ Descrizioni delle proprietà - |void| **set_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_height**\ (\ ) -Total height of the capsule mesh (including the hemispherical ends). +Altezza totale della mesh a capsula (incluse le estremità emisferiche). -\ **Note:** The :ref:`height` of a capsule must be at least twice its :ref:`radius`. Otherwise, the capsule becomes a circle. If the :ref:`height` is less than twice the :ref:`radius`, the properties adjust to a valid value. +\ **Nota:** L':ref:`height` di una capsula deve essere almeno il doppio del suo :ref:`radius`. Se non, la capsula diventa un cerchio. Se l':ref:`height` è inferiore al doppio del :ref:`radius`, le proprietà si adattano a un valore valido. .. rst-class:: classref-item-separator @@ -90,9 +90,9 @@ Numero di segmenti radiali sulla mesh a capsula. - |void| **set_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_radius**\ (\ ) -Radius of the capsule mesh. +Raggio della mesh a capsula. -\ **Note:** The :ref:`radius` of a capsule cannot be greater than half of its :ref:`height`. Otherwise, the capsule becomes a circle. If the :ref:`radius` is greater than half of the :ref:`height`, the properties adjust to a valid value. +\ **Nota:** Il :ref:`radius` di una capsula non può essere maggiore della metà della sua :ref:`height`. Se non, la capsula diventa un cerchio. Se il :ref:`radius` è maggiore della metà dell':ref:`height`, le proprietà si adattano a un valore valido. .. rst-class:: classref-item-separator diff --git a/classes/it/class_capsuleshape2d.rst b/classes/it/class_capsuleshape2d.rst index a22e0bdda1..f7f117b057 100644 --- a/classes/it/class_capsuleshape2d.rst +++ b/classes/it/class_capsuleshape2d.rst @@ -54,9 +54,9 @@ Descrizioni delle proprietà - |void| **set_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_height**\ (\ ) -The capsule's full height, including the semicircles. +L'altezza totale della capsula, inclusi i semicerchi. -\ **Note:** The :ref:`height` of a capsule must be at least twice its :ref:`radius`. Otherwise, the capsule becomes a circle. If the :ref:`height` is less than twice the :ref:`radius`, the properties adjust to a valid value. +\ **Nota:** L':ref:`height` di una capsula deve essere almeno il doppio del suo :ref:`radius`. Se non, la capsula diventa un cerchio. Se l':ref:`height` è inferiore al doppio del :ref:`radius`, le proprietà si adattano a un valore valido. .. rst-class:: classref-item-separator @@ -73,7 +73,7 @@ The capsule's full height, including the semicircles. - |void| **set_mid_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_mid_height**\ (\ ) -The capsule's height, excluding the semicircles. This is the height of the central rectangular part in the middle of the capsule, and is the distance between the centers of the two semicircles. This is a wrapper for :ref:`height`. +L'altezza della capsula, esclusi i semicerchi. Questa è l'altezza della parte rettangolare centrale in mezzo alla capsula, ed è la distanza tra i centri dei due semicerchi. Questo è un wrapper per :ref:`height`. .. rst-class:: classref-item-separator @@ -90,9 +90,9 @@ The capsule's height, excluding the semicircles. This is the height of the centr - |void| **set_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_radius**\ (\ ) -The capsule's radius. +Il raggio della capsula. -\ **Note:** The :ref:`radius` of a capsule cannot be greater than half of its :ref:`height`. Otherwise, the capsule becomes a circle. If the :ref:`radius` is greater than half of the :ref:`height`, the properties adjust to a valid value. +\ **Nota:** Il :ref:`radius` di una capsula non può essere maggiore della metà della sua :ref:`height`. Se non, la capsula diventa un cerchio. Se il :ref:`radius` è maggiore della metà dell':ref:`height`, le proprietà si adattano a un valore valido. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_capsuleshape3d.rst b/classes/it/class_capsuleshape3d.rst index 2a82650d8b..22f50f1230 100644 --- a/classes/it/class_capsuleshape3d.rst +++ b/classes/it/class_capsuleshape3d.rst @@ -61,9 +61,9 @@ Descrizioni delle proprietà - |void| **set_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_height**\ (\ ) -The capsule's full height, including the hemispheres. +L'altezza totale della capsula, inclusi gli emisferi. -\ **Note:** The :ref:`height` of a capsule must be at least twice its :ref:`radius`. Otherwise, the capsule becomes a sphere. If the :ref:`height` is less than twice the :ref:`radius`, the properties adjust to a valid value. +\ **Nota:** L':ref:`height` di una capsula deve essere almeno il doppio del suo :ref:`radius`. Se non, la capsula diventa una sfera. Se l':ref:`height` è inferiore al doppio del :ref:`radius`, le proprietà si adattano a un valore valido. .. rst-class:: classref-item-separator @@ -80,7 +80,7 @@ The capsule's full height, including the hemispheres. - |void| **set_mid_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_mid_height**\ (\ ) -The capsule's height, excluding the hemispheres. This is the height of the central cylindrical part in the middle of the capsule, and is the distance between the centers of the two hemispheres. This is a wrapper for :ref:`height`. +L'altezza della capsula, esclusi gli emisferi. Questa è l'altezza della parte cilindrica centrale in mezzo alla capsula, ed è la distanza tra i centri dei due emisferi. Questo è un wrapper per :ref:`height`. .. rst-class:: classref-item-separator @@ -97,9 +97,9 @@ The capsule's height, excluding the hemispheres. This is the height of the centr - |void| **set_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_radius**\ (\ ) -The capsule's radius. +Il raggio della capsula. -\ **Note:** The :ref:`radius` of a capsule cannot be greater than half of its :ref:`height`. Otherwise, the capsule becomes a sphere. If the :ref:`radius` is greater than half of the :ref:`height`, the properties adjust to a valid value. +\ **Nota:** Il :ref:`radius` di una capsula non può essere maggiore della metà della sua :ref:`height`. Se non, la capsula diventa una sfera. Se il :ref:`radius` è maggiore della metà dell':ref:`height`, le proprietà si adattano a un valore valido. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_characterbody2d.rst b/classes/it/class_characterbody2d.rst index ec78fcf72a..56c6625941 100644 --- a/classes/it/class_characterbody2d.rst +++ b/classes/it/class_characterbody2d.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - :doc:`Personaggio cinematico (2D) <../tutorials/physics/kinematic_character_2d>` @@ -297,7 +297,7 @@ Se ``false``, il corpo scivolerà sulle pendenze sul pavimento quando :ref:`velo - |void| **set_max_slides**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_slides**\ (\ ) -Maximum number of times the body can change direction before it stops when calling :ref:`move_and_slide()`. Must be greater than zero. +Numero massimo di volte in cui il corpo può cambiare direzione prima di fermarsi quando :ref:`move_and_slide()` viene chiamato. Deve essere maggiore di zero. .. rst-class:: classref-item-separator @@ -314,7 +314,7 @@ Maximum number of times the body can change direction before it stops when calli - |void| **set_motion_mode**\ (\ value\: :ref:`MotionMode`\ ) - :ref:`MotionMode` **get_motion_mode**\ (\ ) -Sets the motion mode which defines the behavior of :ref:`move_and_slide()`. +Imposta la modalità di movimento che definisce il comportamento di :ref:`move_and_slide()`. .. rst-class:: classref-item-separator @@ -348,7 +348,7 @@ Gli strati di collisione che saranno inclusi per rilevare i corpi di pavimento c - |void| **set_platform_on_leave**\ (\ value\: :ref:`PlatformOnLeave`\ ) - :ref:`PlatformOnLeave` **get_platform_on_leave**\ (\ ) -Sets the behavior to apply when you leave a moving platform. By default, to be physically accurate, when you leave the last platform velocity is applied. +Imposta il comportamento da applicare quando si lascia una piattaforma in movimento. Come predefinito, per essere fisicamente corretti, quando si lascia una piattaforma viene applicata una velocità. .. rst-class:: classref-item-separator @@ -439,7 +439,9 @@ Vettore che punta verso l'alto, utilizzato per determinare cosa è un muro e cos - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -Vettore di velocità attuale in pixel al secondo, utilizzato e modificato durante le chiamate a :ref:`move_and_slide()`. +Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -456,7 +458,7 @@ Vettore di velocità attuale in pixel al secondo, utilizzato e modificato durant - |void| **set_wall_min_slide_angle**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_wall_min_slide_angle**\ (\ ) -Minimum angle (in radians) where the body is allowed to slide when it encounters a wall. The default value equals 15 degrees. This property only affects movement when :ref:`motion_mode` is :ref:`MOTION_MODE_FLOATING`. +Angolo minimo (in radianti) a cui il corpo è permesso di scivolare quando incontra una pendenza. Il valore predefinito corrisponde a 15 gradi. Questa proprietà influisce sul movimento solo quando :ref:`motion_mode` è :ref:`MOTION_MODE_FLOATING`. .. rst-class:: classref-section-separator @@ -702,15 +704,17 @@ Restituisce ``true`` se il corpo è entrato in collisione soltanto con un muro d :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Sposta il corpo in base a :ref:`velocity`. Se il corpo entra in collisione con un altro, scivolerà lungo l'altro corpo (per impostazione predefinita solo sul pavimento) invece di fermarsi immediatamente. Se l'altro corpo è un **CharacterBody2D** o :ref:`RigidBody2D`, sarà anche influenzato dal movimento dell'altro corpo. È possibile usarlo per creare piattaforme mobili e rotanti o per far in modo che i nodi spingano altri nodi. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Modifica :ref:`velocity` se si è verificata una collisione con scorrimento. Per ottenere l'ultima chiamata di collisione :ref:`get_last_slide_collision()`, per informazioni dettagliate sulle collisioni che si sono verificate, usa :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Quando il corpo tocca una piattaforma in movimento, la velocità della piattaforma viene automaticamente aggiunta al movimento del corpo. Se si verifica una collisione a causa del movimento della piattaforma, sarà sempre la prima nelle collisioni con scorrimento. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Il comportamento generale e le proprietà disponibili cambiano in base a :ref:`motion_mode`. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. -Restituisce ``true`` se il corpo è entrato in collisione, altrimenti restituisce ``false``. +The general behavior and available properties change according to the :ref:`motion_mode`. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_characterbody3d.rst b/classes/it/class_characterbody3d.rst index 924032de54..bb7928ebff 100644 --- a/classes/it/class_characterbody3d.rst +++ b/classes/it/class_characterbody3d.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - :doc:`Personaggio cinematico (2D) <../tutorials/physics/kinematic_character_2d>` @@ -301,7 +301,7 @@ Se ``false``, il corpo scivolerà sulle pendenze sul pavimento quando :ref:`velo - |void| **set_max_slides**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_slides**\ (\ ) -Maximum number of times the body can change direction before it stops when calling :ref:`move_and_slide()`. Must be greater than zero. +Numero massimo di volte in cui il corpo può cambiare direzione prima di fermarsi quando :ref:`move_and_slide()` viene chiamato. Deve essere maggiore di zero. .. rst-class:: classref-item-separator @@ -318,7 +318,7 @@ Maximum number of times the body can change direction before it stops when calli - |void| **set_motion_mode**\ (\ value\: :ref:`MotionMode`\ ) - :ref:`MotionMode` **get_motion_mode**\ (\ ) -Sets the motion mode which defines the behavior of :ref:`move_and_slide()`. +Imposta la modalità di movimento che definisce il comportamento di :ref:`move_and_slide()`. .. rst-class:: classref-item-separator @@ -352,7 +352,7 @@ Gli strati di collisione che saranno inclusi per rilevare i corpi di pavimento c - |void| **set_platform_on_leave**\ (\ value\: :ref:`PlatformOnLeave`\ ) - :ref:`PlatformOnLeave` **get_platform_on_leave**\ (\ ) -Sets the behavior to apply when you leave a moving platform. By default, to be physically accurate, when you leave the last platform velocity is applied. +Imposta il comportamento da applicare quando si lascia una piattaforma in movimento. Come predefinito, per essere fisicamente corretti, quando si lascia una piattaforma viene applicata una velocità. .. rst-class:: classref-item-separator @@ -443,7 +443,9 @@ Vettore che punta verso l'alto, utilizzato per determinare cosa è un muro e cos - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -Vettore di velocità attuale (solitamente in metri al secondo), utilizzato e modificato durante le chiamate a :ref:`move_and_slide()`. +Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -460,7 +462,7 @@ Vettore di velocità attuale (solitamente in metri al secondo), utilizzato e mod - |void| **set_wall_min_slide_angle**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_wall_min_slide_angle**\ (\ ) -Minimum angle (in radians) where the body is allowed to slide when it encounters a wall. The default value equals 15 degrees. When :ref:`motion_mode` is :ref:`MOTION_MODE_GROUNDED`, it only affects movement if :ref:`floor_block_on_wall` is ``true``. +Angolo minimo (in radianti) a cui il corpo è permesso di scivolare quando incontra una pendenza. Il valore predefinito corrisponde a 15 gradi. Quando :ref:`motion_mode` è :ref:`MOTION_MODE_GROUNDED`, questa proprietà influisce sul movimento solo se :ref:`floor_block_on_wall` è ``true``. .. rst-class:: classref-section-separator @@ -697,13 +699,15 @@ Restituisce ``true`` se il corpo è entrato in collisione soltanto con un muro d :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Sposta il corpo in base a :ref:`velocity`. Se il corpo entra in collisione con un altro, scivolerà lungo l'altro corpo (per impostazione predefinita solo sul pavimento) invece di fermarsi immediatamente. Se l'altro corpo è un **CharacterBody3D** o :ref:`RigidBody3D`, sarà anche influenzato dal movimento dell'altro corpo. È possibile usarlo per creare piattaforme mobili e rotanti o per far in modo che i nodi spingano altri nodi. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Modifica :ref:`velocity` se si è verificata una collisione con scorrimento. Per ottenere l'ultima chiamata di collisione :ref:`get_last_slide_collision()`, per informazioni dettagliate sulle collisioni che si sono verificate, usa :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Quando il corpo tocca una piattaforma in movimento, la velocità della piattaforma viene automaticamente aggiunta al movimento del corpo. Se si verifica una collisione a causa del movimento della piattaforma, sarà sempre la prima nelle collisioni con scorrimento. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Restituisce ``true`` se il corpo è entrato in collisione, altrimenti restituisce ``false``. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_checkbox.rst b/classes/it/class_checkbox.rst index 43922e166f..df9fc1d7e1 100644 --- a/classes/it/class_checkbox.rst +++ b/classes/it/class_checkbox.rst @@ -81,7 +81,7 @@ Descrizioni delle proprietà del tema :ref:`Color` **checkbox_checked_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -The color of the checked icon when the checkbox is pressed. +Il colore dell'icona di spunta quando la casella è premuta. .. rst-class:: classref-item-separator @@ -93,7 +93,7 @@ The color of the checked icon when the checkbox is pressed. :ref:`Color` **checkbox_unchecked_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -The color of the unchecked icon when the checkbox is not pressed. +Il colore dell'icona di spunta mancante quando la casella non è premuta. .. rst-class:: classref-item-separator diff --git a/classes/it/class_checkbutton.rst b/classes/it/class_checkbutton.rst index 9872bfc11a..a36c8177c4 100644 --- a/classes/it/class_checkbutton.rst +++ b/classes/it/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: @@ -82,7 +82,7 @@ Descrizioni delle proprietà del tema :ref:`Color` **button_checked_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -The color of the checked icon when the checkbox is pressed. +Il colore dell'icona di spunta quando la casella è premuta. .. rst-class:: classref-item-separator @@ -94,7 +94,7 @@ The color of the checked icon when the checkbox is pressed. :ref:`Color` **button_unchecked_color** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -The color of the unchecked icon when the checkbox is not pressed. +Il colore dell'icona di spunta mancante quando la casella non è premuta. .. rst-class:: classref-item-separator diff --git a/classes/it/class_classdb.rst b/classes/it/class_classdb.rst index 10b538d063..efed4513e3 100644 --- a/classes/it/class_classdb.rst +++ b/classes/it/class_classdb.rst @@ -14,9 +14,9 @@ Un archivio di informazioni sulle classi. Descrizione ---------------------- -Provides access to metadata stored for every available engine class. +Fornisce l'accesso ai metadati memorizzati per ogni classe disponibile nel motore. -\ **Note:** Script-defined classes with ``class_name`` are not part of **ClassDB**, so they will not return reflection data such as a method or property list. However, :ref:`GDExtension`-defined classes *are* part of **ClassDB**, so they will return reflection data. +\ **Nota:** Le classi definite tramite script con ``class_name`` non fanno parte di **ClassDB**, quindi non restituiranno dati di riflessione come liste di metodi o proprietà. Tuttavia, le classi definite tramite :ref:`GDExtension` *fanno* parte di **ClassDB**, quindi restituiranno dati di riflessione. .. rst-class:: classref-reftable-group @@ -436,9 +436,9 @@ Imposta il valore della proprietà nominata ``property`` dell'oggetto ``object`` :ref:`PackedStringArray` **get_class_list**\ (\ ) |const| :ref:`🔗` -Returns the names of all engine classes available. +Restituisce i nomi di tutte le classi disponibili nel motore. -\ **Note:** Script-defined classes with ``class_name`` are not included in this list. Use :ref:`ProjectSettings.get_global_class_list()` to get a list of script-defined classes instead. +\ **Nota:** Le classi definite da script con ``class_name`` non sono incluse in questa lista. Usa invece :ref:`ProjectSettings.get_global_class_list()` per ottenere una lista di classi definite da script. .. rst-class:: classref-item-separator @@ -450,7 +450,7 @@ Returns the names of all engine classes available. :ref:`PackedStringArray` **get_inheriters_from_class**\ (\ class\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns the names of all engine classes that directly or indirectly inherit from ``class``. +Restituisce i nomi di tutte le classi nel motore che ereditano dalla classe ``class`` direttamente o indirettamente. .. rst-class:: classref-item-separator diff --git a/classes/it/class_codeedit.rst b/classes/it/class_codeedit.rst index 3da2368909..3677299174 100644 --- a/classes/it/class_codeedit.rst +++ b/classes/it/class_codeedit.rst @@ -822,7 +822,7 @@ Se ``true``, si possono ridurre le righe. Altrimenti, i metodi di riduzione dell - |void| **set_line_length_guidelines**\ (\ value\: :ref:`Array`\[:ref:`int`\]\ ) - :ref:`Array`\[:ref:`int`\] **get_line_length_guidelines**\ (\ ) -Draws vertical lines at the provided columns. The first entry is considered a main hard guideline and is drawn more prominently. +Disegna linee verticali nelle colonne fornite. La prima voce è considerata una linea guida rigida principale ed è disegnata in modo più evidente. .. rst-class:: classref-item-separator @@ -873,7 +873,7 @@ Descrizioni dei metodi |void| **_confirm_code_completion**\ (\ replace\: :ref:`bool`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per definire come deve essere inserita la voce selezionata. Se ``replace`` è ``true``, qualsiasi testo esistente dovrebbe essere sostituito. +Sovrascrivi questo metodo per definire come deve essere inserita la voce selezionata. Se ``replace`` è ``true``, qualsiasi testo esistente dovrebbe essere sostituito. .. rst-class:: classref-item-separator @@ -885,9 +885,9 @@ Sostituisci questo metodo per definire come deve essere inserita la voce selezio :ref:`Array`\[:ref:`Dictionary`\] **_filter_code_completion_candidates**\ (\ candidates\: :ref:`Array`\[:ref:`Dictionary`\]\ ) |virtual| |const| :ref:`🔗` -Override this method to define what items in ``candidates`` should be displayed. +Sovrascrivi questo metodo per definire quali elementi in ``candidates`` si devono visualizzare. -Both ``candidates`` and the return is an :ref:`Array` of :ref:`Dictionary`, see :ref:`get_code_completion_option()` for :ref:`Dictionary` content. +Sia ``candidates`` sia il valore restituito sono un :ref:`Array` di :ref:`Dictionary`, vedi :ref:`get_code_completion_option()` per il contenuto dei :ref:`Dictionary`. .. rst-class:: classref-item-separator @@ -899,7 +899,7 @@ Both ``candidates`` and the return is an :ref:`Array` of :ref:`Dict |void| **_request_code_completion**\ (\ force\: :ref:`bool`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per definire cosa succede quando l'utente richiede il completamento del codice. Se ``force`` è ``true``, tutti i controlli dovrebbero essere ignorati. +Sovrascrivi questo metodo per definire cosa succede quando l'utente richiede il completamento del codice. Se ``force`` è ``true``, tutti i controlli dovrebbero essere ignorati. .. rst-class:: classref-item-separator diff --git a/classes/it/class_collisionpolygon2d.rst b/classes/it/class_collisionpolygon2d.rst index 7c1b57d5e1..b836d9eaa1 100644 --- a/classes/it/class_collisionpolygon2d.rst +++ b/classes/it/class_collisionpolygon2d.rst @@ -89,7 +89,7 @@ Descrizioni delle proprietà - |void| **set_build_mode**\ (\ value\: :ref:`BuildMode`\ ) - :ref:`BuildMode` **get_build_mode**\ (\ ) -Collision build mode. +Modalità di costruzione delle collisioni. .. rst-class:: classref-item-separator @@ -106,7 +106,7 @@ Collision build mode. - |void| **set_disabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_disabled**\ (\ ) -If ``true``, no collisions will be detected. This property should be changed with :ref:`Object.set_deferred()`. +Se ``true``, nessuna collisione sarà rilevata. Questa proprietà dovrebbe essere modificata con :ref:`Object.set_deferred()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_collisionpolygon3d.rst b/classes/it/class_collisionpolygon3d.rst index 4c1fb96083..2e0a64a9f6 100644 --- a/classes/it/class_collisionpolygon3d.rst +++ b/classes/it/class_collisionpolygon3d.rst @@ -113,7 +113,7 @@ Lunghezza per cui la collisione risultante si estende in entrambe le direzioni p - |void| **set_disabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_disabled**\ (\ ) -If ``true``, no collision will be produced. This property should be changed with :ref:`Object.set_deferred()`. +Se ``true``, nessuna collisione sarà generata. Questa proprietà dovrebbe essere modificata con :ref:`Object.set_deferred()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_color.rst b/classes/it/class_color.rst index e59c34c611..6bd2e4246c 100644 --- a/classes/it/class_color.rst +++ b/classes/it/class_color.rst @@ -12,15 +12,15 @@ Un colore rappresentato in formato RGBA. Descrizione ---------------------- -A color represented in RGBA format by a red (:ref:`r`), green (:ref:`g`), blue (:ref:`b`), and alpha (:ref:`a`) component. Each component is a 32-bit floating-point value, usually ranging from ``0.0`` to ``1.0``. Some properties (such as :ref:`CanvasItem.modulate`) may support values greater than ``1.0``, for overbright or HDR (High Dynamic Range) colors. +Un colore rappresentato in formato RGBA da un componente rosso (:ref:`r`), verde (:ref:`g`), blu (:ref:`b`) e alfa (:ref:`a`). Ogni componente è un valore in virgola mobile a 32 bit, solitamente compreso tra ``0.0`` e ``1.0``. Alcune proprietà (come :ref:`CanvasItem.modulate`) possono supportare valori maggiori di ``1.0``, per colori sovra-luminosi o ad alta gamma dinamica (High Dynamic Range o HDR). -Colors can be created in various ways: By the various **Color** constructors, by static methods such as :ref:`from_hsv()`, and by using a name from the set of standardized colors based on `X11 color names `__ with the addition of :ref:`TRANSPARENT`. GDScript also provides :ref:`@GDScript.Color8()`, which uses integers from ``0`` to ``255`` and doesn't support overbright colors. +I colori possono essere creati in vari modi: tramite i vari costruttori **Color**, tramite metodi statici come :ref:`from_hsv()` e usando un nome dall'insieme di colori standardizzati basato sui `nomi di colore X11 `__ con l'aggiunta di :ref:`TRANSPARENT`. GDScript fornisce anche :ref:`@GDScript.Color8()`, che usa numeri interi da ``0`` a ``255`` e non supporta i colori sovra-luminosi. -Color data may be stored in many color spaces and encodings. The :ref:`srgb_to_linear()` and :ref:`linear_to_srgb()` methods can convert between nonlinear sRGB encoding and linear RGB encoding. +È possibile memorizzare i dati di un colore in molti spazi colore e codifiche. I metodi :ref:`srgb_to_linear()` e :ref:`linear_to_srgb()` consentono di convertire la codifica sRGB non lineare in una codifica RGB lineare e viceversa. -\ **Note:** In a boolean context, a Color will evaluate to ``false`` if it is equal to ``Color(0, 0, 0, 1)`` (opaque black). Otherwise, a Color will always evaluate to ``true``. +\ **Nota:** In un contesto booleano, un colore sarà valutato come ``false`` se è uguale a ``Color(0, 0, 0, 1)`` (nero opaco). Altrimenti, un colore sarà sempre valutato come ``true``. -\ `Color constants cheatsheet `__ +\ `Foglio riassuntivo delle costanti di colore `__ .. note:: @@ -1389,9 +1389,9 @@ Descrizioni delle proprietà :ref:`float` **a** = ``1.0`` :ref:`🔗` -The color's alpha component, typically on the range of 0 to 1. A value of 0 means that the color is fully transparent. A value of 1 means that the color is fully opaque. +Il componente alfa del colore, in genere compresa tra 0 e 1. Un valore pari a 0 indica che il colore è completamente trasparente. Un valore pari a 1 indica che il colore è completamente opaco. -\ **Note:** The alpha channel is always stored with linear encoding, regardless of the color space of the other color channels. The :ref:`linear_to_srgb()` and :ref:`srgb_to_linear()` methods do not affect the alpha channel. +\ **Nota:** Il canale alfa è sempre memorizzato con codifica lineare, a prescindere dallo spazio colore degli altri canali di colore. I metodi :ref:`linear_to_srgb()` e :ref:`srgb_to_linear()` non influiscono sul canale alfa. .. rst-class:: classref-item-separator diff --git a/classes/it/class_colorpicker.rst b/classes/it/class_colorpicker.rst index 486fc22ec7..ea45c37b02 100644 --- a/classes/it/class_colorpicker.rst +++ b/classes/it/class_colorpicker.rst @@ -205,7 +205,7 @@ enum **ColorModeType**: :ref:`🔗` :ref:`ColorModeType` **MODE_RGB** = ``0`` -Allows editing the color with Red/Green/Blue sliders in sRGB color space. +Consente di modificare il colore con gli slider del rosso, verde e blu nello spazio colore sRGB. .. _class_ColorPicker_constant_MODE_HSV: @@ -231,7 +231,7 @@ Consente di modificare il colore con i cursori della tonalità , saturazione e v :ref:`ColorModeType` **MODE_LINEAR** = ``2`` -Allows editing the color with Red/Green/Blue sliders in linear color space. +Consente di modificare il colore con gli slider del rosso, verde e blu nello spazio colore lineare. .. _class_ColorPicker_constant_MODE_OKHSL: @@ -301,7 +301,7 @@ La forma dello spazio colore e il pulsante di selezione della forma sono nascost :ref:`PickerShapeType` **SHAPE_OK_HS_RECTANGLE** = ``5`` -OKHSL Color Model rectangle with constant lightness. +Modello di colore OKHSL rettangolare con luminosità costante. .. _class_ColorPicker_constant_SHAPE_OK_HL_RECTANGLE: @@ -309,7 +309,7 @@ OKHSL Color Model rectangle with constant lightness. :ref:`PickerShapeType` **SHAPE_OK_HL_RECTANGLE** = ``6`` -OKHSL Color Model rectangle with constant saturation. +Modello di colore OKHSL rettangolare con saturazione costante. .. rst-class:: classref-section-separator @@ -433,7 +433,7 @@ Se ``true``, mostra uno slider per il canale alfa (opacità). - |void| **set_edit_intensity**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_editing_intensity**\ (\ ) -If ``true``, shows an intensity slider. The intensity is applied as follows: multiply the color by ``2 ** intensity`` in linear RGB space, and then convert it back to sRGB. +Se ``true``, mostra un cursore di intensità. L'intensità è applicata come segue: moltiplica il colore per ``2 ** intensità`` nello spazio RGB lineare, quindi lo converte nuovamente in sRGB. .. rst-class:: classref-item-separator @@ -616,7 +616,7 @@ Descrizioni delle proprietà del tema :ref:`Color` **focused_not_editing_cursor_color** = ``Color(1, 1, 1, 0.275)`` :ref:`🔗` -Color of rectangle or circle drawn when a picker shape part is focused but not editable via keyboard or joypad. Displayed *over* the picker shape, so a partially transparent color should be used to ensure the picker shape remains visible. +Colore del rettangolo o del cerchio disegnato quando una parte della forma del selettore è evidenziata ma non modificabile tramite tastiera o joypad. È visualizzato *sopra* la forma del selettore, quindi è consigliabile utilizzare un colore parzialmente trasparente per garantire che la forma del selettore rimanga visibile. .. rst-class:: classref-item-separator @@ -736,7 +736,7 @@ Texture personalizzata per lo slider di selezione della tonalità sulla destra. :ref:`Texture2D` **color_script** :ref:`🔗` -The icon for the button that switches color text to hexadecimal. +L'icona per il pulsante che cambia il colore da testo a esadecimale. .. rst-class:: classref-item-separator @@ -892,7 +892,7 @@ L'icona per le forme rettangolari della ruota di selezione. :ref:`StyleBox` **picker_focus_circle** :ref:`🔗` -The :ref:`StyleBox` used when the circle-shaped part of the picker is focused. Displayed *over* the picker shape, so a partially transparent :ref:`StyleBox` should be used to ensure the picker shape remains visible. A :ref:`StyleBox` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons. +Lo :ref:`StyleBox` utilizzato quando la parte circolare del selettore è evidenziata. È visualizzato *sopra* la forma del selettore, quindi è necessario utilizzare uno :ref:`StyleBox` parzialmente trasparente per garantire che la forma del selettore rimanga visibile. Uno :ref:`StyleBox` che rappresenta un contorno o una sottolineatura funziona bene per questo scopo. Per disabilitare l'effetto visivo del focus, assegna una risorsa :ref:`StyleBoxEmpty`. Tieni presente che disattivare l'effetto visivo di focus ridurrà l'usabilità della navigazione tramite tastiera o controller, perciò non è consigliato per motivi di accessibilità. .. rst-class:: classref-item-separator @@ -904,7 +904,7 @@ The :ref:`StyleBox` used when the circle-shaped part of the pick :ref:`StyleBox` **picker_focus_rectangle** :ref:`🔗` -The :ref:`StyleBox` used when the rectangle-shaped part of the picker is focused. Displayed *over* the picker shape, so a partially transparent :ref:`StyleBox` should be used to ensure the picker shape remains visible. A :ref:`StyleBox` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons. +Lo :ref:`StyleBox` utilizzato quando la parte rettangolare del selettore è evidenziata. È visualizzato *sopra* la forma del selettore, quindi è necessario utilizzare uno :ref:`StyleBox` parzialmente trasparente per garantire che la forma del selettore rimanga visibile. Uno :ref:`StyleBox` che rappresenta un contorno o una sottolineatura funziona bene per questo scopo. Per disabilitare l'effetto visivo del focus, assegna una risorsa :ref:`StyleBoxEmpty`. Tieni presente che disattivare l'effetto visivo di focus ridurrà l'usabilità della navigazione tramite tastiera o controller, perciò non è consigliato per motivi di accessibilità. .. rst-class:: classref-item-separator @@ -916,7 +916,7 @@ The :ref:`StyleBox` used when the rectangle-shaped part of the p :ref:`StyleBox` **sample_focus** :ref:`🔗` -The :ref:`StyleBox` used for the old color sample part when it is focused. Displayed *over* the sample, so a partially transparent :ref:`StyleBox` should be used to ensure the picker shape remains visible. A :ref:`StyleBox` that represents an outline or an underline works well for this purpose. To disable the focus visual effect, assign a :ref:`StyleBoxEmpty` resource. Note that disabling the focus visual effect will harm keyboard/controller navigation usability, so this is not recommended for accessibility reasons. +Lo :ref:`StyleBox` utilizzato per la parte del campione del colore precedente quando è evidenziato. È visualizzato *sopra* il campione, quindi è necessario utilizzare uno :ref:`StyleBox` parzialmente trasparente per garantire che la forma del selettore rimanga visibile. Uno :ref:`StyleBox` che rappresenta un contorno o una sottolineatura funziona bene per questo scopo. Per disabilitare l'effetto visivo del focus, assegna una risorsa :ref:`StyleBoxEmpty`. Tieni presente che disattivare l'effetto visivo di focus ridurrà l'usabilità della navigazione tramite tastiera o controller, perciò non è consigliato per motivi di accessibilità. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_colorpickerbutton.rst b/classes/it/class_colorpickerbutton.rst index bfbc8fdd90..5b347334b4 100644 --- a/classes/it/class_colorpickerbutton.rst +++ b/classes/it/class_colorpickerbutton.rst @@ -168,7 +168,7 @@ Se ``true``, il canale alfa nel :ref:`ColorPicker` visualizza - |void| **set_edit_intensity**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_editing_intensity**\ (\ ) -If ``true``, the intensity slider in the displayed :ref:`ColorPicker` will be visible. +Se ``true``, lo slider dell'intensità nel :ref:`ColorPicker` visualizzato sarà visibile. .. rst-class:: classref-section-separator diff --git a/classes/it/class_control.rst b/classes/it/class_control.rst index 04ef2671aa..d32c5a296b 100644 --- a/classes/it/class_control.rst +++ b/classes/it/class_control.rst @@ -511,7 +511,7 @@ Il nodo non può catturare il focus. Da utilizzare con :ref:`focus_mode` **FOCUS_CLICK** = ``1`` -Il nodo può catturare il focus solo tramite ii clic del mouse. Da utilizzare con :ref:`focus_mode`. +Il nodo può catturare il focus solo tramite i clic del mouse. Da utilizzare con :ref:`focus_mode`. .. _class_Control_constant_FOCUS_ALL: @@ -527,7 +527,7 @@ Il nodo può catturare il focus con un clic del mouse, usando le frecce e i tast :ref:`FocusMode` **FOCUS_ACCESSIBILITY** = ``3`` -The node can grab focus only when screen reader is active. Use with :ref:`focus_mode`. +Il nodo può catturare il focus solo quando il lettore dello schermo è attivo. Da utilizzare con :ref:`focus_mode`. .. rst-class:: classref-item-separator @@ -545,7 +545,7 @@ enum **FocusBehaviorRecursive**: :ref:`🔗 :ref:`FocusBehaviorRecursive` **FOCUS_BEHAVIOR_INHERITED** = ``0`` -Inherits the :ref:`focus_behavior_recursive` from the parent control. If there is no parent control, this is the same as :ref:`FOCUS_BEHAVIOR_ENABLED`. +Eredita il :ref:`focus_behavior_recursive` dal controllo padre. Se nessun controllo padre è presente, è uguale a :ref:`FOCUS_BEHAVIOR_ENABLED`. .. _class_Control_constant_FOCUS_BEHAVIOR_DISABLED: @@ -553,7 +553,7 @@ Inherits the :ref:`focus_behavior_recursive` **FOCUS_BEHAVIOR_DISABLED** = ``1`` -Prevents the control from getting focused. :ref:`get_focus_mode_with_override()` will return :ref:`FOCUS_NONE`. +Impedisce al controllo di ottenere il focus. :ref:`get_focus_mode_with_override()` restituirà :ref:`FOCUS_NONE`. .. _class_Control_constant_FOCUS_BEHAVIOR_ENABLED: @@ -561,7 +561,7 @@ Prevents the control from getting focused. :ref:`get_focus_mode_with_override()< :ref:`FocusBehaviorRecursive` **FOCUS_BEHAVIOR_ENABLED** = ``2`` -Allows the control to be focused, depending on the :ref:`focus_mode`. This can be used to ignore the parent's :ref:`focus_behavior_recursive`. :ref:`get_focus_mode_with_override()` will return the :ref:`focus_mode`. +Consente al controllo di ottenere il focus, a seconda di :ref:`focus_mode`. Si può utilizzare per ignorare il :ref:`focus_behavior_recursive` del padre. :ref:`get_focus_mode_with_override()` restituirà :ref:`focus_mode`. .. rst-class:: classref-item-separator @@ -579,7 +579,7 @@ enum **MouseBehaviorRecursive**: :ref:`🔗 :ref:`MouseBehaviorRecursive` **MOUSE_BEHAVIOR_INHERITED** = ``0`` -Inherits the :ref:`mouse_behavior_recursive` from the parent control. If there is no parent control, this is the same as :ref:`MOUSE_BEHAVIOR_ENABLED`. +Eredita il :ref:`mouse_behavior_recursive` dal controllo padre. Se nessun controllo padre è presente, è uguale a :ref:`MOUSE_BEHAVIOR_ENABLED`. .. _class_Control_constant_MOUSE_BEHAVIOR_DISABLED: @@ -587,7 +587,7 @@ Inherits the :ref:`mouse_behavior_recursive` **MOUSE_BEHAVIOR_DISABLED** = ``1`` -Prevents the control from receiving mouse input. :ref:`get_mouse_filter_with_override()` will return :ref:`MOUSE_FILTER_IGNORE`. +Impedisce al controllo di ricevere gli input del mouse. :ref:`get_mouse_filter_with_override()` restituirà :ref:`MOUSE_FILTER_IGNORE`. .. _class_Control_constant_MOUSE_BEHAVIOR_ENABLED: @@ -595,7 +595,7 @@ Prevents the control from receiving mouse input. :ref:`get_mouse_filter_with_ove :ref:`MouseBehaviorRecursive` **MOUSE_BEHAVIOR_ENABLED** = ``2`` -Allows the control to be receive mouse input, depending on the :ref:`mouse_filter`. This can be used to ignore the parent's :ref:`mouse_behavior_recursive`. :ref:`get_mouse_filter_with_override()` will return the :ref:`mouse_filter`. +Consente al controllo di ricevere gli input del mouse, a seconda di :ref:`mouse_filter`. Si può utilizzare per ignorare il :ref:`mouse_behavior_recursive` del padre. :ref:`get_focus_mode_with_override()` restituirà :ref:`focus_mode`. .. rst-class:: classref-item-separator @@ -1105,7 +1105,7 @@ Direzione di layout automatica, determinata dalla direzione di layout del contro :ref:`LayoutDirection` **LAYOUT_DIRECTION_APPLICATION_LOCALE** = ``1`` -Direzione del layout automatica, determinata dalle impostazioni locali attuali. La direzione di layout da destra a sinistra viene utilizzata automaticamente per le lingue che la richiedono, come l'arabo e l'ebraico, ma solo se viene caricato un file di traduzione valido per la lingua specificata (a meno che detta lingua non sia configurata come riserva in :ref:`ProjectSettings.internationalization/locale/fallback`). Per tutte le altre lingue (o se Godot non trova alcun file di traduzione valido), viene utilizzata la direzione di layout da sinistra a destra. Se si utilizza :ref:`TextServerFallback` (:ref:`ProjectSettings.internationalization/rendering/text_driver`), la direzione di layout da sinistra a destra viene sempre utilizzata a prescindere dalla lingua. La direzione di layout da destra a sinistra può anche essere forzata tramite :ref:`ProjectSettings.internationalization/rendering/force_right_to_left_layout_direction`. +Direzione del layout automatica, determinata dalla lingua attuale. La direzione di layout da destra a sinistra viene utilizzata automaticamente per le lingue che la richiedono, come l'arabo e l'ebraico, ma solo se viene caricato un file di traduzione valido per la lingua specificata (a meno che detta lingua non sia configurata come riserva in :ref:`ProjectSettings.internationalization/locale/fallback`). Per tutte le altre lingue (o se Godot non trova alcun file di traduzione valido), è utilizzata la direzione di layout da sinistra a destra. Se si sta utilizzando :ref:`TextServerFallback` (:ref:`ProjectSettings.internationalization/rendering/text_driver`), la direzione di layout da sinistra a destra è sempre utilizzata a prescindere dalla lingua. La direzione di layout da destra a sinistra può anche essere forzata tramite :ref:`ProjectSettings.internationalization/rendering/force_right_to_left_layout_direction`. .. _class_Control_constant_LAYOUT_DIRECTION_LTR: @@ -1129,7 +1129,7 @@ Direzione di layout da destra a sinistra. :ref:`LayoutDirection` **LAYOUT_DIRECTION_SYSTEM_LOCALE** = ``4`` -Automatic layout direction, determined from the system locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language. For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using :ref:`TextServerFallback` (:ref:`ProjectSettings.internationalization/rendering/text_driver`), left-to-right layout direction is always used regardless of the language. +Direzione del layout automatica, determinata dalle impostazioni locali del sistema. La direzione di layout da destra a sinistra è utilizzata automaticamente per le lingue che la richiedono, come l'arabo e l'ebraico, ma solo se è stato caricato un file di traduzione valido per la lingua specificata. Per tutte le altre lingue (o se Godot non trova un file di traduzione valido), è utilizzata la direzione di layout da sinistra a destra. Se si utilizza :ref:`TextServerFallback` (:ref:`ProjectSettings.internationalization/rendering/text_driver`), la direzione di layout da sinistra a destra è sempre utilizzata a prescindere dalla lingua. .. _class_Control_constant_LAYOUT_DIRECTION_MAX: @@ -1173,7 +1173,7 @@ La direzione di scrittura del testo è la stessa della direzione del layout. :ref:`TextDirection` **TEXT_DIRECTION_AUTO** = ``0`` -Direzione automatica di scrittura del testo, determinata in base al locale attuale e al contenuto del testo. +Direzione automatica di scrittura del testo, determinata in base alla lingua attuale e al contenuto del testo. .. _class_Control_constant_TEXT_DIRECTION_LTR: @@ -1352,7 +1352,7 @@ Descrizioni delle proprietà - |void| **set_accessibility_controls_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_controls_nodes**\ (\ ) -The paths to the nodes which are controlled by this node. +I percorsi ai nodi controllati da questo nodo. .. rst-class:: classref-item-separator @@ -1369,7 +1369,7 @@ The paths to the nodes which are controlled by this node. - |void| **set_accessibility_described_by_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_described_by_nodes**\ (\ ) -The paths to the nodes which are describing this node. +I percorsi ai nodi che descrivono questo nodo. .. rst-class:: classref-item-separator @@ -1386,7 +1386,7 @@ The paths to the nodes which are describing this node. - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La descrizione del nodo leggibile in chiaro che è riportata alle applicazioni assistive. .. rst-class:: classref-item-separator @@ -1403,7 +1403,7 @@ The human-readable node description that is reported to assistive apps. - |void| **set_accessibility_flow_to_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_flow_to_nodes**\ (\ ) -The paths to the nodes which this node flows into. +I percorsi ai nodi in cui fluisce questo nodo. .. rst-class:: classref-item-separator @@ -1420,7 +1420,7 @@ The paths to the nodes which this node flows into. - |void| **set_accessibility_labeled_by_nodes**\ (\ value\: :ref:`Array`\[:ref:`NodePath`\]\ ) - :ref:`Array`\[:ref:`NodePath`\] **get_accessibility_labeled_by_nodes**\ (\ ) -The paths to the nodes which label this node. +I percorsi ai nodi che etichettano questo nodo. .. rst-class:: classref-item-separator @@ -1437,7 +1437,7 @@ The paths to the nodes which label this node. - |void| **set_accessibility_live**\ (\ value\: :ref:`AccessibilityLiveMode`\ ) - :ref:`AccessibilityLiveMode` **get_accessibility_live**\ (\ ) -The mode with which a live region updates. A live region is a :ref:`Node` that is updated as a result of an external event when the user's focus may be elsewhere. +La modalità con cui una regione attiva si aggiorna. Una regione attiva è un :ref:`Node` che viene aggiornato in seguito a un evento esterno quando l'attenzione dell'utente potrebbe essere rivolta altrove. .. rst-class:: classref-item-separator @@ -1454,7 +1454,7 @@ The mode with which a live region updates. A live region is a :ref:`Node`\ ) - :ref:`String` **get_accessibility_name**\ (\ ) -The human-readable node name that is reported to assistive apps. +Il nome del nodo leggibile in chiaro che è riportato alle applicazioni assistive. .. rst-class:: classref-item-separator @@ -1588,7 +1588,7 @@ Le dimensioni minime del rettangolo di delimitazione del nodo. Se impostate su u - |void| **set_focus_behavior_recursive**\ (\ value\: :ref:`FocusBehaviorRecursive`\ ) - :ref:`FocusBehaviorRecursive` **get_focus_behavior_recursive**\ (\ ) -Determines which controls can be focused together with :ref:`focus_mode`. See :ref:`get_focus_mode_with_override()`. Since the default behavior is :ref:`FOCUS_BEHAVIOR_INHERITED`, this can be used to prevent all children controls from getting focused. +Determina quali controlli si possono focalizzare insieme a :ref:`focus_mode`. Vedi :ref:`get_focus_mode_with_override()`. Poiché il comportamento predefinito è :ref:`FOCUS_BEHAVIOR_INHERITED`, questo si può utilizzare per impedire a tutti i controlli figlio di avere il focus. .. rst-class:: classref-item-separator @@ -1605,7 +1605,7 @@ Determines which controls can be focused together with :ref:`focus_mode`\ ) - :ref:`FocusMode` **get_focus_mode**\ (\ ) -Determines which controls can be focused. Only one control can be focused at a time, and the focused control will receive keyboard, gamepad, and mouse events in :ref:`_gui_input()`. Use :ref:`get_focus_mode_with_override()` to determine if a control can grab focus, since :ref:`focus_behavior_recursive` also affects it. See also :ref:`grab_focus()`. +Determina quali controlli si possono focalizzare. È possibile focalizzare un solo controllo alla volta e il controllo focalizzato riceverà eventi da tastiera, gamepad e mouse in :ref:`_gui_input()`. Usa :ref:`get_focus_mode_with_override()` per determinare se un controllo può ottenere il focus, poiché anche :ref:`focus_behavior_recursive` lo influenza. Vedi anche :ref:`grab_focus()`. .. rst-class:: classref-item-separator @@ -1795,7 +1795,7 @@ Controlla la direzione del layout e la direzione della scrittura del testo. I la - |void| **set_localize_numeral_system**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_localizing_numeral_system**\ (\ ) -Se ``true``, converte automaticamente i numeri di riga del codice, gli indici di elenco, i valori di :ref:`SpinBox` e :ref:`ProgressBar` dall'arabo occidentale (0..9) ai sistemi numerici utilizzati nel locale attuale. +Se ``true``, converte automaticamente i numeri di riga del codice, gli indici di elenco, i valori di :ref:`SpinBox` e :ref:`ProgressBar` dall'arabo occidentale (0..9) ai sistemi numerici utilizzati nella lingua attuale. \ **Nota:** I numeri all'interno di testo non sono convertiti automaticamente, è possibile farlo manualmente, tramite :ref:`TextServer.format_number()`. @@ -1814,7 +1814,7 @@ Se ``true``, converte automaticamente i numeri di riga del codice, gli indici di - |void| **set_mouse_behavior_recursive**\ (\ value\: :ref:`MouseBehaviorRecursive`\ ) - :ref:`MouseBehaviorRecursive` **get_mouse_behavior_recursive**\ (\ ) -Determines which controls can receive mouse input together with :ref:`mouse_filter`. See :ref:`get_mouse_filter_with_override()`. Since the default behavior is :ref:`MOUSE_BEHAVIOR_INHERITED`, this can be used to prevent all children controls from receiving mouse input. +Determina quali controlli possono ricevere input del mouse insieme a :ref:`mouse_filter`. Vedi :ref:`get_mouse_filter_with_override()`. Poiché il comportamento predefinito è :ref:`MOUSE_BEHAVIOR_INHERITED`, questo si può utilizzare per impedire a tutti i controlli figlio di ricevere input del mouse. .. rst-class:: classref-item-separator @@ -1850,7 +1850,7 @@ La forma predefinita del cursore per questo controllo. Utile per le estensioni d - |void| **set_mouse_filter**\ (\ value\: :ref:`MouseFilter`\ ) - :ref:`MouseFilter` **get_mouse_filter**\ (\ ) -Determines which controls will be able to receive mouse button input events through :ref:`_gui_input()` and the :ref:`mouse_entered`, and :ref:`mouse_exited` signals. Also determines how these events should be propagated. See the constants to learn what each does. Use :ref:`get_mouse_filter_with_override()` to determine if a control can receive mouse input, since :ref:`mouse_behavior_recursive` also affects it. +Determina quali controlli saranno in grado di ricevere eventi di input dei pulsanti del mouse tramite :ref:`_gui_input()` e i segnali :ref:`mouse_entered` e :ref:`mouse_exited`. Determina inoltre come questi eventi si devono propagare. Consulta le costanti per scoprire a cosa serve ciascuna di esse. Usa :ref:`get_mouse_filter_with_override()` per determinare se un controllo può ricevere input del mouse, poiché anche :ref:`mouse_behavior_recursive` lo influenza. .. rst-class:: classref-item-separator @@ -1871,7 +1871,7 @@ Se abilitato, gli eventi della rotellina di scorrimento elaborati da :ref:`_gui_ Dovresti disabilitarlo nel controllo radice della tua interfaccia utente se non vuoi che gli eventi di scorrimento vengano elaborati in :ref:`Node._unhandled_input()`. -\ **Nota:** Poiché questa proprietà è predefinita su ``true``, ciò consente ai contenitori scorrevoli nidificati di funzionare senza aver bisogno di modifiche. +\ **Nota:** Poiché questa proprietà è predefinita su ``true``, ciò consente ai contenitori scorrevoli annidati di funzionare senza aver bisogno di modifiche. .. rst-class:: classref-item-separator @@ -2033,13 +2033,13 @@ Proprietà di supporto per accedere al :ref:`rotation`\ ) - :ref:`Vector2` **get_scale**\ (\ ) -The node's scale, relative to its :ref:`size`. Change this property to scale the node around its :ref:`pivot_offset`. The Control's tooltip will also scale according to this value. +La scala del nodo, relativa alle sue dimensioni (:ref:`size`). Modifica questa proprietà per ridimensionare il nodo attorno al suo :ref:`pivot_offset`. Anche il :ref:`tooltip_text` del Control sarà ridimensionato in base a questo valore. -\ **Note:** This property is mainly intended to be used for animation purposes. To support multiple resolutions in your project, use an appropriate viewport stretch mode as described in the :doc:`documentation <../tutorials/rendering/multiple_resolutions>` instead of scaling Controls individually. +\ **Nota:** Questa proprietà è principalmente progettata per le animazioni. Per supportare più risoluzioni nel tuo progetto, usa una modalità appropriata di stiramento della viewport come descritto nella :doc:`documentazione <../tutorials/rendering/multiple_resolutions>`, invece di ridimensionare i controlli individualmente. -\ **Note:** :ref:`FontFile.oversampling` does *not* take **Control** :ref:`scale` into account. This means that scaling up/down will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated. To ensure text remains crisp regardless of scale, you can enable MSDF font rendering by enabling :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, :ref:`SystemFont.multichannel_signed_distance_field` can be enabled in the inspector. +\ **Nota:** :ref:`FontFile.oversampling` *non* tiene conto della scala del **Control**. Ciò significa che ingrandire o rimpicciolire il controllo renderà sfocati o pixelati i font bitmap e i font dinamici rasterizzati (non MSDF). Per garantire che il testo rimanga nitido a prescindere dalla scala, è possibile abilitare il rendering dei font MSDF abilitando :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (si applica solo al font predefinito del progetto) o abilitando **Multichannel Signed Distance Field** nelle opzioni di importazione di un DynamicFont per font personalizzati. Sui font di sistema, è possibile abilitare :ref:`SystemFont.multichannel_signed_distance_field` nell'Ispettore. -\ **Note:** If the Control node is a child of a :ref:`Container` node, the scale will be reset to ``Vector2(1, 1)`` when the scene is instantiated. To set the Control's scale when it's instantiated, wait for one frame using ``await get_tree().process_frame`` then set its :ref:`scale` property. +\ **Nota:** Se il nodo Control è un figlio di un nodo :ref:`Container`, la scala sarà reimpostata su ``Vector(1, 1)`` quando la scena viene istanziata. Per impostare la scala del Control quando viene istanziato, attendi un frame usando ``await get_tree().process_frame`` quindi imposta la sua proprietà :ref:`scale`. .. rst-class:: classref-item-separator @@ -2072,7 +2072,7 @@ Il :ref:`Node` che deve essere un genitore del **Control** focalizza - :ref:`Vector2` **get_size**\ (\ ) -La dimensione del rettangolo limite del nodo, nel sistema di coordinate del nodo. I nodi :ref:`Container` aggiornano questa proprietà automaticamente. +La dimensione del rettangolo di delimitazione del nodo, nel sistema di coordinate del nodo. I nodi :ref:`Container` aggiornano questa proprietà automaticamente. .. rst-class:: classref-item-separator @@ -2245,7 +2245,7 @@ Descrizioni dei metodi :ref:`String` **_accessibility_get_contextual_info**\ (\ ) |virtual| |const| :ref:`🔗` -Return the description of the keyboard shortcuts and other contextual help for this control. +Restituisce la descrizione delle scorciatoie da tastiera e altre informazioni contestuali per questo controllo. .. rst-class:: classref-item-separator @@ -2257,11 +2257,11 @@ Return the description of the keyboard shortcuts and other contextual help for t :ref:`bool` **_can_drop_data**\ (\ at_position\: :ref:`Vector2`, data\: :ref:`Variant`\ ) |virtual| |const| :ref:`🔗` -Godot calls this method to test if ``data`` from a control's :ref:`_get_drag_data()` can be dropped at ``at_position``. ``at_position`` is local to this control. +Godot chiama questo metodo per verificare se ``data`` da un :ref:`_get_drag_data()` di un controllo può essere rilasciato nella posizione ``at_position``. ``at_position`` è locale a questo controllo. -This method should only be used to test the data. Process the data in :ref:`_drop_data()`. +Questo metodo dovrebbe essere utilizzato solo per verificare i dati. Elabora i dati in :ref:`_drop_data()`. -\ **Note:** If the drag was initiated by a keyboard shortcut or :ref:`accessibility_drag()`, ``at_position`` is set to :ref:`Vector2.INF`, and the currently selected item/text position should be used as the drop position. +\ **Nota:** Se il trascinamento è stato avviato tramite una scorciatoia da tastiera o :ref:`accessibility_drag()`, ``at_position`` è impostato su :ref:`Vector2.INF` e si dovrebbe utilizzare la posizione dell'elemento/testo attualmente selezionato come posizione di rilascio. .. tabs:: @@ -2269,17 +2269,17 @@ This method should only be used to test the data. Process the data in :ref:`_dro .. code-tab:: gdscript func _can_drop_data(position, data): - # Check position if it is relevant to you - # Otherwise, just check data - return typeof(data) == TYPE_DICTIONARY and data.has("expected") + # Controlla la posizione se ti interessa + # Altrimenti, controlla solo i dati + return typeof(data) == TYPE_DICTIONARY and data.has("previsto") .. code-tab:: csharp public override bool _CanDropData(Vector2 atPosition, Variant data) { - // Check position if it is relevant to you - // Otherwise, just check data - return data.VariantType == Variant.Type.Dictionary && data.AsGodotDictionary().ContainsKey("expected"); + // Controlla la posizione se ti interessa + // Altrimenti, controlla solo i dati + return data.VariantType == Variant.Type.Dictionary && data.AsGodotDictionary().ContainsKey("previsto"); } @@ -2294,9 +2294,9 @@ This method should only be used to test the data. Process the data in :ref:`_dro |void| **_drop_data**\ (\ at_position\: :ref:`Vector2`, data\: :ref:`Variant`\ ) |virtual| :ref:`🔗` -Godot calls this method to pass you the ``data`` from a control's :ref:`_get_drag_data()` result. Godot first calls :ref:`_can_drop_data()` to test if ``data`` is allowed to drop at ``at_position`` where ``at_position`` is local to this control. +Godot chiama questo metodo per passare ``data`` dal risultato di :ref:`_get_drag_data()` di un controllo. Godot chiama prima :ref:`_can_drop_data()` per verificare se ``data`` può essere rilasciato nella posizione ``at_position``, dove ``at_position`` è locale a questo controllo. -\ **Note:** If the drag was initiated by a keyboard shortcut or :ref:`accessibility_drag()`, ``at_position`` is set to :ref:`Vector2.INF`, and the currently selected item/text position should be used as the drop position. +\ **Nota:** Se il trascinamento è stato avviato tramite una scorciatoia da tastiera o :ref:`accessibility_drag()`, ``at_position`` è impostato su :ref:`Vector2.INF` e si dovrebbe utilizzare la posizione dell'elemento/testo attualmente selezionato come posizione di rilascio. .. tabs:: @@ -2304,21 +2304,21 @@ Godot calls this method to pass you the ``data`` from a control's :ref:`_get_dra .. code-tab:: gdscript func _can_drop_data(position, data): - return typeof(data) == TYPE_DICTIONARY and data.has("color") + return typeof(data) == TYPE_DICTIONARY and data.has("colore") func _drop_data(position, data): - var color = data["color"] + var colore= data["colore"] .. code-tab:: csharp public override bool _CanDropData(Vector2 atPosition, Variant data) { - return data.VariantType == Variant.Type.Dictionary && data.AsGodotDictionary().ContainsKey("color"); + return data.VariantType == Variant.Type.Dictionary && dict.AsGodotDictionary().ContainsKey("colore"); } public override void _DropData(Vector2 atPosition, Variant data) { - Color color = data.AsGodotDictionary()["color"].AsColor(); + Color colore = data.AsGodotDictionary()["colore"].AsColor(); } @@ -2333,7 +2333,7 @@ Godot calls this method to pass you the ``data`` from a control's :ref:`_get_dra :ref:`String` **_get_accessibility_container_name**\ (\ node\: :ref:`Node`\ ) |virtual| |const| :ref:`🔗` -Override this method to return a human-readable description of the position of the child ``node`` in the custom container, added to the :ref:`accessibility_name`. +Sovrascrivi questo metodo per restituire una descrizione leggibile in chiaro dalla posizione del nodo figlio ``node`` nel contenitore personalizzato, aggiunto a :ref:`accessibility_name`. .. rst-class:: classref-item-separator @@ -2345,11 +2345,11 @@ Override this method to return a human-readable description of the position of t :ref:`Variant` **_get_drag_data**\ (\ at_position\: :ref:`Vector2`\ ) |virtual| :ref:`🔗` -Godot calls this method to get data that can be dragged and dropped onto controls that expect drop data. Returns ``null`` if there is no data to drag. Controls that want to receive drop data should implement :ref:`_can_drop_data()` and :ref:`_drop_data()`. ``at_position`` is local to this control. Drag may be forced with :ref:`force_drag()`. +Godot chiama questo metodo per ottenere dati che possono essere trascinati e rilasciati su controlli che prevedono dati di rilascio. Restituisce ``null`` se non ci sono dati da trascinare. I controlli che vogliono ricevere dati di rilascio devono implementare :ref:`_can_drop_data()` e :ref:`_drop_data()`. La posizione ``at_position`` è locale a questo controllo. Il trascinamento può essere forzato con :ref:`force_drag()`. -A preview that will follow the mouse that should represent the data can be set with :ref:`set_drag_preview()`. A good time to set the preview is in this method. +Un'anteprima che seguirà il mouse che dovrebbe rappresentare i dati può essere impostata con :ref:`set_drag_preview()`. Un buon momento per impostare l'anteprima è in questo metodo. -\ **Note:** If the drag was initiated by a keyboard shortcut or :ref:`accessibility_drag()`, ``at_position`` is set to :ref:`Vector2.INF`, and the currently selected item/text position should be used as the drag position. +\ **Nota:** Se il trascinamento è stato avviato tramite una scorciatoia da tastiera o :ref:`accessibility_drag()`, ``at_position`` è impostato su :ref:`Vector2.INF` e si dovrebbe utilizzare la posizione dell'elemento/testo attualmente selezionato come posizione di rilascio. .. tabs:: @@ -2357,16 +2357,16 @@ A preview that will follow the mouse that should represent the data can be set w .. code-tab:: gdscript func _get_drag_data(position): - var mydata = make_data() # This is your custom method generating the drag data. - set_drag_preview(make_preview(mydata)) # This is your custom method generating the preview of the drag data. + var mydata = make_data() # Questo è il tuo metodo personalizzato che genera i dati di trascinamento. + set_drag_preview(make_preview(mydata)) # Questo è il tuo metodo personalizzato che genera l'anteprima dei dati di trascinamento. return mydata .. code-tab:: csharp public override Variant _GetDragData(Vector2 atPosition) { - var myData = MakeData(); // This is your custom method generating the drag data. - SetDragPreview(MakePreview(myData)); // This is your custom method generating the preview of the drag data. + var myData = MakeData(); // Questo è il tuo metodo personalizzato che genera i dati di trascinamento. + SetDragPreview(MakePreview(myData)); // Questo è il tuo metodo personalizzato che genera l'anteprima dei dati di trascinamento. return myData; } @@ -2577,7 +2577,7 @@ Contrassegna un evento di input come gestito. Una volta accettato un evento di i |void| **accessibility_drag**\ (\ ) :ref:`🔗` -Starts drag-and-drop operation without using a mouse. +Avvia un'operazione di trascinamento senza l'utilizzo del mouse. .. rst-class:: classref-item-separator @@ -2589,7 +2589,7 @@ Starts drag-and-drop operation without using a mouse. |void| **accessibility_drop**\ (\ ) :ref:`🔗` -Ends drag-and-drop operation without using a mouse. +Termina un'operazione di trascinamento senza l'utilizzo del mouse. .. rst-class:: classref-item-separator @@ -2853,7 +2853,7 @@ Restituisce le dimensioni minime combinate da :ref:`custom_minimum_size` **get_cursor_shape**\ (\ position\: :ref:`Vector2` = Vector2(0, 0)\ ) |const| :ref:`🔗` -Returns the mouse cursor shape for this control when hovered over ``position`` in local coordinates. For most controls, this is the same as :ref:`mouse_default_cursor_shape`, but some built-in controls implement more complex logic. +Restituisce la forma del cursore del mouse per questo controllo quando si passa il mouse sulla posizione ``position`` in coordinate locali. Per la maggior parte dei controlli, questo è uguale a :ref:`mouse_default_cursor_shape`, ma alcuni controlli integrati implementano una logica più complessa. .. rst-class:: classref-item-separator @@ -2877,7 +2877,7 @@ Restituisce :ref:`offset_right` e :ref:`off :ref:`FocusMode` **get_focus_mode_with_override**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`focus_mode`, but takes the :ref:`focus_behavior_recursive` into account. If :ref:`focus_behavior_recursive` is set to :ref:`FOCUS_BEHAVIOR_DISABLED`, or it is set to :ref:`FOCUS_BEHAVIOR_INHERITED` and its ancestor is set to :ref:`FOCUS_BEHAVIOR_DISABLED`, then this returns :ref:`FOCUS_NONE`. +Restituisce :ref:`focus_mode`, ma tiene conto di :ref:`focus_behavior_recursive`. Se :ref:`focus_behavior_recursive` è impostato su :ref:`FOCUS_BEHAVIOR_DISABLED`, oppure è impostato su :ref:`FOCUS_BEHAVIOR_INHERITED` e il suo antenato è impostato su :ref:`FOCUS_BEHAVIOR_DISABLED`, allora restituisce :ref:`FOCUS_NONE`. .. rst-class:: classref-item-separator @@ -2931,7 +2931,7 @@ Restituisce le dimensioni minime per questo controllo. Vedi :ref:`custom_minimum :ref:`MouseFilter` **get_mouse_filter_with_override**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`mouse_filter`, but takes the :ref:`mouse_behavior_recursive` into account. If :ref:`mouse_behavior_recursive` is set to :ref:`MOUSE_BEHAVIOR_DISABLED`, or it is set to :ref:`MOUSE_BEHAVIOR_INHERITED` and its ancestor is set to :ref:`MOUSE_BEHAVIOR_DISABLED`, then this returns :ref:`MOUSE_FILTER_IGNORE`. +Restituisce :ref:`mouse_filter`, ma tiene conto di :ref:`mouse_behavior_recursive`. Se :ref:`mouse_behavior_recursive` è impostato su :ref:`MOUSE_BEHAVIOR_DISABLED`, oppure è impostato su :ref:`MOUSE_BEHAVIOR_INHERITED` e il suo antenato è impostato su :ref:`MOUSE_BEHAVIOR_DISABLED`, allora restituisce :ref:`MOUSE_FILTER_IGNORE`. .. rst-class:: classref-item-separator @@ -3419,7 +3419,7 @@ Meglio usata con :ref:`Node.NOTIFICATION_DRAG_END` **is_layout_rtl**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the layout is right-to-left. See also :ref:`layout_direction`. +Restituisce ``true`` se il layout è da destra a sinistra. Vedi anche :ref:`layout_direction`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_converttransformmodifier3d.rst b/classes/it/class_converttransformmodifier3d.rst index 325bc701c7..15abf8276e 100644 --- a/classes/it/class_converttransformmodifier3d.rst +++ b/classes/it/class_converttransformmodifier3d.rst @@ -7,7 +7,7 @@ ConvertTransformModifier3D **Eredita:** :ref:`BoneConstraint3D` **<** :ref:`SkeletonModifier3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -A :ref:`SkeletonModifier3D` that apply transform to the bone which converted from reference. +Uno :ref:`SkeletonModifier3D` per applicare una trasformazione all'osso che è convertito dal riferimento. .. rst-class:: classref-introduction-group @@ -117,7 +117,7 @@ enum **TransformMode**: :ref:`🔗` **TRANSFORM_MODE_POSITION** = ``0`` -Convert with position. Transfer the difference. +Converte con la posizione. Trasferisce la differenza. .. _class_ConvertTransformModifier3D_constant_TRANSFORM_MODE_ROTATION: @@ -125,7 +125,7 @@ Convert with position. Transfer the difference. :ref:`TransformMode` **TRANSFORM_MODE_ROTATION** = ``1`` -Convert with rotation. The angle is the roll for the specified axis. +Converti con la rotazione. L'angolo è il rollio dell'asse specificato. .. _class_ConvertTransformModifier3D_constant_TRANSFORM_MODE_SCALE: @@ -133,7 +133,7 @@ Convert with rotation. The angle is the roll for the specified axis. :ref:`TransformMode` **TRANSFORM_MODE_SCALE** = ``2`` -Convert with scale. Transfers the ratio, not the difference. +Converti con la scala. Trasferisci il rapporto, non la differenza. .. rst-class:: classref-section-separator @@ -172,7 +172,7 @@ Descrizioni dei metodi :ref:`Axis` **get_apply_axis**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the axis of the remapping destination transform. +Restituisce l'asse della trasformazione di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -184,7 +184,7 @@ Returns the axis of the remapping destination transform. :ref:`float` **get_apply_range_max**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the maximum value of the remapping destination range. +Restituisce il valore massimo dell'intervallo di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -196,7 +196,7 @@ Returns the maximum value of the remapping destination range. :ref:`float` **get_apply_range_min**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the minimum value of the remapping destination range. +Restituisce il valore minimo dell'intervallo di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -208,7 +208,7 @@ Returns the minimum value of the remapping destination range. :ref:`TransformMode` **get_apply_transform_mode**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the operation of the remapping destination transform. +Restituisce l'operazione della trasformazione di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -220,7 +220,7 @@ Returns the operation of the remapping destination transform. :ref:`Axis` **get_reference_axis**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the axis of the remapping source transform. +Restituisce l'asse della trasformazione di origine di rimappatura. .. rst-class:: classref-item-separator @@ -232,7 +232,7 @@ Returns the axis of the remapping source transform. :ref:`float` **get_reference_range_max**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the maximum value of the remapping source range. +Restituisce il valore massimo dell'intervallo di origine di rimappatura. .. rst-class:: classref-item-separator @@ -244,7 +244,7 @@ Returns the maximum value of the remapping source range. :ref:`float` **get_reference_range_min**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the minimum value of the remapping source range. +Restituisce il valore minimo dell'intervallo di origine di rimappatura. .. rst-class:: classref-item-separator @@ -268,7 +268,7 @@ Returns the operation of the remapping source transform. :ref:`bool` **is_additive**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the additive option is enabled in the setting at ``index``. +Restituisce ``true`` se l'opzione "additiva" è abilitata nell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -280,7 +280,7 @@ Returns ``true`` if the additive option is enabled in the setting at ``index``. :ref:`bool` **is_relative**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the relative option is enabled in the setting at ``index``. +Restituisce ``true`` se l'opzione "relativa" è abilitata nell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -308,7 +308,7 @@ If sets ``enabled`` to ``false``, the pose of the current apply bone is replaced |void| **set_apply_axis**\ (\ index\: :ref:`int`, axis\: :ref:`Axis`\ ) :ref:`🔗` -Sets the axis of the remapping destination transform. +Imposta l'asse della trasformazione di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -320,7 +320,7 @@ Sets the axis of the remapping destination transform. |void| **set_apply_range_max**\ (\ index\: :ref:`int`, range_max\: :ref:`float`\ ) :ref:`🔗` -Sets the maximum value of the remapping destination range. +Imposta il valore massimo dell'intervallo di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -332,7 +332,7 @@ Sets the maximum value of the remapping destination range. |void| **set_apply_range_min**\ (\ index\: :ref:`int`, range_min\: :ref:`float`\ ) :ref:`🔗` -Sets the minimum value of the remapping destination range. +Imposta il valore minimo dell'intervallo di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -344,7 +344,7 @@ Sets the minimum value of the remapping destination range. |void| **set_apply_transform_mode**\ (\ index\: :ref:`int`, transform_mode\: :ref:`TransformMode`\ ) :ref:`🔗` -Sets the operation of the remapping destination transform. +Imposta l'operazione dell'intervallo di destinazione di rimappatura. .. rst-class:: classref-item-separator @@ -356,7 +356,7 @@ Sets the operation of the remapping destination transform. |void| **set_reference_axis**\ (\ index\: :ref:`int`, axis\: :ref:`Axis`\ ) :ref:`🔗` -Sets the axis of the remapping source transform. +Imposta l'asse dell'intervallo di origine di rimappatura. .. rst-class:: classref-item-separator @@ -368,7 +368,7 @@ Sets the axis of the remapping source transform. |void| **set_reference_range_max**\ (\ index\: :ref:`int`, range_max\: :ref:`float`\ ) :ref:`🔗` -Sets the maximum value of the remapping source range. +Imposta il valore massimo della trasformazione di origine di rimappatura. .. rst-class:: classref-item-separator @@ -380,7 +380,7 @@ Sets the maximum value of the remapping source range. |void| **set_reference_range_min**\ (\ index\: :ref:`int`, range_min\: :ref:`float`\ ) :ref:`🔗` -Sets the minimum value of the remapping source range. +Imposta il valore minimo della trasformazione di origine di rimappatura. .. rst-class:: classref-item-separator @@ -392,7 +392,7 @@ Sets the minimum value of the remapping source range. |void| **set_reference_transform_mode**\ (\ index\: :ref:`int`, transform_mode\: :ref:`TransformMode`\ ) :ref:`🔗` -Sets the operation of the remapping source transform. +Imposta l'operazione della trasformazione di origine di rimappatura. .. rst-class:: classref-item-separator @@ -404,11 +404,11 @@ Sets the operation of the remapping source transform. |void| **set_relative**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Sets relative option in the setting at ``index`` to ``enabled``. +Imposta l'opzione relativa nell'impostazione all'indice ``index`` su ``enabled``. -If sets ``enabled`` to ``true``, the extracted and applying transform is relative to the rest. +Se ``enabled`` è impostato su ``true``, la trasformazione estratta e applicata è relativa al riposo. -If sets ``enabled`` to ``false``, the extracted transform is absolute. +Se ``enabled`` è impostato su ``false``, la trasformazione estratta è assoluta. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_copytransformmodifier3d.rst b/classes/it/class_copytransformmodifier3d.rst index 132e4e752f..bb6849da44 100644 --- a/classes/it/class_copytransformmodifier3d.rst +++ b/classes/it/class_copytransformmodifier3d.rst @@ -7,7 +7,7 @@ CopyTransformModifier3D **Eredita:** :ref:`BoneConstraint3D` **<** :ref:`SkeletonModifier3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -A :ref:`SkeletonModifier3D` that apply transform to the bone which copied from reference. +Uno :ref:`SkeletonModifier3D` che applica una trasformazione all'osso che ha copiato dal riferimento. .. rst-class:: classref-introduction-group @@ -238,7 +238,7 @@ Descrizioni dei metodi |bitfield|\[:ref:`AxisFlag`\] **get_axis_flags**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the axis flags of the setting at ``index``. +Restituisce i flag di asse dell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -250,7 +250,7 @@ Returns the axis flags of the setting at ``index``. |bitfield|\[:ref:`TransformFlag`\] **get_copy_flags**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the copy flags of the setting at ``index``. +Restituisce i flag di copia dell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -262,7 +262,7 @@ Returns the copy flags of the setting at ``index``. |bitfield|\[:ref:`AxisFlag`\] **get_invert_flags**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the invert flags of the setting at ``index``. +Restituisce i flag di inversione dell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -274,7 +274,7 @@ Returns the invert flags of the setting at ``index``. :ref:`bool` **is_additive**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the additive option is enabled in the setting at ``index``. +Restituisce ``true`` se l'opzione "additiva" è abilitata nell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -286,7 +286,7 @@ Returns ``true`` if the additive option is enabled in the setting at ``index``. :ref:`bool` **is_axis_x_enabled**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the enable flags has the flag for the X-axis in the setting at ``index``. See also :ref:`set_axis_flags()`. +Restituisce ``true`` se i flag di abilitazione hanno il flag per l'asse X nell'impostazione all'indice ``index``. Vedi anche :ref:`set_axis_flags()`. .. rst-class:: classref-item-separator @@ -298,7 +298,7 @@ Returns ``true`` if the enable flags has the flag for the X-axis in the setting :ref:`bool` **is_axis_x_inverted**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the invert flags has the flag for the X-axis in the setting at ``index``. See also :ref:`set_invert_flags()`. +Restituisce ``true`` se i flag di inversione hanno il flag per l'asse X nell'impostazione all'indice ``index``. Vedi anche :ref:`set_invert_flags()`. .. rst-class:: classref-item-separator @@ -310,7 +310,7 @@ Returns ``true`` if the invert flags has the flag for the X-axis in the setting :ref:`bool` **is_axis_y_enabled**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the enable flags has the flag for the Y-axis in the setting at ``index``. See also :ref:`set_axis_flags()`. +Restituisce ``true`` se i flag di abilitazione hanno il flag per l'asse Y nell'impostazione all'indice ``index``. Vedi anche :ref:`set_axis_flags()`. .. rst-class:: classref-item-separator @@ -322,7 +322,7 @@ Returns ``true`` if the enable flags has the flag for the Y-axis in the setting :ref:`bool` **is_axis_y_inverted**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the invert flags has the flag for the Y-axis in the setting at ``index``. See also :ref:`set_invert_flags()`. +Restituisce ``true`` se i flag di inversione hanno il flag per l'asse Y nell'impostazione all'indice ``index``. Vedi anche :ref:`set_invert_flags()`. .. rst-class:: classref-item-separator @@ -334,7 +334,7 @@ Returns ``true`` if the invert flags has the flag for the Y-axis in the setting :ref:`bool` **is_axis_z_enabled**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the enable flags has the flag for the Z-axis in the setting at ``index``. See also :ref:`set_axis_flags()`. +Restituisce ``true`` se i flag di abilitazione hanno il flag per l'asse Z nell'impostazione all'indice ``index``. Vedi anche :ref:`set_axis_flags()`. .. rst-class:: classref-item-separator @@ -346,7 +346,7 @@ Returns ``true`` if the enable flags has the flag for the Z-axis in the setting :ref:`bool` **is_axis_z_inverted**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the invert flags has the flag for the Z-axis in the setting at ``index``. See also :ref:`set_invert_flags()`. +Restituisce ``true`` se i flag di inversione hanno il flag per l'asse Z nell'impostazione all'indice ``index``. Vedi anche :ref:`set_invert_flags()`. .. rst-class:: classref-item-separator @@ -358,7 +358,7 @@ Returns ``true`` if the invert flags has the flag for the Z-axis in the setting :ref:`bool` **is_position_copying**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the copy flags has the flag for the position in the setting at ``index``. See also :ref:`set_copy_flags()`. +Restituisce ``true`` se i flag di copia hanno il flag per la posizione nell'impostazione all'indice ``index``. Vedi anche :ref:`set_copy_flags()`. .. rst-class:: classref-item-separator @@ -370,7 +370,7 @@ Returns ``true`` if the copy flags has the flag for the position in the setting :ref:`bool` **is_relative**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the relative option is enabled in the setting at ``index``. +Restituisce ``true`` se l'opzione "relativa" è abilitata nell'impostazione all'indice ``index``. .. rst-class:: classref-item-separator @@ -382,7 +382,7 @@ Returns ``true`` if the relative option is enabled in the setting at ``index``. :ref:`bool` **is_rotation_copying**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if the copy flags has the flag for the rotation in the setting at ``index``. See also :ref:`set_copy_flags()`. +Restituisce ``true`` se i flag di copia hanno il flag per la rotazione nell'impostazione all'indice ``index``. Vedi anche :ref:`set_copy_flags()`. .. rst-class:: classref-item-separator @@ -422,7 +422,7 @@ If sets ``enabled`` to ``false``, the pose of the current apply bone is replaced |void| **set_axis_flags**\ (\ index\: :ref:`int`, axis_flags\: |bitfield|\[:ref:`AxisFlag`\]\ ) :ref:`🔗` -Sets the flags to copy axes. If the flag is valid, the axis is copied. +Imposta i flag per copiare gli assi. Se il flag è valido, l'asse è copiato. .. rst-class:: classref-item-separator @@ -506,9 +506,9 @@ Se ``enabled`` è ``true``, l'asse Z sarà invertita. |void| **set_copy_flags**\ (\ index\: :ref:`int`, copy_flags\: |bitfield|\[:ref:`TransformFlag`\]\ ) :ref:`🔗` -Sets the flags to process the transform operations. If the flag is valid, the transform operation is processed. +Imposta i flag per elaborare le operazioni di trasformazione. Se il flag è valido, l'operazione di trasformazione viene elaborata. -\ **Note:** If the rotation is valid for only one axis, it respects the roll of the valid axis. If the rotation is valid for two axes, it discards the roll of the invalid axis. +\ **Nota:** Se la rotazione è valida per un solo asse, rispetta il rollio dell'asse valido. Se la rotazione è valida per due assi, ignora il rollio dell'asse non valido. .. rst-class:: classref-item-separator @@ -556,11 +556,11 @@ Se ``enabled`` è ``true``, la scala sarà copiata. |void| **set_invert_flags**\ (\ index\: :ref:`int`, axis_flags\: |bitfield|\[:ref:`AxisFlag`\]\ ) :ref:`🔗` -Sets the flags to inverte axes. If the flag is valid, the axis is copied. +Imposta i flag per invertire gli assi. Se il flag è valido, l'asse viene copiato. -\ **Note:** An inverted scale means an inverse number, not a negative scale. For example, inverting ``2.0`` means ``0.5``. +\ **Nota:** Una scala invertita indica un numero inverso, non una scala negativa. Ad esempio, invertendo ``2.0`` si ottiene ``0.5``. -\ **Note:** An inverted rotation flips the elements of the quaternion. For example, a two-axis inversion will flip the roll of each axis, and a three-axis inversion will flip the final orientation. However, be aware that flipping only one axis may cause unintended rotation by the unflipped axes, due to the characteristics of the quaternion. +\ **Nota:** Una rotazione invertita inverte gli elementi del quaternione. Ad esempio, un'inversione a due assi invertirà il rollio di ciascun asse, mentre un'inversione a tre assi invertirà l'orientamento finale. Tuttavia, tieni presente che l'inversione di un solo asse può causare una rotazione indesiderata degli assi non invertiti, a causa delle caratteristiche del quaternione. .. rst-class:: classref-item-separator @@ -572,11 +572,11 @@ Sets the flags to inverte axes. If the flag is valid, the axis is copied. |void| **set_relative**\ (\ index\: :ref:`int`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Sets relative option in the setting at ``index`` to ``enabled``. +Imposta l'opzione relativa nell'impostazione all'indice ``index`` su ``enabled``. -If sets ``enabled`` to ``true``, the extracted and applying transform is relative to the rest. +Se ``enabled`` è impostato su ``true``, la trasformazione estratta e applicata è relativa al riposo. -If sets ``enabled`` to ``false``, the extracted transform is absolute. +Se ``enabled`` è impostato su ``false``, la trasformazione estratta è assoluta. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_csgbox3d.rst b/classes/it/class_csgbox3d.rst index e6ca763928..5a72f1e19d 100644 --- a/classes/it/class_csgbox3d.rst +++ b/classes/it/class_csgbox3d.rst @@ -23,7 +23,7 @@ Questo nodo consente di creare un box da utilizzare con il sistema CSG. Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgcombiner3d.rst b/classes/it/class_csgcombiner3d.rst index 879e329ba3..f4f069529b 100644 --- a/classes/it/class_csgcombiner3d.rst +++ b/classes/it/class_csgcombiner3d.rst @@ -23,7 +23,7 @@ Per composizioni complesse di forme, a volte è necessario aggiungere una strutt Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_csgcylinder3d.rst b/classes/it/class_csgcylinder3d.rst index e9076c9799..cbbf35c2d7 100644 --- a/classes/it/class_csgcylinder3d.rst +++ b/classes/it/class_csgcylinder3d.rst @@ -23,7 +23,7 @@ Questo nodo consente di creare un cilindro (o un cono) da utilizzare con il sist Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgmesh3d.rst b/classes/it/class_csgmesh3d.rst index 5326f22d0f..9220d5024e 100644 --- a/classes/it/class_csgmesh3d.rst +++ b/classes/it/class_csgmesh3d.rst @@ -23,7 +23,7 @@ Questo nodo CSG consente di utilizzare qualsiasi risorsa mesh come forma CSG, pu Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgpolygon3d.rst b/classes/it/class_csgpolygon3d.rst index aab4cd9fae..224ca718cf 100644 --- a/classes/it/class_csgpolygon3d.rst +++ b/classes/it/class_csgpolygon3d.rst @@ -23,7 +23,7 @@ Un array di punti 2D che è estruso per creare rapidamente e facilmente una vari Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgprimitive3d.rst b/classes/it/class_csgprimitive3d.rst index f1b6dd19d7..cc3654e71f 100644 --- a/classes/it/class_csgprimitive3d.rst +++ b/classes/it/class_csgprimitive3d.rst @@ -25,7 +25,7 @@ Classe padre per vari primitivi CSG. Contiene codice e funzionalità comuni tra Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgshape3d.rst b/classes/it/class_csgshape3d.rst index 5003352147..a1b4603842 100644 --- a/classes/it/class_csgshape3d.rst +++ b/classes/it/class_csgshape3d.rst @@ -16,22 +16,22 @@ La classe di base CSG. Descrizione ---------------------- -This is the CSG base class that provides CSG operation support to the various CSG nodes in Godot. +Questa è la classe base CSG che fornisce supporto delle operazioni CSG ai vari nodi CSG in Godot. -\ **Performance:** CSG nodes are only intended for prototyping as they have a significant CPU performance cost. Consider baking final CSG operation results into static geometry that replaces the CSG nodes. +\ **Prestazioni:** I nodi CSG sono progettati solo alla prototipazione, poiché hanno un impatto significativo sulle prestazioni della CPU. Si consiglia di preparare i risultati finali delle operazioni CSG in una geometria statica che sostituisce i nodi CSG. -Individual CSG root node results can be baked to nodes with static resources with the editor menu that appears when a CSG root node is selected. +È possibile preparare i singoli risultati del nodo CSG radice in nodi con risorse statiche attraverso il menu dell'editor che appare quando un nodo CSG radice è selezionato. -Individual CSG root nodes can also be baked to static resources with scripts by calling :ref:`bake_static_mesh()` for the visual mesh or :ref:`bake_collision_shape()` for the physics collision. +È possibile anche preparare i singoli nodi CSG radice in risorse statiche tramite script, chiamando :ref:`bake_static_mesh()` per la mesh visiva o :ref:`bake_collision_shape()` per la collisione fisica. -Entire scenes of CSG nodes can be baked to static geometry and exported with the editor glTF scene exporter: **Scene > Export As... > glTF 2.0 Scene...** +È possibile preparare intere scene di nodi CSG in geometria statica ed esportarle con l'esportatore di scene gltf dell'editor: **Scena > Esporta come... > Scena glTF 2.0...** .. rst-class:: classref-introduction-group Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group @@ -267,11 +267,11 @@ Descrizioni dei metodi :ref:`ConcavePolygonShape3D` **bake_collision_shape**\ (\ ) :ref:`🔗` -Returns a baked physics :ref:`ConcavePolygonShape3D` of this node's CSG operation result. Returns an empty shape if the node is not a CSG root node or has no valid geometry. +Restituisce un :ref:`ConcavePolygonShape3D` preparato per la fisica del risultato dell'operazione CSG di questo nodo. Restituisce una forma vuota se il nodo non è un nodo radice CSG o non ha una geometria valida. -\ **Performance:** If the CSG operation results in a very detailed geometry with many faces physics performance will be very slow. Concave shapes should in general only be used for static level geometry and not with dynamic objects that are moving. +\ **Prestazioni:** Se l'operazione CSG produce una geometria molto dettagliata con molte facce, le prestazioni sulla fisica saranno molto lente. Le forme concave dovrebbero in generale essere utilizzate solo per la geometria statica di un livello e non con gli oggetti dinamici in movimento. -\ **Note:** CSG mesh data updates are deferred, which means they are updated with a delay of one rendered frame. To avoid getting an empty shape or outdated mesh data, make sure to call ``await get_tree().process_frame`` before using :ref:`bake_collision_shape()` in :ref:`Node._ready()` or after changing properties on the **CSGShape3D**. +\ **Nota:** Gli aggiornamenti dei dati delle mesh CSG sono differiti, il che significa che si aggiornano con un ritardo di un frame renderizzato. Per evitare di ottenere una forma vuota o dati obsoleti di mesh, assicurarsi di chiamare ``await get_tree().process_frame`` prima di usare :ref:`bake_collision_shape()` in :ref:`Node._ready()` o dopo aver modificato le proprietà sul **CSGShape3D**. .. rst-class:: classref-item-separator @@ -283,9 +283,9 @@ Returns a baked physics :ref:`ConcavePolygonShape3D :ref:`ArrayMesh` **bake_static_mesh**\ (\ ) :ref:`🔗` -Returns a baked static :ref:`ArrayMesh` of this node's CSG operation result. Materials from involved CSG nodes are added as extra mesh surfaces. Returns an empty mesh if the node is not a CSG root node or has no valid geometry. +Restituisce un :ref:`ArrayMesh` statico preparato dal risultato dell'operazione CSG di questo nodo. I materiali dei nodi CSG coinvolti vengono inclusi come superfici aggiuntive alla mesh. Restituisce una mesh vuota se il nodo non è un nodo radice CSG o non ha una geometria valida. -\ **Note:** CSG mesh data updates are deferred, which means they are updated with a delay of one rendered frame. To avoid getting an empty mesh or outdated mesh data, make sure to call ``await get_tree().process_frame`` before using :ref:`bake_static_mesh()` in :ref:`Node._ready()` or after changing properties on the **CSGShape3D**. +\ **Nota:** Gli aggiornamenti dei dati delle mesh CSG sono differiti, il che significa che si aggiornano con un ritardo di un frame renderizzato. Per evitare di ottenere una forma vuota o dati obsoleti di mesh, assicurarsi di chiamare ``await get_tree().process_frame`` prima di usare :ref:`bake_collision_shape()` in :ref:`Node._ready()` o dopo aver modificato le proprietà sul **CSGShape3D**. .. rst-class:: classref-item-separator @@ -321,9 +321,9 @@ Restituisce se lo strato specificato della :ref:`collision_mask` **get_meshes**\ (\ ) |const| :ref:`🔗` -Returns an :ref:`Array` with two elements, the first is the :ref:`Transform3D` of this node and the second is the root :ref:`Mesh` of this node. Only works when this node is the root shape. +Restituisce un :ref:`Array` con due elementi, il primo è il :ref:`Transform3D` di questo nodo e il secondo è la :ref:`Mesh` radice di questo nodo. Funziona solo quando questo nodo è la forma radice. -\ **Note:** CSG mesh data updates are deferred, which means they are updated with a delay of one rendered frame. To avoid getting an empty shape or outdated mesh data, make sure to call ``await get_tree().process_frame`` before using :ref:`get_meshes()` in :ref:`Node._ready()` or after changing properties on the **CSGShape3D**. +\ **Nota:** Gli aggiornamenti dei dati delle mesh CSG sono differiti, il che significa che si aggiornano con un ritardo di un frame renderizzato. Per evitare di ottenere una forma vuota o dati obsoleti di mesh, assicurarsi di chiamare ``await get_tree().process_frame`` prima di usare :ref:`bake_collision_shape()` in :ref:`Node._ready()` o dopo aver modificato le proprietà sul **CSGShape3D**. .. rst-class:: classref-item-separator diff --git a/classes/it/class_csgsphere3d.rst b/classes/it/class_csgsphere3d.rst index 77615dbb70..2769acf71d 100644 --- a/classes/it/class_csgsphere3d.rst +++ b/classes/it/class_csgsphere3d.rst @@ -23,7 +23,7 @@ Questo nodo consente di creare una sfera da utilizzare con il sistema CSG. Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_csgtorus3d.rst b/classes/it/class_csgtorus3d.rst index bdca3c568c..6e5061601b 100644 --- a/classes/it/class_csgtorus3d.rst +++ b/classes/it/class_csgtorus3d.rst @@ -23,7 +23,7 @@ Questo nodo consente di creare un toro da utilizzare con il sistema CSG. Tutorial ---------------- -- :doc:`Prototipazione de livelli con CSG <../tutorials/3d/csg_tools>` +- :doc:`Prototipazione dei livelli con CSG <../tutorials/3d/csg_tools>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_cubemaparray.rst b/classes/it/class_cubemaparray.rst index 8daa3e5869..3bbc92981d 100644 --- a/classes/it/class_cubemaparray.rst +++ b/classes/it/class_cubemaparray.rst @@ -14,27 +14,27 @@ Un array di :ref:`Cubemap`, memorizzati insieme e con un singolo Descrizione ---------------------- -**CubemapArray**\ s are made of an array of :ref:`Cubemap`\ s. Like :ref:`Cubemap`\ s, they are made of multiple textures, the amount of which must be divisible by 6 (one for each face of the cube). +I **CubemapArray** sono composti da un array di :ref:`Cubemap`. Come i :ref:`Cubemap`, sono composti da più texture, la cui quantità deve essere divisibile per 6 (una per ogni faccia del cubo). -The primary benefit of **CubemapArray**\ s is that they can be accessed in shader code using a single texture reference. In other words, you can pass multiple :ref:`Cubemap`\ s into a shader using a single **CubemapArray**. :ref:`Cubemap`\ s are allocated in adjacent cache regions on the GPU, which makes **CubemapArray**\ s the most efficient way to store multiple :ref:`Cubemap`\ s. +Il vantaggio principale dei **CubemapArray** è che è possibile accedervi nel codice di uno shader attraverso un singolo riferimento di texture. In altre parole, è possibile passare più :ref:`Cubemap` in uno shader attraverso un singolo **CubemapArray**. I :ref:`Cubemap` sono allocati in regioni di cache adiacenti sulla GPU, il che rende i **CubemapArray** il modo più efficiente per memorizzare più :ref:`Cubemap`. -Godot uses **CubemapArray**\ s internally for many effects, including the :ref:`Sky` if you set :ref:`ProjectSettings.rendering/reflections/sky_reflections/texture_array_reflections` to ``true``. +Godot utilizza i **CubemapArray** internamente per molti effetti, incluso lo :ref:`Sky` se :ref:`ProjectSettings.rendering/reflections/sky_reflections/texture_array_reflections` è impostato su ``true``. -To create such a texture file yourself, reimport your image files using the Godot Editor import presets. To create a CubemapArray from code, use :ref:`ImageTextureLayered.create_from_images()` on an instance of the CubemapArray class. +Per creare manualmente un file texture di questo tipo, reimporta i file immagine tramite le preimpostazioni di importazione nel pannello File System. Per creare un CubemapArray da codice, usa :ref:`ImageTextureLayered.create_from_images()` su un'istanza della classe CubemapArray. -The expected image order is X+, X-, Y+, Y-, Z+, Z- (in Godot's coordinate system, so Y+ is "up" and Z- is "forward"). You can use one of the following templates as a base: +L'ordine previsto delle immagini è X+, X-, Y+, Y-, Z+, Z- (nel sistema di coordinate di Godot, quindi Y+ è "su" e Z- è "avanti"). Puoi usare uno dei seguenti modelli come base: -- `2×3 cubemap template (default layout option) `__\ +- `Modello di cubemap 2×3 (opzione di layout predefinita) `__\ -- `3×2 cubemap template `__\ +- `Modello di cubemap 3×2 `__\ -- `1×6 cubemap template `__\ +- `Modello di cubemap 1×6 `__\ -- `6×1 cubemap template `__\ +- `Modello di cubemap 6×1 `__\ -Multiple layers are stacked on top of each other when using the default vertical import option (with the first layer at the top). Alternatively, you can choose a horizontal layout in the import options (with the first layer at the left). +Più livelli sono impilati uno sopra l'altro quando si utilizza l'opzione di importazione verticale predefinita (con il primo livello in alto). Alternativamente, puoi scegliere un layout orizzontale nelle opzioni di importazione (con il primo livello a sinistra). -\ **Note:** **CubemapArray** is not supported in the Compatibility renderer due to graphics API limitations. +\ **Nota:** **CubemapArray** non è supportato nel renderer Compatibilità a causa di limitazioni dell'API grafica. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_dampedspringjoint2d.rst b/classes/it/class_dampedspringjoint2d.rst index 6251148232..b53ab2747b 100644 --- a/classes/it/class_dampedspringjoint2d.rst +++ b/classes/it/class_dampedspringjoint2d.rst @@ -14,7 +14,7 @@ Un giunto fisico che collega due corpi di fisica 2D con una forza simile a quell Descrizione ---------------------- -A physics joint that connects two 2D physics bodies with a spring-like force. This behaves like a spring that always wants to stretch to a given length. +Un giunto fisico che collega due corpi di fisica 2D con una forza simile a quella di una molla. Si comporta come una molla che cerca sempre allungarsi fino a una determinata lunghezza. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_decal.rst b/classes/it/class_decal.rst index 561cafd93b..bb9fce9b08 100644 --- a/classes/it/class_decal.rst +++ b/classes/it/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: @@ -17,11 +17,11 @@ Nodo che proietta una texture su un :ref:`MeshInstance3D`. Descrizione ---------------------- -I **Decal** sono utilizzati per proiettare una texture su una :ref:`Mesh` nella scena. Utilizza le decalcomanie per aggiungere dettagli a una scena senza influenzare la :ref:`Mesh` sottostante. Sono spesso utilizzati per aggiungere intemperie a un edificio, sporcizia o fango al terreno o varietà agli oggetti di scena. Le decalcomanie possono essere spostate in qualsiasi momento, rendendole adatte per cose come ammassi di ombre o punti laser. +I **Decal** servono per proiettare una texture su una :ref:`Mesh` nella scena. Utilizza le decalcomanie per aggiungere dettagli a una scena senza influenzare la :ref:`Mesh` sottostante. Sono spesso utilizzati per aggiungere intemperie a un edificio, sporcizia o fango al terreno o varietà agli oggetti di scena. Le decalcomanie possono essere spostate in qualsiasi momento, rendendole adatte per cose come ammassi di ombre o punti laser. Sono costituiti da un :ref:`AABB` e un gruppo di :ref:`Texture2D` che specificano :ref:`Color`, normale, ORM (occlusione ambientale, ruvidità, metallico) ed emissione. Le decalcomanie sono proiettate all'interno del loro :ref:`AABB`, quindi la modifica dell'orientamento della decalcomania influenza la direzione in cui sono proiettate. Per impostazione predefinita, le decalcomanie sono proiettate verso il basso (ovvero da Y positivo a Y negativo). -Le :ref:`Texture2D` associate alle decalcomanie sono automaticamente memorizzate in un atlante di texture che è utilizzato per disegnare le decalcomanie in modo che tutte le decalcomanie possano essere disegnate allo stesso tempo. Godot utilizza decalcomanie raggruppate, ovvero sono memorizzate in dati raggruppati e disegnate quando viene disegnata la mesh, non vengono disegnate come effetto in post-elaborazione dopo. +Le :ref:`Texture2D` associate alle decalcomanie sono automaticamente memorizzate in un atlante di texture che serve per disegnare le decalcomanie in modo che tutte le decalcomanie siano disegnate allo stesso tempo. Godot utilizza decalcomanie raggruppate, ovvero sono memorizzate in dati raggruppati e disegnate quando viene disegnata la mesh, non vengono disegnate come effetto in post-elaborazione dopo. \ **Nota:** Le decalcomanie non possono influenzare la trasparenza di un materiale sottostante, indipendentemente dalla sua modalità di trasparenza (alpha blend, alpha scissor, alpha hash, pre-passaggio opaco). Ciò significa che le aree traslucide o trasparenti di un materiale rimarranno traslucide o trasparenti anche se viene applicata una decalcomania opaca su di esse. diff --git a/classes/it/class_dictionary.rst b/classes/it/class_dictionary.rst index 18cd2bbf3c..002a418997 100644 --- a/classes/it/class_dictionary.rst +++ b/classes/it/class_dictionary.rst @@ -129,7 +129,7 @@ To add a key to an existing dictionary, access it like an existing key and assig -Finally, dictionaries can contain different types of keys and values in the same dictionary: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: @@ -180,6 +180,45 @@ The keys of a dictionary can be iterated with the ``for`` keyword: +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: + + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + \ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. \ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. @@ -385,11 +424,11 @@ Pulisce il dizionario, rimuovendo tutte le voci da esso. :ref:`Dictionary` **duplicate**\ (\ deep\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns a new copy of the dictionary. +Restituisce una nuova copia del dizionario. -By default, a **shallow** copy is returned: all nested :ref:`Array`, **Dictionary**, and :ref:`Resource` keys and values are shared with the original dictionary. Modifying any of those in one dictionary will also affect them in the other. +Normalmente, viene restituita una copia **superficiale**: tutti gli elementi annidati di tipo :ref:`Array`, **Dictionary** e :ref:`Resource` sono condivisi con il dizionario originale. Modificarli in un dizionario li influenzerà anche nell'altro. -If ``deep`` is ``true``, a **deep** copy is returned: all nested arrays and dictionaries are also duplicated (recursively). Any :ref:`Resource` is still shared with the original dictionary, though. +Se ``deep`` è ``true``, viene restituita una copia **profonda**: anche tutti gli array e i dizionari annidati sono duplicati (ricorsivamente). Tuttavia, qualsiasi oggetto :ref:`Resource` rimane condiviso con il dizionario originale. .. rst-class:: classref-item-separator @@ -401,9 +440,9 @@ If ``deep`` is ``true``, a **deep** copy is returned: all nested arrays and dict :ref:`Dictionary` **duplicate_deep**\ (\ deep_subresources_mode\: :ref:`int` = 1\ ) |const| :ref:`🔗` -Duplicates this dictionary, deeply, like :ref:`duplicate()`\ ``(true)``, with extra control over how subresources are handled. +Duplica questo dizionario profondamente, come :ref:`duplicate()`\ ``(true)``, con ulteriore controllo su come le sottorisorse sono gestite. -\ ``deep_subresources_mode`` must be one of the values from :ref:`DeepDuplicateMode`. By default, only internal resources will be duplicated (recursively). +\ ``deep_subresources_mode`` deve essere uno dei valori di :ref:`DeepDuplicateMode`. Come predefinito, solo le risorse interne saranno duplicate (ricorsivamente). .. rst-class:: classref-item-separator @@ -539,7 +578,7 @@ Restituisce l'istanza di :ref:`Script` associata ai valori di ques :ref:`bool` **has**\ (\ key\: :ref:`Variant`\ ) |const| :ref:`🔗` -Returns ``true`` if the dictionary contains an entry with the given ``key``. +Restituisce ``true`` se il dizionario contiene una voce con la ``key`` specificata. .. tabs:: @@ -551,9 +590,9 @@ Returns ``true`` if the dictionary contains an entry with the given ``key``. 210 : null, } - print(my_dict.has("Godot")) # Prints true - print(my_dict.has(210)) # Prints true - print(my_dict.has(4)) # Prints false + print(my_dict.has("Godot")) # Stampa true + print(my_dict.has(210)) # Stampa true + print(my_dict.has(4)) # Stampa false .. code-tab:: csharp @@ -563,20 +602,20 @@ Returns ``true`` if the dictionary contains an entry with the given ``key``. { 210, default }, }; - GD.Print(myDict.ContainsKey("Godot")); // Prints True - GD.Print(myDict.ContainsKey(210)); // Prints True - GD.Print(myDict.ContainsKey(4)); // Prints False + GD.Print(myDict.ContainsKey("Godot")); // Stampa True + GD.Print(myDict.ContainsKey(210)); // Stampa True + GD.Print(myDict.ContainsKey(4)); // Stampa False -In GDScript, this is equivalent to the ``in`` operator: +In GDScript, questo è equivalente all'operatore ``in``: :: if "Godot" in { "Godot": 4 }: - print("The key is here!") # Will be printed. + print("La chiave è qui!") # Verrà stampato. -\ **Note:** This method returns ``true`` as long as the ``key`` exists, even if its corresponding value is ``null``. +\ **Nota:** Questo metodo restituisce ``true`` finché esiste la chiave ``key``, anche se il suo valore corrispondente è ``null``. .. rst-class:: classref-item-separator @@ -588,12 +627,12 @@ In GDScript, this is equivalent to the ``in`` operator: :ref:`bool` **has_all**\ (\ keys\: :ref:`Array`\ ) |const| :ref:`🔗` -Returns ``true`` if the dictionary contains all keys in the given ``keys`` array. +Restituisce ``true`` se il dizionario contiene tutte le chiavi nell'array ``keys`` specificato. :: - var data = { "width": 10, "height": 20 } - data.has_all(["height", "width"]) # Returns true + var data = { "larghezza" : 10, "altezza" : 20 } + data.has_all(["altezza", "larghezza"]) # Restituisce true .. rst-class:: classref-item-separator @@ -605,7 +644,7 @@ Returns ``true`` if the dictionary contains all keys in the given ``keys`` array :ref:`int` **hash**\ (\ ) |const| :ref:`🔗` -Returns a hashed 32-bit integer value representing the dictionary contents. +Restituisce un valore intero di hash a 32 bit che rappresenta il contenuto del dizionario. .. tabs:: @@ -615,21 +654,21 @@ Returns a hashed 32-bit integer value representing the dictionary contents. var dict1 = { "A": 10, "B": 2 } var dict2 = { "A": 10, "B": 2 } - print(dict1.hash() == dict2.hash()) # Prints true + print(dict1.hash() == dict2.hash()) # Stampa true .. code-tab:: csharp - var dict1 = new Godot.Collections.Dictionary { { "A", 10 }, { "B", 2 } }; - var dict2 = new Godot.Collections.Dictionary { { "A", 10 }, { "B", 2 } }; + var dict1 = new Godot.Collections.Dictionary{ {"A", 10 }, { "B", 2 } }; + var dict2 = new Godot.Collections.Dictionary{ {"A", 10 }, { "B", 2 } }; - // Godot.Collections.Dictionary has no Hash() method. Use GD.Hash() instead. - GD.Print(GD.Hash(dict1) == GD.Hash(dict2)); // Prints True + // Godot.Collections.Dictionary non ha un metodo Hash(). Usa invece GD.Hash(). + GD.Print(GD.Hash(dict1) == GD.Hash(dict2)); // Stampa true -\ **Note:** Dictionaries with the same entries but in a different order will not have the same hash. +\ **Nota:** I dizionari con le stesse voci ma in un ordine diverso non avranno lo stesso hash. -\ **Note:** Dictionaries with equal hash values are *not* guaranteed to be the same, because of hash collisions. On the contrary, dictionaries with different hash values are guaranteed to be different. +\ **Nota:** I dizionari con valori uguali di hash *non* sono garantiti di essere uguali, a causa delle collisioni di hash. Al contrario, i dizionari con valori diversi di hash sono sicuramente diversi. .. rst-class:: classref-item-separator @@ -749,7 +788,7 @@ Restituisce la lista delle chiavi nel dizionario. |void| **make_read_only**\ (\ ) :ref:`🔗` -Rende il dizionario di sola lettura, ovvero disabilita la modifica del contenuto del dizionario. Non si applica al contenuto nidificato, ad esempio il contenuto dei dizionari nidificati. +Rende il dizionario di sola lettura, ovvero disabilita la modifica del contenuto del dizionario. Non si applica al contenuto innestato, ad esempio il contenuto dei dizionari innestati. .. rst-class:: classref-item-separator @@ -874,7 +913,7 @@ Restituisce il numero di voci nel dizionario. I dizionari vuoti (``{ }``) restit |void| **sort**\ (\ ) :ref:`🔗` -Sorts the dictionary in ascending order, by key. The final order is dependent on the "less than" (``<``) comparison between keys. +Ordina il dizionario in ordine crescente, per chiave. L'ordine finale dipende dal confronto "minore di" (``<``) tra le chiavi. .. tabs:: @@ -883,11 +922,11 @@ Sorts the dictionary in ascending order, by key. The final order is dependent on var numbers = { "c": 2, "a": 0, "b": 1 } numbers.sort() - print(numbers) # Prints { "a": 0, "b": 1, "c": 2 } + print(numbers) # Stampa { "a": 0, "b": 1, "c": 2 } -This method ensures that the dictionary's entries are ordered consistently when :ref:`keys()` or :ref:`values()` are called, or when the dictionary needs to be converted to a string through :ref:`@GlobalScope.str()` or :ref:`JSON.stringify()`. +Questo metodo garantisce che le voci del dizionario siano ordinate consistentemente quando vengono chiamati :ref:`keys()` o :ref:`values()`, oppure quando c'è bisogno di convertire il dizionario in una stringa attraverso :ref:`@GlobalScope.str()` o :ref:`JSON.stringify()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_diraccess.rst b/classes/it/class_diraccess.rst index a60a2ed52b..5874c97933 100644 --- a/classes/it/class_diraccess.rst +++ b/classes/it/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: @@ -17,11 +17,11 @@ Fornisce metodi per gestire le cartelle e il loro contenuto. Descrizione ---------------------- -Questa classe è utilizzata per gestire le cartelle (directory) e il loro contenuto, anche al di fuori della cartella del progetto. +Questa classe serve per gestire le cartelle (directory) e il loro contenuto, anche al di fuori della cartella del progetto. \ **DirAccess** non può essere istanziato direttamente. Invece viene creato con un metodo statico che accetta un percorso per il quale verrà aperto. -La maggior parte dei metodi ha un'alternativa statica che può essere utilizzata senza creare un **DirAccess**. I metodi statici supportano solo percorsi assoluti (inclusi ``res://`` e ``user://``). +La maggior parte dei metodi ha un'alternativa statica che si può utilizzare senza creare un **DirAccess**. I metodi statici supportano solo percorsi assoluti (inclusi ``res://`` e ``user://``). :: @@ -439,13 +439,13 @@ Usa :ref:`get_directories()` se si desid :ref:`int` **get_drive_count**\ (\ ) |static| :ref:`🔗` -On Windows, returns the number of drives (partitions) mounted on the current filesystem. +Su Windows, restituisce il numero di unità (partizioni) montate sul file system attuale. -On macOS and Android, returns the number of mounted volumes. +Su macOS e Android, restituisce il numero di volumi montati. -On Linux, returns the number of mounted volumes and GTK 3 bookmarks. +Su Linux, restituisce il numero di volumi montati e segnalibri GTK 3. -On other platforms, the method returns 0. +Su altre piattaforme, il metodo restituisce 0. .. rst-class:: classref-item-separator @@ -457,15 +457,15 @@ On other platforms, the method returns 0. :ref:`String` **get_drive_name**\ (\ idx\: :ref:`int`\ ) |static| :ref:`🔗` -On Windows, returns the name of the drive (partition) passed as an argument (e.g. ``C:``). +Su Windows, restituisce il nome dell'unità (partizione) passata come argomento (ad esempio ``C:``). -On macOS, returns the path to the mounted volume passed as an argument. +Su macOS, restituisce il percorso al volume montato passato come argomento. -On Linux, returns the path to the mounted volume or GTK 3 bookmark passed as an argument. +Su Linux, restituisce il percorso al volume montato o al segnalibro GTK 3 passato come argomento. -On Android (API level 30+), returns the path to the mounted volume as an argument. +Su Android (livello API 30+), restituisce il percorso al volume montato come argomento. -On other platforms, or if the requested drive does not exist, the method returns an empty String. +Su altre piattaforme, o se l'unità richiesta non esiste, il metodo restituisce una stringa vuota. .. rst-class:: classref-item-separator @@ -509,9 +509,9 @@ Usa :ref:`get_files()` se si desidera più con :ref:`String` **get_filesystem_type**\ (\ ) |const| :ref:`🔗` -Returns file system type name of the current directory's disk. Returned values are uppercase strings like ``NTFS``, ``FAT32``, ``EXFAT``, ``APFS``, ``EXT4``, ``BTRFS``, and so on. +Restituisce il nome del tipo di file system del disco della cartella attuale. I valori restituiti sono stringhe maiuscole come ``NTFS``, ``FAT32``, ``EXFAT``, ``APFS``, ``EXT4``, ``BTRFS`` e così via. -\ **Note:** This method is implemented on macOS, Linux, Windows and for PCK virtual file system. +\ **Nota:** Questo metodo è implementato su macOS, Linux, Windows e per il file system virtuale dei PCK. .. rst-class:: classref-item-separator @@ -589,7 +589,7 @@ Restituisce ``true`` se il file system o la cartella utilizzano nomi di file sen :ref:`bool` **is_equivalent**\ (\ path_a\: :ref:`String`, path_b\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if paths ``path_a`` and ``path_b`` resolve to the same file system object. Returns ``false`` otherwise, even if the files are bit-for-bit identical (e.g., identical copies of the file that are not symbolic links). +Restituisce ``true`` se i percorsi ``path_a`` e ``path_b`` risolvono nello stesso oggetto del file system. Restituisce ``false`` altrimenti, anche se i file sono identici bit per bit (ad esempio, copie identiche del file che non sono collegamenti simbolici). .. rst-class:: classref-item-separator @@ -711,7 +711,7 @@ Restituisce ``null`` se l'apertura della cartella non avviene con successo. È p Restituisce la destinazione del collegamento simbolico. -\ **Nota:** Questo metodo è implementato su macOS, Linux, and Windows. +\ **Nota:** Questo metodo è implementato su macOS, Linux e Windows. .. rst-class:: classref-item-separator diff --git a/classes/it/class_directionallight2d.rst b/classes/it/class_directionallight2d.rst index da113baa77..cd2c4425ee 100644 --- a/classes/it/class_directionallight2d.rst +++ b/classes/it/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: @@ -17,11 +17,11 @@ Luce direzionale 2D a distanza. Descrizione ---------------------- -A directional light is a type of :ref:`Light2D` node that models an infinite number of parallel rays covering the entire scene. It is used for lights with strong intensity that are located far away from the scene (for example: to model sunlight or moonlight). +Una luce direzionale è un tipo di nodo :ref:`Light2D` che modella un numero infinito di raggi paralleli che coprono l'intera scena. È utilizzato per luci con forte intensità che si trovano lontano dalla scena (ad esempio: per modellare la luce solare o la luce lunare). -Light is emitted in the +Y direction of the node's global basis. For an unrotated light, this means that the light is emitted downwards. The position of the node is ignored; only the basis is used to determine light direction. +La luce è emessa nella direzione +Y della base globale del nodo. Per una luce non ruotata, ciò significa che la luce è emessa verso il basso. La posizione del nodo è ignorata; solo la base è utilizzata per determinare la direzione della luce. -\ **Note:** **DirectionalLight2D** does not support light cull masks (but it supports shadow cull masks). It will always light up 2D nodes, regardless of the 2D node's :ref:`CanvasItem.light_mask`. +\ **Nota:** **DirectionalLight2D** non supporta maschere di culling della luce (ma supporta maschere di culling dell'ombra). Illuminerà sempre i nodi 2D, indipendentemente dalla :ref:`CanvasItem.light_mask` del nodo 2D. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_directionallight3d.rst b/classes/it/class_directionallight3d.rst index 6292d31568..1369520cb5 100644 --- a/classes/it/class_directionallight3d.rst +++ b/classes/it/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: @@ -17,9 +17,9 @@ Luce direzionale proveniente da lontano, come quella del sole. Descrizione ---------------------- -A directional light is a type of :ref:`Light3D` node that models an infinite number of parallel rays covering the entire scene. It is used for lights with strong intensity that are located far away from the scene to model sunlight or moonlight. +Una luce direzionale è un tipo di nodo :ref:`Light3D` che modella un numero infinito di raggi paralleli che coprono l'intera scena. È utilizzato per luci con forte intensità che si trovano lontano dalla scena (ad esempio: per modellare la luce solare o la luce lunare). -Light is emitted in the -Z direction of the node's global basis. For an unrotated light, this means that the light is emitted forwards, illuminating the front side of a 3D model (see :ref:`Vector3.FORWARD` and :ref:`Vector3.MODEL_FRONT`). The position of the node is ignored; only the basis is used to determine light direction. +La luce è emessa nella direzione -Z della base globale del nodo. Per una luce non ruotata, ciò significa che la luce è emessa in avanti, illuminando il lato frontale di un modello 3D (vedi :ref:`Vector3.FORWARD` e :ref:`Vector3.MODEL_FRONT`). La posizione del nodo è ignorata. Solo la base è utilizzata per determinare la direzione della luce. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_displayserver.rst b/classes/it/class_displayserver.rst index 7a4f19b1ce..21a9addfba 100644 --- a/classes/it/class_displayserver.rst +++ b/classes/it/class_displayserver.rst @@ -675,7 +675,7 @@ Il server di visualizzazione supporta l'`Input Method Editor ` **FEATURE_WINDOW_TRANSPARENCY** = ``11`` -Display server supports windows can use per-pixel transparency to make windows behind them partially or fully visible. **Windows, macOS, Linux (X11/Wayland), Android** +Il server di visualizzazione supporta finestre che possono utilizzare la trasparenza per pixel per rendere le finestre dietro di esse parzialmente o completamente visibili. **Windows, macOS, Linux (X11/Wayland), Android** .. _class_DisplayServer_constant_FEATURE_HIDPI: @@ -683,7 +683,7 @@ Display server supports windows can use per-pixel transparency to make windows b :ref:`Feature` **FEATURE_HIDPI** = ``12`` -Display server supports querying the operating system's display scale factor. This allows automatically detecting the hiDPI display *reliably*, instead of guessing based on the screen resolution and the display's reported DPI (which might be unreliable due to broken monitor EDID). **Windows, Linux (Wayland), macOS** +Il server di visualizzazione supporta la richiesta al sistema operativo del fattore di scala del display. Ciò consente di rilevare automaticamente e *affidabilmente* l'hiDPI del display, anziché fare assunzioni in base alla risoluzione dello schermo e al DPI segnalato dal display (il che può essere inaffidabile a causa dell'EDID del monitor non funzionante). **Windows, Linux (Wayland), macOS** .. _class_DisplayServer_constant_FEATURE_ICON: @@ -803,7 +803,7 @@ Il server di visualizzazione supporta l'avvio di operazioni di trascinamento e r :ref:`Feature` **FEATURE_SCREEN_EXCLUDE_FROM_CAPTURE** = ``28`` -Display server supports :ref:`WINDOW_FLAG_EXCLUDE_FROM_CAPTURE` window flag. **Windows, macOS** +Il server di visualizzazione supporta il flag di finestra :ref:`WINDOW_FLAG_EXCLUDE_FROM_CAPTURE`. **Windows, macOS** .. _class_DisplayServer_constant_FEATURE_WINDOW_EMBEDDING: @@ -811,7 +811,7 @@ Display server supports :ref:`WINDOW_FLAG_EXCLUDE_FROM_CAPTURE` **FEATURE_WINDOW_EMBEDDING** = ``29`` -Display server supports embedding a window from another process. **Windows, Linux (X11), macOS** +Il server di visualizzazione supporta l'incoporamento di una finestra proveniente da un altro processo. **Windows, Linux (X11)** .. _class_DisplayServer_constant_FEATURE_NATIVE_DIALOG_FILE_MIME: @@ -835,7 +835,7 @@ Il server di visualizzazione supporta il selettore di emoji e simboli del sistem :ref:`Feature` **FEATURE_NATIVE_COLOR_PICKER** = ``32`` -Display server supports native color picker. **Linux (X11/Wayland)** +Il server di visualizzazione supporta un selettore di colore nativo. **Linux (X11/Wayland)** .. _class_DisplayServer_constant_FEATURE_SELF_FITTING_WINDOWS: @@ -843,7 +843,7 @@ Display server supports native color picker. **Linux (X11/Wayland)** :ref:`Feature` **FEATURE_SELF_FITTING_WINDOWS** = ``33`` -Display server automatically fits popups according to the screen boundaries. Window nodes should not attempt to do that themselves. +Il server di visualizzazione adatta automaticamente i popup in base ai limiti dello schermo. I nodi Window non dovrebbero tentare di farlo autonomamente. .. _class_DisplayServer_constant_FEATURE_ACCESSIBILITY_SCREEN_READER: @@ -851,7 +851,7 @@ Display server automatically fits popups according to the screen boundaries. Win :ref:`Feature` **FEATURE_ACCESSIBILITY_SCREEN_READER** = ``34`` -Display server supports interaction with screen reader or Braille display. **Linux (X11/Wayland), macOS, Windows** +Il server di visualizzazione supporta l'interazione con i lettori dello schermo o i display Braille. **Linux (X11/Wayland), macOS, Windows** .. rst-class:: classref-item-separator @@ -877,7 +877,7 @@ Ruolo sconosciuto o personalizzato. :ref:`AccessibilityRole` **ROLE_DEFAULT_BUTTON** = ``1`` -Default dialog button element. +Elemento pulsante di dialogo predefinito. .. _class_DisplayServer_constant_ROLE_AUDIO: @@ -885,7 +885,7 @@ Default dialog button element. :ref:`AccessibilityRole` **ROLE_AUDIO** = ``2`` -Audio player element. +Elemento riproduttore audio. .. _class_DisplayServer_constant_ROLE_VIDEO: @@ -893,7 +893,7 @@ Audio player element. :ref:`AccessibilityRole` **ROLE_VIDEO** = ``3`` -Video player element. +Elemento riproduttore video. .. _class_DisplayServer_constant_ROLE_STATIC_TEXT: @@ -901,7 +901,7 @@ Video player element. :ref:`AccessibilityRole` **ROLE_STATIC_TEXT** = ``4`` -Non-editable text label. +Etichetta di testo non modificabile. .. _class_DisplayServer_constant_ROLE_CONTAINER: @@ -909,7 +909,7 @@ Non-editable text label. :ref:`AccessibilityRole` **ROLE_CONTAINER** = ``5`` -Container element. Elements with this role are used for internal structure and ignored by screen readers. +Elemento contenitore. Gli elementi con questo ruolo sono utilizzati per la struttura interna e ignorati dai lettori dello schermo. .. _class_DisplayServer_constant_ROLE_PANEL: @@ -917,7 +917,7 @@ Container element. Elements with this role are used for internal structure and i :ref:`AccessibilityRole` **ROLE_PANEL** = ``6`` -Panel container element. +Elemento contenitore di pannello. .. _class_DisplayServer_constant_ROLE_BUTTON: @@ -925,7 +925,7 @@ Panel container element. :ref:`AccessibilityRole` **ROLE_BUTTON** = ``7`` -Button element. +Elemento pulsante. .. _class_DisplayServer_constant_ROLE_LINK: @@ -933,7 +933,7 @@ Button element. :ref:`AccessibilityRole` **ROLE_LINK** = ``8`` -Link element. +Elemento collegamento. .. _class_DisplayServer_constant_ROLE_CHECK_BOX: @@ -941,7 +941,7 @@ Link element. :ref:`AccessibilityRole` **ROLE_CHECK_BOX** = ``9`` -Check box element. +Elemento casella di spunta. .. _class_DisplayServer_constant_ROLE_RADIO_BUTTON: @@ -949,7 +949,7 @@ Check box element. :ref:`AccessibilityRole` **ROLE_RADIO_BUTTON** = ``10`` -Radio button element. +Elemento pulsante di opzione (radio). .. _class_DisplayServer_constant_ROLE_CHECK_BUTTON: @@ -957,7 +957,7 @@ Radio button element. :ref:`AccessibilityRole` **ROLE_CHECK_BUTTON** = ``11`` -Check button element. +Elemento pulsante di spunta. .. _class_DisplayServer_constant_ROLE_SCROLL_BAR: @@ -965,7 +965,7 @@ Check button element. :ref:`AccessibilityRole` **ROLE_SCROLL_BAR** = ``12`` -Scroll bar element. +Elemento barra di scorrimento. .. _class_DisplayServer_constant_ROLE_SCROLL_VIEW: @@ -973,7 +973,7 @@ Scroll bar element. :ref:`AccessibilityRole` **ROLE_SCROLL_VIEW** = ``13`` -Scroll container element. +Elemento contenitore di scorrimento. .. _class_DisplayServer_constant_ROLE_SPLITTER: @@ -989,7 +989,7 @@ Container splitter handle element. :ref:`AccessibilityRole` **ROLE_SLIDER** = ``15`` -Slider element. +Elemento slider. .. _class_DisplayServer_constant_ROLE_SPIN_BUTTON: @@ -997,7 +997,7 @@ Slider element. :ref:`AccessibilityRole` **ROLE_SPIN_BUTTON** = ``16`` -Spin box element. +Elemento casella numerica. .. _class_DisplayServer_constant_ROLE_PROGRESS_INDICATOR: @@ -1005,7 +1005,7 @@ Spin box element. :ref:`AccessibilityRole` **ROLE_PROGRESS_INDICATOR** = ``17`` -Progress indicator element. +Elemento indicatore di progresso. .. _class_DisplayServer_constant_ROLE_TEXT_FIELD: @@ -1013,7 +1013,7 @@ Progress indicator element. :ref:`AccessibilityRole` **ROLE_TEXT_FIELD** = ``18`` -Editable text field element. +Elemento campo di testo modificabile. .. _class_DisplayServer_constant_ROLE_MULTILINE_TEXT_FIELD: @@ -1021,7 +1021,7 @@ Editable text field element. :ref:`AccessibilityRole` **ROLE_MULTILINE_TEXT_FIELD** = ``19`` -Multiline editable text field element. +Elemento campo di testo modificabile su più righe. .. _class_DisplayServer_constant_ROLE_COLOR_PICKER: @@ -1029,7 +1029,7 @@ Multiline editable text field element. :ref:`AccessibilityRole` **ROLE_COLOR_PICKER** = ``20`` -Color picker element. +Elemento selettore di colore. .. _class_DisplayServer_constant_ROLE_TABLE: @@ -1037,7 +1037,7 @@ Color picker element. :ref:`AccessibilityRole` **ROLE_TABLE** = ``21`` -Table element. +Elemento tabella. .. _class_DisplayServer_constant_ROLE_CELL: @@ -1045,7 +1045,7 @@ Table element. :ref:`AccessibilityRole` **ROLE_CELL** = ``22`` -Table/tree cell element. +Elemento cella di albero/tabella. .. _class_DisplayServer_constant_ROLE_ROW: @@ -1053,7 +1053,7 @@ Table/tree cell element. :ref:`AccessibilityRole` **ROLE_ROW** = ``23`` -Table/tree row element. +Elemento riga di albero/tabella. .. _class_DisplayServer_constant_ROLE_ROW_GROUP: @@ -1061,7 +1061,7 @@ Table/tree row element. :ref:`AccessibilityRole` **ROLE_ROW_GROUP** = ``24`` -Table/tree row group element. +Elemento gruppo di righe di albero/tabella. .. _class_DisplayServer_constant_ROLE_ROW_HEADER: @@ -1069,7 +1069,7 @@ Table/tree row group element. :ref:`AccessibilityRole` **ROLE_ROW_HEADER** = ``25`` -Table/tree row header element. +Elemento intestazione di riga di tabella/albero. .. _class_DisplayServer_constant_ROLE_COLUMN_HEADER: @@ -1077,7 +1077,7 @@ Table/tree row header element. :ref:`AccessibilityRole` **ROLE_COLUMN_HEADER** = ``26`` -Table/tree column header element. +Elemento intestazione di colonna di tabella/albero. .. _class_DisplayServer_constant_ROLE_TREE: @@ -1085,7 +1085,7 @@ Table/tree column header element. :ref:`AccessibilityRole` **ROLE_TREE** = ``27`` -Tree view element. +Elemento vista di albero. .. _class_DisplayServer_constant_ROLE_TREE_ITEM: @@ -1093,7 +1093,7 @@ Tree view element. :ref:`AccessibilityRole` **ROLE_TREE_ITEM** = ``28`` -Tree view item element. +Elemento elemento di vista di albero. .. _class_DisplayServer_constant_ROLE_LIST: @@ -1101,7 +1101,7 @@ Tree view item element. :ref:`AccessibilityRole` **ROLE_LIST** = ``29`` -List element. +Elemento lista. .. _class_DisplayServer_constant_ROLE_LIST_ITEM: @@ -1109,7 +1109,7 @@ List element. :ref:`AccessibilityRole` **ROLE_LIST_ITEM** = ``30`` -List item element. +Elemento elemento di lista. .. _class_DisplayServer_constant_ROLE_LIST_BOX: @@ -1117,7 +1117,7 @@ List item element. :ref:`AccessibilityRole` **ROLE_LIST_BOX** = ``31`` -List view element. +Elemento vista di lista. .. _class_DisplayServer_constant_ROLE_LIST_BOX_OPTION: @@ -1125,7 +1125,7 @@ List view element. :ref:`AccessibilityRole` **ROLE_LIST_BOX_OPTION** = ``32`` -List view item element. +Elemento elemento di vista di lista. .. _class_DisplayServer_constant_ROLE_TAB_BAR: @@ -1133,7 +1133,7 @@ List view item element. :ref:`AccessibilityRole` **ROLE_TAB_BAR** = ``33`` -Tab bar element. +Elemento barra di schede. .. _class_DisplayServer_constant_ROLE_TAB: @@ -1141,7 +1141,7 @@ Tab bar element. :ref:`AccessibilityRole` **ROLE_TAB** = ``34`` -Tab bar item element. +Elemento elemento di barra di schede. .. _class_DisplayServer_constant_ROLE_TAB_PANEL: @@ -1149,7 +1149,7 @@ Tab bar item element. :ref:`AccessibilityRole` **ROLE_TAB_PANEL** = ``35`` -Tab panel element. +Elemento pannello di scheda. .. _class_DisplayServer_constant_ROLE_MENU_BAR: @@ -1157,7 +1157,7 @@ Tab panel element. :ref:`AccessibilityRole` **ROLE_MENU_BAR** = ``36`` -Menu bar element. +Elemento barra di menu. .. _class_DisplayServer_constant_ROLE_MENU: @@ -1165,7 +1165,7 @@ Menu bar element. :ref:`AccessibilityRole` **ROLE_MENU** = ``37`` -Popup menu element. +Elemento menu popup. .. _class_DisplayServer_constant_ROLE_MENU_ITEM: @@ -1173,7 +1173,7 @@ Popup menu element. :ref:`AccessibilityRole` **ROLE_MENU_ITEM** = ``38`` -Popup menu item element. +Elemento voce di menu popup. .. _class_DisplayServer_constant_ROLE_MENU_ITEM_CHECK_BOX: @@ -1181,7 +1181,7 @@ Popup menu item element. :ref:`AccessibilityRole` **ROLE_MENU_ITEM_CHECK_BOX** = ``39`` -Popup menu check button item element. +Elemento elemento di pulsante di spunta di menu popup. .. _class_DisplayServer_constant_ROLE_MENU_ITEM_RADIO: @@ -1189,7 +1189,7 @@ Popup menu check button item element. :ref:`AccessibilityRole` **ROLE_MENU_ITEM_RADIO** = ``40`` -Popup menu radio button item element. +Elemento elemento di pulsante di opzione (radio) di menu popup. .. _class_DisplayServer_constant_ROLE_IMAGE: @@ -1197,7 +1197,7 @@ Popup menu radio button item element. :ref:`AccessibilityRole` **ROLE_IMAGE** = ``41`` -Image element. +Elemento immagine. .. _class_DisplayServer_constant_ROLE_WINDOW: @@ -1205,7 +1205,7 @@ Image element. :ref:`AccessibilityRole` **ROLE_WINDOW** = ``42`` -Window element. +Elemento finestra. .. _class_DisplayServer_constant_ROLE_TITLE_BAR: @@ -1213,7 +1213,7 @@ Window element. :ref:`AccessibilityRole` **ROLE_TITLE_BAR** = ``43`` -Embedded window title bar element. +Elemento barra del titolo incorporata nella finestra. .. _class_DisplayServer_constant_ROLE_DIALOG: @@ -1221,7 +1221,7 @@ Embedded window title bar element. :ref:`AccessibilityRole` **ROLE_DIALOG** = ``44`` -Dialog window element. +Elemento finestra di dialogo. .. _class_DisplayServer_constant_ROLE_TOOLTIP: @@ -1229,7 +1229,7 @@ Dialog window element. :ref:`AccessibilityRole` **ROLE_TOOLTIP** = ``45`` -Tooltip element. +Elemento suggerimento. .. rst-class:: classref-item-separator @@ -1247,7 +1247,7 @@ enum **AccessibilityPopupType**: :ref:`🔗` **POPUP_MENU** = ``0`` -Popup menu. +Elemento popup. .. _class_DisplayServer_constant_POPUP_LIST: @@ -1255,7 +1255,7 @@ Popup menu. :ref:`AccessibilityPopupType` **POPUP_LIST** = ``1`` -Popup list. +Lista popup. .. _class_DisplayServer_constant_POPUP_TREE: @@ -1263,7 +1263,7 @@ Popup list. :ref:`AccessibilityPopupType` **POPUP_TREE** = ``2`` -Popup tree view. +Vista di albero popup. .. _class_DisplayServer_constant_POPUP_DIALOG: @@ -1271,7 +1271,7 @@ Popup tree view. :ref:`AccessibilityPopupType` **POPUP_DIALOG** = ``3`` -Popup dialog. +Finestra di dialogo popup. .. rst-class:: classref-item-separator @@ -1289,7 +1289,7 @@ enum **AccessibilityFlags**: :ref:`🔗` :ref:`AccessibilityFlags` **FLAG_HIDDEN** = ``0`` -Element is hidden for accessibility tools. +L'elemento è nascosto per gli strumenti di accessibilità. .. _class_DisplayServer_constant_FLAG_MULTISELECTABLE: @@ -1297,7 +1297,7 @@ Element is hidden for accessibility tools. :ref:`AccessibilityFlags` **FLAG_MULTISELECTABLE** = ``1`` -Element is support multiple item selection. +L'elemento supporta la selezione di più elementi. .. _class_DisplayServer_constant_FLAG_REQUIRED: @@ -1305,7 +1305,7 @@ Element is support multiple item selection. :ref:`AccessibilityFlags` **FLAG_REQUIRED** = ``2`` -Element require user input. +L'elemento richiede l'input dell'utente. .. _class_DisplayServer_constant_FLAG_VISITED: @@ -1313,7 +1313,7 @@ Element require user input. :ref:`AccessibilityFlags` **FLAG_VISITED** = ``3`` -Element is a visited link. +L'elemento è un link visitato. .. _class_DisplayServer_constant_FLAG_BUSY: @@ -1321,7 +1321,7 @@ Element is a visited link. :ref:`AccessibilityFlags` **FLAG_BUSY** = ``4`` -Element content is not ready (e.g. loading). +Il contenuto dell'elemento non è pronto (ad esempio, in caricamento). .. _class_DisplayServer_constant_FLAG_MODAL: @@ -1329,7 +1329,7 @@ Element content is not ready (e.g. loading). :ref:`AccessibilityFlags` **FLAG_MODAL** = ``5`` -Element is modal window. +L'elemento è una finestra modale. .. _class_DisplayServer_constant_FLAG_TOUCH_PASSTHROUGH: @@ -1337,7 +1337,7 @@ Element is modal window. :ref:`AccessibilityFlags` **FLAG_TOUCH_PASSTHROUGH** = ``6`` -Element allows touches to be passed through when a screen reader is in touch exploration mode. +L'elemento permette di trasmettere i tocchi quando un lettore dello schermo è in modalità di esplorazione tattile. .. _class_DisplayServer_constant_FLAG_READONLY: @@ -1345,7 +1345,7 @@ Element allows touches to be passed through when a screen reader is in touch exp :ref:`AccessibilityFlags` **FLAG_READONLY** = ``7`` -Element is text field with selectable but read-only text. +L'elemento è un campo di testo, con testo selezionabile ma di sola lettura. .. _class_DisplayServer_constant_FLAG_DISABLED: @@ -1353,7 +1353,7 @@ Element is text field with selectable but read-only text. :ref:`AccessibilityFlags` **FLAG_DISABLED** = ``8`` -Element is disabled. +L'elemento è disabilitato. .. _class_DisplayServer_constant_FLAG_CLIPS_CHILDREN: @@ -1361,7 +1361,7 @@ Element is disabled. :ref:`AccessibilityFlags` **FLAG_CLIPS_CHILDREN** = ``9`` -Element clips children. +L'elemento ritaglia i figli. .. rst-class:: classref-item-separator @@ -1379,7 +1379,7 @@ enum **AccessibilityAction**: :ref:`🔗 :ref:`AccessibilityAction` **ACTION_CLICK** = ``0`` -Single click action, callback argument is not set. +Azione di solo clic, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_FOCUS: @@ -1387,7 +1387,7 @@ Single click action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_FOCUS** = ``1`` -Focus action, callback argument is not set. +Azione di focalizzazione, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_BLUR: @@ -1395,7 +1395,7 @@ Focus action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_BLUR** = ``2`` -Blur action, callback argument is not set. +Azione di sfocatura, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_COLLAPSE: @@ -1403,7 +1403,7 @@ Blur action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_COLLAPSE** = ``3`` -Collapse action, callback argument is not set. +Azione di compressione, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_EXPAND: @@ -1411,7 +1411,7 @@ Collapse action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_EXPAND** = ``4`` -Expand action, callback argument is not set. +Azione di espansione, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_DECREMENT: @@ -1419,7 +1419,7 @@ Expand action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_DECREMENT** = ``5`` -Decrement action, callback argument is not set. +Azione di decremento, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_INCREMENT: @@ -1427,7 +1427,7 @@ Decrement action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_INCREMENT** = ``6`` -Increment action, callback argument is not set. +Azione di incremento, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_HIDE_TOOLTIP: @@ -1435,7 +1435,7 @@ Increment action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_HIDE_TOOLTIP** = ``7`` -Hide tooltip action, callback argument is not set. +Azione per nascondere un suggerimento, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_SHOW_TOOLTIP: @@ -1443,7 +1443,7 @@ Hide tooltip action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_SHOW_TOOLTIP** = ``8`` -Show tooltip action, callback argument is not set. +Azione per mostrare un suggerimento, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_SET_TEXT_SELECTION: @@ -1451,15 +1451,15 @@ Show tooltip action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_SET_TEXT_SELECTION** = ``9`` -Set text selection action, callback argument is set to :ref:`Dictionary` with the following keys: +Azione di selezione testo, l'argomento del callback è impostato su un :ref:`Dictionary` con le seguenti chiavi: -- ``"start_element"`` accessibility element of the selection start. +- ``"start_element"`` elemento di accessibilità dell'inizio della selezione. -- ``"start_char"`` character offset relative to the accessibility element of the selection start. +- ``"start_char"`` offset di carattere relativo all'elemento di accessibilità dell'inizio della selezione. -- ``"end_element"`` accessibility element of the selection end. +- ``"end_element"`` elemento di accessibilità della fine della selezione. -- ``"end_char"`` character offset relative to the accessibility element of the selection end. +- ``"end_char"`` offset di carattere relativo all'elemento di accessibilità della fine della selezione. .. _class_DisplayServer_constant_ACTION_REPLACE_SELECTED_TEXT: @@ -1467,7 +1467,7 @@ Set text selection action, callback argument is set to :ref:`Dictionary` **ACTION_REPLACE_SELECTED_TEXT** = ``10`` -Replace text action, callback argument is set to :ref:`String` with the replacement text. +Azione di sostituzione testo, l'argomento del callback è impostato su una :ref:`String` con il testo sostitutivo. .. _class_DisplayServer_constant_ACTION_SCROLL_BACKWARD: @@ -1475,7 +1475,7 @@ Replace text action, callback argument is set to :ref:`String` wit :ref:`AccessibilityAction` **ACTION_SCROLL_BACKWARD** = ``11`` -Scroll backward action, callback argument is not set. +Azione di scorrimento indietro, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_SCROLL_DOWN: @@ -1483,7 +1483,7 @@ Scroll backward action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_SCROLL_DOWN** = ``12`` -Scroll down action, callback argument is set to :ref:`AccessibilityScrollUnit`. +Azione di scorrimento in basso, l'argomento del callback è impostato su :ref:`AccessibilityScrollUnit`. .. _class_DisplayServer_constant_ACTION_SCROLL_FORWARD: @@ -1491,7 +1491,7 @@ Scroll down action, callback argument is set to :ref:`AccessibilityScrollUnit` **ACTION_SCROLL_FORWARD** = ``13`` -Scroll forward action, callback argument is not set. +Azione di scorrimento in avanti, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_SCROLL_LEFT: @@ -1499,7 +1499,7 @@ Scroll forward action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_SCROLL_LEFT** = ``14`` -Scroll left action, callback argument is set to :ref:`AccessibilityScrollUnit`. +Azione di scorrimento a sinistra, l'argomento del callback è impostato su :ref:`AccessibilityScrollUnit`. .. _class_DisplayServer_constant_ACTION_SCROLL_RIGHT: @@ -1507,7 +1507,7 @@ Scroll left action, callback argument is set to :ref:`AccessibilityScrollUnit` **ACTION_SCROLL_RIGHT** = ``15`` -Scroll right action, callback argument is set to :ref:`AccessibilityScrollUnit`. +Azione di scorrimento a destra, l'argomento del callback è impostato su :ref:`AccessibilityScrollUnit`. .. _class_DisplayServer_constant_ACTION_SCROLL_UP: @@ -1515,7 +1515,7 @@ Scroll right action, callback argument is set to :ref:`AccessibilityScrollUnit` **ACTION_SCROLL_UP** = ``16`` -Scroll up action, callback argument is set to :ref:`AccessibilityScrollUnit`. +Azione di scorrimento in alto, l'argomento del callback è impostato su :ref:`AccessibilityScrollUnit`. .. _class_DisplayServer_constant_ACTION_SCROLL_INTO_VIEW: @@ -1523,7 +1523,7 @@ Scroll up action, callback argument is set to :ref:`AccessibilityScrollUnit` **ACTION_SCROLL_INTO_VIEW** = ``17`` -Scroll into view action, callback argument is set to :ref:`AccessibilityScrollHint`. +Azione di scorrimento in vista, l'argomento del callback è impostato su :ref:`AccessibilityScrollHint`. .. _class_DisplayServer_constant_ACTION_SCROLL_TO_POINT: @@ -1531,7 +1531,7 @@ Scroll into view action, callback argument is set to :ref:`AccessibilityScrollHi :ref:`AccessibilityAction` **ACTION_SCROLL_TO_POINT** = ``18`` -Scroll to point action, callback argument is set to :ref:`Vector2` with the relative point coordinates. +Azione di scorrimento fino a un punto, l'argomento del callback è impostato su un :ref:`Vector2` con le coordinate relative del punto. .. _class_DisplayServer_constant_ACTION_SET_SCROLL_OFFSET: @@ -1539,7 +1539,7 @@ Scroll to point action, callback argument is set to :ref:`Vector2 :ref:`AccessibilityAction` **ACTION_SET_SCROLL_OFFSET** = ``19`` -Set scroll offset action, callback argument is set to :ref:`Vector2` with the scroll offset. +Azione di offset dello scorrimento, l'argomento del callback è impostato su un :ref:`Vector2` con l'offset. .. _class_DisplayServer_constant_ACTION_SET_VALUE: @@ -1547,7 +1547,7 @@ Set scroll offset action, callback argument is set to :ref:`Vector2` **ACTION_SET_VALUE** = ``20`` -Set value action, callback argument is set to :ref:`String` or number with the new value. +Azione di impostazione di un valore, l'argomento del callback è impostato su una :ref:`String` o su un numero con il nuovo valore. .. _class_DisplayServer_constant_ACTION_SHOW_CONTEXT_MENU: @@ -1555,7 +1555,7 @@ Set value action, callback argument is set to :ref:`String` or num :ref:`AccessibilityAction` **ACTION_SHOW_CONTEXT_MENU** = ``21`` -Show context menu action, callback argument is not set. +Azione per mostrare il menu contestuale, l'argomento del callback non è impostato. .. _class_DisplayServer_constant_ACTION_CUSTOM: @@ -1563,7 +1563,7 @@ Show context menu action, callback argument is not set. :ref:`AccessibilityAction` **ACTION_CUSTOM** = ``22`` -Custom action, callback argument is set to the integer action ID. +Azione personalizzata, l'argomento del callback è impostato sull'ID intero dell'azione. .. rst-class:: classref-item-separator @@ -1581,7 +1581,7 @@ enum **AccessibilityLiveMode**: :ref:`🔗` **LIVE_OFF** = ``0`` -Indicates that updates to the live region should not be presented. +Indica che gli aggiornamenti alla regione attiva non devono presentarsi. .. _class_DisplayServer_constant_LIVE_POLITE: @@ -1589,7 +1589,7 @@ Indicates that updates to the live region should not be presented. :ref:`AccessibilityLiveMode` **LIVE_POLITE** = ``1`` -Indicates that updates to the live region should be presented at the next opportunity (for example at the end of speaking the current sentence). +Indica che gli aggiornamenti alla regione attiva devono presentarsi alla prossima occasione (ad esempio alla fine della frase attuale). .. _class_DisplayServer_constant_LIVE_ASSERTIVE: @@ -1597,7 +1597,7 @@ Indicates that updates to the live region should be presented at the next opport :ref:`AccessibilityLiveMode` **LIVE_ASSERTIVE** = ``2`` -Indicates that updates to the live region have the highest priority and should be presented immediately. +Indica che gli aggiornamenti alla regione attiva hanno la massima priorità e devono presentarsi immediatamente. .. rst-class:: classref-item-separator @@ -1615,7 +1615,7 @@ enum **AccessibilityScrollUnit**: :ref:`🔗` **SCROLL_UNIT_ITEM** = ``0`` -The amount by which to scroll. A single item of a list, line of text. +La quantità da scorrere. Un singolo elemento di un elenco, una riga di testo. .. _class_DisplayServer_constant_SCROLL_UNIT_PAGE: @@ -1623,7 +1623,7 @@ The amount by which to scroll. A single item of a list, line of text. :ref:`AccessibilityScrollUnit` **SCROLL_UNIT_PAGE** = ``1`` -The amount by which to scroll. A single page. +La quantità da scorrere. Una singola pagina. .. rst-class:: classref-item-separator @@ -1641,7 +1641,7 @@ enum **AccessibilityScrollHint**: :ref:`🔗` **SCROLL_HINT_TOP_LEFT** = ``0`` -A preferred position for the node scrolled into view. Top-left edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo superiore sinistro del contenitore di scorrimento. .. _class_DisplayServer_constant_SCROLL_HINT_BOTTOM_RIGHT: @@ -1649,7 +1649,7 @@ A preferred position for the node scrolled into view. Top-left edge of the scrol :ref:`AccessibilityScrollHint` **SCROLL_HINT_BOTTOM_RIGHT** = ``1`` -A preferred position for the node scrolled into view. Bottom-right edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo inferiore destro del contenitore di scorrimento. .. _class_DisplayServer_constant_SCROLL_HINT_TOP_EDGE: @@ -1657,7 +1657,7 @@ A preferred position for the node scrolled into view. Bottom-right edge of the s :ref:`AccessibilityScrollHint` **SCROLL_HINT_TOP_EDGE** = ``2`` -A preferred position for the node scrolled into view. Top edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo superiore del contenitore di scorrimento. .. _class_DisplayServer_constant_SCROLL_HINT_BOTTOM_EDGE: @@ -1665,7 +1665,7 @@ A preferred position for the node scrolled into view. Top edge of the scroll con :ref:`AccessibilityScrollHint` **SCROLL_HINT_BOTTOM_EDGE** = ``3`` -A preferred position for the node scrolled into view. Bottom edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo inferiore del contenitore di scorrimento. .. _class_DisplayServer_constant_SCROLL_HINT_LEFT_EDGE: @@ -1673,7 +1673,7 @@ A preferred position for the node scrolled into view. Bottom edge of the scroll :ref:`AccessibilityScrollHint` **SCROLL_HINT_LEFT_EDGE** = ``4`` -A preferred position for the node scrolled into view. Left edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo sinistro del contenitore di scorrimento. .. _class_DisplayServer_constant_SCROLL_HINT_RIGHT_EDGE: @@ -1681,7 +1681,7 @@ A preferred position for the node scrolled into view. Left edge of the scroll co :ref:`AccessibilityScrollHint` **SCROLL_HINT_RIGHT_EDGE** = ``5`` -A preferred position for the node scrolled into view. Right edge of the scroll container. +Una posizione preferita per il nodo visualizzato tramite scorrimento. Il bordo destro del contenitore di scorrimento. .. rst-class:: classref-item-separator @@ -2129,15 +2129,15 @@ Modalità finestra massimizzata, ovvero la :ref:`Window` occuperà :ref:`WindowMode` **WINDOW_MODE_FULLSCREEN** = ``3`` -Full screen mode with full multi-window support. +Modalità a schermo intero con supporto multi-finestra completo. -Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed. +La finestra a schermo intero copre l'intera area di visualizzazione di uno schermo e non ha decorazioni. La modalità video del display non cambia. -\ **On Android:** This enables immersive mode. +\ **Su Android:** Questo abilita la modalità immersiva. -\ **On macOS:** A new desktop is used to display the running project. +\ **Su macOS:** È utilizzato un nuovo desktop per visualizzare il progetto in esecuzione. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Nota:** A prescindere dalla piattaforma, abilitando lo schermo intero si modificheranno le dimensioni della finestra in modo che corrispondano alle dimensioni del monitor. Pertanto, assicurati che il tuo progetto supporti :doc:`diverse risoluzioni <../tutorials/rendering/multiple_resolutions>` quando abiliti la modalità a schermo intero. .. _class_DisplayServer_constant_WINDOW_MODE_EXCLUSIVE_FULLSCREEN: @@ -2145,23 +2145,23 @@ Full screen window covers the entire display area of a screen and has no decorat :ref:`WindowMode` **WINDOW_MODE_EXCLUSIVE_FULLSCREEN** = ``4`` -A single window full screen mode. This mode has less overhead, but only one window can be open on a given screen at a time (opening a child window or application switching will trigger a full screen transition). +Modalità a schermo intero con una sola finestra. Questa modalità è più efficiente, ma può essere aperta solo una finestra alla volta su un determinato schermo (l'apertura di una finestra secondaria o il cambio dell'applicazione attiverà una transizione dallo schermo intero). -Full screen window covers the entire display area of a screen and has no border or decorations. The display's video mode is not changed. +La finestra a schermo intero copre l'intera area di visualizzazione di uno schermo e non ha bordi o decorazioni. La modalità video del display non cambia. -\ **Note:** This mode might not work with screen recording software. +\ **Nota:** Questa modalità potrebbe non funzionare con i software di registrazione dello schermo. -\ **On Android:** This enables immersive mode. +\ **Su Android:** Questo abilita la modalità immersiva. -\ **On Windows:** Depending on video driver, full screen transition might cause screens to go black for a moment. +\ **Su Windows:** A seconda del driver video, la transizione allo schermo intero potrebbe causare lo spegnimento momentaneo dello schermo. -\ **On macOS:** A new desktop is used to display the running project. Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen. +\ **Su macOS:** È utilizzato un nuovo desktop per visualizzare il progetto in esecuzione. La modalità a schermo intero esclusiva impedisce che Dock e Menu vengano visualizzati quando il puntatore del mouse passa sul bordo dello schermo. -\ **On Linux (X11):** Exclusive full screen mode bypasses compositor. +\ **Su Linux (X11):** La modalità a schermo intero esclusiva ignora il compositore. -\ **On Linux (Wayland):** Equivalent to :ref:`WINDOW_MODE_FULLSCREEN`. +\ **Su Linux (Wayland):** Equivalente a :ref:`WINDOW_MODE_FULLSCREEN`. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Nota:** A prescindere dalla piattaforma, abilitando lo schermo intero si modificheranno le dimensioni della finestra in modo che corrispondano alle dimensioni del monitor. Pertanto, assicurati che il tuo progetto supporti :doc:`diverse risoluzioni <../tutorials/rendering/multiple_resolutions>` quando abiliti la modalità a schermo intero. .. rst-class:: classref-item-separator @@ -2203,13 +2203,13 @@ La finestra è fluttuante sopra tutte le altre finestre. Questo flag è ignorato :ref:`WindowFlags` **WINDOW_FLAG_TRANSPARENT** = ``3`` -The window background can be transparent. +Lo sfondo della finestra può essere trasparente. -\ **Note:** This flag has no effect if :ref:`is_window_transparency_available()` returns ``false``. +\ **Nota:** Questo flag non ha effetto se :ref:`is_window_transparency_available()` restituisce ``false``. -\ **Note:** Transparency support is implemented on Linux (X11/Wayland), macOS, and Windows, but availability might vary depending on GPU driver, display manager, and compositor capabilities. +\ **Nota:** Il supporto per la trasparenza è implementato su Linux (X11/Wayland), macOS e Windows, ma la disponibilità potrebbe variare a seconda del driver GPU, del gestore di visualizzazione e delle capacità del compositore. -\ **Note:** Transparency support is implemented on Android, but can only be enabled via :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed`. This flag has no effect on Android. +\ **Nota:** Il supporto per la trasparenza è implementato su Android, ma può essere abilitato solo tramite :ref:`ProjectSettings.display/window/per_pixel_transparency/allowed`. Questo flag non ha effetto su Android. .. _class_DisplayServer_constant_WINDOW_FLAG_NO_FOCUS: @@ -2265,11 +2265,11 @@ Lo stile della finestra è sostituito, forzando angoli acuti. :ref:`WindowFlags` **WINDOW_FLAG_EXCLUDE_FROM_CAPTURE** = ``9`` -Window is excluded from screenshots taken by :ref:`screen_get_image()`, :ref:`screen_get_image_rect()`, and :ref:`screen_get_pixel()`. +La finestra è esclusa dagli screenshot acquisiti da :ref:`screen_get_image()`, :ref:`screen_get_image_rect()` e :ref:`screen_get_pixel()`. -\ **Note:** This flag is implemented on macOS and Windows (10, 20H1). +\ **Nota:** Questo flag è implementato su macOS e Windows (10, 20H1). -\ **Note:** Setting this flag will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure. +\ **Nota:** L'impostazione di questo flag impedirà ai metodi standard di catturare un'immagine della finestra, ma **NON** garantisce che altre app non siano in grado di catturare un'immagine. Non si dovrebbe utilizzare come DRM o misura di sicurezza. .. _class_DisplayServer_constant_WINDOW_FLAG_POPUP_WM_HINT: @@ -2277,7 +2277,7 @@ Window is excluded from screenshots taken by :ref:`screen_get_image()` **WINDOW_FLAG_POPUP_WM_HINT** = ``10`` -Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window). +Segnala al gestore delle finestre che questa finestra dovrebbe essere un "popup" definito dall'implementazione (solitamente una finestra figlia mobile, senza bordi, non ordinabile e non modificabile). .. _class_DisplayServer_constant_WINDOW_FLAG_MINIMIZE_DISABLED: @@ -2285,9 +2285,9 @@ Signals the window manager that this window is supposed to be an implementation- :ref:`WindowFlags` **WINDOW_FLAG_MINIMIZE_DISABLED** = ``11`` -Window minimize button is disabled. +Il pulsante di minimizzazione della finestra è disabilitato. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Nota:** Questo metodo è implementato su macOS e Windows. .. _class_DisplayServer_constant_WINDOW_FLAG_MAXIMIZE_DISABLED: @@ -2295,9 +2295,9 @@ Window minimize button is disabled. :ref:`WindowFlags` **WINDOW_FLAG_MAXIMIZE_DISABLED** = ``12`` -Window maximize button is disabled. +Il pulsante di massimizzazione della finestra è disabilitato. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Nota:** Questo metodo è implementato su macOS e Windows. .. _class_DisplayServer_constant_WINDOW_FLAG_MAX: @@ -2305,7 +2305,7 @@ Window maximize button is disabled. :ref:`WindowFlags` **WINDOW_FLAG_MAX** = ``13`` -Valore massimo di :ref:`WindowFlags`. +Valore massimo per l'enumerazione :ref:`WindowFlags`. .. rst-class:: classref-item-separator @@ -2373,9 +2373,9 @@ Inviato quando il pulsante "Indietro" del dispositivo viene premuto. :ref:`WindowEvent` **WINDOW_EVENT_DPI_CHANGE** = ``6`` -Sent when the window is moved to the display with different DPI, or display DPI is changed. +Inviato quando la finestra viene spostata su un display con un DPI diverso, o il DPI del display viene cambiato. -\ **Note:** This flag is implemented only on macOS and Linux (Wayland). +\ **Nota:** Questo flag è implementata solo su macOS e Linux (Wayland). .. _class_DisplayServer_constant_WINDOW_EVENT_TITLEBAR_CHANGE: @@ -2393,9 +2393,9 @@ Inviato quando la decorazione della barra del titolo della finestra viene modifi :ref:`WindowEvent` **WINDOW_EVENT_FORCE_CLOSE** = ``8`` -Sent when the window has been forcibly closed by the Display Server. The window shall immediately hide and clean any internal rendering references. +Inviato quando la finestra è stata chiusa forzatamente dal server di visualizzazione. La finestra deve nascondere e pulire immediatamente tutti i riferimenti interni di rendering. -\ **Note:** This flag is implemented only on Linux (Wayland). +\ **Nota:** Questo flag è implementato solo su Linux (Wayland). .. rst-class:: classref-item-separator @@ -2680,7 +2680,7 @@ Costanti **INVALID_SCREEN** = ``-1`` :ref:`🔗` -The ID that refers to a screen that does not exist. This is returned by some **DisplayServer** methods if no screen matches the requested result. +L'ID che fa riferimento a uno schermo inesistente. Questo è restituito da alcuni metodi del **DisplayServer** se nessuno schermo corrisponde al risultato richiesto. .. _class_DisplayServer_constant_SCREEN_WITH_MOUSE_FOCUS: @@ -2761,9 +2761,9 @@ Descrizioni dei metodi :ref:`RID` **accessibility_create_element**\ (\ window_id\: :ref:`int`, role\: :ref:`AccessibilityRole`\ ) :ref:`🔗` -Creates a new, empty accessibility element resource. +Crea una nuova risorsa vuota per gli elementi di accessibilità. -\ **Note:** An accessibility element is created and freed automatically for each :ref:`Node`. In general, this function should not be called manually. +\ **Nota:** Un elemento di accessibilità viene creato e liberato automaticamente per ogni :ref:`Node`. In generale, questa funzione non si dovrebbe chiamare manualmente. .. rst-class:: classref-item-separator @@ -2775,7 +2775,7 @@ Creates a new, empty accessibility element resource. :ref:`RID` **accessibility_create_sub_element**\ (\ parent_rid\: :ref:`RID`, role\: :ref:`AccessibilityRole`, insert_pos\: :ref:`int` = -1\ ) :ref:`🔗` -Creates a new, empty accessibility sub-element resource. Sub-elements can be used to provide accessibility information for objects which are not :ref:`Node`\ s, such as list items, table cells, or menu items. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the :ref:`accessibility_free_element()` method. +Crea una nuova risorsa vuota per i sotto-elementi di accessibilità. I sotto-elementi si possono utilizzare per fornire informazioni di accessibilità per oggetti che non sono :ref:`Node`, come voci di un elenco, celle di una tabella o voci di un menu. I sotto-elementi vengono liberati automaticamente quando l'elemento padre viene liberato, oppure si possono liberare in anticipo attraverso il metodo :ref:`accessibility_free_element()`. .. rst-class:: classref-item-separator @@ -2787,7 +2787,7 @@ Creates a new, empty accessibility sub-element resource. Sub-elements can be use :ref:`RID` **accessibility_create_sub_text_edit_elements**\ (\ parent_rid\: :ref:`RID`, shaped_text\: :ref:`RID`, min_height\: :ref:`float`, insert_pos\: :ref:`int` = -1\ ) :ref:`🔗` -Creates a new, empty accessibility sub-element from the shaped text buffer. Sub-elements are freed automatically when the parent element is freed, or can be freed early using the :ref:`accessibility_free_element()` method. +Crea un nuovo sotto-elemento di accessibilità vuoto dal buffer di testo sagomato. I sotto-elementi sono liberati automaticamente quando l'elemento padre è liberato, oppure si possono liberare in anticipo attraverso il metodo :ref:`accessibility_free_element()`. .. rst-class:: classref-item-separator @@ -2823,7 +2823,7 @@ Imposta i metadati dell'elemento di accessibilità. |void| **accessibility_free_element**\ (\ id\: :ref:`RID`\ ) :ref:`🔗` -Frees an object created by :ref:`accessibility_create_element()`, :ref:`accessibility_create_sub_element()`, or :ref:`accessibility_create_sub_text_edit_elements()`. +Libera un oggetto creato da :ref:`accessibility_create_element()`, :ref:`accessibility_create_sub_element()` o :ref:`accessibility_create_sub_text_edit_elements()`. .. rst-class:: classref-item-separator @@ -2847,7 +2847,7 @@ Restituisce l'elemento principale di accessibilità della finestra nativa del si :ref:`bool` **accessibility_has_element**\ (\ id\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns ``true`` if ``id`` is a valid accessibility element. +Restituisce ``true`` se ``id`` è un elemento di accessibilità valido. .. rst-class:: classref-item-separator @@ -2859,11 +2859,11 @@ Returns ``true`` if ``id`` is a valid accessibility element. :ref:`int` **accessibility_screen_reader_active**\ (\ ) |const| :ref:`🔗` -Returns ``1`` if a screen reader, Braille display or other assistive app is active, ``0`` otherwise. Returns ``-1`` if status is unknown. +Restituisce ``1`` se è attivo un lettore dello schermo, un display Braille o un'altra applicazione assistiva, ``0`` in caso contrario. Restituisce ``-1`` se lo stato è sconosciuto. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux, macOS e Windows. -\ **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, macOS Accessibility Inspector, or AT-SPI Browser do not count as assistive apps and will not affect this value. To test your app with these tools, set :ref:`ProjectSettings.accessibility/general/accessibility_support` to ``1``. +\ **Nota:** Gli strumenti di debug per l'accessibilità, come Accessibility Insights per Windows, Accessibility Inspector (macOS) o AT-SPI Browser (Linux/BSD), non contano come applicazioni assistive e non influiscono su questo valore. Per testare la tua applicazione con questi strumenti, imposta :ref:`ProjectSettings.accessibility/general/accessibility_support` su ``1``. .. rst-class:: classref-item-separator @@ -2875,11 +2875,11 @@ Returns ``1`` if a screen reader, Braille display or other assistive app is acti |void| **accessibility_set_window_focused**\ (\ window_id\: :ref:`int`, focused\: :ref:`bool`\ ) :ref:`🔗` -Sets the window focused state for assistive apps. +Imposta lo stato di focalizzazione della finestra per le app assistive. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su macOS e Windows. -\ **Note:** Advanced users only! :ref:`Window` objects call this method automatically. +\ **Nota:** Questo metodo non è supportato dalle voci di menu del Dock di macOS. .. rst-class:: classref-item-separator @@ -2891,11 +2891,11 @@ Sets the window focused state for assistive apps. |void| **accessibility_set_window_rect**\ (\ window_id\: :ref:`int`, rect_out\: :ref:`Rect2`, rect_in\: :ref:`Rect2`\ ) :ref:`🔗` -Sets window outer (with decorations) and inner (without decorations) bounds for assistive apps. +Imposta i limiti esterni (con decorazioni) e interni (senza decorazioni) della finestra per le applicazioni assistive. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux, macOS e Windows. -\ **Note:** Advanced users only! :ref:`Window` objects call this method automatically. +\ **Nota:** Solo per utenti avanzati! Gli oggetti :ref:`Window` chiamano questo metodo automaticamente. .. rst-class:: classref-item-separator @@ -2949,7 +2949,7 @@ Restituisce ``1`` se si dovrebbero disabilitare le immagini di sfondo, la traspa |void| **accessibility_update_add_action**\ (\ id\: :ref:`RID`, action\: :ref:`AccessibilityAction`, callable\: :ref:`Callable`\ ) :ref:`🔗` -Adds a callback for the accessibility action (action which can be performed by using a special screen reader command or buttons on the Braille display), and marks this action as supported. The action callback receives one :ref:`Variant` argument, which value depends on action type. +Aggiunge un callback per l'azione di accessibilità (azione che si può effettuare attraverso un comando speciale in un lettore dello schermo o i pulsanti su un display Braille) e contrassegna questa azione come supportata. Il callback dell'azione riceve un argomento :ref:`Variant`, il cui valore dipende dal tipo di azione. .. rst-class:: classref-item-separator @@ -2961,9 +2961,9 @@ Adds a callback for the accessibility action (action which can be performed by u |void| **accessibility_update_add_child**\ (\ id\: :ref:`RID`, child_id\: :ref:`RID`\ ) :ref:`🔗` -Adds a child accessibility element. +Aggiunge un elemento di accessibilità figlio. -\ **Note:** :ref:`Node` children and sub-elements are added to the child list automatically. +\ **Nota:** I figli :ref:`Node` e i sotto-elementi sono aggiunti automaticamente all'elenco degli elementi figlio. .. rst-class:: classref-item-separator @@ -2975,7 +2975,7 @@ Adds a child accessibility element. |void| **accessibility_update_add_custom_action**\ (\ id\: :ref:`RID`, action_id\: :ref:`int`, action_description\: :ref:`String`\ ) :ref:`🔗` -Adds support for a custom accessibility action. ``action_id`` is passed as an argument to the callback of :ref:`ACTION_CUSTOM` action. +Aggiunge supporto per un'azione di accessibilità personalizzata. ``action_id`` è passato come argomento al callback dell'azione :ref:`ACTION_CUSTOM`. .. rst-class:: classref-item-separator @@ -2999,7 +2999,7 @@ Aggiunge un elemento che è controllato da questo elemento. |void| **accessibility_update_add_related_described_by**\ (\ id\: :ref:`RID`, related_id\: :ref:`RID`\ ) :ref:`🔗` -Adds an element that describes this element. +Aggiunge un elemento che descrive questo elemento. .. rst-class:: classref-item-separator @@ -3011,7 +3011,7 @@ Adds an element that describes this element. |void| **accessibility_update_add_related_details**\ (\ id\: :ref:`RID`, related_id\: :ref:`RID`\ ) :ref:`🔗` -Adds an element that details this element. +Aggiunge un elemento che descrive in dettaglio questo elemento. .. rst-class:: classref-item-separator @@ -3023,7 +3023,7 @@ Adds an element that details this element. |void| **accessibility_update_add_related_flow_to**\ (\ id\: :ref:`RID`, related_id\: :ref:`RID`\ ) :ref:`🔗` -Adds an element that this element flow into. +Aggiunge un elemento in cui fluisce questo elemento. .. rst-class:: classref-item-separator @@ -3035,7 +3035,7 @@ Adds an element that this element flow into. |void| **accessibility_update_add_related_labeled_by**\ (\ id\: :ref:`RID`, related_id\: :ref:`RID`\ ) :ref:`🔗` -Adds an element that labels this element. +Aggiunge un elemento che etichetta questo elemento. .. rst-class:: classref-item-separator @@ -3047,9 +3047,9 @@ Adds an element that labels this element. |void| **accessibility_update_add_related_radio_group**\ (\ id\: :ref:`RID`, related_id\: :ref:`RID`\ ) :ref:`🔗` -Adds an element that is part of the same radio group. +Aggiunge un elemento che fa parte dello stesso gruppo di opzioni (radio). -\ **Note:** This method should be called on each element of the group, using all other elements as ``related_id``. +\ **Nota:** Questo metodo si dovrebbe chiamare su ogni elemento del gruppo, utilizzando tutti gli altri elementi come ``related_id``. .. rst-class:: classref-item-separator @@ -3085,7 +3085,7 @@ Imposta il colore di sfondo dell'elemento. |void| **accessibility_update_set_bounds**\ (\ id\: :ref:`RID`, p_rect\: :ref:`Rect2`\ ) :ref:`🔗` -Restituisce il bounding box dell'elemento, relativo alla posizione del nodo. +Restituisce la bounding box dell'elemento, relativa alla posizione del nodo. .. rst-class:: classref-item-separator @@ -3133,7 +3133,7 @@ Imposta il valore di colore dell'elemento. |void| **accessibility_update_set_description**\ (\ id\: :ref:`RID`, description\: :ref:`String`\ ) :ref:`🔗` -Sets element accessibility description. +Imposta la descrizione d'accessibilità dell'elemento. .. rst-class:: classref-item-separator @@ -3145,7 +3145,7 @@ Sets element accessibility description. |void| **accessibility_update_set_error_message**\ (\ id\: :ref:`RID`, other_id\: :ref:`RID`\ ) :ref:`🔗` -Sets an element which contains an error message for this element. +Imposta un elemento che contiene un messaggio di errore per questo elemento. .. rst-class:: classref-item-separator @@ -3157,7 +3157,7 @@ Sets an element which contains an error message for this element. |void| **accessibility_update_set_extra_info**\ (\ id\: :ref:`RID`, name\: :ref:`String`\ ) :ref:`🔗` -Sets element accessibility extra information added to the element name. +Imposta ulteriori informazioni d'accessibilità dell'elemento aggiunte al nome dell'elemento. .. rst-class:: classref-item-separator @@ -3241,7 +3241,7 @@ Imposta il numero di elementi nell'elenco. |void| **accessibility_update_set_list_item_expanded**\ (\ id\: :ref:`RID`, expanded\: :ref:`bool`\ ) :ref:`🔗` -Sets list/tree item expanded status. +Imposta lo stato espanso dell'elemento elenco/albero. .. rst-class:: classref-item-separator @@ -3301,7 +3301,7 @@ Imposta l'orientazione degli elementi nell'elenco. |void| **accessibility_update_set_live**\ (\ id\: :ref:`RID`, live\: :ref:`AccessibilityLiveMode`\ ) :ref:`🔗` -Sets the priority of the live region updates. +Imposta la priorità degli aggiornamenti della regione attiva. .. rst-class:: classref-item-separator @@ -3349,7 +3349,7 @@ Imposta l'elemento successivo sulla riga. |void| **accessibility_update_set_num_jump**\ (\ id\: :ref:`RID`, jump\: :ref:`float`\ ) :ref:`🔗` -Sets numeric value jump. +Imposta il salto del valore numerico. .. rst-class:: classref-item-separator @@ -3373,7 +3373,7 @@ Imposta l'intervallo del valore numerico. |void| **accessibility_update_set_num_step**\ (\ id\: :ref:`RID`, step\: :ref:`float`\ ) :ref:`🔗` -Sets numeric value step. +Imposta il passo del valore numerico. .. rst-class:: classref-item-separator @@ -3397,7 +3397,7 @@ Imposta il valore numerico. |void| **accessibility_update_set_placeholder**\ (\ id\: :ref:`RID`, placeholder\: :ref:`String`\ ) :ref:`🔗` -Sets placeholder text. +Imposta il testo segnaposto. .. rst-class:: classref-item-separator @@ -3409,7 +3409,7 @@ Sets placeholder text. |void| **accessibility_update_set_popup_type**\ (\ id\: :ref:`RID`, popup\: :ref:`AccessibilityPopupType`\ ) :ref:`🔗` -Sets popup type for popup buttons. +Imposta il tipo di popup per i pulsanti popup. .. rst-class:: classref-item-separator @@ -3433,7 +3433,7 @@ Imposta l'elemento precedente sulla riga. |void| **accessibility_update_set_role**\ (\ id\: :ref:`RID`, role\: :ref:`AccessibilityRole`\ ) :ref:`🔗` -Sets element accessibility role. +Imposta il ruolo dell'elemento di accessibilità. .. rst-class:: classref-item-separator @@ -3445,7 +3445,7 @@ Sets element accessibility role. |void| **accessibility_update_set_role_description**\ (\ id\: :ref:`RID`, description\: :ref:`String`\ ) :ref:`🔗` -Sets element accessibility role description text. +Imposta il testo descrittivo per il ruolo dell'elemento di accessibilità. .. rst-class:: classref-item-separator @@ -3457,7 +3457,7 @@ Sets element accessibility role description text. |void| **accessibility_update_set_scroll_x**\ (\ id\: :ref:`RID`, position\: :ref:`float`\ ) :ref:`🔗` -Imposta la posizione x della barra di scorrimento. +Imposta la posizione in x della barra di scorrimento. .. rst-class:: classref-item-separator @@ -3469,7 +3469,7 @@ Imposta la posizione x della barra di scorrimento. |void| **accessibility_update_set_scroll_x_range**\ (\ id\: :ref:`RID`, min\: :ref:`float`, max\: :ref:`float`\ ) :ref:`🔗` -Sets scroll bar x range. +Imposta l'intervallo in x della barra di scorrimento. .. rst-class:: classref-item-separator @@ -3481,7 +3481,7 @@ Sets scroll bar x range. |void| **accessibility_update_set_scroll_y**\ (\ id\: :ref:`RID`, position\: :ref:`float`\ ) :ref:`🔗` -Imposta la posizione y della barra di scorrimento. +Imposta la posizione in y della barra di scorrimento. .. rst-class:: classref-item-separator @@ -3493,7 +3493,7 @@ Imposta la posizione y della barra di scorrimento. |void| **accessibility_update_set_scroll_y_range**\ (\ id\: :ref:`RID`, min\: :ref:`float`, max\: :ref:`float`\ ) :ref:`🔗` -Sets scroll bar y range. +Imposta l'intervallo in y della barra di scorrimento. .. rst-class:: classref-item-separator @@ -3541,7 +3541,7 @@ Imposta la posizione nella tabella. |void| **accessibility_update_set_table_cell_span**\ (\ id\: :ref:`RID`, row_span\: :ref:`int`, column_span\: :ref:`int`\ ) :ref:`🔗` -Sets cell row/column span. +Imposta la spaziatura tra righe/colonne delle celle. .. rst-class:: classref-item-separator @@ -3613,7 +3613,7 @@ Imposta l'allineamento del testo dell'elemento. |void| **accessibility_update_set_text_decorations**\ (\ id\: :ref:`RID`, underline\: :ref:`bool`, strikethrough\: :ref:`bool`, overline\: :ref:`bool`\ ) :ref:`🔗` -Sets text underline/overline/strikethrough. +Imposta il testo sottolineato/sopralineato/barrato. .. rst-class:: classref-item-separator @@ -3637,7 +3637,7 @@ Imposta l'orientazione del testo. |void| **accessibility_update_set_text_selection**\ (\ id\: :ref:`RID`, text_start_id\: :ref:`RID`, start_char\: :ref:`int`, text_end_id\: :ref:`RID`, end_char\: :ref:`int`\ ) :ref:`🔗` -Sets text selection to the text field. ``text_start_id`` and ``text_end_id`` should be elements created by :ref:`accessibility_create_sub_text_edit_elements()`. Character offsets are relative to the corresponding element. +Imposta la selezione del testo sul campo di testo. ``text_start_id`` e ``text_end_id`` devono essere elementi creati da :ref:`accessibility_create_sub_text_edit_elements()`. Gli offset dei caratteri sono relativi all'elemento corrispondente. .. rst-class:: classref-item-separator @@ -3673,7 +3673,7 @@ Imposta la trasformazione 2D dell'elemento. |void| **accessibility_update_set_url**\ (\ id\: :ref:`RID`, url\: :ref:`String`\ ) :ref:`🔗` -Sets link URL. +Imposta l'URL di un collegamento. .. rst-class:: classref-item-separator @@ -3723,9 +3723,9 @@ Restituisce gli appunti dell'utente come stringa, se possibile. :ref:`Image` **clipboard_get_image**\ (\ ) |const| :ref:`🔗` -Returns the user's clipboard as an image if possible. +Restituisce gli appunti dell'utente come immagine, se possibile. -\ **Note:** This method uses the copied pixel data, e.g. from an image editing software or a web browser, not an image file copied from file explorer. +\ **Nota:** Questo metodo utilizza i dati dei pixel copiati, ad esempio da un software per modificare immagini o da un browser web, non un file di immagine copiato da Esplora file. .. rst-class:: classref-item-separator @@ -3801,13 +3801,13 @@ Imposta gli appunti `primari ` **color_picker**\ (\ callback\: :ref:`Callable`\ ) :ref:`🔗` -Displays OS native color picker. +Visualizza il selettore colori nativo del sistema operativo. -Callbacks have the following arguments: ``status: bool, color: Color``. +I callback hanno i seguenti argomenti: ``status: bool, color: Color``. -\ **Note:** This method is implemented if the display server has the :ref:`FEATURE_NATIVE_COLOR_PICKER` feature. +\ **Nota:** Questo metodo è implementato se il server di visualizzazione ha la funzionalità :ref:`FEATURE_NATIVE_COLOR_PICKER`. -\ **Note:** This method is only implemented on Linux (X11/Wayland). +\ **Nota:** Questo metodo è implementato solo su Linux (X11/Wayland). .. rst-class:: classref-item-separator @@ -3925,23 +3925,23 @@ Consente al PID ``process_id`` di rubare lo stato attivo da questa finestra. In :ref:`Error` **file_dialog_show**\ (\ title\: :ref:`String`, current_directory\: :ref:`String`, filename\: :ref:`String`, show_hidden\: :ref:`bool`, mode\: :ref:`FileDialogMode`, filters\: :ref:`PackedStringArray`, callback\: :ref:`Callable`, parent_window_id\: :ref:`int` = 0\ ) :ref:`🔗` -Displays OS native dialog for selecting files or directories in the file system. +Visualizza la finestra di dialogo nativa del sistema operativo per selezionare file o cartelle nel file system. -Each filter string in the ``filters`` array should be formatted like this: ``*.png,*.jpg,*.jpeg;Image Files;image/png,image/jpeg``. The description text of the filter is optional and can be omitted. It is recommended to set both file extension and MIME type. See also :ref:`FileDialog.filters`. +Ogni stringa di filtro nell'array ``filters`` deve essere formattata in questo modo: ``*.txt,*.doc;Text Files``. Il testo descrittivo del filtro è facoltativo e può essere omesso. È consigliato impostare sia l'estensione file sia il tipo MIME. Vedi anche :ref:`FileDialog.filters`. -Callbacks have the following arguments: ``status: bool, selected_paths: PackedStringArray, selected_filter_index: int``. **On Android,** the third callback argument (``selected_filter_index``) is always ``0``. +I callback hanno i seguenti argomenti: ``status: bool, selected_paths: PackedStringArray, selected_filter_index: int``. **Su Android,** il terzo argomento (``selected_filter_index``) del callback è sempre ``0``. -\ **Note:** This method is implemented if the display server has the :ref:`FEATURE_NATIVE_DIALOG_FILE` feature. Supported platforms include Linux (X11/Wayland), Windows, macOS, and Android (API level 29+). +\ **Nota:** Questo metodo è implementato se il server di visualizzazione ha la funzionalità :ref:`FEATURE_NATIVE_DIALOG_FILE`. Le piattaforme supportate includono Linux (X11/Wayland), Windows, macOS e Android (livello API 29+). -\ **Note:** ``current_directory`` might be ignored. +\ **Nota:** ``current_directory`` potrebbe essere ignorato. -\ **Note:** Embedded file dialog and Windows file dialog support only file extensions, while Android, Linux, and macOS file dialogs also support MIME types. +\ **Nota:** Sia le finestre di dialogo incorporate, sia le finestre di dialogo su Windows supportano solo le estensioni dei file, mentre su Android, Linux e macOS esse supportano anche i tipi MIME. -\ **Note:** On Android and Linux, ``show_hidden`` is ignored. +\ **Nota:** Su Android e Linux, ``show_hidden`` viene ignorato. -\ **Note:** On Android and macOS, native file dialogs have no title. +\ **Nota:** Su Android e macOS, le finestre di dialogo native dei file non hanno titolo. -\ **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use :ref:`OS.get_granted_permissions()` to get a list of saved bookmarks. +\ **Nota:** Su macOS, le app in sandbox salveranno segnalibri con ambito di sicurezza per mantenere l'accesso alle cartelle aperte in più sessioni. Usa :ref:`OS.get_granted_permissions()` per ottenere una lista dei segnalibri salvati. .. rst-class:: classref-item-separator @@ -5438,13 +5438,13 @@ Questo può essere utilizzato per impedire a Godot di tralasciare il rendering q :ref:`int` **screen_get_dpi**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the dots per inch density of the specified screen. Returns platform specific default value if ``screen`` is invalid. +Restituisce la densità di punti per pollice dello schermo specificato. Restituisce un valore predefinito specifico della piattaforma se ``screen`` non è valido. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** On macOS, returned value is inaccurate if fractional display scaling mode is used. +\ **Nota:** Su macOS, il valore restituito è impreciso se si usa la modalità frazionaria di scala della visualizzazione. -\ **Note:** On Android devices, the actual screen densities are grouped into six generalized densities: +\ **Nota:** Sui dispositivi Android, le densità effettive dello schermo sono raggruppate in sei densità generalizzate: .. code:: text @@ -5455,7 +5455,7 @@ Returns the dots per inch density of the specified screen. Returns platform spec xxhdpi - 480 dpi xxxhdpi - 640 dpi -\ **Note:** This method is implemented on Android, iOS, Linux (X11/Wayland), macOS, Web, and Windows. On other platforms, this method always returns ``72``. +\ **Nota:** Questo metodo è implementato su Android, iOS, Linux (X11/Wayland), macOS, Web e Windows. Su altre piattaforme, questo metodo restituisce sempre ``72``. .. rst-class:: classref-item-separator @@ -5467,13 +5467,13 @@ Returns the dots per inch density of the specified screen. Returns platform spec :ref:`Image` **screen_get_image**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns a screenshot of the ``screen``. Returns ``null`` if ``screen`` is invalid or the **DisplayServer** fails to capture screenshot. +Restituisce uno screenshot dello schermo ``screen``. Restituisce ``null`` se ``screen`` non è valido o se **DisplayServer** non riesce a catturare lo screenshot. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns ``null``. +\ **Nota:** Questo metodo è implementato su Linux (X11, escluso XWayland), macOS e Windows. Su altre piattaforme, questo metodo restituisce sempre ``null``. -\ **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will not include other application windows or OS elements not related to the application. +\ **Nota:** Su macOS, questo metodo richiede l'autorizzazione "Registrazione schermo". Se l'autorizzazione non viene concessa, questo metodo restituisce uno screenshot che non includerà altre finestre dell'applicazione o elementi del sistema operativo che non riguardano l'applicazione. .. rst-class:: classref-item-separator @@ -5485,11 +5485,11 @@ Returns a screenshot of the ``screen``. Returns ``null`` if ``screen`` is invali :ref:`Image` **screen_get_image_rect**\ (\ rect\: :ref:`Rect2i`\ ) |const| :ref:`🔗` -Returns a screenshot of the screen region defined by ``rect``. Returns ``null`` if ``rect`` is outside screen bounds or the **DisplayServer** fails to capture screenshot. +Restituisce uno screenshot dell'area dello schermo definita da ``rect``. Restituisce ``null`` se ``rect`` è fuori i limiti dello schermo o se **DisplayServer** non riesce ad acquisire lo screenshot. -\ **Note:** This method is implemented on macOS and Windows. On other platforms, this method always returns ``null``. +\ **Nota:** Questo metodo è implementato su macOS e Windows. Su altre piattaforme, questo metodo restituisce sempre ``null``. -\ **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will not include other application windows or OS elements not related to the application. +\ **Nota:** Su macOS, questo metodo richiede l'autorizzazione "Registrazione schermo". Se l'autorizzazione non viene concessa, questo metodo restituisce uno screenshot che non includerà altre finestre dell'applicazione o elementi del sistema operativo che non riguardano l'applicazione. .. rst-class:: classref-item-separator @@ -5517,11 +5517,11 @@ Restituisce il fattore di scala più grande tra tutti gli schermi. :ref:`ScreenOrientation` **screen_get_orientation**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the ``screen``'s current orientation. See also :ref:`screen_set_orientation()`. Returns :ref:`SCREEN_LANDSCAPE` if ``screen`` is invalid. +Restituisce l'orientamento attuale dello schermo ``screen``. Vedi anche :ref:`screen_set_orientation()`. Restituisce :ref:`SCREEN_LANDSCAPE` se ``screen`` non è valido. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Android and iOS. On other platforms, this method always returns :ref:`SCREEN_LANDSCAPE`. +\ **Nota:** Questo metodo è implementato su Android e iOS. Su altre piattaforme, questo metodo restituisce sempre :ref:`SCREEN_LANDSCAPE`. .. rst-class:: classref-item-separator @@ -5533,11 +5533,11 @@ Returns the ``screen``'s current orientation. See also :ref:`screen_set_orientat :ref:`Color` **screen_get_pixel**\ (\ position\: :ref:`Vector2i`\ ) |const| :ref:`🔗` -Returns color of the display pixel at the ``position``. +Restituisce il colore del pixel del display alla posizione ``position``. -\ **Note:** This method is implemented on Linux (X11, excluding XWayland), macOS, and Windows. On other platforms, this method always returns :ref:`Color`. +\ **Nota:** Questo metodo è implementato su Linux (X11, escludendo XWayland), macOS e Windows. Su altre piattaforme, questo metodo restituisce sempre :ref:`Color`. -\ **Note:** On macOS, this method requires the "Screen Recording" permission. If permission is not granted, this method returns a screenshot that will only contain the desktop wallpaper, the current application's window, and other related UI elements. +\ **Nota:** Su macOS, questo metodo richiede l'autorizzazione "Registrazione schermo". Se l'autorizzazione non viene concessa, questo metodo restituisce uno screenshot che conterrà solo lo sfondo del desktop, la finestra dell'applicazione attuale e altri elementi riguardo l'interfaccia utente. .. rst-class:: classref-item-separator @@ -5549,7 +5549,7 @@ Returns color of the display pixel at the ``position``. :ref:`Vector2i` **screen_get_position**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the screen's top-left corner position in pixels. Returns :ref:`Vector2i.ZERO` if ``screen`` is invalid. On multi-monitor setups, the screen position is relative to the virtual desktop area. On multi-monitor setups with different screen resolutions or orientations, the origin might be located outside any display like this: +Restituisce la posizione dell'angolo in alto a sinistra dello schermo in pixel. Restituisce :ref:`Vector2i.ZERO` se ``screen`` non è valido. Nelle configurazioni multi-monitor, la posizione dello schermo è relativa all'area del desktop virtuale. Nelle configurazioni multi-monitor con diverse risoluzioni o orientamenti dello schermo, l'origine può essere posizionata all'esterno di qualsiasi display in questo modo: .. code:: text @@ -5560,9 +5560,9 @@ Returns the screen's top-left corner position in pixels. Returns :ref:`Vector2i. | | | | +-------------+ +-------+ -See also :ref:`screen_get_size()`. +Vedi anche :ref:`screen_get_size()`. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. .. rst-class:: classref-item-separator @@ -5574,9 +5574,9 @@ See also :ref:`screen_get_size()`. :ref:`float` **screen_get_refresh_rate**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the current refresh rate of the specified screen. Returns ``-1.0`` if ``screen`` is invalid or the **DisplayServer** fails to find the refresh rate for the specified screen. +Restituisce la frequenza di aggiornamento attuale dello schermo specificato. Restituisce ``-1.0`` se ``screen`` non è valido o se il **DisplayServer** non riesce a trovare la frequenza di aggiornamento per lo schermo specificato. -To fallback to a default refresh rate if the method fails, try: +Per tornare a una frequenza di aggiornamento predefinita se il metodo fallisce, provare: :: @@ -5584,9 +5584,9 @@ To fallback to a default refresh rate if the method fails, try: if refresh_rate < 0: refresh_rate = 60.0 -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Android, iOS, macOS, Linux (X11 and Wayland), and Windows. On other platforms, this method always returns ``-1.0``. +\ **Nota:** Questo metodo è implementato su Android, iOS, macOS, Linux (X11 e Wayland) e Windows. Su altre piattaforme, questo metodo restituisce sempre ``-1.0``. .. rst-class:: classref-item-separator @@ -5598,15 +5598,15 @@ To fallback to a default refresh rate if the method fails, try: :ref:`float` **screen_get_scale**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the scale factor of the specified screen by index. Returns ``1.0`` if ``screen`` is invalid. +Restituisce il fattore di scala dello schermo specificato per indice. Restituisce ``1.0`` se ``screen`` non è valido. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** On macOS, the returned value is ``2.0`` for hiDPI (Retina) screens, and ``1.0`` for all other cases. +\ **Nota:** Su macOS, il valore restituito è ``2.0`` per gli schermi hiDPI (Retina) e ``1.0`` per tutti gli altri casi. -\ **Note:** On Linux (Wayland), the returned value is accurate only when ``screen`` is :ref:`SCREEN_OF_MAIN_WINDOW`. Due to API limitations, passing a direct index will return a rounded-up integer, if the screen has a fractional scale (e.g. ``1.25`` would get rounded up to ``2.0``). +\ **Nota:** Su Linux (Wayland), il valore restituito è accurato solo quando ``screen`` è :ref:`SCREEN_OF_MAIN_WINDOW`. A causa delle limitazioni dell'API, il passaggio di un indice diretto restituirà un intero arrotondato per eccesso, se lo schermo ha una scala frazionaria (ad esempio, ``1.25`` verrebbe arrotondato per eccesso a ``2.0``). -\ **Note:** This method is implemented on Android, iOS, Web, macOS, and Linux (Wayland). On other platforms, this method always returns ``1.0``. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, macOS e Linux (Wayland). Su altre piattaforme, questo metodo restituisce sempre ``1.0``. .. rst-class:: classref-item-separator @@ -5618,9 +5618,9 @@ Returns the scale factor of the specified screen by index. Returns ``1.0`` if `` :ref:`Vector2i` **screen_get_size**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the screen's size in pixels. See also :ref:`screen_get_position()` and :ref:`screen_get_usable_rect()`. Returns :ref:`Vector2i.ZERO` if ``screen`` is invalid. +Restituisce la dimensione dello schermo in pixel. Vedi anche :ref:`screen_get_position()` e :ref:`screen_get_usable_rect()`. Restituisce :ref:`Vector2i.ZERO` se ``screen`` non è valido. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. .. rst-class:: classref-item-separator @@ -5632,11 +5632,11 @@ Returns the screen's size in pixels. See also :ref:`screen_get_position()` **screen_get_usable_rect**\ (\ screen\: :ref:`int` = -1\ ) |const| :ref:`🔗` -Returns the portion of the screen that is not obstructed by a status bar in pixels. See also :ref:`screen_get_size()`. +Restituisce la porzione dello schermo non ostruita dalla barra di stato, in pixel. Vedi anche :ref:`screen_get_size()`. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns ``Rect2i(screen_get_position(screen), screen_get_size(screen))``. +\ **Nota:** Questo metodo è implementato su Linux/X11, macOS e Windows. Su altre piattaforme, questo metodo restituisce sempre ``Rect2i(screen_get_position(screen), screen_get_size(screen))``. .. rst-class:: classref-item-separator @@ -5672,13 +5672,13 @@ Imposta se lo schermo non dovrebbe mai essere spento dalle misure di risparmio e |void| **screen_set_orientation**\ (\ orientation\: :ref:`ScreenOrientation`, screen\: :ref:`int` = -1\ ) :ref:`🔗` -Sets the ``screen``'s ``orientation``. See also :ref:`screen_get_orientation()`. +Imposta l'orientamento dello schermo all'indice ``screen`` su ``orientation``. Vedi anche :ref:`screen_get_orientation()`. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Android and iOS. +\ **Nota:** Questo metodo è implementato su Android e iOS. -\ **Note:** On iOS, this method has no effect if :ref:`ProjectSettings.display/window/handheld/orientation` is not set to :ref:`SCREEN_SENSOR`. +\ **Nota:** Su iOS, questo metodo non ha effetto se :ref:`ProjectSettings.display/window/handheld/orientation` non è impostato su :ref:`SCREEN_SENSOR`. .. rst-class:: classref-item-separator @@ -5690,9 +5690,9 @@ Sets the ``screen``'s ``orientation``. See also :ref:`screen_get_orientation()`\ ) :ref:`🔗` -Sets the ``callable`` that should be called when hardware keyboard is connected/disconnected. ``callable`` should accept a single :ref:`bool` parameter indicating whether the keyboard is connected (true) or disconnected (false). +Imposta il chiamabile ``callable`` che deve essere richiamato quando la tastiera hardware è connessa/disconnessa. Il ``callable`` deve accettare un singolo parametro :ref:`bool` che indica se la tastiera è connessa (true) o disconnessa (false). -\ **Note:** This method is only implemented on Android. +\ **Nota:** Questo metodo è implementato solo su Android. .. rst-class:: classref-item-separator @@ -5898,19 +5898,19 @@ Driver supportati: :ref:`Array`\[:ref:`Dictionary`\] **tts_get_voices**\ (\ ) |const| :ref:`🔗` -Returns an :ref:`Array` of voice information dictionaries. +Restituisce un :ref:`Array` di dizionari di informazioni vocali. -Each :ref:`Dictionary` contains two :ref:`String` entries: +Ogni :ref:`Dictionary` contiene due voci :ref:`String`: -- ``name`` is voice name. +- ``name`` è il nome della voce. -- ``id`` is voice identifier. +- ``id`` è l'identificativo della voce. -- ``language`` is language code in ``lang_Variant`` format. The ``lang`` part is a 2 or 3-letter code based on the ISO-639 standard, in lowercase. The ``Variant`` part is an engine-dependent string describing country, region or/and dialect. +- ``language`` è il codice della lingua nel formato ``lang_Variant``. La parte ``lang`` è un codice di 2 o 3 lettere basato sullo standard ISO-639, in minuscolo. La parte ``Variant`` è una stringa dipendente dal motore che descrive paese, regione e/o dialetto. -Note that Godot depends on system libraries for text-to-speech functionality. These libraries are installed by default on Windows and macOS, but not on all Linux distributions. If they are not present, this method will return an empty list. This applies to both Godot users on Linux, as well as end-users on Linux running Godot games that use text-to-speech. +Nota che Godot dipende dalle librerie di sistema per la funzionalità di conversione da testo a voce. Queste librerie sono installate di default su Windows e macOS, ma non su tutte le distribuzioni Linux. Se non sono presenti, questo metodo restituirà un elenco vuoto. Questo vale sia per gli utenti Godot su Linux, sia per gli utenti finali su Linux che eseguono giochi in Godot che utilizzano la conversione da testo a voce. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5922,9 +5922,9 @@ Note that Godot depends on system libraries for text-to-speech functionality. Th :ref:`PackedStringArray` **tts_get_voices_for_language**\ (\ language\: :ref:`String`\ ) |const| :ref:`🔗` -Returns a :ref:`PackedStringArray` of voice identifiers for the ``language``. +Restituisce un :ref:`PackedStringArray` di identificatori di voce per la lingua ``language``. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5936,9 +5936,9 @@ Returns a :ref:`PackedStringArray` of voice identifiers :ref:`bool` **tts_is_paused**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the synthesizer is in a paused state. +Restituisce ``true`` se il sintetizzatore è in pausa. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5950,9 +5950,9 @@ Returns ``true`` if the synthesizer is in a paused state. :ref:`bool` **tts_is_speaking**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the synthesizer is generating speech, or have utterance waiting in the queue. +Restituisce ``true`` se il sintetizzatore sta generando un'espressione, o ha un'enunciazione in coda. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5964,9 +5964,9 @@ Returns ``true`` if the synthesizer is generating speech, or have utterance wait |void| **tts_pause**\ (\ ) :ref:`🔗` -Puts the synthesizer into a paused state. +Mette il sintetizzatore in pausa. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5978,9 +5978,9 @@ Puts the synthesizer into a paused state. |void| **tts_resume**\ (\ ) :ref:`🔗` -Resumes the synthesizer if it was paused. +Riprende il sintetizzatore se era in pausa. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -5992,15 +5992,15 @@ Resumes the synthesizer if it was paused. |void| **tts_set_utterance_callback**\ (\ event\: :ref:`TTSUtteranceEvent`, callable\: :ref:`Callable`\ ) :ref:`🔗` -Adds a callback, which is called when the utterance has started, finished, canceled or reached a text boundary. +Aggiunge un callback, che viene richiamato quando l'enunciazione è iniziata, terminata, annullata o ha raggiunto un riquadro di testo. -- :ref:`TTS_UTTERANCE_STARTED`, :ref:`TTS_UTTERANCE_ENDED`, and :ref:`TTS_UTTERANCE_CANCELED` callable's method should take one :ref:`int` parameter, the utterance ID. +- Per :ref:`TTS_UTTERANCE_STARTED`, :ref:`TTS_UTTERANCE_ENDED` e :ref:`TTS_UTTERANCE_CANCELED`, il metodo del chiamabile dovrebbe accettare un parametro :ref:`int`, l'ID dell'enunciazione. -- :ref:`TTS_UTTERANCE_BOUNDARY` callable's method should take two :ref:`int` parameters, the index of the character and the utterance ID. +- Per :ref:`TTS_UTTERANCE_BOUNDARY`, il metodo del chiamabile dovrebbe accettare due parametri :ref:`int`, l'indice del carattere e l'ID dell'enunciazione. -\ **Note:** The granularity of the boundary callbacks is engine dependent. +\ **Nota:** La granularità dei callback di riquadro dipende dal motore. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -6012,23 +6012,23 @@ Adds a callback, which is called when the utterance has started, finished, cance |void| **tts_speak**\ (\ text\: :ref:`String`, voice\: :ref:`String`, volume\: :ref:`int` = 50, pitch\: :ref:`float` = 1.0, rate\: :ref:`float` = 1.0, utterance_id\: :ref:`int` = 0, interrupt\: :ref:`bool` = false\ ) :ref:`🔗` -Adds an utterance to the queue. If ``interrupt`` is ``true``, the queue is cleared first. +Aggiunge un'enunciazione alla coda. Se ``interrupt`` è ``true``, la coda viene prima ripulita. -- ``voice`` identifier is one of the ``"id"`` values returned by :ref:`tts_get_voices()` or one of the values returned by :ref:`tts_get_voices_for_language()`. +- ``voice`` è uno dei valori ``"id"`` restituiti da :ref:`tts_get_voices()` o uno dei valori restituiti da :ref:`tts_get_voices_for_language()`. -- ``volume`` ranges from ``0`` (lowest) to ``100`` (highest). +- ``volume`` varia da ``0`` (il più basso) a ``100`` (il più alto). -- ``pitch`` ranges from ``0.0`` (lowest) to ``2.0`` (highest), ``1.0`` is default pitch for the current voice. +- ``pitch`` varia da ``0.0`` (il più basso) a ``2.0`` (il più alto), ``1.0`` è il tono predefinito per la voce attuale. -- ``rate`` ranges from ``0.1`` (lowest) to ``10.0`` (highest), ``1.0`` is a normal speaking rate. Other values act as a percentage relative. +- ``rate`` varia da ``0.1`` (minimo) a ``10.0`` (massimo), ``1.0`` è una velocità di parlato normale. Altri valori agiscono come percentuale relativa. -- ``utterance_id`` is passed as a parameter to the callback functions. +- ``utterance_id`` viene passato come parametro alle funzioni di callback. -\ **Note:** On Windows and Linux (X11/Wayland), utterance ``text`` can use SSML markup. SSML support is engine and voice dependent. If the engine does not support SSML, you should strip out all XML markup before calling :ref:`tts_speak()`. +\ **Nota:** Su Windows e Linux (X11/Wayland), il testo (``text``) dell'enunciazione può usare il markup SSML. Il supporto SSML dipende dal motore e dalla voce. Se il motore non supporta SSML, dovresti eliminare tutto il markup XML prima di chiamare :ref:`tts_speak()`. -\ **Note:** The granularity of pitch, rate, and volume is engine and voice dependent. Values may be truncated. +\ **Nota:** La granularità del tono, della velocità e del volume dipende dal motore e dalla voce. I valori potrebbero essere troncati. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -6040,9 +6040,9 @@ Adds an utterance to the queue. If ``interrupt`` is ``true``, the queue is clear |void| **tts_stop**\ (\ ) :ref:`🔗` -Stops synthesis in progress and removes all utterances from the queue. +Ferma la sintesi in sviluppo e rimuove tutte le enunciazioni dalla coda. -\ **Note:** This method is implemented on Android, iOS, Web, Linux (X11/Wayland), macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Web, Linux (X11/Wayland), macOS e Windows. .. rst-class:: classref-item-separator @@ -6066,9 +6066,9 @@ Annulla la registrazione di un :ref:`Object` che rappresenta un'us :ref:`int` **virtual_keyboard_get_height**\ (\ ) |const| :ref:`🔗` -Returns the on-screen keyboard's height in pixels. Returns 0 if there is no keyboard or if it is currently hidden. +Restituisce l'altezza della tastiera su schermo in pixel. Restituisce 0 se nessuna tastiera è presente o se è attualmente nascosta. -\ **Note:** On Android 7 and 8, the keyboard height may return 0 the first time the keyboard is opened in non-immersive mode. This behavior does not occur in immersive mode. +\ **Nota:** Su Android 7 e 8, l'altezza della tastiera potrebbe restituire 0 la prima volta che la tastiera viene aperta in modalità non immersiva. Questo comportamento non si verifica in modalità immersiva. .. rst-class:: classref-item-separator @@ -6168,9 +6168,9 @@ Restituisce l'ID d'istanza (:ref:`Object.get_instance_id()` **window_get_current_screen**\ (\ window_id\: :ref:`int` = 0\ ) |const| :ref:`🔗` -Returns the screen the window specified by ``window_id`` is currently positioned on. If the screen overlaps multiple displays, the screen where the window's center is located is returned. See also :ref:`window_set_current_screen()`. Returns :ref:`INVALID_SCREEN` if ``window_id`` is invalid. +Restituisce lo schermo su cui è attualmente posizionata la finestra specificata da ``window_id``. Se lo schermo si sovrappone a più display, viene restituito lo schermo in cui si trova il centro della finestra. Vedi anche :ref:`window_set_current_screen()`. Restituisce :ref:`INVALID_SCREEN` se ``window_id`` non è valido. -\ **Note:** This method is implemented on Linux/X11, macOS, and Windows. On other platforms, this method always returns ``0``. +\ **Nota:** Questo metodo è implementato su Linux/X11, macOS e Windows. Su altre piattaforme, questo metodo restituisce sempre ``0``. .. rst-class:: classref-item-separator @@ -6418,11 +6418,11 @@ Fa in modo che la finestra specificata da ``window_id`` richieda l'attenzione, i |void| **window_set_current_screen**\ (\ screen\: :ref:`int`, window_id\: :ref:`int` = 0\ ) :ref:`🔗` -Moves the window specified by ``window_id`` to the specified ``screen``. See also :ref:`window_get_current_screen()`. +Sposta la finestra specificata da ``window_id`` nello schermo ``screen``. Vedi anche :ref:`window_get_current_screen()`. -\ **Note:** One of the following constants can be used as ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS`, or :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. +\ **Nota:** È possibile utilizzare una delle seguenti costanti per ``screen``: :ref:`SCREEN_OF_MAIN_WINDOW`, :ref:`SCREEN_PRIMARY`, :ref:`SCREEN_WITH_MOUSE_FOCUS` o :ref:`SCREEN_WITH_KEYBOARD_FOCUS`. -\ **Note:** This method is implemented on Linux/X11, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux/X11, macOS e Windows. .. rst-class:: classref-item-separator @@ -6466,7 +6466,7 @@ Se impostato su ``true``, questa finestra rimarrà sempre in cima alla finestra |void| **window_set_flag**\ (\ flag\: :ref:`WindowFlags`, enabled\: :ref:`bool`, window_id\: :ref:`int` = 0\ ) :ref:`🔗` -Enables or disables the given window's given ``flag``. +Attiva o disattiva il ``flag`` specificato della finestra specificata. .. rst-class:: classref-item-separator @@ -6564,11 +6564,11 @@ Imposta le dimensioni minime della finestra specificata da ``window_id`` in pixe |void| **window_set_mode**\ (\ mode\: :ref:`WindowMode`, window_id\: :ref:`int` = 0\ ) :ref:`🔗` -Sets window mode for the given window to ``mode``. +Imposta la modalità di finestra per la finestra specificata su ``mode``. -\ **Note:** On Android, setting it to :ref:`WINDOW_MODE_FULLSCREEN` or :ref:`WINDOW_MODE_EXCLUSIVE_FULLSCREEN` will enable immersive mode. +\ **Nota:** su Android, impostandola su :ref:`WINDOW_MODE_FULLSCREEN` o :ref:`WINDOW_MODE_EXCLUSIVE_FULLSCREEN` verrà abilitata la modalità immersiva. -\ **Note:** Setting the window to full screen forcibly sets the borderless flag to ``true``, so make sure to set it back to ``false`` when not wanted. +\ **Nota:** Impostando la finestra a schermo intero, il flag borderless (senza bordi) viene forzato su ``true``, quindi assicurarsi di reimpostarlo su ``false`` se non desiderato. .. rst-class:: classref-item-separator @@ -6724,11 +6724,11 @@ Imposta la finestra transitoria genitore. La finestra transitoria verrà distrut |void| **window_set_vsync_mode**\ (\ vsync_mode\: :ref:`VSyncMode`, window_id\: :ref:`int` = 0\ ) :ref:`🔗` -Sets the V-Sync mode of the given window. See also :ref:`ProjectSettings.display/window/vsync/vsync_mode`. +Imposta la modalità di V-Sync della finestra specificata. Vedi anche :ref:`ProjectSettings.display/window/vsync/vsync_mode`. -Depending on the platform and used renderer, the engine will fall back to :ref:`VSYNC_ENABLED` if the desired mode is not supported. +A seconda della piattaforma e del renderer utilizzato, il motore ricadrà a :ref:`VSYNC_ENABLED` se la modalità desiderata non è supportata. -\ **Note:** V-Sync modes other than :ref:`VSYNC_ENABLED` are only supported in the Forward+ and Mobile rendering methods, not Compatibility. +\ **Nota:** Le modalità di V-Sync diverse da :ref:`VSYNC_ENABLED` sono supportate solo nei metodi di rendering Forward+ e Mobile, non Compatibilità. .. rst-class:: classref-item-separator diff --git a/classes/it/class_dpitexture.rst b/classes/it/class_dpitexture.rst index 4851db7bd3..c9569eeff2 100644 --- a/classes/it/class_dpitexture.rst +++ b/classes/it/class_dpitexture.rst @@ -9,14 +9,14 @@ DPITexture **Eredita:** :ref:`Texture2D` **<** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -An automatically scalable :ref:`Texture2D` based on an SVG image. +Una :ref:`Texture2D` automaticamente ridimensionabile basata su un immagine SVG. .. rst-class:: classref-introduction-group Descrizione ---------------------- -An automatically scalable :ref:`Texture2D` based on an SVG image. **DPITexture**\ s are used to automatically re-rasterize icons and other texture based UI theme elements to match viewport scale and font oversampling. See also :ref:`ProjectSettings.display/window/stretch/mode` ("canvas_items" mode) and :ref:`Viewport.oversampling_override`. +Una :ref:`Texture2D` automaticamente ridimensionabile basata su un immagine SVG. Le **DPITexture** servono per ri-rasterizzare automaticamente icone e altri elementi del tema dell'interfaccia utente basati sulle texture, in modo che corrispondano alla scala della viewport e al sovracampionamento dei font. Vedi anche :ref:`ProjectSettings.display/window/stretch/mode` (modalità "canvas_items") e :ref:`Viewport.oversampling_override`. .. rst-class:: classref-reftable-group @@ -76,7 +76,7 @@ Descrizioni delle proprietà - |void| **set_base_scale**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_base_scale**\ (\ ) -Texture scale. ``1.0`` is the original SVG size. Higher values result in a larger image. +Scala della texture. ``1.0`` è la dimensione originale dell'SVG. Valori più alti risultano in un'immagine più grande. .. rst-class:: classref-item-separator @@ -93,7 +93,7 @@ Texture scale. ``1.0`` is the original SVG size. Higher values result in a large - |void| **set_color_map**\ (\ value\: :ref:`Dictionary`\ ) - :ref:`Dictionary` **get_color_map**\ (\ ) -If set, remaps texture colors according to :ref:`Color`-:ref:`Color` map. +Se impostato, rimappa i colori della texture in base alla mappa :ref:`Color`-:ref:`Color`. .. rst-class:: classref-item-separator @@ -127,7 +127,7 @@ Descrizioni dei metodi :ref:`DPITexture` **create_from_string**\ (\ source\: :ref:`String`, scale\: :ref:`float` = 1.0, saturation\: :ref:`float` = 1.0, color_map\: :ref:`Dictionary` = {}\ ) |static| :ref:`🔗` -Creates a new **DPITexture** and initializes it by allocating and setting the SVG data from string. +Crea una nuova **DPITexture** e la inizializza allocando e impostando i dati SVG da una stringa. .. rst-class:: classref-item-separator @@ -139,7 +139,7 @@ Creates a new **DPITexture** and initializes it by allocating and setting the SV :ref:`RID` **get_scaled_rid**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`RID` of the texture rasterized to match the oversampling of the currently drawn canvas item. +Restituisce il :ref:`RID` della texture rasterizzata per corrispondere al sovracampionamento dell'elemento canvas attualmente disegnato. .. rst-class:: classref-item-separator @@ -175,7 +175,7 @@ Ridimensiona la texture alle dimensioni specificate. |void| **set_source**\ (\ source\: :ref:`String`\ ) :ref:`🔗` -Sets SVG source code. +Imposta il codice sorgente SVG. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_dtlsserver.rst b/classes/it/class_dtlsserver.rst index 6a914a51c4..596f97ed66 100644 --- a/classes/it/class_dtlsserver.rst +++ b/classes/it/class_dtlsserver.rst @@ -14,9 +14,9 @@ Classe di supporto per implementare un server DTLS. Descrizione ---------------------- -Questa classe è utilizzata per memorizzare lo stato di un server DTLS. Dopo aver chiamato :ref:`setup()`, converte i :ref:`PacketPeerUDP` connessi in :ref:`PacketPeerDTLS` accettandoli tramite :ref:`take_connection()` come client DTLS. In realtà, questa classe è utilizzata per memorizzare lo stato DTLS e i cookie del server. Il motivo per cui lo stato e i cookie sono necessari è al di fuori dell'ambito di questa documentazione. +Questa classe serve per memorizzare lo stato di un server DTLS. Dopo aver chiamato :ref:`setup()`, converte i :ref:`PacketPeerUDP` connessi in :ref:`PacketPeerDTLS` accettandoli tramite :ref:`take_connection()` come client DTLS. Internamente, questa classe serve per memorizzare lo stato DTLS e i cookie del server. Il motivo per cui lo stato e i cookie sono necessari è al di fuori dell'ambito di questa documentazione. -Di seguito un piccolo esempio di come utilizzarlo: +Di seguito un piccolo esempio di come utilizzarla: .. tabs:: diff --git a/classes/it/class_editorcommandpalette.rst b/classes/it/class_editorcommandpalette.rst index 09830cd9ab..e4cf2f916b 100644 --- a/classes/it/class_editorcommandpalette.rst +++ b/classes/it/class_editorcommandpalette.rst @@ -84,7 +84,7 @@ Aggiunge un comando personalizzato all'EditorCommandPalette. - ``command_name``: :ref:`String` (Nome del **Comando**. Viene visualizzato all'utente.) -- ``key_name``: :ref:`String` (Nome della chiave per un particolare **Comando**. Viene utilizzato per identificare in modo univoco il **Comando**.) +- ``key_name``: :ref:`String` (Nome della chiave per un particolare **Comando**. Serve per identificare univocamente il **Comando**.) - ``binded_callable``: :ref:`Callable` (Chiamabile del **Comando**. Verrà eseguito quando il **Comando** viene selezionato.) diff --git a/classes/it/class_editorcontextmenuplugin.rst b/classes/it/class_editorcontextmenuplugin.rst index 7c7fbc6489..7cd8fae351 100644 --- a/classes/it/class_editorcontextmenuplugin.rst +++ b/classes/it/class_editorcontextmenuplugin.rst @@ -83,15 +83,15 @@ Menu contestuale delle schede degli script dell'editor di script. :ref:`_popup_m :ref:`ContextMenuSlot` **CONTEXT_SLOT_FILESYSTEM_CREATE** = ``3`` -The "Create..." submenu of FileSystem dock's context menu, or the "New" section of the main context menu when empty space is clicked. :ref:`_popup_menu()` and option callback will be called with the path of the currently selected folder. When clicking the empty space, the list of paths for popup method will be empty. +Il sottomenu "Crea..." del menu contestuale del pannello FileSystem, o la sezione "Nuovo" del menu contestuale principale quando si clicca su uno spazio vuoto. :ref:`_popup_menu()` e il callback dell'opzione saranno richiamati con il percorso della cartella attualmente selezionata. Cliccando sullo spazio vuoto, la lista di percorsi per il metodo di popup sarà vuoto. :: func _popup_menu(paths): if paths.is_empty(): - add_context_menu_item("New Image File...", create_image) + add_context_menu_item("Nuovo file immagine...", create_image) else: - add_context_menu_item("Image File...", create_image) + add_context_menu_item("File immaggine...", create_image) .. _class_EditorContextMenuPlugin_constant_CONTEXT_SLOT_SCRIPT_EDITOR_CODE: diff --git a/classes/it/class_editordebuggerplugin.rst b/classes/it/class_editordebuggerplugin.rst index 2e94cf6611..9f4e9dc7fe 100644 --- a/classes/it/class_editordebuggerplugin.rst +++ b/classes/it/class_editordebuggerplugin.rst @@ -128,7 +128,7 @@ Descrizioni dei metodi |void| **_breakpoint_set_in_tree**\ (\ script\: :ref:`Script`, line\: :ref:`int`, enabled\: :ref:`bool`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per essere notificato quando viene impostato un punto d'interruzione nell'editor. +Sovrascrivi questo metodo per essere notificato quando viene impostato un punto d'interruzione nell'editor. .. rst-class:: classref-item-separator @@ -140,7 +140,7 @@ Sostituisci questo metodo per essere notificato quando viene impostato un punto |void| **_breakpoints_cleared_in_tree**\ (\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per essere notificato quando tutti i punti d'interruzione vengono cancellati nell'editor. +Sovrascrivi questo metodo per essere notificato quando tutti i punti d'interruzione vengono cancellati nell'editor. .. rst-class:: classref-item-separator @@ -152,7 +152,7 @@ Sostituisci questo metodo per essere notificato quando tutti i punti d'interruzi :ref:`bool` **_capture**\ (\ message\: :ref:`String`, data\: :ref:`Array`, session_id\: :ref:`int`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per elaborare i messaggi in arrivo. Il ``session_id`` è l'ID dell':ref:`EditorDebuggerSession` che ha ricevuto il messaggio. Usa :ref:`get_session()` per recuperare la sessione. Questo metodo dovrebbe restituire ``true`` se il messaggio viene riconosciuto. +Sovrascrivi questo metodo per elaborare i messaggi in arrivo. Il ``session_id`` è l'ID dell':ref:`EditorDebuggerSession` che ha ricevuto il messaggio. Usa :ref:`get_session()` per recuperare la sessione. Questo metodo dovrebbe restituire ``true`` se il messaggio viene riconosciuto. .. rst-class:: classref-item-separator @@ -164,7 +164,7 @@ Sostituisci questo metodo per elaborare i messaggi in arrivo. Il ``session_id`` |void| **_goto_script_line**\ (\ script\: :ref:`Script`, line\: :ref:`int`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per essere notificato quando viene cliccata una riga con un punto d'interruzione nel pannello dei punti d'interruzione del debugger. +Sovrascrivi questo metodo per essere notificato quando viene cliccata una riga con un punto d'interruzione nel pannello dei punti d'interruzione del debugger. .. rst-class:: classref-item-separator @@ -176,7 +176,7 @@ Sostituisci questo metodo per essere notificato quando viene cliccata una riga c :ref:`bool` **_has_capture**\ (\ capture\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo per abilitare la ricezione di messaggi dal debugger. Se ``capture`` è "my_message", i messaggi che iniziano con "my_message:" saranno passati al metodo :ref:`_capture()`. +Sovrascrivi questo metodo per abilitare la ricezione di messaggi dal debugger. Se ``capture`` è "my_message", i messaggi che iniziano con "my_message:" saranno passati al metodo :ref:`_capture()`. .. rst-class:: classref-item-separator @@ -188,7 +188,7 @@ Sostituisci questo metodo per abilitare la ricezione di messaggi dal debugger. S |void| **_setup_session**\ (\ session_id\: :ref:`int`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per essere notificato ogni volta che viene creato un nuovo :ref:`EditorDebuggerSession`. Nota che la sessione potrebbe essere inattiva durante questa fase. +Sovrascrivi questo metodo per essere notificato ogni volta che viene creato un nuovo :ref:`EditorDebuggerSession`. Nota che la sessione potrebbe essere inattiva durante questa fase. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editordebuggersession.rst b/classes/it/class_editordebuggersession.rst index 3986cd0df5..596345a58d 100644 --- a/classes/it/class_editordebuggersession.rst +++ b/classes/it/class_editordebuggersession.rst @@ -14,9 +14,9 @@ Una classe per interagire con il debugger dell'editor. Descrizione ---------------------- -This class cannot be directly instantiated and must be retrieved via an :ref:`EditorDebuggerPlugin`. +Questa classe non può essere istanziata direttamente e bisogna recuperarla tramite un :ref:`EditorDebuggerPlugin`. -You can add tabs to the session UI via :ref:`add_session_tab()`, send messages via :ref:`send_message()`, and toggle :ref:`EngineProfiler`\ s via :ref:`toggle_profiler()`. +Puoi aggiungere schede all'interfaccia utente della sessione tramite :ref:`add_session_tab()`, inviare messaggi tramite :ref:`send_message()` e commutare gli :ref:`EngineProfiler` tramite :ref:`toggle_profiler()`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_editorexportplatform.rst b/classes/it/class_editorexportplatform.rst index d10ab88c25..ba0d5a5ead 100644 --- a/classes/it/class_editorexportplatform.rst +++ b/classes/it/class_editorexportplatform.rst @@ -178,7 +178,7 @@ Il flag è impostato se il progetto sottoposto a debug remoto è in esecuzione s :ref:`DebugFlags` **DEBUG_FLAG_VIEW_COLLISIONS** = ``8`` -Flag is set if the "Visible Collision Shapes" remote debug option is enabled. If set, :ref:`gen_export_flags()` will append the ``--debug-collisions`` command line argument to the returned list. +Il flag è impostato se l'opzione di debug remoto "Forme di collisione visibili" è abilitata. Se impostato, :ref:`gen_export_flags()` aggiungerà l'argomento della riga di comando ``--debug-collisions`` alla lista restituita. .. _class_EditorExportPlatform_constant_DEBUG_FLAG_VIEW_NAVIGATION: @@ -186,7 +186,7 @@ Flag is set if the "Visible Collision Shapes" remote debug option is enabled. If :ref:`DebugFlags` **DEBUG_FLAG_VIEW_NAVIGATION** = ``16`` -Flag is set if the "Visible Navigation" remote debug option is enabled. If set, :ref:`gen_export_flags()` will append the ``--debug-navigation`` command line argument to the returned list. +Il flag è impostato se l'opzione di debug remoto "Navigazione visibile" è abilitata. Se impostato, :ref:`gen_export_flags()` aggiungerà l'argomento della riga di comando ``--debug-navigation`` alla lista restituita. .. rst-class:: classref-section-separator diff --git a/classes/it/class_editorexportplatformandroid.rst b/classes/it/class_editorexportplatformandroid.rst index 1ae658f3e9..39d08088ca 100644 --- a/classes/it/class_editorexportplatformandroid.rst +++ b/classes/it/class_editorexportplatformandroid.rst @@ -453,7 +453,7 @@ Descrizioni delle proprietà :ref:`String` **apk_expansion/SALT** :ref:`🔗` -Array di byte casuali utilizzata dalla Politica di licenza per creare un'`Obfuscator `__. +Array di byte casuali utilizzata dalla Politica di licenza per creare un `Obfuscator `__. .. rst-class:: classref-item-separator @@ -607,11 +607,11 @@ Percorso a un file ZIP contenente la sorgente per il modello di esportazione uti :ref:`bool` **gradle_build/compress_native_libraries** :ref:`🔗` -If ``true``, native libraries are compressed when performing a Gradle build. +Se ``true``, le librerie native vengono compresse durante l'esecuzione di una build Gradle. -\ **Note:** While enabling compression can reduce the size of the binary, it may result in slower application startup because the native libraries must be extracted before use, rather than being loaded directly. +\ **Nota:** Sebbene abilitare la compressione possa ridurre le dimensioni dell'eseguibile, potrebbe rallentare l'avvio dell'applicazione perché le librerie native si devono estrarre prima dell'uso, anziché caricarle direttamente. -If you're distributing your app via the Play Store, it's generally recommended to keep this option ``false``, see `official documentation `__. +Se si distribuisce la propria app tramite il Play Store, in genere si consiglia di mantenere questa opzione su ``false``, consulta la `documentazione ufficiale `__. .. rst-class:: classref-item-separator @@ -623,13 +623,13 @@ If you're distributing your app via the Play Store, it's generally recommended t :ref:`Dictionary` **gradle_build/custom_theme_attributes** :ref:`🔗` -A dictionary of custom theme attributes to include in the exported Android project. Each entry defines a theme attribute name and its value, and will be added to the **GodotAppMainTheme**. +Un dizionario di attributi personalizzati di tema da includere nel progetto Android esportato. Ogni voce definisce un nome di attributo di tema e il suo valore, e sarà aggiunta a **GodotAppMainTheme**. -For example, the key ``android:windowSwipeToDismiss`` with the value ``false`` is resolved to ``false``. +Ad esempio, la chiave ``android:windowSwipeToDismiss`` con il valore ``false`` è risolta in ``false``. -\ **Note:** To add a custom attribute to the **GodotAppSplashTheme**, prefix the attribute name with ``[splash]``. +\ **Nota:** Per aggiungere un attributo personalizzato a **GodotAppSplashTheme**, anteporre al nome dell'attributo ``[splash]``. -\ **Note:** Reserved attributes configured via other export options or project settings cannot be overridden by ``custom_theme_attributes`` and are skipped during export. +\ **Nota:** Gli attributi riservati configurati tramite altre opzioni di esportazione o impostazioni del progetto non si possono sovrascrivere da ``custom_theme_attributes`` e sono ignorati durante l'esportazione. .. rst-class:: classref-item-separator @@ -2811,7 +2811,7 @@ Consente a un'applicazione di scrivere nel dizionario utente. :ref:`Color` **screen/background_color** :ref:`🔗` -The background color used for the root window. Default is ``black``. +Il colore di sfondo utilizzato per la finestra principale. Predefinito su ``black``. .. rst-class:: classref-item-separator @@ -2823,9 +2823,9 @@ The background color used for the root window. Default is ``black``. :ref:`bool` **screen/edge_to_edge** :ref:`🔗` -If ``true``, this makes the navigation and status bars translucent and allows the application content to extend edge to edge. +Se ``true``, le barre di navigazione e di stato diventano trasparenti e il contenuto dell'applicazione si estende da un bordo all'altro. -\ **Note:** You should ensure that none of the application content is occluded by system elements by using the :ref:`DisplayServer.get_display_safe_area()` and :ref:`DisplayServer.get_display_cutouts()` methods. +\ **Nota:** È necessario assicurarsi che nessuno dei contenuti dell'applicazione sia nascosto da elementi di sistema utilizzando i metodi :ref:`DisplayServer.get_display_safe_area()` e :ref:`DisplayServer.get_display_cutouts()`. .. rst-class:: classref-item-separator @@ -2837,7 +2837,7 @@ If ``true``, this makes the navigation and status bars translucent and allows th :ref:`bool` **screen/immersive_mode** :ref:`🔗` -If ``true``, hides the navigation and status bar. Set :ref:`DisplayServer.window_set_mode()` to change this at runtime. +Se ``true``, nasconde la barra di navigazione e di stato. Vedi :ref:`DisplayServer.window_set_mode()` per cambiarne la visibilità durante l'esecuzione. .. rst-class:: classref-item-separator @@ -2897,7 +2897,7 @@ Indica se l'applicazione supporta fattori forma di schermi di grandi dimensioni. :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformappleembedded.rst b/classes/it/class_editorexportplatformappleembedded.rst index 69f74c05c6..8f0613c6c1 100644 --- a/classes/it/class_editorexportplatformappleembedded.rst +++ b/classes/it/class_editorexportplatformappleembedded.rst @@ -16,7 +16,7 @@ Base class for the Apple embedded platform exporters (iOS and visionOS). Descrizione ---------------------- -The base class for Apple embedded platform exporters. These include iOS and visionOS, but not macOS. See the classes inheriting from this one for more details. +La classe di base per gli esportatori di Apple embedded platform. Questi includono iOS e visionOS, ma non macOS. Vedi le classi che la ereditano per ulteriori dettagli. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_editorexportplatformextension.rst b/classes/it/class_editorexportplatformextension.rst index 6e056c8b34..105226b99d 100644 --- a/classes/it/class_editorexportplatformextension.rst +++ b/classes/it/class_editorexportplatformextension.rst @@ -111,9 +111,9 @@ Descrizioni dei metodi :ref:`bool` **_can_export**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Returns ``true``, if specified ``preset`` is valid and can be exported. Use :ref:`set_config_error()` and :ref:`set_config_missing_templates()` to set error details. +Restituisce ``true``, se la preimpostazione ``preset`` è valida e si può esportare. Usa :ref:`set_config_error()` e :ref:`set_config_missing_templates()` per impostare i dettagli per gli errori. -Usual implementation can call :ref:`_has_valid_export_configuration()` and :ref:`_has_valid_project_configuration()` to determine if export is possible. +La solita implementazione può chiamare :ref:`_has_valid_export_configuration()` e :ref:`_has_valid_project_configuration()` per determinare se l'esportazione è possibile. .. rst-class:: classref-item-separator @@ -125,7 +125,7 @@ Usual implementation can call :ref:`_has_valid_export_configuration()` -Called by the editor before platform is unregistered. +Chiamato dall'editor prima che la registrazione della piattaforma venga annullata. .. rst-class:: classref-item-separator @@ -137,9 +137,9 @@ Called by the editor before platform is unregistered. :ref:`Error` **_export_pack**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Creates a PCK archive at ``path`` for the specified ``preset``. +Crea un archivio PCK nel percorso ``path`` per la preimpostazione ``preset``. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" disabled, and PCK is selected as a file type. +Questo metodo viene chiamato quando si preme il pulsante "Esporta PCK/ZIP" nella finestra di dialogo di esportazione, con "Esporta come patch" disabilitato e PCK selezionato come tipo di file. .. rst-class:: classref-item-separator @@ -151,11 +151,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_pack_patch**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, patches\: :ref:`PackedStringArray`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Creates a patch PCK archive at ``path`` for the specified ``preset``, containing only the files that have changed since the last patch. +Crea un archivio PCK di patch nel percorso ``path`` per la preimpostazione ``preset``, contenente solo i file che sono stati modificati dall'ultima patch. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" enabled, and PCK is selected as a file type. +Questo metodo viene chiamato quando si preme il pulsante "Esporta PCK/ZIP" nella finestra di dialogo di esportazione, con "Esporta come patch" abilitato e PCK selezionato come tipo di file. -\ **Note:** The patches provided in ``patches`` have already been loaded when this method is called and are merely provided as context. When empty the patches defined in the export preset have been loaded instead. +\ **Nota:** Le patch fornite in ``patches`` sono già state caricate quando questo metodo viene chiamato e sono semplicemente fornite come contesto. Quando è vuoto, sono state caricate invece le patch definite nella preimpostazione d'esportazione. .. rst-class:: classref-item-separator @@ -167,11 +167,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_project**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| |required| :ref:`🔗` -Creates a full project at ``path`` for the specified ``preset``. +Crea un progetto completo nel percorso ``path`` per la preimpostazione ``preset``. -This method is called when "Export" button is pressed in the export dialog. +Questo metodo viene chiamato quando si preme il pulsante "Esporta" nella finestra di dialogo di esportazione. -This method implementation can call :ref:`EditorExportPlatform.save_pack()` or :ref:`EditorExportPlatform.save_zip()` to use default PCK/ZIP export process, or calls :ref:`EditorExportPlatform.export_project_files()` and implement custom callback for processing each exported file. +Questa implementazione del metodo può chiamare :ref:`EditorExportPlatform.save_pack()` o :ref:`EditorExportPlatform.save_zip()` per utilizzare il processo di esportazione PCK/ZIP predefinito, oppure chiamare :ref:`EditorExportPlatform.export_project_files()` e implementare un callback personalizzato per elaborare ciascun file esportato. .. rst-class:: classref-item-separator @@ -183,9 +183,9 @@ This method implementation can call :ref:`EditorExportPlatform.save_pack()` **_export_zip**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Create a ZIP archive at ``path`` for the specified ``preset``. +Crea un archivio ZIP nel percorso ``path`` per la preimpostazione ``preset``. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" disabled, and ZIP is selected as a file type. +Questo metodo viene chiamato quando si preme il pulsante "Esporta PCK/ZIP" nella finestra di dialogo di esportazione, con "Esporta come patch" disabilitato e ZIP selezionato come tipo di file. .. rst-class:: classref-item-separator @@ -197,11 +197,11 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`Error` **_export_zip_patch**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`, path\: :ref:`String`, patches\: :ref:`PackedStringArray`, flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -Create a ZIP archive at ``path`` for the specified ``preset``, containing only the files that have changed since the last patch. +Crea un archivio ZIP nel percorso ``path`` per la preimpostazione ``preset``, contenente solo i file che sono stati modificati dall'ultima patch. -This method is called when "Export PCK/ZIP" button is pressed in the export dialog, with "Export as Patch" enabled, and ZIP is selected as a file type. +Questo metodo viene chiamato quando si preme il pulsante "Esporta PCK/ZIP" nella finestra di dialogo di esportazione, con "Esporta come patch" abilitato e ZIP selezionato come tipo di file. -\ **Note:** The patches provided in ``patches`` have already been loaded when this method is called and are merely provided as context. When empty the patches defined in the export preset have been loaded instead. +\ **Nota:** Le patch fornite in ``patches`` sono già state caricate quando questo metodo viene chiamato e sono semplicemente fornite come contesto. Quando è vuoto, sono state caricate invece le patch definite nella preimpostazione d'esportazione. .. rst-class:: classref-item-separator @@ -213,7 +213,7 @@ This method is called when "Export PCK/ZIP" button is pressed in the export dial :ref:`PackedStringArray` **_get_binary_extensions**\ (\ preset\: :ref:`EditorExportPreset`\ ) |virtual| |required| |const| :ref:`🔗` -Returns array of supported binary extensions for the full project export. +Restituisce un array di estensioni binarie supportate per l'esportazione completa del progetto. .. rst-class:: classref-item-separator @@ -225,7 +225,7 @@ Returns array of supported binary extensions for the full project export. :ref:`String` **_get_debug_protocol**\ (\ ) |virtual| |const| :ref:`🔗` -Returns protocol used for remote debugging. Default implementation return ``tcp://``. +Restituisce il protocollo utilizzato per il debug remoto. L'implementazione predefinita restituisce ``tcp://``. .. rst-class:: classref-item-separator @@ -237,7 +237,7 @@ Returns protocol used for remote debugging. Default implementation return ``tcp: :ref:`String` **_get_device_architecture**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns device architecture for one-click deploy. +Restituisce l'architettura del dispositivo per la distribuzione con un clic. .. rst-class:: classref-item-separator @@ -249,7 +249,7 @@ Returns device architecture for one-click deploy. :ref:`bool` **_get_export_option_visibility**\ (\ preset\: :ref:`EditorExportPreset`, option\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Validates ``option`` and returns visibility for the specified ``preset``. Default implementation return ``true`` for all options. +Convalida l'opzione ``option`` e restituisce la visibilità per la preimpostazione ``preset``. L'implementazione predefinita restituisce ``true`` per tutte le opzioni. .. rst-class:: classref-item-separator @@ -261,7 +261,7 @@ Validates ``option`` and returns visibility for the specified ``preset``. Defaul :ref:`String` **_get_export_option_warning**\ (\ preset\: :ref:`EditorExportPreset`, option\: :ref:`StringName`\ ) |virtual| |const| :ref:`🔗` -Validates ``option`` and returns warning message for the specified ``preset``. Default implementation return empty string for all options. +Convalida l'opzione ``option`` e restituisce un messaggio d'avviso per la preimpostazione ``preset``. L'implementazione predefinita restituisce una stringa vuota per tutte le opzioni. .. rst-class:: classref-item-separator @@ -273,9 +273,9 @@ Validates ``option`` and returns warning message for the specified ``preset``. D :ref:`Array`\[:ref:`Dictionary`\] **_get_export_options**\ (\ ) |virtual| |const| :ref:`🔗` -Returns a property list, as an :ref:`Array` of dictionaries. Each :ref:`Dictionary` must at least contain the ``name: StringName`` and ``type: Variant.Type`` entries. +Restituisce una lista di proprietà, come un :ref:`Array` di dizionari. Ogni :ref:`Dictionary` deve contenere almeno le voci ``name: StringName`` e ``type: Variant.Type``. -Additionally, the following keys are supported: +Inoltre, sono supportate le seguenti chiavi: - ``hint: PropertyHint``\ @@ -285,13 +285,13 @@ Additionally, the following keys are supported: - ``class_name: StringName``\ -- ``default_value: Variant``, default value of the property. +- ``default_value: Variant``, valore predefinito della proprietà. -- ``update_visibility: bool``, if set to ``true``, :ref:`_get_export_option_visibility()` is called for each property when this property is changed. +- ``update_visibility: bool``, se impostato su ``true``, viene chiamato :ref:`_get_export_option_visibility()` per ogni proprietà quando questa proprietà viene modificata. -- ``required: bool``, if set to ``true``, this property warnings are critical, and should be resolved to make export possible. This value is a hint for the :ref:`_has_valid_export_configuration()` implementation, and not used by the engine directly. +- ``required: bool``, se impostato su ``true``, gli avvisi di questa proprietà sono critici e devono essere risolti per rendere possibile l'esportazione. Questo valore è un indicazione per l'implementazione di :ref:`_has_valid_export_configuration()` e non viene utilizzato direttamente dal motore. -See also :ref:`Object._get_property_list()`. +Vedi anche :ref:`Object._get_property_list()`. .. rst-class:: classref-item-separator @@ -303,7 +303,7 @@ See also :ref:`Object._get_property_list()` **_get_logo**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Returns the platform logo displayed in the export dialog. The logo should be 32×32 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Restituisce il logo della piattaforma visualizzato nella finestra di dialogo di esportazione. Il logo dovrebbe essere 32×32 pixel, adattato alla scala attuale dell'editor (vedi :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -315,7 +315,7 @@ Returns the platform logo displayed in the export dialog. The logo should be 32 :ref:`String` **_get_name**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Returns export platform name. +Restituisce il nome della piattaforma d'esportazione. .. rst-class:: classref-item-separator @@ -327,7 +327,7 @@ Returns export platform name. :ref:`Texture2D` **_get_option_icon**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the item icon for the specified ``device`` in the one-click deploy menu. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Restituisce l'icona della voce per il dispositivo ``device`` nel menu di distribuzione con un clic. L'icona dovrebbe essere 16×16 pixel, adattata alla scala attuale dell'editor (vedi :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -339,7 +339,7 @@ Returns the item icon for the specified ``device`` in the one-click deploy menu. :ref:`String` **_get_option_label**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns one-click deploy menu item label for the specified ``device``. +Restituisce l'etichetta della voce nel menu di distribuzione con un clic per il dispositivo ``device``. .. rst-class:: classref-item-separator @@ -351,7 +351,7 @@ Returns one-click deploy menu item label for the specified ``device``. :ref:`String` **_get_option_tooltip**\ (\ device\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns one-click deploy menu item tooltip for the specified ``device``. +Restituisce il suggerimento della voce nel menu di distribuzione con un clic per il dispositivo ``device``. .. rst-class:: classref-item-separator @@ -363,7 +363,7 @@ Returns one-click deploy menu item tooltip for the specified ``device``. :ref:`int` **_get_options_count**\ (\ ) |virtual| |const| :ref:`🔗` -Returns the number of devices (or other options) available in the one-click deploy menu. +Restituisce il numero di dispositivi (o altre opzioni) disponibili nel menu di distribuzione con un clic. .. rst-class:: classref-item-separator @@ -375,7 +375,7 @@ Returns the number of devices (or other options) available in the one-click depl :ref:`String` **_get_options_tooltip**\ (\ ) |virtual| |const| :ref:`🔗` -Returns tooltip of the one-click deploy menu button. +Restituisce il suggerimento del pulsante del menu di distribuzione con un clic. .. rst-class:: classref-item-separator @@ -387,7 +387,7 @@ Returns tooltip of the one-click deploy menu button. :ref:`String` **_get_os_name**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Returns target OS name. +Restituisce il nome dell'OS di destinazione. .. rst-class:: classref-item-separator @@ -399,7 +399,7 @@ Returns target OS name. :ref:`PackedStringArray` **_get_platform_features**\ (\ ) |virtual| |required| |const| :ref:`🔗` -Returns array of platform specific features. +Restituisce un array di funzionalità specifiche della piattaforma. .. rst-class:: classref-item-separator @@ -411,7 +411,7 @@ Returns array of platform specific features. :ref:`PackedStringArray` **_get_preset_features**\ (\ preset\: :ref:`EditorExportPreset`\ ) |virtual| |required| |const| :ref:`🔗` -Returns array of platform specific features for the specified ``preset``. +Restituisce un array di funzionalità specifiche della piattaforma per il ``preset`` specificato. .. rst-class:: classref-item-separator @@ -423,7 +423,7 @@ Returns array of platform specific features for the specified ``preset``. :ref:`Texture2D` **_get_run_icon**\ (\ ) |virtual| |const| :ref:`🔗` -Returns the icon of the one-click deploy menu button. The icon should be 16×16 pixels, adjusted for the current editor scale (see :ref:`EditorInterface.get_editor_scale()`). +Restituisce l'icona per il menu di distribuzione con un clic. L'icona dovrebbe essere 16×16, adattata alla scala attuale dell'editor (vedi :ref:`EditorInterface.get_editor_scale()`). .. rst-class:: classref-item-separator @@ -435,7 +435,7 @@ Returns the icon of the one-click deploy menu button. The icon should be 16×16 :ref:`bool` **_has_valid_export_configuration**\ (\ preset\: :ref:`EditorExportPreset`, debug\: :ref:`bool`\ ) |virtual| |required| |const| :ref:`🔗` -Returns ``true`` if export configuration is valid. +Restituisce ``true`` se la configurazione d'esportazione è valida. .. rst-class:: classref-item-separator @@ -447,7 +447,7 @@ Returns ``true`` if export configuration is valid. :ref:`bool` **_has_valid_project_configuration**\ (\ preset\: :ref:`EditorExportPreset`\ ) |virtual| |required| |const| :ref:`🔗` -Returns ``true`` if project configuration is valid. +Restituisce ``true`` se la configurazione del progetto è valida. .. rst-class:: classref-item-separator @@ -459,7 +459,7 @@ Returns ``true`` if project configuration is valid. :ref:`bool` **_is_executable**\ (\ path\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Returns ``true`` if specified file is a valid executable (native executable or script) for the target platform. +Restituisce ``true`` se il file specificato è un eseguibile valido (eseguibile nativo o script) per la piattaforma di destinazione. .. rst-class:: classref-item-separator @@ -471,7 +471,7 @@ Returns ``true`` if specified file is a valid executable (native executable or s :ref:`bool` **_poll_export**\ (\ ) |virtual| :ref:`🔗` -Returns ``true`` if one-click deploy options are changed and editor interface should be updated. +Restituisce ``true`` se le opzioni di distribuzione con un clic sono cambiate e l'interfaccia dell'editor si dovrebbe aggiornare. .. rst-class:: classref-item-separator @@ -483,9 +483,9 @@ Returns ``true`` if one-click deploy options are changed and editor interface sh :ref:`Error` **_run**\ (\ preset\: :ref:`EditorExportPreset`, device\: :ref:`int`, debug_flags\: |bitfield|\[:ref:`DebugFlags`\]\ ) |virtual| :ref:`🔗` -This method is called when ``device`` one-click deploy menu option is selected. +Questo metodo viene chiamato quando viene selezionata l'opzione per il dispositivo ``device`` nel menu di distribuzione con un clic. -Implementation should export project to a temporary location, upload and run it on the specific ``device``, or perform another action associated with the menu item. +L'implementazione dovrebbe esportare il progetto in una posizione temporanea, caricarlo ed eseguirlo sul dispositivo ``device`` oppure eseguire un'altra azione associata alla voce del menu. .. rst-class:: classref-item-separator @@ -497,7 +497,7 @@ Implementation should export project to a temporary location, upload and run it :ref:`bool` **_should_update_export_options**\ (\ ) |virtual| :ref:`🔗` -Returns ``true`` if export options list is changed and presets should be updated. +Restituisce ``true`` se la lista delle opzioni di esportazione è cambiata e le preimpostazioni si dovrebbero aggiornare. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformios.rst b/classes/it/class_editorexportplatformios.rst index 98129cf927..3f4bcd8376 100644 --- a/classes/it/class_editorexportplatformios.rst +++ b/classes/it/class_editorexportplatformios.rst @@ -664,9 +664,9 @@ Versione minima di iOS richiesta per l'esecuzione di questa applicazione nel for :ref:`String` **application/provisioning_profile_specifier_debug** :ref:`🔗` -Name of the provisioning profile. Sets Xcode PROVISIONING_PROFILE_SPECIFIER for debug. `Used for manual provisioning `__. +Nome del profilo di provisioning. Imposta PROVISIONING_PROFILE_SPECIFIER di XCode per il debug. `Usato per il provisioning manuale `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG``. +Si può sovrascrivere con la variabile di ambiente ``GODOT_IOS_PROFILE_SPECIFIER_DEBUG``. .. rst-class:: classref-item-separator @@ -678,9 +678,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_S :ref:`String` **application/provisioning_profile_specifier_release** :ref:`🔗` -Name of the provisioning profile. Sets Xcode PROVISIONING_PROFILE_SPECIFIER for release. `Used for manual provisioning `__. +Nome del profilo di provisioning. Imposta PROVISIONING_PROFILE_SPECIFIER di XCode per il rilascio. `Usato per il provisioning manuale `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE``. +Si può sovrascrivere con la variabile di ambiente ``GODOT_IOS_PROFILE_SPECIFIER_RELEASE``. .. rst-class:: classref-item-separator @@ -720,9 +720,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISION :ref:`String` **application/short_version** :ref:`🔗` -Application version visible to the user. Can only contain numeric characters (``0-9``) and periods (``.``). Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +Versione dell'applicazione visibile all'utente, può contenere solo caratteri numerici (``0-9``) e punti (``.``). Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Version* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -758,9 +758,9 @@ Famiglia di dispositivi supportati. :ref:`String` **application/version** :ref:`🔗` -Machine-readable application version in the ``major.minor.patch`` format. Can only contain numeric characters (``0-9``) and periods (``.``). This must be incremented with every new release pushed to the App Store. Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +La versione dell'applicazione leggibile da computer, nel formato ``major.minor.patch``. Può contenere solo caratteri numerici (``0-9``) e punti (``.``). È necessario incrementarla a ogni nuova versione inviata all'App Store. Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Build* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -810,9 +810,9 @@ Ulteriori dati aggiunti all'array ``UIRequiredDeviceCapabilities`` del file ``In :ref:`bool` **capabilities/performance_a12** :ref:`🔗` -Requires the graphics performance and features of the A12 Bionic and later chips (devices supporting all Vulkan renderer features). +Richiede le prestazioni grafiche e le funzionalità dei chip A12 Bionic e successivi (dispositivi che supportano tutte le funzionalità del rendering Vulkan). -Enabling this option limits supported devices to: iPhone XS, iPhone XR, iPad Mini (5th gen.), iPad Air (3rd gen.), iPad (8th gen), and newer. +Attivando questa opzione si limitano i dispositivi supportati a: iPhone XS, iPhone XR, iPad Mini (5ª generazione), iPad Air (3ª generazione), iPad (8ª generazione) e successivi. .. rst-class:: classref-item-separator @@ -879,7 +879,7 @@ Ulteriori dati aggiunti alla sezione radice ```` del file `.entitlements < :ref:`bool` **entitlements/game_center** :ref:`🔗` -If ``true``, allows access to Game Center features. See `com.apple.developer.game-center `__. +Se ``true``, consente l'accesso alle funzionalità del Game Center. Consulta `com.apple.developer.game-center `__. .. rst-class:: classref-item-separator @@ -891,7 +891,7 @@ If ``true``, allows access to Game Center features. See `com.apple.developer.gam :ref:`bool` **entitlements/increased_memory_limit** :ref:`🔗` -If ``true``, hints that the app might perform better with a higher memory limit. See `com.apple.developer.kernel.increased-memory-limit `__. +Se ``true``, suggerisce che l'applicazione potrebbe funzionare meglio con un limite di memoria più elevato. Consulta `com.apple.developer.kernel.increased-memory-limit `__. .. rst-class:: classref-item-separator @@ -3365,7 +3365,7 @@ I motivi per cui l'app utilizza l'API predefinita dell'utente. Consulta `Descriv :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformlinuxbsd.rst b/classes/it/class_editorexportplatformlinuxbsd.rst index d2a0a22347..0716f4408e 100644 --- a/classes/it/class_editorexportplatformlinuxbsd.rst +++ b/classes/it/class_editorexportplatformlinuxbsd.rst @@ -71,11 +71,11 @@ Descrizioni delle proprietà :ref:`String` **binary_format/architecture** :ref:`🔗` -Application executable architecture. +Architettura dell'eseguibile dell'applicazione. -Supported architectures: ``x86_32``, ``x86_64``, ``arm64``, ``arm32``, ``rv64``, ``ppc64``, and ``loongarch64``. +Architetture supportate: ``x86_32``, ``x86_64``, ``arm64``, ``arm32``, ``rv64``, ``ppc64`` e ``loongarch64``. -Official export templates include ``x86_32``, ``x86_64``, ``arm32``, and ``arm64`` binaries only. +I modelli di esportazione ufficiali includono solo i binari ``x86_32``, ``x86_64``, ``arm32`` e ``arm64``. .. rst-class:: classref-item-separator @@ -135,7 +135,7 @@ Se ``true``, un wrapper per la console è esportato insieme all'eseguibile princ :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformmacos.rst b/classes/it/class_editorexportplatformmacos.rst index 39e6ecbc0a..0b2bd65676 100644 --- a/classes/it/class_editorexportplatformmacos.rst +++ b/classes/it/class_editorexportplatformmacos.rst @@ -640,9 +640,9 @@ Versione minima di macOS richiesta per eseguire questa applicazione sui Mac Inte :ref:`String` **application/short_version** :ref:`🔗` -Application version visible to the user. Can only contain numeric characters (``0-9``) and periods (``.``). Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +Versione dell'applicazione visibile all'utente, può contenere solo caratteri numerici (``0-9``) e punti (``.``). Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Version* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -666,9 +666,9 @@ Un codice creatore di quattro caratteri specifico del pacchetto. Facoltativo. :ref:`String` **application/version** :ref:`🔗` -Machine-readable application version in the ``major.minor.patch`` format. Can only contain numeric characters (``0-9``) and periods (``.``). This must be incremented with every new release pushed to the App Store. Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +La versione dell'applicazione leggibile da computer, nel formato ``major.minor.patch``. Può contenere solo caratteri numerici (``0-9``) e punti (``.``). È necessario incrementarla a ogni nuova versione inviata all'App Store. Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Build* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -3219,7 +3219,7 @@ Indica se l' app utilizza dati per il tracciamento. Consulta `File manifesto sul :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ or Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ o Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformpc.rst b/classes/it/class_editorexportplatformpc.rst index 692d056aed..cb1c7ec498 100644 --- a/classes/it/class_editorexportplatformpc.rst +++ b/classes/it/class_editorexportplatformpc.rst @@ -16,7 +16,7 @@ Classe di base per l'esportatore su piattaforma desktop (Windows e Linux/BSD). Descrizione ---------------------- -The base class for the desktop platform exporters. These include Windows and Linux/BSD, but not macOS. See the classes inheriting from this one for more details. +La classe di base per gli esportatori di piattaforme desktop. Questi includono Windows e Linux/BSD, ma non macOS. Vedi le classi che la ereditano per ulteriori dettagli. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_editorexportplatformvisionos.rst b/classes/it/class_editorexportplatformvisionos.rst index b1793ccb0a..31a2f1b542 100644 --- a/classes/it/class_editorexportplatformvisionos.rst +++ b/classes/it/class_editorexportplatformvisionos.rst @@ -7,7 +7,7 @@ EditorExportPlatformVisionOS **Eredita:** :ref:`EditorExportPlatformAppleEmbedded` **<** :ref:`EditorExportPlatform` **<** :ref:`RefCounted` **<** :ref:`Object` -Exporter for visionOS. +Esportatore per visionOS. .. rst-class:: classref-introduction-group @@ -558,9 +558,9 @@ Metodo di interpolazione utilizzato per ridimensionare l'icona dell'applicazione :ref:`String` **application/provisioning_profile_specifier_debug** :ref:`🔗` -Name of the provisioning profile. Sets XCode PROVISIONING_PROFILE_SPECIFIER for debug. `Used for manual provisioning `__. +Nome del profilo di provisioning. Imposta PROVISIONING_PROFILE_SPECIFIER di XCode per il debug. `Usato per il provisioning manuale `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG``. +Si può sovrascrivere con la variabile di ambiente ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_DEBUG``. .. rst-class:: classref-item-separator @@ -572,9 +572,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_S :ref:`String` **application/provisioning_profile_specifier_release** :ref:`🔗` -Name of the provisioning profile. Sets XCode PROVISIONING_PROFILE_SPECIFIER for release. `Used for manual provisioning `__. +Nome del profilo di provisioning. Imposta PROVISIONING_PROFILE_SPECIFIER di XCode per il rilascio. `Usato per il provisioning manuale `__. -Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE``. +Si può sovrascrivere con la variabile di ambiente ``GODOT_APPLE_PLATFORM_PROFILE_SPECIFIER_RELEASE``. .. rst-class:: classref-item-separator @@ -614,9 +614,9 @@ Can be overridden with the environment variable ``GODOT_APPLE_PLATFORM_PROVISION :ref:`String` **application/short_version** :ref:`🔗` -Application version visible to the user. Can only contain numeric characters (``0-9``) and periods (``.``). Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +Versione dell'applicazione visibile all'utente, può contenere solo caratteri numerici (``0-9``) e punti (``.``). Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Version* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -640,9 +640,9 @@ Un codice creatore di quattro caratteri specifico del pacchetto. Facoltativo. :ref:`String` **application/version** :ref:`🔗` -Machine-readable application version in the ``major.minor.patch`` format. Can only contain numeric characters (``0-9``) and periods (``.``). This must be incremented with every new release pushed to the App Store. Falls back to :ref:`ProjectSettings.application/config/version` if left empty. +La versione dell'applicazione leggibile da computer, nel formato ``major.minor.patch``. Può contenere solo caratteri numerici (``0-9``) e punti (``.``). È necessario incrementarla a ogni nuova versione inviata all'App Store. Se lasciato vuoto, ricade su :ref:`ProjectSettings.application/config/version`. -\ **Note:** This value is used for the *Identity > Build* value in the generated Xcode project. +\ **Nota:** Questo valore è utilizzato per il valore di *Identity > Version* nel progetto Xcode generato. .. rst-class:: classref-item-separator @@ -761,7 +761,7 @@ Ulteriori dati aggiunti alla sezione radice ```` del file `.entitlements < :ref:`bool` **entitlements/game_center** :ref:`🔗` -If ``true``, allows access to Game Center features. See `com.apple.developer.game-center `__. +Se ``true``, consente l'accesso alle funzionalità del Game Center. Consulta `com.apple.developer.game-center `__. .. rst-class:: classref-item-separator @@ -773,7 +773,7 @@ If ``true``, allows access to Game Center features. See `com.apple.developer.gam :ref:`bool` **entitlements/increased_memory_limit** :ref:`🔗` -If ``true``, hints that the app might perform better with a higher memory limit. See `com.apple.developer.kernel.increased-memory-limit `__. +Se ``true``, suggerisce che l'applicazione potrebbe funzionare meglio con un limite di memoria più elevato. Consulta `com.apple.developer.kernel.increased-memory-limit `__. .. rst-class:: classref-item-separator @@ -2671,7 +2671,7 @@ I motivi per cui l'app utilizza l'API predefinita dell'utente. Consulta `Descriv :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ and Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ e Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformweb.rst b/classes/it/class_editorexportplatformweb.rst index dc9c9fe3b9..fa2a3a7e37 100644 --- a/classes/it/class_editorexportplatformweb.rst +++ b/classes/it/class_editorexportplatformweb.rst @@ -336,9 +336,9 @@ Orientamento da utilizzare quando l'applicazione web è eseguita attraverso un d :ref:`int` **threads/emscripten_pool_size** :ref:`🔗` -The number of threads that emscripten will allocate at startup. A smaller value will allocate fewer threads and consume fewer system resources, but you may run the risk of running out of threads in the pool and needing to allocate more threads at run time which may cause a deadlock. +Il numero di thread che emscripten allocherà all'avvio. Un valore inferiore allocherà meno thread e consumerà meno risorse di sistema, ma si corre il rischio di esaurire i thread nel pool e di dover allocare altri thread in fase di esecuzione, causando un deadlock. -\ **Note:** Some browsers have a hard cap on the number of threads that can be allocated, so it is best to be cautious and keep this number low. +\ **Nota:** Alcuni browser hanno un limite massimo al numero di thread che si possono allocare, quindi è meglio essere cauti e mantenere questo numero basso. .. rst-class:: classref-item-separator @@ -350,9 +350,9 @@ The number of threads that emscripten will allocate at startup. A smaller value :ref:`int` **threads/godot_pool_size** :ref:`🔗` -Override for the default size of the :ref:`WorkerThreadPool`. This setting is used when :ref:`ProjectSettings.threading/worker_pool/max_threads` size is set to -1 (which it is by default). This size must be smaller than :ref:`threads/emscripten_pool_size` otherwise deadlocks may occur. +Sostituzione per la dimensione predefinita del :ref:`WorkerThreadPool`. Questa impostazione è utilizzata quando la dimensione in :ref:`ProjectSettings.threading/worker_pool/max_threads` è impostata su -1 (predefinito). Questa dimensione deve essere inferiore a :ref:`threads/emscripten_pool_size`, altrimenti potrebbero verificarsi dei deadlock. -When using threads this size needs to be large enough to accommodate features that rely on having a dedicated thread like :ref:`ProjectSettings.physics/2d/run_on_separate_thread` or :ref:`ProjectSettings.rendering/driver/threads/thread_model`. In general, it is best to ensure that this is at least 4 and is at least 2 or 3 less than :ref:`threads/emscripten_pool_size`. +Quando si utilizzano i thread, questa dimensione deve essere grande abbastanza da supportare funzionalità che richiedono un thread dedicato, come :ref:`ProjectSettings.physics/2d/run_on_separate_thread` o :ref:`ProjectSettings.rendering/driver/threads/thread_model`. In generale, è consigliabile assicurarsi che sia almeno 4 e almeno 2 o 3 in meno rispetto a :ref:`threads/emscripten_pool_size`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplatformwindows.rst b/classes/it/class_editorexportplatformwindows.rst index 2405986181..1b77217586 100644 --- a/classes/it/class_editorexportplatformwindows.rst +++ b/classes/it/class_editorexportplatformwindows.rst @@ -470,7 +470,7 @@ Se ``true``, un eseguibile wrapper della console viene esportato insieme all'ese :ref:`bool` **shader_baker/enabled** :ref:`🔗` -If ``true``, shaders will be compiled and embedded in the application. This option is only supported when using the Forward+ and Mobile renderers. +Se ``true``, gli shader saranno compilati e incorporati nell'applicazione. Questa opzione è supportata solo quando si utilizzano i renderer Forward+ e Mobile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportplugin.rst b/classes/it/class_editorexportplugin.rst index a94f6cc29d..551b12b1fb 100644 --- a/classes/it/class_editorexportplugin.rst +++ b/classes/it/class_editorexportplugin.rst @@ -396,7 +396,7 @@ Restituisce un :ref:`PackedStringArray` di funzionalit :ref:`bool` **_get_export_option_visibility**\ (\ platform\: :ref:`EditorExportPlatform`, option\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Validates ``option`` and returns the visibility for the specified ``platform``. The default implementation returns ``true`` for all options. +Convalida l'opzione ``option`` e restituisce la visibilità per la piattaforma ``platform``. L'implementazione predefinita restituisce ``true`` per tutte le opzioni. .. rst-class:: classref-item-separator @@ -486,7 +486,7 @@ L'implementazione di questo metodo è obbligatoria. :ref:`bool` **_should_update_export_options**\ (\ platform\: :ref:`EditorExportPlatform`\ ) |virtual| |const| :ref:`🔗` -Return ``true`` if the result of :ref:`_get_export_options()` has changed and the export options of the preset corresponding to ``platform`` should be updated. +Restituisce ``true``, se il risultato di :ref:`_get_export_options()` è cambiato ed è necessario aggiornare le opzioni di esportazione della preimpostazione corrispondente alla piattaforma ``platform``. .. rst-class:: classref-item-separator @@ -510,11 +510,11 @@ Restituisce ``true`` se l'estensione supporta la piattaforma ``platform``. :ref:`PackedByteArray` **_update_android_prebuilt_manifest**\ (\ platform\: :ref:`EditorExportPlatform`, manifest_data\: :ref:`PackedByteArray`\ ) |virtual| |const| :ref:`🔗` -Provide access to the Android prebuilt manifest and allows the plugin to modify it if needed. +Fornire l'accesso al manifest predefinito di Android e consentire al plugin di modificarlo se necessario. -Implementers of this virtual method should take the binary manifest data from ``manifest_data``, copy it, modify it, and then return it with the modifications. +Gli implementatori di questo metodo virtuale devono prendere i dati dell'eseguibile manifest da ``manifest_data``, copiarli, modificarli e quindi restituirli con le modifiche. -If no modifications are needed, then an empty :ref:`PackedByteArray` should be returned. +Se non sono necessarie modifiche, deve essere restituito un :ref:`PackedByteArray` vuoto. .. rst-class:: classref-item-separator @@ -526,7 +526,7 @@ If no modifications are needed, then an empty :ref:`PackedByteArray`\ ) :ref:`🔗` -Adds an Apple embedded platform bundle file from the given ``path`` to the exported project. +Aggiunge un file pacchetto di Apple embedded platform dal percorso ``path`` al progetto esportato. .. rst-class:: classref-item-separator @@ -538,7 +538,7 @@ Adds an Apple embedded platform bundle file from the given ``path`` to the expor |void| **add_apple_embedded_platform_cpp_code**\ (\ code\: :ref:`String`\ ) :ref:`🔗` -Adds C++ code to the Apple embedded platform export. The final code is created from the code appended by each active export plugin. +Aggiunge codice C++ all'esportazione di Apple embedded platform. Il codice finale viene creato dal codice aggiunto da ogni estensione attiva di esportazione. .. rst-class:: classref-item-separator @@ -550,11 +550,11 @@ Adds C++ code to the Apple embedded platform export. The final code is created f |void| **add_apple_embedded_platform_embedded_framework**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Adds a dynamic library (\*.dylib, \*.framework) to the Linking Phase in the Apple embedded platform's Xcode project and embeds it into the resulting binary. +Aggiunge una libreria dinamica (\*.dylib, \*.framework) al Linking Phase nel progetto Xcode di Apple embedded platform e la incorpora nel binario risultante. -\ **Note:** For static libraries (\*.a), this works in the same way as :ref:`add_apple_embedded_platform_framework()`. +\ **Nota:** Per le librerie statiche (\*.a) funziona allo stesso modo di :ref:`add_apple_embedded_platform_framework()`. -\ **Note:** This method should not be used for System libraries as they are already present on the device. +\ **Nota:** Questo metodo non si dovrebbe utilizzare per le librerie di sistema poiché sono già presenti sul dispositivo. .. rst-class:: classref-item-separator @@ -566,7 +566,7 @@ Adds a dynamic library (\*.dylib, \*.framework) to the Linking Phase in the Appl |void| **add_apple_embedded_platform_framework**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Adds a static library (\*.a) or a dynamic library (\*.dylib, \*.framework) to the Linking Phase to the Apple embedded platform's Xcode project. +Aggiunge una libreria statica (\*.a) o dinamica (\*.dylib, \*.framework) al Linking Phase nel progetto Xcode di Apple embedded platform. .. rst-class:: classref-item-separator @@ -578,7 +578,7 @@ Adds a static library (\*.a) or a dynamic library (\*.dylib, \*.framework) to th |void| **add_apple_embedded_platform_linker_flags**\ (\ flags\: :ref:`String`\ ) :ref:`🔗` -Adds linker flags for the Apple embedded platform export. +Aggiunge flag al linker per l'esportazione di Apple embedded platform. .. rst-class:: classref-item-separator @@ -590,7 +590,7 @@ Adds linker flags for the Apple embedded platform export. |void| **add_apple_embedded_platform_plist_content**\ (\ plist_content\: :ref:`String`\ ) :ref:`🔗` -Adds additional fields to the Apple embedded platform's project Info.plist file. +Aggiunge campi aggiuntivi al file Info.plist del progetto per Apple embedded platform. .. rst-class:: classref-item-separator @@ -602,7 +602,7 @@ Adds additional fields to the Apple embedded platform's project Info.plist file. |void| **add_apple_embedded_platform_project_static_lib**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Adds a static library from the given ``path`` to the Apple embedded platform project. +Aggiunge una libreria statica dal percorso ``path`` al progetto di Apple embedded platform. .. rst-class:: classref-item-separator @@ -646,7 +646,7 @@ Aggiunge un file bundle iOS dal percorso ``path`` al progetto esportato. **Deprecato:** Use :ref:`add_apple_embedded_platform_cpp_code()` instead. -Adds C++ code to the iOS export. The final code is created from the code appended by each active export plugin. +Aggiunge codice C++ all'esportazione iOS. Il codice finale viene creato dal codice aggiunto da ogni estensione attiva di esportazione. .. rst-class:: classref-item-separator @@ -660,11 +660,11 @@ Adds C++ code to the iOS export. The final code is created from the code appende **Deprecato:** Use :ref:`add_apple_embedded_platform_embedded_framework()` instead. -Adds a dynamic library (\*.dylib, \*.framework) to Linking Phase in iOS's Xcode project and embeds it into resulting binary. +Aggiunge una libreria dinamica (\*.dylib, \*.framework) al Linking Phase nel progetto Xcode di iOS e la incorpora nel binario risultante. -\ **Note:** For static libraries (\*.a), this works the in same way as :ref:`add_apple_embedded_platform_framework()`. +\ **Nota:** Per le librerie statiche (\*.a) funziona allo stesso modo di :ref:`add_apple_embedded_platform_framework()`. -\ **Note:** This method should not be used for System libraries as they are already present on the device. +\ **Nota:** Questo metodo non si dovrebbe utilizzare per le librerie di sistema poiché sono già presenti sul dispositivo. .. rst-class:: classref-item-separator @@ -678,7 +678,7 @@ Adds a dynamic library (\*.dylib, \*.framework) to Linking Phase in iOS's Xcode **Deprecato:** Use :ref:`add_apple_embedded_platform_framework()` instead. -Adds a static library (\*.a) or a dynamic library (\*.dylib, \*.framework) to the Linking Phase to the iOS Xcode project. +Aggiunge una libreria statica (\*.a) o dinamica (\*.dylib, \*.framework) al Linking Phase nel progetto Xcode di iOS. .. rst-class:: classref-item-separator @@ -706,7 +706,7 @@ Aggiunge flag al linker per l'esportazione iOS. **Deprecato:** Use :ref:`add_apple_embedded_platform_plist_content()` instead. -Adds additional fields to the iOS project Info.plist file. +Aggiunge campi aggiuntivi al file Info.plist del progetto per iOS. .. rst-class:: classref-item-separator @@ -720,7 +720,7 @@ Adds additional fields to the iOS project Info.plist file. **Deprecato:** Use :ref:`add_apple_embedded_platform_project_static_lib()` instead. -Adds a static library from the given ``path`` to the iOS project. +Aggiunge una libreria statica dal percorso ``path`` al progetto iOS. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorexportpreset.rst b/classes/it/class_editorexportpreset.rst index 527e4a9719..0e04084a8f 100644 --- a/classes/it/class_editorexportpreset.rst +++ b/classes/it/class_editorexportpreset.rst @@ -14,7 +14,7 @@ La configurazione della preimpostazione d'esportazione. Descrizione ---------------------- -Represents the configuration of an export preset, as created by the editor's export dialog. An **EditorExportPreset** instance is intended to be used a read-only configuration passed to the :ref:`EditorExportPlatform` methods when exporting the project. +Rappresenta la configurazione di una preimpostazione di esportazione, così come creata dalla finestra di dialogo di esportazione dell'editor. Un'istanza di **EditorExportPreset** si utilizza come configurazione sola lettura passata ai metodi di :ref:`EditorExportPlatform` quando si esporta il progetto. .. rst-class:: classref-reftable-group @@ -282,7 +282,7 @@ Returns ``true`` if the "Advanced" toggle is enabled in the export dialog. :ref:`String` **get_custom_features**\ (\ ) |const| :ref:`🔗` -Returns a comma-separated list of custom features added to this preset, as a string. See :doc:`Feature tags <../tutorials/export/feature_tags>` in the documentation for more information. +Restituisce una lista separata da virgole di funzionalità personalizzate aggiunte a questa preimpostazione, sotto forma di stringa. Consultare :doc:`Tag di funzionalità <../tutorials/export/feature_tags>` nella documentazione per ulteriori informazioni. .. rst-class:: classref-item-separator @@ -318,7 +318,7 @@ Returns the number of files selected in the "Resources" tab of the export dialog :ref:`bool` **get_encrypt_directory**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if PCK directory encryption is enabled in the export dialog. +Restituisce ``true`` se la crittografia delle cartelle del PCK è abilitata nella finestra di dialogo d'esportazione. .. rst-class:: classref-item-separator @@ -330,7 +330,7 @@ Returns ``true`` if PCK directory encryption is enabled in the export dialog. :ref:`bool` **get_encrypt_pck**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if PCK encryption is enabled in the export dialog. +Restituisce ``true`` se la crittografia del PCK è abilitata nella finestra di dialogo d'esportazione. .. rst-class:: classref-item-separator @@ -474,7 +474,7 @@ Restituisce la lista dei pacchetti da cui basare un'esportazione di patch. :ref:`String` **get_preset_name**\ (\ ) |const| :ref:`🔗` -Returns this export preset's name. +Restituisce il nome di questa preimpostazione d'esportazione. .. rst-class:: classref-item-separator @@ -486,7 +486,7 @@ Returns this export preset's name. :ref:`Variant` **get_project_setting**\ (\ name\: :ref:`StringName`\ ) :ref:`🔗` -Returns the value of the setting identified by ``name`` using export preset feature tag overrides instead of current OS features. +Restituisce il valore dell'impostazione specificata da ``name`` utilizzando sostituzioni dei tag di funzionalità nella preimpostazione d'esportazione, anziché funzionalità dell'OS attuale. .. rst-class:: classref-item-separator @@ -498,7 +498,7 @@ Returns the value of the setting identified by ``name`` using export preset feat :ref:`int` **get_script_export_mode**\ (\ ) |const| :ref:`🔗` -Returns the export mode used by GDScript files. ``0`` for "Text", ``1`` for "Binary tokens", and ``2`` for "Compressed binary tokens (smaller files)". +Restituisce la modalità di esportazione utilizzata dai file GDScript. ``0`` per "Testo", ``1`` per "Token binari" e ``2`` per "Token binari compressi (file più piccoli)". .. rst-class:: classref-item-separator @@ -524,7 +524,7 @@ Se ``windows_version`` è ``true``, formatta il numero di versione restituito in :ref:`bool` **has**\ (\ property\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if the preset has the property named ``property``. +Restituisce ``true`` se la preimpostazione ha la proprietà con il nome ``property``. .. rst-class:: classref-item-separator @@ -536,7 +536,7 @@ Returns ``true`` if the preset has the property named ``property``. :ref:`bool` **has_export_file**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Returns ``true`` if the file at the specified ``path`` will be exported. +Restituisce ``true`` se il file al percorso ``path`` sarà esportato. .. rst-class:: classref-item-separator @@ -548,7 +548,7 @@ Returns ``true`` if the file at the specified ``path`` will be exported. :ref:`bool` **is_dedicated_server**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the dedicated server export mode is selected in the export dialog. +Restituisce ``true`` se la modalità d'esportazione "server dedicato" è selezionata nella finestra di dialogo d'esportazione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorfiledialog.rst b/classes/it/class_editorfiledialog.rst index 3ba29ebffd..f847750fba 100644 --- a/classes/it/class_editorfiledialog.rst +++ b/classes/it/class_editorfiledialog.rst @@ -388,7 +388,7 @@ Il formato di visualizzazione in cui l'**EditorFileDialog** mostra le risorse al - |void| **set_file_mode**\ (\ value\: :ref:`FileMode`\ ) - :ref:`FileMode` **get_file_mode**\ (\ ) -The dialog's open or save mode, which affects the selection behavior. +La modalità di apertura o salvataggio della finestra di dialogo, che influenza il comportamento di selezione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorfilesystemimportformatsupportquery.rst b/classes/it/class_editorfilesystemimportformatsupportquery.rst index 19e10d3908..947ad841a2 100644 --- a/classes/it/class_editorfilesystemimportformatsupportquery.rst +++ b/classes/it/class_editorfilesystemimportformatsupportquery.rst @@ -14,7 +14,7 @@ Utilizzato per interrogare e configurare il supporto del formato di importazione Descrizione ---------------------- -Questa classe è usata per interrogare e configurare un certo formato di importazione. È usata insieme alle estensioni di importazione del formato delle risorse. +Questa classe serve per interrogare e configurare un certo formato di importazione. È usata insieme alle estensioni di importazione di formato per le risorse. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_editorimportplugin.rst b/classes/it/class_editorimportplugin.rst index 9b8128b6d0..b91f3cdf5e 100644 --- a/classes/it/class_editorimportplugin.rst +++ b/classes/it/class_editorimportplugin.rst @@ -260,7 +260,7 @@ Ottiene il nome univoco dell'importatore. :ref:`bool` **_get_option_visibility**\ (\ path\: :ref:`String`, option_name\: :ref:`StringName`, options\: :ref:`Dictionary`\ ) |virtual| |const| :ref:`🔗` -Gets whether the import option specified by ``option_name`` should be visible in the Import dock. The default implementation always returns ``true``, making all options visible. This is mainly useful for hiding options that depend on others if one of them is disabled. +Determina se bisogna mostrare l'opzione di importazione specificata da ``option_name`` nel pannello Importazione. L'implementazione predefinita restituisce sempre ``true``, rendendo visibili tutte le opzioni. È utile principalmente per nascondere le opzioni che dipendono da altre se una di esse è disabilitata. .. tabs:: @@ -268,9 +268,9 @@ Gets whether the import option specified by ``option_name`` should be visible in .. code-tab:: gdscript func _get_option_visibility(path, option_name, options): - # Only show the lossy quality setting if the compression mode is set to "Lossy". + # Mostra solo l'impostazione della qualità lossy se la modalità di compressione è impostata su "Lossy". if option_name == "compress/lossy_quality" and options.has("compress/mode"): - return int(options["compress/mode"]) == COMPRESS_LOSSY # This is a constant that you set + return int(options["compress/mode"]) == COMPRESS_LOSSY # Questa è una costante che imposti return true @@ -278,10 +278,10 @@ Gets whether the import option specified by ``option_name`` should be visible in public override bool _GetOptionVisibility(string path, StringName optionName, Godot.Collections.Dictionary options) { - // Only show the lossy quality setting if the compression mode is set to "Lossy". + // Mostra solo l'impostazione della qualità lossy se la modalità di compressione è impostata su "Lossy". if (optionName == "compress/lossy_quality" && options.ContainsKey("compress/mode")) { - return (int)options["compress/mode"] == CompressLossy; // This is a constant you set + return (int)options["compress/mode"] == CompressLossy; // Questa è una costante che imposti } return true; @@ -383,13 +383,13 @@ Ottiene il nome da visualizzare nella finestra di importazione. Dovresti sceglie :ref:`Error` **_import**\ (\ source_file\: :ref:`String`, save_path\: :ref:`String`, options\: :ref:`Dictionary`, platform_variants\: :ref:`Array`\[:ref:`String`\], gen_files\: :ref:`Array`\[:ref:`String`\]\ ) |virtual| |const| :ref:`🔗` -Imports ``source_file`` with the import ``options`` specified. Should return :ref:`@GlobalScope.OK` if the import is successful, other values indicate failure. +Importa ``source_file`` con le opzioni di importazione ``options``. Dovrebbe restituire :ref:`@GlobalScope.OK` se l'importazione ha avuto successo, altri valori indicano un errore. -The imported resource is expected to be saved to ``save_path + "." + _get_save_extension()``. If a different variant is preferred for a :doc:`feature tag <../tutorials/export/feature_tags>`, save the variant to ``save_path + "." + tag + "." + _get_save_extension()`` and add the feature tag to ``platform_variants``. +La risorsa importata si dovrebbe salvare in ``save_path + "." + _get_save_extension()``. Se si preferisce una variante diversa per un :doc:`tag di funzionalità <../tutorials/export/feature_tags>`, salvare la variante in ``save_path + "." + tag + "." + _get_save_extension()`` e aggiungere il tag di funzionalità a ``platform_variants``. -If additional resource files are generated in the resource filesystem (``res://``), add their full path to ``gen_files`` so that the editor knows they depend on ``source_file``. +Se vengono generati file di risorse aggiuntivi nel file system delle risorse (``res://``), aggiungere il loro percorso completo a ``gen_files`` in modo che l'editor sappia che dipendono da ``source_file``. -This method must be overridden to do the actual importing work. See this class' description for an example of overriding this method. +Questo metodo si deve sovrascrivere per eseguire l'importazione effettiva. Per un esempio di come sovrascrivere questo metodo, vedere la descrizione di questa classe. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorinspector.rst b/classes/it/class_editorinspector.rst index 4356c01cc2..fd745a85f1 100644 --- a/classes/it/class_editorinspector.rst +++ b/classes/it/class_editorinspector.rst @@ -14,17 +14,17 @@ Un controllo per modificare le proprietà di un oggetto. Descrizione ---------------------- -This is the control that implements property editing in the editor's Settings dialogs, the Inspector dock, etc. To get the **EditorInspector** used in the editor's Inspector dock, use :ref:`EditorInterface.get_inspector()`. +Questo è il controllo che implementa la modifica delle proprietà nelle finestre Impostazioni, nel pannello Ispettore, ecc. dell'editor. Per utilizzare **EditorInspector** nel pannello Ispettore dell'editor, usa :ref:`EditorInterface.get_inspector()`. -\ **EditorInspector** will show properties in the same order as the array returned by :ref:`Object.get_property_list()`. +\ **EditorInspector** mostrerà le proprietà nello stesso ordine dell'array restituito da :ref:`Object.get_property_list()`. -If a property's name is path-like (i.e. if it contains forward slashes), **EditorInspector** will create nested sections for "directories" along the path. For example, if a property is named ``highlighting/gdscript/node_path_color``, it will be shown as "Node Path Color" inside the "GDScript" section nested inside the "Highlighting" section. +Se il nome di una proprietà è simile a un percorso (ovvero se contiene barre), **EditorInspector** creerà sezioni nidificate per le "cartelle" lungo il percorso. Ad esempio, se una proprietà si chiama ``highlighting/gdscript/node_path_color``, sarà mostrata come "Node Path Color", dentro la sezione "GDScript", nidificata dentro la sezione "Highlighting". -If a property has :ref:`@GlobalScope.PROPERTY_USAGE_GROUP` usage, it will group subsequent properties whose name starts with the property's hint string. The group ends when a property does not start with that hint string or when a new group starts. An empty group name effectively ends the current group. **EditorInspector** will create a top-level section for each group. For example, if a property with group usage is named ``Collide With`` and its hint string is ``collide_with_``, a subsequent ``collide_with_area`` property will be shown as "Area" inside the "Collide With" section. There is also a special case: when the hint string contains the name of a property, that property is grouped too. This is mainly to help grouping properties like ``font``, ``font_color`` and ``font_size`` (using the hint string ``font_``). +Se una proprietà ha un uso :ref:`@GlobalScope.PROPERTY_USAGE_GROUP`, raggrupperà le proprietà successive il cui nome inizia con la stringa indicativa della proprietà. Il gruppo termina quando una proprietà non inizia con quella stringa indicativa o quando inizia un nuovo gruppo. Un nome di gruppo vuoto termina il gruppo attuale. **EditorInspector** creerà una sezione di primo livello per ogni gruppo. Ad esempio, se una proprietà con uso di gruppo ha il nome ``Collide With`` e la sua stringa indicativa è ``collide_with_``, una proprietà successiva ``collide_with_area`` sarà mostrata come "Area" dentro la sezione "Collide With". Esiste anche un caso speciale: quando la stringa indicativa contiene il nome di una proprietà, anche quella proprietà è raggruppata. Questo serve principalmente per aiutare a raggruppare proprietà come ``font``, ``font_color`` e ``font_size`` (tramite la stringa indicativa ``font_``). -If a property has :ref:`@GlobalScope.PROPERTY_USAGE_SUBGROUP` usage, a subgroup will be created in the same way as a group, and a second-level section will be created for each subgroup. +Se una proprietà ha un uso :ref:`@GlobalScope.PROPERTY_USAGE_SUBGROUP`, un sottogruppo sarà creato allo stesso modo di un gruppo e sarà creata una sezione di secondo livello per ciascun sottogruppo. -\ **Note:** Unlike sections created from path-like property names, **EditorInspector** won't capitalize the name for sections created from groups. So properties with group usage usually use capitalized names instead of snake_cased names. +\ **Nota:** A differenza delle sezioni create da nomi di proprietà simili a percorsi, **EditorInspector** non userà la maiuscola per i nomi delle sezioni create da gruppi. Pertanto, i nomi delle proprietà con l'uso di gruppo solitamente in maiuscolo anziché in snake_case. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_editorinterface.rst b/classes/it/class_editorinterface.rst index 546147b3ca..e285a1f217 100644 --- a/classes/it/class_editorinterface.rst +++ b/classes/it/class_editorinterface.rst @@ -226,7 +226,7 @@ Descrizioni dei metodi :ref:`Error` **close_scene**\ (\ ) :ref:`🔗` -Closes the currently active scene, discarding any pending changes in the process. Returns :ref:`@GlobalScope.OK` on success or :ref:`@GlobalScope.ERR_DOES_NOT_EXIST` if there is no scene to close. +Chiude la scena attualmente attiva, ignorando eventuali modifiche in sospeso nel processo. Restituisce :ref:`@GlobalScope.OK` in caso di successo oppure :ref:`@GlobalScope.ERR_DOES_NOT_EXIST` se non c'è alcuna scena da chiudere. .. rst-class:: classref-item-separator @@ -382,9 +382,9 @@ Restituisce il singleton :ref:`EditorPaths`. :ref:`float` **get_editor_scale**\ (\ ) |const| :ref:`🔗` -Returns the actual scale of the editor UI (``1.0`` being 100% scale). This can be used to adjust position and dimensions of the UI added by plugins. +Restituisce la scala effettiva dell'interfaccia utente dell'editor (``1.0`` è una scala del 100%). Può essere utilizzata per regolare la posizione e le dimensioni dell'interfaccia utente aggiunta dalle estensioni. -\ **Note:** This value is set via the :ref:`EditorSettings.interface/editor/display_scale` and :ref:`EditorSettings.interface/editor/custom_display_scale` settings. The editor must be restarted for changes to be properly applied. +\ **Nota:** Questo valore è impostato tramite le impostazioni :ref:`EditorSettings.interface/editor/display_scale` and :ref:`EditorSettings.interface/editor/custom_display_scale`. L'editor deve essere riavviato affinché le modifiche siano applicate correttamente. .. rst-class:: classref-item-separator @@ -498,7 +498,7 @@ Restituisce l'istanza :ref:`EditorInspector` dell'editor. :ref:`Array`\[:ref:`Node`\] **get_open_scene_roots**\ (\ ) |const| :ref:`🔗` -Returns an array with references to the root nodes of the currently opened scenes. +Restituisce un array con riferimenti ai nodi radice delle scene attualmente aperte. .. rst-class:: classref-item-separator @@ -510,7 +510,7 @@ Returns an array with references to the root nodes of the currently opened scene :ref:`PackedStringArray` **get_open_scenes**\ (\ ) |const| :ref:`🔗` -Returns an array with the file paths of the currently opened scenes. +Restituisce un array con i percorsi dei file delle scene attualmente aperte. .. rst-class:: classref-item-separator @@ -926,7 +926,7 @@ Salva la scena attualmente attiva. Restituisce :ref:`@GlobalScope.OK`, with_preview\: :ref:`bool` = true\ ) :ref:`🔗` -Saves the currently active scene as a file at ``path``. +Salva la scena attualmente attiva come file nel percorso ``path``. .. rst-class:: classref-item-separator @@ -966,7 +966,7 @@ Un profilo di funzionalità può essere creato in codice usando la classe :ref:` |void| **set_main_screen_editor**\ (\ name\: :ref:`String`\ ) :ref:`🔗` -Sets the editor's current main screen to the one specified in ``name``. ``name`` must match the title of the tab in question exactly (e.g. ``2D``, ``3D``, ``Script``, ``Game``, or ``AssetLib`` for default tabs). +Imposta la schermata principale attuale dell'editor su quella specificata in ``name``. ``name`` deve corrispondere esattamente al titolo della scheda in questione (ad esempio ``2D``, ``3D``, ``Script``, ``Game`` o ``AssetLib`` per le schede predefinite). .. rst-class:: classref-item-separator diff --git a/classes/it/class_editornode3dgizmo.rst b/classes/it/class_editornode3dgizmo.rst index 931295148d..8438ca8d6d 100644 --- a/classes/it/class_editornode3dgizmo.rst +++ b/classes/it/class_editornode3dgizmo.rst @@ -189,7 +189,7 @@ L'argomento ``secondary`` è ``true`` quando la maniglia richiesta è secondaria |void| **_redraw**\ (\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per aggiungere tutti gli elementi gizmo quando un aggiornamento dei gizmo viene richiesto. È comune chiamare :ref:`clear()` all'inizio di questo metodo e successivamente aggiungere elementi visivi in base alle proprietà del nodo. +Sovrascrivi questo metodo per aggiungere tutti gli elementi gizmo quando un aggiornamento dei gizmo viene richiesto. È comune chiamare :ref:`clear()` all'inizio di questo metodo e successivamente aggiungere elementi visivi in base alle proprietà del nodo. .. rst-class:: classref-item-separator @@ -239,7 +239,7 @@ Sovrascrivi questo metodo per consentire la selezione di gizmo secondari tramite :ref:`int` **_subgizmos_intersect_ray**\ (\ camera\: :ref:`Camera3D`, point\: :ref:`Vector2`\ ) |virtual| |const| :ref:`🔗` -Sovrascrivi questo metodo per consentire la selezione di gizmo secondari tramite clic del mouse. Specificata una telecamera (``camera``) e un punto (``frustum``) in coordinate dello schermo, questo metodo dovrebbe restituire quale gizmo secondario dovrebbe essere selezionato. Il valore restituito dovrebbe essere un identificatore univoco di gizmo secondario, che può avere qualsiasi valore non negativo e sarà utilizzato in altri metodi virtuali come :ref:`_get_subgizmo_transform()` o :ref:`_commit_subgizmos()`. +Sovrascrivi questo metodo per consentire la selezione di gizmo secondari tramite clic del mouse. Specificata una telecamera (``camera``) e un punto (``point``) in coordinate dello schermo, questo metodo dovrebbe restituire quale gizmo secondario dovrebbe essere selezionato. Il valore restituito dovrebbe essere un identificatore univoco di gizmo secondario, che può avere qualsiasi valore non negativo e sarà utilizzato in altri metodi virtuali come :ref:`_get_subgizmo_transform()` o :ref:`_commit_subgizmos()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editornode3dgizmoplugin.rst b/classes/it/class_editornode3dgizmoplugin.rst index 1e09fa448a..11f2273b04 100644 --- a/classes/it/class_editornode3dgizmoplugin.rst +++ b/classes/it/class_editornode3dgizmoplugin.rst @@ -166,7 +166,7 @@ Sovrascrivi questo metodo per restituire un :ref:`EditorNode3DGizmo` **_get_gizmo_name**\ (\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo per fornire il nome che apparirà nel menu di visibilità dei gizmo. +Sovrascrivi questo metodo per fornire il nome che apparirà nel menu di visibilità dei gizmo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorplugin.rst b/classes/it/class_editorplugin.rst index 1c643abcdf..3ecbe3c0de 100644 --- a/classes/it/class_editorplugin.rst +++ b/classes/it/class_editorplugin.rst @@ -582,7 +582,7 @@ Chiamato dal motore quando l'utente abilita l'**EditorPlugin** nella scheda Este |void| **_forward_3d_draw_over_viewport**\ (\ viewport_control\: :ref:`Control`\ ) |virtual| :ref:`🔗` -Called by the engine when the 3D editor's viewport is updated. ``viewport_control`` is an overlay on top of the viewport and it can be used for drawing. You can update the viewport manually by calling :ref:`update_overlays()`. +Chiamato dal motore quando la viewport dell'editor 3D viene aggiornata. ``viewport_control`` è un overlay sopra la viewport è si può utilizzare per disegnare. È possibile aggiornare manualmente la viewport chiamando :ref:`update_overlays()`. .. tabs:: @@ -590,12 +590,12 @@ Called by the engine when the 3D editor's viewport is updated. ``viewport_contro .. code-tab:: gdscript func _forward_3d_draw_over_viewport(overlay): - # Draw a circle at the cursor's position. + # Disegna un cerchio nella posizione del cursore. overlay.draw_circle(overlay.get_local_mouse_position(), 64, Color.WHITE) func _forward_3d_gui_input(camera, event): if event is InputEventMouseMotion: - # Redraw the viewport when the cursor is moved. + # Ridisegna la viewport quando il cursore viene spostato. update_overlays() return EditorPlugin.AFTER_GUI_INPUT_STOP return EditorPlugin.AFTER_GUI_INPUT_PASS @@ -604,7 +604,7 @@ Called by the engine when the 3D editor's viewport is updated. ``viewport_contro public override void _Forward3DDrawOverViewport(Control viewportControl) { - // Draw a circle at the cursor's position. + // Disegna un cerchio nella posizione del cursore. viewportControl.DrawCircle(viewportControl.GetLocalMousePosition(), 64, Colors.White); } @@ -612,7 +612,7 @@ Called by the engine when the 3D editor's viewport is updated. ``viewport_contro { if (@event is InputEventMouseMotion) { - // Redraw the viewport when the cursor is moved. + // Ridisegna la viewport quando il cursore viene spostato. UpdateOverlays(); return EditorPlugin.AfterGuiInput.Stop; } @@ -697,7 +697,7 @@ Questo metodo deve restituire :ref:`AFTER_GUI_INPUT_PASS`\ ) |virtual| :ref:`🔗` -Called by the engine when the 2D editor's viewport is updated. ``viewport_control`` is an overlay on top of the viewport and it can be used for drawing. You can update the viewport manually by calling :ref:`update_overlays()`. +Chiamato dal motore quando viene aggiornata la viewport dell'editor 2D. ``viewport_control`` è un overlay sopra la viewport è si può utilizzare per disegnare. È possibile aggiornare manualmente la viewport chiamando :ref:`update_overlays()`. .. tabs:: @@ -705,12 +705,12 @@ Called by the engine when the 2D editor's viewport is updated. ``viewport_contro .. code-tab:: gdscript func _forward_canvas_draw_over_viewport(overlay): - # Draw a circle at the cursor's position. + # Disegna un cerchio nella posizione del cursore. overlay.draw_circle(overlay.get_local_mouse_position(), 64, Color.WHITE) func _forward_canvas_gui_input(event): if event is InputEventMouseMotion: - # Redraw the viewport when the cursor is moved. + # Ridisegna la viewport quando il cursore viene spostato. update_overlays() return true return false @@ -719,7 +719,7 @@ Called by the engine when the 2D editor's viewport is updated. ``viewport_contro public override void _ForwardCanvasDrawOverViewport(Control viewportControl) { - // Draw a circle at the cursor's position. + // Disegna un cerchio nella posizione del cursore. viewportControl.DrawCircle(viewportControl.GetLocalMousePosition(), 64, Colors.White); } @@ -727,7 +727,7 @@ Called by the engine when the 2D editor's viewport is updated. ``viewport_contro { if (@event is InputEventMouseMotion) { - // Redraw the viewport when the cursor is moved. + // Ridisegna la viewport quando il cursore viene spostato. UpdateOverlays(); return true; } @@ -945,7 +945,7 @@ Se l'estensione non ha modifiche specifiche per la scena, è possibile ignorare |void| **_get_window_layout**\ (\ configuration\: :ref:`ConfigFile`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per fornire il layout nell'interfaccia utente dell'estensione o qualsiasi altro dato che si desidera memorizzare. Questo è utilizzato per salvare il layout dell'editor del progetto quando viene chiamato :ref:`queue_save_layout()` o il layout dell'editor è stato modificato (ad esempio cambiando la posizione di un pannello). I dati sono memorizzati nel file ``editor_layout.cfg`` nella cartella dei metadati dell'editor. +Sovrascrivi questo metodo per fornire il layout nell'interfaccia utente dell'estensione o qualsiasi altro dato che si desidera memorizzare. Questo è utilizzato per salvare il layout dell'editor del progetto quando viene chiamato :ref:`queue_save_layout()` o il layout dell'editor è stato modificato (ad esempio cambiando la posizione di un pannello). I dati sono memorizzati nel file ``editor_layout.cfg`` nella cartella dei metadati dell'editor. Utilizza :ref:`_set_window_layout()` per ripristinare il layout salvato. @@ -979,11 +979,11 @@ Implementa questa funzione se la tua estensione modifica un tipo specifico di og :ref:`bool` **_has_main_screen**\ (\ ) |virtual| |const| :ref:`🔗` -Returns ``true`` if this is a main screen editor plugin (it goes in the workspace selector together with **2D**, **3D**, **Script**, **Game**, and **AssetLib**). +Restituisce ``true`` se questo è un'estensione dell'editor per la schermata principale (va nel selettore dell'area di lavoro insieme a **2D**, **3D**, **Script**, **Game** e **AssetLib**). -When the plugin's workspace is selected, other main screen plugins will be hidden, but your plugin will not appear automatically. It needs to be added as a child of :ref:`EditorInterface.get_editor_main_screen()` and made visible inside :ref:`_make_visible()`. +Quando l'area di lavoro dell'estensione è selezionata, le altre estensioni nella schermata principale saranno nascosti, ma l'estensione non apparirà automaticamente. Deve essere aggiunta come figlio di :ref:`EditorInterface.get_editor_main_screen()` e resa visibile all'interno di :ref:`_make_visible()`. -Use :ref:`_get_plugin_name()` and :ref:`_get_plugin_icon()` to customize the plugin button's appearance. +Usa :ref:`_get_plugin_name()` e :ref:`_get_plugin_icon()` per personalizzare l'aspetto del pulsante dell'estensione. :: @@ -1200,7 +1200,7 @@ Registra un nuovo :ref:`EditorExportPlatform`. Le pi |void| **add_export_plugin**\ (\ plugin\: :ref:`EditorExportPlugin`\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorExportPlugin`. Le estensioni di esportazione sono utilizzate per effettuare attività quando il progetto viene esportato. +Registra un nuovo :ref:`EditorExportPlugin`. Le estensioni di esportazione servono per effettuare attività quando il progetto viene esportato. Vedi :ref:`add_inspector_plugin()` per un esempio di come registrare un'estensione. @@ -1214,7 +1214,7 @@ Vedi :ref:`add_inspector_plugin()`, first_priority\: :ref:`bool` = false\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorImportPlugin`. Le estensioni di importazione sono utilizzati per importare contenuti personalizzati e non supportati come un tipo di :ref:`Resource` personalizzato. +Registra un nuovo :ref:`EditorImportPlugin`. Le estensioni di importazione servono per importare contenuti personalizzati e non supportati come un tipo di :ref:`Resource` personalizzato. Se ``first_priority`` è ``true``, la nuovo estensione di importazione viene inserita per prima nell'elenco e ha la precedenza sulle estensioni preesistenti. @@ -1232,7 +1232,7 @@ Vedi :ref:`add_inspector_plugin()`\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorInspectorPlugin`. Le estensioni dell'Ispettore sono utilizzate per estendere :ref:`EditorInspector` e fornire strumenti di configurazione personalizzati per le proprietà del tuo oggetto. +Registra un nuovo :ref:`EditorInspectorPlugin`. Le estensioni dell'Ispettore servono per estendere :ref:`EditorInspector` e fornire strumenti di configurazione personalizzati per le proprietà del tuo oggetto. \ **Nota:** Usa sempre :ref:`remove_inspector_plugin()` per rimuovere l':ref:`EditorInspectorPlugin` registrato quando il tuo **EditorPlugin** è disabilitato per evitare perdite di memoria e comportamenti imprevisti. @@ -1262,7 +1262,7 @@ Registra un nuovo :ref:`EditorInspectorPlugin`. Le |void| **add_node_3d_gizmo_plugin**\ (\ plugin\: :ref:`EditorNode3DGizmoPlugin`\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorNode3DGizmoPlugin`. Le estensioni dei gizmo sono utilizzate per aggiungere gizmo personalizzati alla viewport di anteprima 3D per un :ref:`Node3D`. +Registra un nuovo :ref:`EditorNode3DGizmoPlugin`. Le estensioni dei gizmo servono per aggiungere gizmo personalizzati alla viewport di anteprima 3D per un :ref:`Node3D`. Vedi :ref:`add_inspector_plugin()` per un esempio di come registrare un'estensione. @@ -1276,7 +1276,7 @@ Vedi :ref:`add_inspector_plugin()`\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorResourceConversionPlugin`. Le estensioni di conversione delle risorse sono utilizzate per aggiungere convertitori di risorse personalizzati all'ispettore dell'editor. +Registra un nuovo :ref:`EditorResourceConversionPlugin`. Le estensioni di conversione delle risorse servono per aggiungere convertitori di risorse personalizzati all'ispettore dell'editor. Vedi :ref:`EditorResourceConversionPlugin` per un esempio di come creare un'estensione di conversione delle risorse. @@ -1290,7 +1290,7 @@ Vedi :ref:`EditorResourceConversionPlugin` |void| **add_scene_format_importer_plugin**\ (\ scene_format_importer\: :ref:`EditorSceneFormatImporter`, first_priority\: :ref:`bool` = false\ ) :ref:`🔗` -Registra un nuovo :ref:`EditorSceneFormatImporter`. Gli importatori di scene sono utilizzati per importare formati di contenuti 3D personalizzati come scene. +Registra un nuovo :ref:`EditorSceneFormatImporter`. Gli importatori di scene servono per importare formati di contenuti 3D personalizzati come scene. Se ``first_priority`` è ``true``, la nuovo estensione di importazione viene inserita per prima nell'elenco e ha la precedenza sulle estensioni preesistenti. diff --git a/classes/it/class_editorproperty.rst b/classes/it/class_editorproperty.rst index 927e54c92e..6b9911d53f 100644 --- a/classes/it/class_editorproperty.rst +++ b/classes/it/class_editorproperty.rst @@ -535,9 +535,9 @@ Se una o più proprietà sono state cambiate, è necessario richiamare questa fu :ref:`Object` **get_edited_object**\ (\ ) :ref:`🔗` -Returns the edited object. +Restituisce l'oggetto in fase di modifica. -\ **Note:** This method could return ``null`` if the editor has not yet been associated with a property. However, in :ref:`_update_property()` and :ref:`_set_read_only()`, this value is *guaranteed* to be non-``null``. +\ **Nota:** Questo metodo potrebbe restituire ``null`` se l'editor non è ancora stato associato a una proprietà. Tuttavia, in :ref:`_update_property()` e :ref:`_set_read_only()`, è *garantito* che questo valore non sia ``null``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorresourcepreview.rst b/classes/it/class_editorresourcepreview.rst index b0dd289c0b..381849f065 100644 --- a/classes/it/class_editorresourcepreview.rst +++ b/classes/it/class_editorresourcepreview.rst @@ -14,7 +14,7 @@ Un nodo utilizzato per generare anteprime di risorse o file. Descrizione ---------------------- -Questo nodo viene utilizzato per generare anteprime per le risorse o i file. +Questo nodo serve per generare anteprime per le risorse o i file. \ **Nota:** Questa classe non dovrebbe essere istanziata direttamente. Invece, accedi al singleton tramite :ref:`EditorInterface.get_resource_previewer()`. diff --git a/classes/it/class_editorscript.rst b/classes/it/class_editorscript.rst index 1895a473f2..838c5f2428 100644 --- a/classes/it/class_editorscript.rst +++ b/classes/it/class_editorscript.rst @@ -14,13 +14,13 @@ Script di base che consente di estendere le funzionalità dell'editor. Descrizione ---------------------- -Scripts extending this class and implementing its :ref:`_run()` method can be executed from the Script Editor's **File > Run** menu option (or by pressing :kbd:`Ctrl + Shift + X`) while the editor is running. This is useful for adding custom in-editor functionality to Godot. For more complex additions, consider using :ref:`EditorPlugin`\ s instead. +Gli script che estendono questa classe e implementano il suo metodo :ref:`_run()` si possono eseguire dall'opzione di menu **File > Esegui** dell'Editor di script (o premendo :kbd:`Ctrl + Maiusc + X`) mentre l'editor è in esecuzione. Ciò è utile per aggiungere funzionalità personalizzate nell'editor a Godot. Per funzionalità più complesse, considera di utilizzare gli :ref:`EditorPlugin`. -If a script extending this class also has a global class name, it will be included in the editor's command palette. +Se uno script che estende questa classe ha anche un nome di classe globale, sarà incluso nella tavolozza dei comandi dell'editor. -\ **Note:** Extending scripts need to have ``tool`` mode enabled. +\ **Nota:** Gli script che estendono questa classe devono avere la modalità ``tool`` abilitata. -\ **Example:** Running the following script prints "Hello from the Godot Editor!": +\ **Esempio:** Eseguendo il seguente script stampa "Ciao dall'editor di Godot!": .. tabs:: @@ -31,7 +31,7 @@ If a script extending this class also has a global class name, it will be includ extends EditorScript func _run(): - print("Hello from the Godot Editor!") + print("Ciao dall'editor di Godot!") .. code-tab:: csharp @@ -42,13 +42,13 @@ If a script extending this class also has a global class name, it will be includ { public override void _Run() { - GD.Print("Hello from the Godot Editor!"); + GD.Print("Ciao dall'editor di Godot!") } } -\ **Note:** EditorScript is :ref:`RefCounted`, meaning it is destroyed when nothing references it. This can cause errors during asynchronous operations if there are no references to the script. +\ **Nota:** EditorScript è :ref:`RefCounted`, il che significa che viene distrutto quando nulla vi fa riferimento. Ciò può causare errori durante le operazioni asincrone se non ci sono riferimenti allo script. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_editorsettings.rst b/classes/it/class_editorsettings.rst index 710f3a61a3..987220adbd 100644 --- a/classes/it/class_editorsettings.rst +++ b/classes/it/class_editorsettings.rst @@ -1048,9 +1048,9 @@ Se ``true``, passa automaticamente al pannello **Stack Trace** quando il debugge :ref:`int` **debugger/max_node_selection** :ref:`🔗` -The limit of how many remote nodes can be selected at once. +Il limite del numero di nodi remoti che si possono selezionare contemporaneamente. -\ **Warning:** Increasing this value is not recommended, as selecting too many can make the editing and inspection of remote properties unreliable. +\ **Attenzione:** Si sconsiglia di aumentare questo valore, poiché selezionarne troppi può rendere inaffidabile la modifica e l'ispezione delle proprietà remote. .. rst-class:: classref-item-separator @@ -1198,7 +1198,7 @@ L'intervallo di aggiornamento da usare per le proprietà del pannello dell'Ispet :ref:`float` **docks/property_editor/subresource_hue_tint** :ref:`🔗` -L'intensità della tinta da usare per lo sfondo delle sotto-risorse nel pannello dell'Ispettore. La tinta è usata per distinguere tra diverse sotto-risorse nell'Ispettore. Valori più alti rendono la differenza del colore di sfondo più evidente. +L'intensità della tinta da usare per lo sfondo delle sotto-risorse nel pannello dell'Ispettore. La tinta aiuta a distinguere tra diverse sotto-risorse nell'Ispettore. Valori più alti rendono la differenza del colore di sfondo più evidente. .. rst-class:: classref-item-separator @@ -1406,7 +1406,7 @@ Il colore delle guide da usare nell'editor 2D. Le guide possono essere create tr :ref:`float` **editors/2d/ruler_width** :ref:`🔗` -The thickness of the coordinate ruler in the 2D editor. Increasing this will also increase the size of the ruler font, improving readability when using a lower editor scale. The editor may force a minimum size to keep the ruler numbers legible. +Lo spessore del righello delle coordinate nell'editor 2D. Aumentando questo valore, aumenterà anche la dimensione del font del righello, migliorando la leggibilità quando si utilizza una scala dell'editor inferiore . L'editor potrebbe imporre una dimensione minima per mantenere leggibili i numeri del righello. .. rst-class:: classref-item-separator @@ -1466,9 +1466,9 @@ Il fattore da usare quando si effettua uno zoom avanti o indietro nell'editor 2D :ref:`Color` **editors/3d/active_selection_box_color** :ref:`🔗` -The color to use for the active selection box that surrounds selected nodes in the 3D editor viewport. The color's alpha channel influences the selection box's opacity. +Il colore da utilizzare per la casella di spunta attiva che circonda i nodi selezionati nella finestra dell'editor 3D. Il canale alfa del colore influenza l'opacità della casella di spunta. -\ **Note:** The term "active" indicates that this object is the primary selection used as the basis for certain operations. This is the last selected :ref:`Node3D`, which can be reordered with :kbd:`Shift + Left mouse button`. +\ **Nota:** Il termine "attivo" indica che questo oggetto è la selezione primaria utilizzata come base per determinate operazioni. Questo è l'ultimo :ref:`Node3D` selezionato, che può essere riordinato con :kbd:`Maiusc + Pulsante sinistro del mouse`. .. rst-class:: classref-item-separator @@ -1560,11 +1560,11 @@ L'inerzia della telecamera della visuale libera 3D. Valori più alti riducono l' Lo schema di navigazione da utilizzare quando la visuale libera è abilitata nell'editor 3D. Alcuni degli schemi di navigazione di seguito potrebbero essere più comodi quando si progettano livelli specifici nell'editor 3D. -- **Default:** i tasti "Vista libera avanti", "Vista libera indietro", "Vista libera su" e "Vista libera giù" si muoveranno rispetto alla telecamera, tenendo conto del suo angolo di inclinazione per il movimento. +- **Default:** i tasti "Visuale libera avanti", "Visuale libera indietro", "Visuale libera su" e "Visuale libera giù" si muoveranno rispetto alla telecamera, tenendo conto del suo angolo di inclinazione per il movimento. -- **Partially Axis-Locked:** i tasti "Vista libera avanti" e "Vista libera indietro" si muoveranno rispetto alla telecamera, tenendo conto del suo angolo di inclinazione per il movimento. I tasti "Vista libera su" e "Vista libera giù" si muoveranno in modo "assoluto", *non* tenendo conto dell'angolo di inclinazione della telecamera per il movimento. +- **Partially Axis-Locked:** i tasti "Visuale libera avanti" e "Visuale libera indietro" si muoveranno rispetto alla telecamera, tenendo conto del suo angolo di inclinazione per il movimento. I tasti "Visuale libera su" e "Visuale libera giù" si muoveranno in modo "assoluto", *non* tenendo conto dell'angolo di inclinazione della telecamera per il movimento. -- **Fully Axis-Locked:** i tasti "Vista libera avanti", "Vista libera indietro", "Vista libera su" e "Vista libera giù" si muoveranno in modo "assoluto", *senza* tenere conto dell'angolo di inclinazione della telecamera per il movimento. +- **Fully Axis-Locked:** i tasti "Visuale libera avanti", "Visuale libera indietro", "Visuale libera su" e "Visuale libera giù" si muoveranno in modo "assoluto", *senza* tenere conto dell'angolo di inclinazione della telecamera per il movimento. Vedi anche :ref:`editors/3d/navigation/navigation_scheme`. @@ -1772,7 +1772,7 @@ Tutti gli schemi possono usare :kbd:`Rotellina del mouse` per effettuare lo zoom - **Tablet/Trackpad:** :kbd:`Alt` per orbitare. :kbd:`Shift` per spostarsi. :kbd:`Ctrl` per ingrandire. Abilita la modalità emulazione di mouse a 3 pulsanti. -Vedi anche :ref:`editors/3d/navigation/orbit_mouse_button`, :ref:`editors/3d/navigation/pan_mouse_button`, :ref:`editors/3d/navigation/zoom_mouse_button`, :ref:`editors/3d/freelook/freelook_navigation_scheme`, and :ref:`editors/3d/navigation/emulate_3_button_mouse`. +Vedi anche :ref:`editors/3d/navigation/orbit_mouse_button`, :ref:`editors/3d/navigation/pan_mouse_button`, :ref:`editors/3d/navigation/zoom_mouse_button`, :ref:`editors/3d/freelook/freelook_navigation_scheme` e :ref:`editors/3d/navigation/emulate_3_button_mouse`. \ **Nota:** Su alcuni gestori di finestre su Linux, il tasto :kbd:`Alt` sarà intercettato dal gestore di finestre quando si clicca su un pulsante del mouse allo stesso tempo. Ciò significa che Godot non potrà considerare il tasto modificatore come premuto. @@ -2364,9 +2364,9 @@ Se ``false``, il comportamento è invertito, ovvero la finestra di dialogo appar :ref:`float` **editors/animation/default_animation_step** :ref:`🔗` -Default step used when creating a new :ref:`Animation` in the Animation bottom panel. Only affects the first animation created in the :ref:`AnimationPlayer`. By default, other newly created animations will use the step from the previous ones. +Passo predefinito utilizzato alla creazione di una nuova :ref:`Animation` nel pannello inferiore di Animazione. Influisce solo sulla prima animazione creata nell':ref:`AnimationPlayer`. Come predefinito, le altre animazioni create utilizzeranno il passo delle precedenti. -This value is always expressed in seconds. If you want e.g. ``10`` FPS to be the default, you need to set the default step to ``0.1``. +Questo valore è sempre espresso in secondi. Se, ad esempio, si desidera che ``10`` FPS sia il valore predefinito, è necessario impostare il passo predefinito su ``0.1``. .. rst-class:: classref-item-separator @@ -2402,7 +2402,7 @@ Se ``true``, crea una traccia ``RESET`` quando si crea una nuova traccia di anim :ref:`bool` **editors/animation/default_fps_compatibility** :ref:`🔗` -Controls whether :ref:`AnimationPlayer` will apply snapping to nearest integer FPS when snapping is in Seconds mode. The option is remembered locally for a scene and this option only determines the default value when scene doesn't have local state yet. +Controlla se :ref:`AnimationPlayer` applicherà lo scatto al valore intero più vicino degli FPS quando lo scatto è in modalità Secondi. L'opzione è memorizzata localmente per una scena, e questa opzione determina soltanto il valore predefinito quando la scena non ha ancora uno stato locale. .. rst-class:: classref-item-separator @@ -2414,7 +2414,7 @@ Controls whether :ref:`AnimationPlayer` will apply snappi :ref:`int` **editors/animation/default_fps_mode** :ref:`🔗` -Default step mode for :ref:`AnimationPlayer` (seconds or FPS). The option is remembered locally for a scene and this option only determines the default value when scene doesn't have local state yet. +Modalità di passo predefinita per :ref:`AnimationPlayer` (secondi o FPS). L'opzione è memorizzata localmente per una scena, e questa opzione determina soltanto il valore predefinito quando la scena non ha ancora uno stato locale. .. rst-class:: classref-item-separator @@ -2614,7 +2614,7 @@ Se ``true``, avvolge il mouse attorno alla viewport 2D durante lo spostamento (p :ref:`int` **editors/panning/zoom_style** :ref:`🔗` -The mouse cursor movement direction to use when drag-zooming in any editor (except 3D scene editor) by moving the mouse. This does not affect zooming with the mouse wheel. +La direzione del movimento del cursore del mouse da usare quando si esegue lo zoom trascinando il mouse (tranne nell'editor di scene 3D). Questo non influisce sullo zoom con la rotellina del mouse. .. rst-class:: classref-item-separator @@ -3315,11 +3315,11 @@ Se impostato su ``Adaptive``, la finestra di dialogo si apre in modo di visualiz :ref:`bool` **filesystem/quick_open_dialog/enable_fuzzy_matching** :ref:`🔗` -If ``true``, together with exact matches of a filename, the dialog includes approximate matches. +Se ``true``, insieme alle corrispondenze esatte del nome di un file, la finestra di dialogo include anche le corrispondenze approssimative. -This is useful for finding the correct files even when there are typos in the search query; for example, searching "nprmal" will find "normal". Additionally, it allows you to write shorter search queries; for example, searching "nml" will also find "normal". +Questo è utile per trovare i file corretti anche quando ci sono errori di battitura nella query di ricerca ; ad esempio, cercando "nprmal" si troverà "normal". Inoltre, consente di scrivere query di ricerca più brevi; ad esempio, cercando "nml" si troverà anche "normal". -See also :ref:`filesystem/quick_open_dialog/max_fuzzy_misses`. +Vedi anche :ref:`filesystem/quick_open_dialog/max_fuzzy_misses`. .. rst-class:: classref-item-separator @@ -3343,7 +3343,7 @@ Se ``true``, i risultati includeranno i file situati nella cartella ``addons``. :ref:`int` **filesystem/quick_open_dialog/max_fuzzy_misses** :ref:`🔗` -The number of missed query characters allowed in a match when fuzzy matching is enabled. For example, with the default value of ``2``, ``"normal"`` would match ``"narmal"`` and ``"norma"`` but not ``"nor"``. +Il numero di caratteri di ricerca mancanti consentiti in una corrispondenza, se è abilitata la corrispondenza fuzzy. Ad esempio, con il valore predefinito di ``2``, ``"normal"`` corrisponderebbe a ``"narmal"`` e ``"norma"`` ma non a ``"nor"``. .. rst-class:: classref-item-separator @@ -3425,15 +3425,15 @@ L'accumulo di input può essere disabilitato per ottenere un input leggermente p :ref:`int` **interface/accessibility/accessibility_support** :ref:`🔗` -Editor accessibility support mode: +Modalità di supporto per l'accessibilità nell'editor: -- **Auto** (``0``): Accessibility support is enabled, but updates to the accessibility information are processed only if an assistive app (such as a screen reader or a Braille display) is active (default). +- **Auto** (``0``): il supporto per l'accessibilità è abilitato, ma gli aggiornamenti alle informazioni di accessibilità sono elaborati solo se è attiva un'applicazione assistiva (come un lettore dello schermo o un display Braille) (predefinito). -- **Always Active** (``1``): Accessibility support is enabled, and updates to the accessibility information are always processed, regardless of the status of assistive apps. +- **Always active** (``1``): il supporto per l'accessibilità è abilitato e gli aggiornamenti alle informazioni di accessibilità sono sempre elaborati, a prescindere dallo stato delle app assistive. -- **Disabled** (``2``): Accessibility support is fully disabled. +- **Disabled** (``2``): il supporto per l'accessibilità è completamente disabilitato. -\ **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, Accessibility Inspector (macOS), or AT-SPI Browser (Linux/BSD) do not count as assistive apps. To test your project with these tools, use **Always Active**. +\ **Nota:** Gli strumenti di debug per l'accessibilità, come Accessibility Insights per Windows, Accessibility Inspector (macOS) o AT-SPI Browser (Linux/BSD), non contano come applicazioni assistive. Per testare il tuo progetto con questi strumenti, usa **Always Active**. .. rst-class:: classref-item-separator @@ -3445,13 +3445,13 @@ Editor accessibility support mode: :ref:`int` **interface/editor/accept_dialog_cancel_ok_buttons** :ref:`🔗` -How to position the Cancel and OK buttons in the editor's :ref:`AcceptDialog`\ s. Different platforms have different standard behaviors for this, which can be overridden using this setting. This is useful if you use Godot both on Windows and macOS/Linux and your Godot muscle memory is stronger than your OS specific one. +Come posizionare i pulsanti Annulla e OK negli :ref:`AcceptDialog` dell'editor. Le diverse piattaforme hanno diversi comportamenti standard per questo, che si possono sovrascrivere attraverso questa impostazione. Ciò è utile se si utilizza Godot sia su Windows sia su macOS/Linux e la memoria muscolare di Godot è più forte di quella specifica del proprio sistema operativo. -- **Auto** follows the platform convention: OK first on Windows, KDE, and LXQt, Cancel first on macOS and other Linux desktop environments. +- **Auto** segue la convenzione della piattaforma: prima OK su Windows, KDE, e LXQt, prima Annulla su macOS e altri ambienti desktop Linux., -- **Cancel First** forces the ordering Cancel/OK. +- **Cancel First** Forza l'ordinamento Annulla/OK. -- **OK First** forces the ordering OK/Cancel. +- **OK First** Forza l'ordinamento OK/Annulla. .. rst-class:: classref-item-separator @@ -3541,11 +3541,11 @@ La dimensione del font nell'editor di script. Questa impostazione non ha alcun i :ref:`bool` **interface/editor/collapse_main_menu** :ref:`🔗` -If ``true``, the main menu collapses into a :ref:`MenuButton`. +Se ``true``, il menu principale si riduce in un :ref:`MenuButton`. -\ **Note:** This setting is only applicable on macOS when :ref:`interface/editor/use_embedded_menu` is ``true``. +\ **Nota:** Questa impostazione è applicabile solo su macOS quando :ref:`interface/editor/use_embedded_menu` è ``true``. -\ **Note:** Defaults to ``true`` on the Android editor. +\ **Nota:** Il valore predefinito è ``true`` nell'editor Android. .. rst-class:: classref-item-separator @@ -3599,9 +3599,9 @@ Stile delle schede dei pannelli dell'editor. :ref:`String` **interface/editor/editor_language** :ref:`🔗` -The language to use for the editor interface. +La lingua da usare per l'interfaccia dell'editor. -Translations are provided by the community. If you spot a mistake, `contribute to editor translations on Weblate! `__ +Le traduzioni sono fornite dalla community. Se noti un errore, `contribuisci alle traduzioni dell'editor su Weblate! `__ .. rst-class:: classref-item-separator @@ -3613,7 +3613,7 @@ Translations are provided by the community. If you spot a mistake, `contribute t :ref:`int` **interface/editor/editor_screen** :ref:`🔗` -The preferred monitor to display the editor. If **Auto**, the editor will remember the last screen it was displayed on across multiple sessions. +Il monitor preferito per visualizzare l'editor. Se **Auto**, l'editor ricorderà l'ultimo schermo su cui è stato visualizzato tra più sessioni. .. rst-class:: classref-item-separator @@ -3745,9 +3745,9 @@ Se ``true``, i nomi delle impostazioni nell'editor vengono localizzati quando po :ref:`int` **interface/editor/low_processor_mode_sleep_usec** :ref:`🔗` -The amount of sleeping between frames in the editor (in microseconds). Higher values will result in lower CPU/GPU usage, which can improve battery life on laptops. However, higher values will result in a less responsive editor. The default value is set to allow for maximum smoothness on monitors up to 144 Hz. See also :ref:`interface/editor/unfocused_low_processor_mode_sleep_usec`. +La quantità di sospensione tra i frame nell'editor (in microsecondi). Valori più alti porteranno a un utilizzo inferiore della CPU/GPU, il che può migliorare la durata della batteria sui laptop. Tuttavia, valori più alti risulteranno in un editor meno reattivo. Il valore predefinito è impostato per consentire la massima fluidità sui monitor fino a 144 Hz. Vedi anche :ref:`interface/editor/unfocused_low_processor_mode_sleep_usec`. -\ **Note:** This setting is ignored if :ref:`interface/editor/update_continuously` is ``true``, as enabling that setting disables low-processor mode. +\ **Nota:** Questa impostazione è ignorata se :ref:`interface/editor/update_continuously` è ``true``, poiché abilitando tale impostazione si disabilita la modalità a basso consumo. .. rst-class:: classref-item-separator @@ -3759,9 +3759,9 @@ The amount of sleeping between frames in the editor (in microseconds). Higher va :ref:`String` **interface/editor/main_font** :ref:`🔗` -The font to use for the editor interface. Must be a resource of a :ref:`Font` type such as a ``.ttf`` or ``.otf`` font file. +Il font da utilizzare per l'interfaccia dell'editor. Deve essere una risorsa di tipo :ref:`Font` come un file font ``.ttf`` o ``.otf``. -\ **Note:** If the provided font is variable, a weight of 400 (normal) will be used. +\ **Nota:** Se il font fornito è variabile, sarà utilizzato un peso di 400 (normale). .. rst-class:: classref-item-separator @@ -3773,9 +3773,9 @@ The font to use for the editor interface. Must be a resource of a :ref:`Font` **interface/editor/main_font_bold** :ref:`🔗` -The font to use for bold text in the editor interface. Must be a resource of a :ref:`Font` type such as a ``.ttf`` or ``.otf`` font file. +Il font da utilizzare per il testo in grassetto per l'interfaccia dell'editor. Deve essere una risorsa di tipo :ref:`Font` come un file font ``.ttf`` o ``.otf``. -\ **Note:** If the provided font is variable, a weight of 700 (bold) will be used. +\ **Nota:** Se il font fornito è variabile, sarà utilizzato un peso di 700 (grassetto). .. rst-class:: classref-item-separator @@ -3847,7 +3847,7 @@ Se ``true``, le scene e gli script vengono salvati quando l'editor non è più i :ref:`bool` **interface/editor/separate_distraction_mode** :ref:`🔗` -If ``true``, the editor's Script tab will have a separate distraction mode setting from the 2D/3D/Game/AssetLib tabs. If ``false``, the distraction-free mode toggle is shared between all tabs. +Se ``true``, la scheda Script dell'editor avrà un interruttore per la modalità senza distrazioni che sarà separato dalle schede 2D/3D/Gioco/Libreria. Se ``false``, l'interruttore della modalità senza distrazioni è condiviso tra tutte le schede. .. rst-class:: classref-item-separator @@ -3911,7 +3911,7 @@ Ciò equivale a :ref:`ProjectSettings.display/window/subwindows/embed_subwindows :ref:`int` **interface/editor/tablet_driver** :ref:`🔗` -Overrides the tablet driver used by the editor. +Sostituisce il driver per i tablet utilizzato dall'editor. .. rst-class:: classref-item-separator @@ -3935,9 +3935,9 @@ Direzione del layout predefinita per l'interfaccia utente dell'editor. :ref:`int` **interface/editor/unfocused_low_processor_mode_sleep_usec** :ref:`🔗` -When the editor window is unfocused, the amount of sleeping between frames when the low-processor usage mode is enabled (in microseconds). Higher values will result in lower CPU/GPU usage, which can improve battery life on laptops (in addition to improving the running project's performance if the editor has to redraw continuously). However, higher values will result in a less responsive editor. The default value is set to limit the editor to 10 FPS when the editor window is unfocused. See also :ref:`interface/editor/low_processor_mode_sleep_usec`. +Quando la finestra dell'editor non è in primo piano, la quantità di sospensione tra i frame quando è abilitata la modalità di utilizzo a basso consumo (in microsecondi). Valori più alti porteranno a un utilizzo inferiore della CPU/GPU, il che può migliorare la durata della batteria sui laptop (oltre a migliorare le prestazioni del progetto in esecuzione se l'editor deve ridisegnare continuamente). Tuttavia, valori più alti risulteranno in un editor meno reattivo. Il valore predefinito è impostato per limitare l'editor a 10 FPS quando la finestra dell'editor non è in primo piano. Vedi anche :ref:`interface/editor/low_processor_mode_sleep_usec`. -\ **Note:** This setting is ignored if :ref:`interface/editor/update_continuously` is ``true``, as enabling that setting disables low-processor mode. +\ **Nota:** Questa impostazione è ignorata se :ref:`interface/editor/update_continuously` è ``true``, poiché abilitando tale impostazione si disabilita la modalità a basso consumo. .. rst-class:: classref-item-separator @@ -4029,9 +4029,9 @@ Se ``true``, il pannello dell'albero di scene visualizzerà i pulsanti per aggiu :ref:`bool` **interface/inspector/auto_unfold_foreign_scenes** :ref:`🔗` -If ``true``, automatically unfolds Inspector property groups containing modified values when opening a scene for the first time. Only affects scenes without saved folding preferences and only unfolds groups with properties that have been changed from their default values. +Se ``true``, espande automaticamente i gruppi di proprietà dell'Ispettore contenenti valori modificati quando si apre una scena per la prima volta. Influisce solo sulle scene senza preferenze di riduzione salvate e espande solo i gruppi con proprietà che sono state modificate rispetto ai valori predefiniti. -\ **Note:** This setting only works in specific scenarios: when opening a scene brought in from another project, or when opening a new scene that already has modified properties (e.g., from version control). Duplicated scenes are not considered foreign, so this setting will not affect them. +\ **Nota:** Questa impostazione funziona solo in scenari specifici: quando si apre una scena importata da un altro progetto o quando si apre una nuova scena che ha già proprietà modificate (ad esempio, dal controllo di versione). Le scene duplicate non sono considerate esterne, quindi questa impostazione non le influenzerà. .. rst-class:: classref-item-separator @@ -4043,7 +4043,7 @@ If ``true``, automatically unfolds Inspector property groups containing modified :ref:`bool` **interface/inspector/color_picker_show_intensity** :ref:`🔗` -If ``true``, show the intensity slider in the :ref:`ColorPicker`\ s opened in the editor. +Se ``true``, mostra lo slider dell'intensità nei :ref:`ColorPicker` aperti nell'editor. .. rst-class:: classref-item-separator @@ -4605,9 +4605,9 @@ Specifica il moltiplicatore da applicare alla scala per le maniglie dei gizmo ne :ref:`int` **interface/touchscreen/touch_actions_panel** :ref:`🔗` -A touch-friendly panel that provides easy access to common actions such as save, delete, undo, and redo without requiring a keyboard. +Un pannello touch-friendly che consente di accedere facilmente alle azioni più comuni, come salvare, eliminare, annullare e ripristinare, senza dover utilizzare una tastiera. -\ **Note:** Only available in the Android and XR editor. +\ **Nota:** Disponibile solo nell'editor Android e XR. .. rst-class:: classref-item-separator @@ -4619,15 +4619,15 @@ A touch-friendly panel that provides easy access to common actions such as save, :ref:`int` **network/connection/check_for_updates** :ref:`🔗` -Specifica come il motore deve controllare gli aggiornamenti. +Specifica come il motore deve verificare gli aggiornamenti. -- **Disable Update Checks** bloccherà il motore dal controllo degli aggiornamenti (vedi anche :ref:`network/connection/network_mode`). +- **Disable Update Checks** non consentirà al motore di verificare gli aggiornamenti (vedi anche :ref:`network/connection/network_mode`). -- **Check Newest Preview** (predefinito per le versioni in anteprima) controllerà lo snapshot in sviluppo più recente disponibile. +- **Check Newest Preview** (predefinito per le versioni in anteprima) verificherà lo snapshot di sviluppo più recente disponibile. -- **Check Newest Stable** (predefinito per le versioni stabili) controllerà l'ultima versione stabile disponibile. +- **Check Newest Stable** (predefinito per le versioni stabili) verificherà l'ultima versione stabile disponibile. -- **Check Newest Patch** controllerà l'ultima versione stabile disponibile, ma solo all'interno della stessa versione minore. Ad esempio, se la tua versione è ``4.3.stable``, sarai informato su ``4.3.1.stable``, ma non su ``4.4.stable``. +- **Check Newest Patch** verificherà l'ultima versione stabile disponibile, ma solo all'interno della stessa versione minore. Ad esempio, se la tua versione è ``4.3.stable``, sarai informato su ``4.3.1.stable``, ma non su ``4.4.stable``. Tutte le modalità di aggiornamento ignoreranno le build con diverse versioni principali (ad esempio, Godot 4 -> Godot 5). @@ -4641,9 +4641,9 @@ Tutte le modalità di aggiornamento ignoreranno le build con diverse versioni pr :ref:`int` **network/connection/network_mode** :ref:`🔗` -Determines whether online features are enabled in the editor, such as the Asset Library or update checks. Disabling these online features helps alleviate privacy concerns by preventing the editor from making HTTP requests to the Godot website or third-party platforms hosting assets from the Asset Library. +Determina se le funzionalità online sono abilitate nell'editor, come la Libreria dei contenuti o verifiche per gli aggiornamenti. La disattivazione di queste funzionalità online aiuta ad alleviare i problemi di privacy, impedendo all'editor di effettuare richieste HTTP al sito web di Godot o a piattaforme di terze parti che ospitano contenuti dalla Libreria dei contenuti. -Editor plugins and tool scripts are recommended to follow this setting. However, Godot can't prevent them from violating this rule. +Si raccomanda che le estensioni dell'editor e gli script strumento seguano questa impostazione. Tuttavia, Godot non può impedire loro di violare questa regola. .. rst-class:: classref-item-separator @@ -4987,7 +4987,7 @@ Forma del cursore da utilizzare nell'editor di script. **Linea** visualizza una :ref:`bool` **text_editor/appearance/enable_inline_color_picker** :ref:`🔗` -If ``true``, displays a colored button before any :ref:`Color` constructor in the script editor. Clicking on them allows the color to be modified through a color picker. +Se ``true``, visualizza un pulsante colorato prima di qualsiasi costruttore di :ref:`Color` nell'editor di script. Cliccandoci sopra è possibile modificare il colore tramite un selettore di colori. .. rst-class:: classref-item-separator @@ -5167,7 +5167,7 @@ Se ``true``, disegna i caratteri di tabulazione come chevron. :ref:`int` **text_editor/appearance/whitespace/line_spacing** :ref:`🔗` -Lo spazio da aggiungere tra le righee (in pixel). Una spaziatura più grande tra le righe può migliorare la leggibilità a costo di visualizzare meno righe sullo schermo. +Lo spazio da aggiungere tra le righe (in pixel). Una spaziatura più grande tra le righe può migliorare la leggibilità a costo di visualizzare meno righe sullo schermo. .. rst-class:: classref-item-separator @@ -5203,11 +5203,11 @@ Se ``true``, gli script di strumento (tool) verranno ricaricati automaticamente :ref:`bool` **text_editor/behavior/files/auto_reload_scripts_on_external_change** :ref:`🔗` -If ``true``, automatically reloads scripts and text-based shaders in the editor when they have been modified and saved by external editors or tools and the editor regains focus. External changes can be discarded by using the Undo function after they've been loaded in the editor. +Se ``true``, ricarica automaticamente gli script e gli shader testuali nell'editor quando sono stati modificati e salvati da editor o strumenti esterni e l'editor riottiene il focus. È possibile scartare le modifiche esterne attraverso la funzione Annulla dopo averle caricate nell'editor. -If ``false``, a file conflict dialog will always be displayed when the editor regains focus. This dialog allows you to choose whether to keep local changes or discard them. +Se ``false``, verrà sempre visualizzata una finestra di dialogo di conflitto file quando l'editor riottiene il focus. Questa finestra di dialogo consente di scegliere se mantenere le modifiche locali o scartarle. -\ **Note:** Even when this setting is ``true``, a file conflict dialog is still displayed in certain situations. For instance, it will display when the script editor has unsaved changes that the external editor did not account for. +\ **Nota:** Anche quando questa impostazione è ``true``, una finestra di dialogo di conflitto file viene comunque visualizzata in certe situazioni. Ad esempio, verrà visualizzata quando l'editor di script contiene modifiche non salvate di cui un editor esterno non ha tenuto conto. .. rst-class:: classref-item-separator @@ -5243,9 +5243,9 @@ Se ``true``, converte l'indentazione per farla corrispondere alle impostazioni d :ref:`bool` **text_editor/behavior/files/drop_preload_resources_as_uid** :ref:`🔗` -If ``true``, when dropping a :ref:`Resource` file to script editor while :kbd:`Ctrl` is held, the resource will be preloaded with a UID. If ``false``, the resource will be preloaded with a path. +Se ``true``, quando si rilascia un file :ref:`Resource` nell'editor di script tenendo premuto :kbd:`Ctrl`, la risorsa sarà precaricata con un UID. Se ``false``, la risorsa sarà precaricata con un percorso. -When you hold :kbd:`Ctrl+Shift`, the behavior is reversed. +Tenendo premuti :kbd:`Ctrl+Shift`, questo comportamento è invertito. .. rst-class:: classref-item-separator @@ -5465,7 +5465,7 @@ Se ``true``, utilizza i caratteri in :ref:`text_editor/behavior/navigation/custo :ref:`bool` **text_editor/behavior/navigation/use_default_word_separators** :ref:`🔗` -Se ``true``, utilizza i caratteri in ```!"#$%&'()*+,-./:;<=>?@[\]^`{|}~``, la tabella di punteggiatura generale Unicode e la tabella di punteggiatura Unicode CJK come separatori di parole per la navigazione e le operazioni tra parole. Se ``false``, viene utilizzato un sottoinsieme di questi caratteri e non include i caratteri ``<>$~^=+|``. Questo è in aggiunta ai caratteri personalizzati se anche :ref:`text_editor/behavior/navigation/use_custom_word_separators` è abilitato. Questi caratteri sono utilizzati per determinare dove finisce una parola. La navigazione e le operazioni tra parole includono il doppio clic su una parola o la pressione prolungata di :kbd:`Ctrl` (:kbd:`Cmd` su macOS) mentre si premono :kbd:`sinistra`, :kbd:`destra`, :kbd:`backspace`, o :kbd:`cancella`. +Se ``true``, utilizza i caratteri in ```!"#$%&'()*+,-./:;<=>?@[\]^`{|}~``, la tabella di punteggiatura generale Unicode e la tabella di punteggiatura Unicode CJK come separatori di parole per la navigazione e le operazioni tra parole. Se ``false``, viene utilizzato un sottoinsieme di questi caratteri e non include i caratteri ``<>$~^=+|``. Questo è in aggiunta ai caratteri personalizzati se anche :ref:`text_editor/behavior/navigation/use_custom_word_separators` è abilitato. Questi caratteri servono per determinare dove finisce una parola. La navigazione e le operazioni tra parole includono il doppio clic su una parola o la pressione prolungata di :kbd:`Ctrl` (:kbd:`Cmd` su macOS) mentre si premono :kbd:`sinistra`, :kbd:`destra`, :kbd:`backspace`, o :kbd:`cancella`. .. rst-class:: classref-item-separator @@ -5515,15 +5515,15 @@ Se ``true``, utilizza :ref:`StringName` anziché :ref:`String< :ref:`bool` **text_editor/completion/add_type_hints** :ref:`🔗` -If ``true``, automatically adds :doc:`GDScript static typing <../tutorials/scripting/gdscript/static_typing>` (such as ``-> void`` and ``: int``) in many situations where it's possible to, including when: +Se ``true``, aggiunge automaticamente la :doc:`tipizzazione statica di GDScript <../tutorials/scripting/gdscript/static_typing>` (ad esempio ``-> void`` e ``: int``) in molte situazioni in cui è possibile, tra cui: -- Accepting a suggestion from code autocompletion; +- Accettare un suggerimento dal completamento automatico del codice; -- Creating a new script from a template; +- Creare un nuovo script da un modello; -- Connecting signals from the Node dock; +- Collegare segnali dal pannello Nodo; -- Creating variables prefixed with :ref:`@GDScript.@onready`, by dropping nodes from the Scene dock into the script editor while holding :kbd:`Ctrl`. +- Creare variabili con prefisso :ref:`@GDScript.@onready`, trascinando i nodi dal pannello Scena nell'editor di script tenendo premuto :kbd:`Ctrl`. .. rst-class:: classref-item-separator @@ -5977,7 +5977,7 @@ Il colore dei commenti nell'editor di script. :ref:`Color` **text_editor/theme/highlighting/comment_markers/critical_color** :ref:`🔗` -The script editor's critical comment marker text color. These markers are determined by :ref:`text_editor/theme/highlighting/comment_markers/critical_list`. +Il colore di testo dei marcatori critici nell'editor di script. Questi marcatori sono determinati da :ref:`text_editor/theme/highlighting/comment_markers/critical_list`. .. rst-class:: classref-item-separator @@ -5989,9 +5989,9 @@ The script editor's critical comment marker text color. These markers are determ :ref:`String` **text_editor/theme/highlighting/comment_markers/critical_list** :ref:`🔗` -A comma-separated list of case-sensitive words to highlight in comments. The text will be highlighted in the script editor with the :ref:`text_editor/theme/highlighting/comment_markers/critical_color` color. These must not include spaces or symbols or they will not be highlighted. +Un elenco di parole separate da virgole, sensibili alle maiuscole, da evidenziare nei commenti. Il testo sarà evidenziato nell'editor di script con il colore :ref:`text_editor/theme/highlighting/comment_markers/critical_color`. Non devono includere spazi o simboli, altrimenti non saranno evidenziati. -\ **Note:** This is only implemented in the GDScript syntax highlighter. +\ **Nota:** Questa funzionalità è implementata solo nell'evidenziatore di sintassi di GDScript. .. rst-class:: classref-item-separator @@ -6003,7 +6003,7 @@ A comma-separated list of case-sensitive words to highlight in comments. The tex :ref:`Color` **text_editor/theme/highlighting/comment_markers/notice_color** :ref:`🔗` -The script editor's notice comment marker text color. These markers are determined by :ref:`text_editor/theme/highlighting/comment_markers/notice_list`. +Il colore di testo dei marcatori di nota nell'editor di script. Questi marcatori sono determinati da :ref:`text_editor/theme/highlighting/comment_markers/notice_list`. .. rst-class:: classref-item-separator @@ -6015,9 +6015,9 @@ The script editor's notice comment marker text color. These markers are determin :ref:`String` **text_editor/theme/highlighting/comment_markers/notice_list** :ref:`🔗` -A comma-separated list of case-sensitive words to highlight in comments. The text will be highlighted in the script editor with the :ref:`text_editor/theme/highlighting/comment_markers/notice_color` color. These must not include spaces or symbols or they will not be highlighted. +Un elenco di parole separate da virgole, sensibili alle maiuscole, da evidenziare nei commenti. Il testo sarà evidenziato nell'editor di script con il colore :ref:`text_editor/theme/highlighting/comment_markers/notice_color`. Non devono includere spazi o simboli, altrimenti non saranno evidenziati. -\ **Note:** This is only implemented in the GDScript syntax highlighter. +\ **Nota:** Questa funzionalità è implementata solo nell'evidenziatore di sintassi di GDScript. .. rst-class:: classref-item-separator @@ -6029,7 +6029,7 @@ A comma-separated list of case-sensitive words to highlight in comments. The tex :ref:`Color` **text_editor/theme/highlighting/comment_markers/warning_color** :ref:`🔗` -The script editor's warning comment marker text color. These markers are determined by :ref:`text_editor/theme/highlighting/comment_markers/warning_list`. +Il colore di testo dei marcatori di avviso nell'editor di script. Questi marcatori sono determinati da :ref:`text_editor/theme/highlighting/comment_markers/warning_list`. .. rst-class:: classref-item-separator @@ -6041,9 +6041,9 @@ The script editor's warning comment marker text color. These markers are determi :ref:`String` **text_editor/theme/highlighting/comment_markers/warning_list** :ref:`🔗` -A comma-separated list of case-sensitive words to highlight in comments. The text will be highlighted in the script editor with the :ref:`text_editor/theme/highlighting/comment_markers/warning_color` color. These must not include spaces or symbols or they will not be highlighted. +Un elenco di parole separate da virgole, sensibili alle maiuscole, da evidenziare nei commenti. Il testo sarà evidenziato nell'editor di script con il colore :ref:`text_editor/theme/highlighting/comment_markers/warning_color`. Non devono includere spazi o simboli, altrimenti non saranno evidenziati. -\ **Note:** This is only implemented in the GDScript syntax highlighter. +\ **Nota:** Questa funzionalità è implementata solo nell'evidenziatore di sintassi di GDScript. .. rst-class:: classref-item-separator @@ -6199,9 +6199,9 @@ Il colore di evidenziazione della riga di sfondo dell'editor di script per la re :ref:`Color` **text_editor/theme/highlighting/function_color** :ref:`🔗` -The script editor's function call color. +Il colore di chiamata di funzioni dell'editor di script. -\ **Note:** When using the GDScript syntax highlighter, this is only used when calling some functions since function definitions and global functions have their own colors :ref:`text_editor/theme/highlighting/gdscript/function_definition_color` and :ref:`text_editor/theme/highlighting/gdscript/global_function_color`. +\ **Nota:** Quando si utilizza l'evidenziatore di sintassi GDScript, questo è utilizzato solo quando si chiamano alcune funzioni, poiché le definizioni di funzioni e le funzioni globali hanno i propri colori :ref:`text_editor/theme/highlighting/gdscript/function_definition_color` e :ref:`text_editor/theme/highlighting/gdscript/global_function_color`. .. rst-class:: classref-item-separator @@ -6213,7 +6213,7 @@ The script editor's function call color. :ref:`Color` **text_editor/theme/highlighting/gdscript/annotation_color** :ref:`🔗` -The GDScript syntax highlighter text color for annotations (e.g. ``@export``). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per le annotazioni (ad esempio ``@export``). .. rst-class:: classref-item-separator @@ -6225,7 +6225,7 @@ The GDScript syntax highlighter text color for annotations (e.g. ``@export``). :ref:`Color` **text_editor/theme/highlighting/gdscript/function_definition_color** :ref:`🔗` -The GDScript syntax highlighter text color for function definitions (e.g. the ``_ready`` in ``func _ready():``). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per le definizioni di funzioni (ad esempio ``_ready`` in ``func _ready():``). .. rst-class:: classref-item-separator @@ -6237,7 +6237,7 @@ The GDScript syntax highlighter text color for function definitions (e.g. the `` :ref:`Color` **text_editor/theme/highlighting/gdscript/global_function_color** :ref:`🔗` -The GDScript syntax highlighter text color for global functions, such as the ones in :ref:`@GlobalScope` (e.g. ``preload()``). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per le funzioni globali, come quelle in :ref:`@GlobalScope` (ad esempio ``preload()``). .. rst-class:: classref-item-separator @@ -6249,7 +6249,7 @@ The GDScript syntax highlighter text color for global functions, such as the one :ref:`Color` **text_editor/theme/highlighting/gdscript/node_path_color** :ref:`🔗` -The GDScript syntax highlighter text color for :ref:`NodePath` literals (e.g. ``^"position:x"``). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per i letterali :ref:`NodePath` (ad esempio ``^"position:x"``). .. rst-class:: classref-item-separator @@ -6261,7 +6261,7 @@ The GDScript syntax highlighter text color for :ref:`NodePath` l :ref:`Color` **text_editor/theme/highlighting/gdscript/node_reference_color** :ref:`🔗` -The GDScript syntax highlighter text color for node reference literals (e.g. ``$"Sprite"`` and ``%"Sprite"``]). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per i letterali di riferimenti ai nodi (ad esempio ``$"Sprite"`` e ``%"Sprite"``]). .. rst-class:: classref-item-separator @@ -6273,7 +6273,7 @@ The GDScript syntax highlighter text color for node reference literals (e.g. ``$ :ref:`Color` **text_editor/theme/highlighting/gdscript/string_name_color** :ref:`🔗` -The GDScript syntax highlighter text color for :ref:`StringName` literals (e.g. ``&"example"``). +Il colore del testo usato per l'evidenziatore della sintassi di GDScript per i letterali :ref:`StringName` (ad esempio ``&"example"``). .. rst-class:: classref-item-separator @@ -6718,7 +6718,7 @@ Imposta la lista dei file e delle cartelle preferite per questo progetto. |void| **set_initial_value**\ (\ name\: :ref:`StringName`, value\: :ref:`Variant`, update_current\: :ref:`bool`\ ) :ref:`🔗` -Imposta il valore iniziale dell'impostazione specificata da ``name`` su ``value``. Questo è utilizzato per fornire un valore per il pulsante Ripristina nelle Impostazioni dell'editor. Se ``update_current`` è ``true``, anche il valore attuale dell'impostazione verrà impostato su ``value``. +Imposta il valore iniziale dell'impostazione specificata da ``name`` su ``value``. Questo serve per fornire un valore per il pulsante Ripristina nelle Impostazioni dell'editor. Se ``update_current`` è ``true``, anche il valore attuale dell'impostazione verrà impostato su ``value``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorspinslider.rst b/classes/it/class_editorspinslider.rst index d95b73df0d..1a2c534175 100644 --- a/classes/it/class_editorspinslider.rst +++ b/classes/it/class_editorspinslider.rst @@ -145,7 +145,7 @@ Descrizioni delle proprietà - |void| **set_editing_integer**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_editing_integer**\ (\ ) -Se ``true``, **EditorSpinSlider** è considerato come se stesse modificando un valore intero. Se ``false``, **EditorSpinSlider** è considerato come se stesse modificando un valore in virgola mobile. Questo viene utilizzato per determinare se deve essere disegnato uno slider. Lo slider è disegnato solo per i float; gli interi utilizzano invece frecce su-giù simili a :ref:`SpinBox`. +Se ``true``, **EditorSpinSlider** è considerato come se stesse modificando un valore intero. Se ``false``, **EditorSpinSlider** è considerato come se stesse modificando un valore in virgola mobile. Questo serve per determinare se deve essere disegnato uno slider. Lo slider è disegnato solo per i float; gli interi utilizzano invece frecce su-giù simili a :ref:`SpinBox`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_editorsyntaxhighlighter.rst b/classes/it/class_editorsyntaxhighlighter.rst index 498fada3e4..f82e5f1bec 100644 --- a/classes/it/class_editorsyntaxhighlighter.rst +++ b/classes/it/class_editorsyntaxhighlighter.rst @@ -51,7 +51,7 @@ Descrizioni dei metodi :ref:`EditorSyntaxHighlighter` **_create**\ (\ ) |virtual| |const| :ref:`🔗` -Virtual method which creates a new instance of the syntax highlighter. +Metodo virtuale che si può sovrascrivere per restituire una nuova istanza dell'evidenziatore di sintassi. .. rst-class:: classref-item-separator @@ -63,7 +63,7 @@ Virtual method which creates a new instance of the syntax highlighter. :ref:`String` **_get_name**\ (\ ) |virtual| |const| :ref:`🔗` -Metodo virtuale che può essere sovrascritto per restituire il nome dell'evidenziatore della sintassi. +Metodo virtuale che si può sovrascrivere per restituire il nome dell'evidenziatore di sintassi. .. rst-class:: classref-item-separator @@ -75,7 +75,7 @@ Metodo virtuale che può essere sovrascritto per restituire il nome dell'evidenz :ref:`PackedStringArray` **_get_supported_languages**\ (\ ) |virtual| |const| :ref:`🔗` -Metodo virtuale che può essere sovrascritto per restituire i nomi dei linguaggi supportati. +Metodo virtuale che si può sovrascrivere per restituire i nomi dei linguaggi supportati. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_engine.rst b/classes/it/class_engine.rst index 398141934b..7aa4112902 100644 --- a/classes/it/class_engine.rst +++ b/classes/it/class_engine.rst @@ -277,13 +277,13 @@ Descrizioni dei metodi :ref:`Array`\[:ref:`ScriptBacktrace`\] **capture_script_backtraces**\ (\ include_variables\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Captures and returns backtraces from all registered script languages. +Cattura e restituisce backtrace da tutti i linguaggi di script registrati. -By default, the returned :ref:`ScriptBacktrace` will only contain stack frames in editor builds and debug builds. To enable them for release builds as well, you need to enable :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks`. +Come predefinito, il :ref:`ScriptBacktrace` restituito conterrà gli stack frame solo nelle build dell'editor e nelle build di debug. Per abilitarli anche per le build di rilascio, è necessario abilitare :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks`. -If ``include_variables`` is ``true``, the backtrace will also include the names and values of any global variables (e.g. autoload singletons) at the point of the capture, as well as local variables and class member variables at each stack frame. This will however will only be respected when running the game with a debugger attached, like when running the game from the editor. To enable it for export builds as well, you need to enable :ref:`ProjectSettings.debug/settings/gdscript/always_track_local_variables`. +Se ``include_variables`` è ``true``, il backtrace includerà anche i nomi e i valori di eventuali variabili globali (ad esempio, singleton autoload) al momento della cattura, nonché le variabili locali e le variabili membro delle classi in ogni stack frame. Questo, tuttavia, sarà rispettato solo quando si esegue il gioco con un debugger collegato, ad esempio quando si esegue il gioco dall'editor. Per abilitarlo anche per le build di esportazione, è necessario abilitare :ref:`ProjectSettings.debug/settings/gdscript/always_track_local_variables`. -\ **Warning:** When ``include_variables`` is ``true``, any captured variables can potentially (e.g. with GDScript backtraces) be their actual values, including any object references. This means that storing such a :ref:`ScriptBacktrace` will prevent those objects from being deallocated, so it's generally recommended not to do so. +\ **Attenzione:** Quando ``include_variables`` è ``true``, qualsiasi variabile catturata può potenzialmente (ad esempio con i backtrace GDScript) essere il suo valore effettivo, inclusi eventuali riferimenti agli oggetti. Ciò significa che memorizzare tale :ref:`ScriptBacktrace` impedirà di deallocare tali oggetti, quindi in genere si consiglia di non farlo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_fastnoiselite.rst b/classes/it/class_fastnoiselite.rst index 99e84dcd12..ddf82c08d5 100644 --- a/classes/it/class_fastnoiselite.rst +++ b/classes/it/class_fastnoiselite.rst @@ -477,7 +477,7 @@ Un valore basso pone maggiore enfasi sugli strati base a frequenza più bassa, m - |void| **set_domain_warp_fractal_lacunarity**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_domain_warp_fractal_lacunarity**\ (\ ) -The change in frequency between octaves, also known as "lacunarity", of the fractal noise which warps the space. Increasing this value results in higher octaves, producing noise with finer details and a rougher appearance. +Il cambiamento di frequenza tra le ottave, anche conosciuta come "lacunarità", del noise frattale che deforma lo spazio. Aumentando questo valore si ottengono ottave più alte, producendo noise con dettagli più fini e un aspetto più ruvido. .. rst-class:: classref-item-separator diff --git a/classes/it/class_fileaccess.rst b/classes/it/class_fileaccess.rst index 7efba863d2..a3d7ee1c67 100644 --- a/classes/it/class_fileaccess.rst +++ b/classes/it/class_fileaccess.rst @@ -14,9 +14,9 @@ Fornisce metodi per le operazioni di lettura e scrittura dei file. Descrizione ---------------------- -This class can be used to permanently store data in the user device's file system and to read from it. This is useful for storing game save data or player configuration files. +Questa classe può essere utilizzata per memorizzare in modo permanente i dati nel file system del dispositivo utente e per leggerli. È utile per memorizzare i dati di salvataggio o i file di configurazione di gioco. -\ **Example:** How to write and read from a file. The file named ``"save_game.dat"`` will be stored in the user data folder, as specified in the :doc:`Data paths <../tutorials/io/data_paths>` documentation: +\ **Esempio:** Come scrivere e leggere da un file. Il file denominato ``"save_game.dat"`` sarà memorizzato nella cartella dei dati utente, come specificato nella documentazione :doc:`Percorsi dati <../tutorials/io/data_paths>`: .. tabs:: @@ -49,13 +49,13 @@ This class can be used to permanently store data in the user device's file syste -A **FileAccess** instance has its own file cursor, which is the position in bytes in the file where the next read/write operation will occur. Functions such as :ref:`get_8()`, :ref:`get_16()`, :ref:`store_8()`, and :ref:`store_16()` will move the file cursor forward by the number of bytes read/written. The file cursor can be moved to a specific position using :ref:`seek()` or :ref:`seek_end()`, and its position can be retrieved using :ref:`get_position()`. +Un'istanza di **FileAccess** ha il proprio cursore del file, che rappresenta la posizione in byte nel file in cui sarà eseguita la prossima operazione di lettura/scrittura. Funzioni come :ref:`get_8()`, :ref:`get_16()`, :ref:`store_8()` e :ref:`store_16()` sposteranno il cursore in avanti del numero di byte letti/scritti. È possibile spostare il cursore in una posizione specifica tramite :ref:`seek()` o :ref:`seek_end()`, e recuperare la sua posizione tramite :ref:`get_position()`. -A **FileAccess** instance will close its file when the instance is freed. Since it inherits :ref:`RefCounted`, this happens automatically when it is no longer in use. :ref:`close()` can be called to close it earlier. In C#, the reference must be disposed manually, which can be done with the ``using`` statement or by calling the ``Dispose`` method directly. +Un'istanza di **FileAccess** chiuderà il suo file quando l'istanza viene liberata. Poiché eredita :ref:`RefCounted`, ciò avviene automaticamente quando non è più in uso. È possibile chiamare il metodo :ref:`close()` per chiuderlo prima. In C#, il riferimento deve essere eliminato manualmente, il che si può fare con l'istruzione ``using`` o chiamando direttamente il metodo ``Dispose``. -\ **Note:** To access project resources once exported, it is recommended to use :ref:`ResourceLoader` instead of **FileAccess**, as some files are converted to engine-specific formats and their original source files might not be present in the exported PCK package. If using **FileAccess**, make sure the file is included in the export by changing its import mode to **Keep File (exported as is)** in the Import dock, or, for files where this option is not available, change the non-resource export filter in the Export dialog to include the file's extension (e.g. ``*.txt``). +\ **Nota:** Per accedere alle risorse del progetto una volta esportate, si consiglia di utilizzare :ref:`ResourceLoader` invece di **FileAccess**, poiché alcuni file vengono convertiti in formati specifici del motore e i loro file sorgente originali potrebbero non essere presenti nel pacchetto PCK esportato. Se si utilizza **FileAccess**, assicurarsi che il file sia incluso nell'esportazione modificandone la modalità di importazione in **Mantieni file (esportato così com'è)** nel pannello di importazione oppure, per i file in cui questa opzione non è disponibile, modificare il filtro di esportazione di non risorse nella finestra di dialogo Esporta per includere l'estensione dei file (ad esempio ``*.txt``). -\ **Note:** Files are automatically closed only if the process exits "normally" (such as by clicking the window manager's close button or pressing :kbd:`Alt + F4`). If you stop the project execution by pressing :kbd:`F8` while the project is running, the file won't be closed as the game process will be killed. You can work around this by calling :ref:`flush()` at regular intervals. +\ **Nota:** I file si chiudono automaticamente solo se il processo esce "normalmente" (ad esempio cliccando sul pulsante di chiusura del gestore delle finestre o premendo :kbd:`Alt + F4`). Se l'esecuzione del progetto è interrotta premendo :kbd:`F8` mentre il progetto è in esecuzione, il file non si chiuderà perché il processo di gioco sarà terminato. È possibile aggirare questo problema chiamando :ref:`flush()` a intervalli regolari. .. rst-class:: classref-introduction-group @@ -66,7 +66,7 @@ Tutorial - :doc:`Caricamento e salvataggio di file a tempo di esecuzione <../tutorials/io/runtime_file_loading_and_saving>` -- :doc:`Binary serialization API <../tutorials/io/binary_serialization_api>` +- :doc:`API di serializzazione binaria <../tutorials/io/binary_serialization_api>` - `Demo di voxel 3D `__ @@ -233,7 +233,7 @@ enum **ModeFlags**: :ref:`🔗` :ref:`ModeFlags` **READ** = ``1`` -Opens the file for read operations. The file cursor is positioned at the beginning of the file. +Apre il file per operazioni di sola lettura. Il cursore viene posizionato all'inizio del file. .. _class_FileAccess_constant_WRITE: @@ -251,7 +251,7 @@ Apre il file per operazioni di sola scrittura. Il file viene creato se non esist :ref:`ModeFlags` **READ_WRITE** = ``3`` -Opens the file for read and write operations. Does not truncate the file. The file cursor is positioned at the beginning of the file. +Apre il file per operazioni di lettura e scrittura. Non tronca il file. Il cursore è posizionato all'inizio del file. .. _class_FileAccess_constant_WRITE_READ: @@ -259,9 +259,9 @@ Opens the file for read and write operations. Does not truncate the file. The fi :ref:`ModeFlags` **WRITE_READ** = ``7`` -Opens the file for read and write operations. The file is created if it does not exist, and truncated if it does. The file cursor is positioned at the beginning of the file. +Apre il file per operazioni di lettura e scrittura. Il file viene creato se non esiste, e troncato se esiste. Il cursore è posizionato all'inizio del file. -\ **Note:** When creating a file it must be in an already existing directory. To recursively create directories for a file path, see :ref:`DirAccess.make_dir_recursive()`. +\ **Nota:** Quando si crea un file, esso deve trovarsi in una cartella già esistente. Per creare cartelle ricorsivamente per un percorso di file, vedi :ref:`DirAccess.make_dir_recursive()`. .. rst-class:: classref-item-separator @@ -553,7 +553,7 @@ Scrive il buffer del file sul disco. Lo svuotamento viene eseguito automaticamen :ref:`int` **get_8**\ (\ ) |const| :ref:`🔗` -Returns the next 8 bits from the file as an integer. This advances the file cursor by 1 byte. See :ref:`store_8()` for details on what values can be stored and retrieved this way. +Restituisce i prossimi 8 bit del file interpretati come un intero. Questo fa avanzare il cursore del file di 1 byte. Vedi :ref:`store_8()` per i dettagli su quali valori si possono memorizzare e recuperare in questo modo. .. rst-class:: classref-item-separator @@ -565,7 +565,7 @@ Returns the next 8 bits from the file as an integer. This advances the file curs :ref:`int` **get_16**\ (\ ) |const| :ref:`🔗` -Returns the next 16 bits from the file as an integer. This advances the file cursor by 2 bytes. See :ref:`store_16()` for details on what values can be stored and retrieved this way. +Restituisce i prossimi 16 bit del file interpretati come un intero. Questo fa avanzare il cursore del file di 2 byte. Vedi :ref:`store_16()` per i dettagli su quali valori si possono memorizzare e recuperare in questo modo. .. rst-class:: classref-item-separator @@ -577,7 +577,7 @@ Returns the next 16 bits from the file as an integer. This advances the file cur :ref:`int` **get_32**\ (\ ) |const| :ref:`🔗` -Returns the next 32 bits from the file as an integer. This advances the file cursor by 4 bytes. See :ref:`store_32()` for details on what values can be stored and retrieved this way. +Restituisce i prossimi 32 bit del file interpretati come un intero. Questo fa avanzare il cursore del file di 4 byte. Vedi :ref:`store_32()` per i dettagli su quali valori si possono memorizzare e recuperare in questo modo. .. rst-class:: classref-item-separator @@ -589,7 +589,7 @@ Returns the next 32 bits from the file as an integer. This advances the file cur :ref:`int` **get_64**\ (\ ) |const| :ref:`🔗` -Returns the next 64 bits from the file as an integer. This advances the file cursor by 8 bytes. See :ref:`store_64()` for details on what values can be stored and retrieved this way. +Restituisce i prossimi 64 bit del file interpretati come un intero. Questo fa avanzare il cursore del file di 8 byte. Vedi :ref:`store_64()` per i dettagli su quali valori si possono memorizzare e recuperare in questo modo. .. rst-class:: classref-item-separator @@ -613,9 +613,9 @@ Restituisce l'ultima volta che il file al percorso ``file`` vi è stato accesso :ref:`String` **get_as_text**\ (\ skip_cr\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the whole file as a :ref:`String`. Text is interpreted as being UTF-8 encoded. This ignores the file cursor and does not affect it. +Restituisce l'intero file come :ref:`String`. Il testo è interpretato come codificato in UTF-8. Questo ignora il cursore del file e non lo influenza. -If ``skip_cr`` is ``true``, carriage return characters (``\r``, CR) will be ignored when parsing the UTF-8, so that only line feed characters (``\n``, LF) represent a new line (Unix convention). +Se ``skip_cr`` è ``true``, i caratteri di ritorno a capo (``\r``, CR) verranno ignorati durante l'elaborazione dell'UTF-8, in modo che solo i caratteri di avanzamento riga (``\n``, LF) rappresentino una nuova riga (convenzione Unix). .. rst-class:: classref-item-separator @@ -627,7 +627,7 @@ If ``skip_cr`` is ``true``, carriage return characters (``\r``, CR) will be igno :ref:`PackedByteArray` **get_buffer**\ (\ length\: :ref:`int`\ ) |const| :ref:`🔗` -Returns next ``length`` bytes of the file as a :ref:`PackedByteArray`. This advances the file cursor by ``length`` bytes. +Restituisce i prossimi ``length`` byte del file come :ref:`PackedByteArray`. Questo fa avanzare il cursore del file di ``length`` byte. .. rst-class:: classref-item-separator @@ -639,19 +639,19 @@ Returns next ``length`` bytes of the file as a :ref:`PackedByteArray` **get_csv_line**\ (\ delim\: :ref:`String` = ","\ ) |const| :ref:`🔗` -Returns the next value of the file in CSV (Comma-Separated Values) format. You can pass a different delimiter ``delim`` to use other than the default ``","`` (comma). This delimiter must be one-character long, and cannot be a double quotation mark. +Restituisce il valore successivo del file in formato CSV (Comma-Separated Values). È possibile passare un delimitatore diverso ``delim`` da usare diverso da quello predefinito ``","`` (la virgola). Questo delimitatore deve essere di un solo carattere e non può essere una virgoletta doppia. -Text is interpreted as being UTF-8 encoded. Text values must be enclosed in double quotes if they include the delimiter character. Double quotes within a text value can be escaped by doubling their occurrence. This advances the file cursor to after the newline character at the end of the line. +Il testo è interpretato come codificato in UTF-8. I valori nel testo devono essere racchiusi tra virgolette doppie se includono il carattere delimitatore. Si possono evitare le virgolette doppie all'interno di un valore nel testo raddoppiando le loro occorrenze. Questo fa avanzare il cursore del file fino a dopo il carattere di nuova riga alla fine della riga. -For example, the following CSV lines are valid and will be properly parsed as two strings each: +Ad esempio, le seguenti righe CSV sono valide e saranno elaborate correttamente come due stringhe ciascuna: .. code:: text - Alice,"Hello, Bob!" - Bob,Alice! What a surprise! - Alice,"I thought you'd reply with ""Hello, world""." + Alice,"Ciao, Bob!" + Bob,Alice! Che sorpresa! + Alice,"Pensavo che avresti risposto con ""Ciao, mondo""." -Note how the second line can omit the enclosing quotes as it does not include the delimiter. However it *could* very well use quotes, it was only written without for demonstration purposes. The third line must use ``""`` for each quotation mark that needs to be interpreted as such instead of the end of a text value. +Nota come la seconda riga possa omettere le virgolette attorno, poiché non include il delimitatore. Tuttavia *potrebbe* benissimo usare le virgolette, ed è stata scritta senza solo per dimostrazione. La terza riga deve usare ``""`` per ogni virgoletta che deve essere interpretata come tale invece che come fine di un valore del testo. .. rst-class:: classref-item-separator @@ -663,7 +663,7 @@ Note how the second line can omit the enclosing quotes as it does not include th :ref:`float` **get_double**\ (\ ) |const| :ref:`🔗` -Returns the next 64 bits from the file as a floating-point number. This advances the file cursor by 8 bytes. +Restituisce i prossimi 64 bit del file interpretandoli come numero in virgola mobile. Questo fa avanzare il cursore del file di 8 byte. .. rst-class:: classref-item-separator @@ -715,7 +715,7 @@ Restituisce una :ref:`String` vuota se si è verificato un errore :ref:`float` **get_float**\ (\ ) |const| :ref:`🔗` -Returns the next 32 bits from the file as a floating-point number. This advances the file cursor by 4 bytes. +Restituisce i prossimi 32 bit del file interpretandoli come numero in virgola mobile. Questo fa avanzare il cursore del file di 4 byte. .. rst-class:: classref-item-separator @@ -727,7 +727,7 @@ Returns the next 32 bits from the file as a floating-point number. This advances :ref:`float` **get_half**\ (\ ) |const| :ref:`🔗` -Returns the next 16 bits from the file as a half-precision floating-point number. This advances the file cursor by 2 bytes. +Restituisce i prossimi 16 bit del file interpretandoli come numero in virgola mobile a mezza precisione. Questo fa avanzare il cursore del file di 2 byte. .. rst-class:: classref-item-separator @@ -765,9 +765,9 @@ Restituisce la dimensione del file in byte. Per una pipe, restituisce il numero :ref:`String` **get_line**\ (\ ) |const| :ref:`🔗` -Returns the next line of the file as a :ref:`String`. The returned string doesn't include newline (``\n``) or carriage return (``\r``) characters, but does include any other leading or trailing whitespace. This advances the file cursor to after the newline character at the end of the line. +Restituisce la riga successiva del file come :ref:`String`. La stringa restituita non include caratteri di nuova riga (``\n``) o di ritorno a capo (``\r``), ma include qualsiasi altro spazio vuoto iniziale o finale. Questo fa avanzare il cursore del file fino a dopo il carattere di nuova riga alla fine della riga. -Text is interpreted as being UTF-8 encoded. +Il testo è interpretato come codificato in UTF-8. .. rst-class:: classref-item-separator @@ -815,9 +815,9 @@ Restituisce il risultato dell'ultima chiamata a :ref:`open()` **get_pascal_string**\ (\ ) :ref:`🔗` -Returns a :ref:`String` saved in Pascal format from the file, meaning that the length of the string is explicitly stored at the start. See :ref:`store_pascal_string()`. This may include newline characters. The file cursor is advanced after the bytes read. +Restituisce una :ref:`String` salvata in formato Pascal dal file, il che significa che la lunghezza della stringa è memorizzata esplicitamente all'inizio. Vedi :ref:`store_pascal_string()`. Può includere caratteri di nuova riga. Il cursore del file avanza dopo la lettura dei byte. -Text is interpreted as being UTF-8 encoded. +Il testo è interpretato come codificato in UTF-8. .. rst-class:: classref-item-separator @@ -853,7 +853,7 @@ Restituisce il percorso assoluto come :ref:`String` per il file at :ref:`int` **get_position**\ (\ ) |const| :ref:`🔗` -Returns the file cursor's position in bytes from the beginning of the file. This is the file reading/writing cursor set by :ref:`seek()` or :ref:`seek_end()` and advanced by read/write operations. +Restituisce la posizione del cursore del file in byte dall'inizio del file. Questo è il cursore di lettura/scrittura del file impostato da :ref:`seek()` o :ref:`seek_end()` e avanzato dalle operazioni di lettura/scrittura. .. rst-class:: classref-item-separator @@ -879,9 +879,9 @@ Restituisce ``true``, se l'attributo ``read only`` (sola lettura) è impostato s :ref:`float` **get_real**\ (\ ) |const| :ref:`🔗` -Returns the next bits from the file as a floating-point number. This advances the file cursor by either 4 or 8 bytes, depending on the precision used by the Godot build that saved the file. +Restituisce i prossimi bit dal file come numero in virgola mobile. Questo fa avanzare il cursore del file di 4 o 8 byte, a seconda della precisione utilizzata dalla build di Godot che ha salvato il file. -If the file was saved by a Godot build compiled with the ``precision=single`` option (the default), the number of read bits for that file is 32. Otherwise, if compiled with the ``precision=double`` option, the number of read bits is 64. +Se il file è stato salvato da una build di Godot compilata con l'opzione ``precision=single`` (predefinito), il numero di bit letti per quel file sono 32. Altrimenti, se compilata con l'opzione ``precision=double``, il numero di bit letti è 64. .. rst-class:: classref-item-separator @@ -931,11 +931,11 @@ Restituisce i permessi UNIX del file. :ref:`Variant` **get_var**\ (\ allow_objects\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns the next :ref:`Variant` value from the file. If ``allow_objects`` is ``true``, decoding objects is allowed. This advances the file cursor by the number of bytes read. +Restituisce il prossimo valore :ref:`Variant` dal file. Se ``allow_objects`` è ``true``, è permesso decodificare gli oggetti. Questo fa avanzare il cursore del file del numero di byte letti. -Internally, this uses the same decoding mechanism as the :ref:`@GlobalScope.bytes_to_var()` method, as described in the :doc:`Binary serialization API <../tutorials/io/binary_serialization_api>` documentation. +Internamente, questo metodo utilizza lo stesso meccanismo di codifica del metodo :ref:`@GlobalScope.var_to_bytes()`, come descritto nella documentazione dell':doc:`API di serializzazione binaria <../tutorials/io/binary_serialization_api>`. -\ **Warning:** Deserialized objects can contain code which gets executed. Do not use this option if the serialized object comes from untrusted sources to avoid potential security threats such as remote code execution. +\ **Attenzione:** Un oggetto deserializzato può contenere codice che verrà eseguito. Non usare questa opzione se l'oggetto serializzato arriva da fonti sconosciute per evitare eventuali rischi di sicurezza come l'esecuzione di codice remoto. .. rst-class:: classref-item-separator @@ -1031,7 +1031,7 @@ Ridimensiona il file a una lunghezza specificata. Il file deve essere aperto in |void| **seek**\ (\ position\: :ref:`int`\ ) :ref:`🔗` -Changes the file reading/writing cursor to the specified position (in bytes from the beginning of the file). This changes the value returned by :ref:`get_position()`. +Sposta il cursore di lettura/scrittura nel file alla posizione specificata (in byte dall'inizio del file). Questo cambia il valore restituito da :ref:`get_position()`. .. rst-class:: classref-item-separator @@ -1043,9 +1043,9 @@ Changes the file reading/writing cursor to the specified position (in bytes from |void| **seek_end**\ (\ position\: :ref:`int` = 0\ ) :ref:`🔗` -Changes the file reading/writing cursor to the specified position (in bytes from the end of the file). This changes the value returned by :ref:`get_position()`. +Sposta il cursore di lettura/scrittura nel file alla posizione specificata (in byte dalla fine del file). Questo cambia il valore restituito da :ref:`get_position()`. -\ **Note:** This is an offset, so you should use negative numbers or the file cursor will be at the end of the file. +\ **Nota:** Questo è un offset, quindi si dovrebbero usare numeri negativi, altrimenti il cursore si troverà alla fine del file. .. rst-class:: classref-item-separator @@ -1099,13 +1099,13 @@ Imposta i permessi UNIX del file. :ref:`bool` **store_8**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Stores an integer as 8 bits in the file. This advances the file cursor by 1 byte. Returns ``true`` if the operation is successful. +Memorizza un intero come 8 bit nel file. Questo fa avanzare il cursore del file di 1 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** The ``value`` should lie in the interval ``[0, 255]``. Any other value will overflow and wrap around. +\ **Nota:** ``value`` dovrebbe essere compreso nell'intervallo ``[0, 255]``. Qualsiasi altro valore andrà in overflow e verrà avvolto. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. -To store a signed integer, use :ref:`store_64()`, or convert it manually (see :ref:`store_16()` for an example). +Per memorizzare un intero con segno, usa :ref:`store_64()` o convertirlo manualmente (vedi :ref:`store_16()` per un esempio). .. rst-class:: classref-item-separator @@ -1117,13 +1117,13 @@ To store a signed integer, use :ref:`store_64()` **store_16**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Stores an integer as 16 bits in the file. This advances the file cursor by 2 bytes. Returns ``true`` if the operation is successful. +Memorizza un intero come 16 bit nel file. Questo fa avanzare il cursore del file di 2 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** The ``value`` should lie in the interval ``[0, 2^16 - 1]``. Any other value will overflow and wrap around. +\ **Nota:** ``value`` dovrebbe essere compreso nell'intervallo ``[0, 2^16 - 1]``. Qualsiasi altro valore andrà in overflow e si avvolgerà. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. -To store a signed integer, use :ref:`store_64()` or store a signed integer from the interval ``[-2^15, 2^15 - 1]`` (i.e. keeping one bit for the signedness) and compute its sign manually when reading. For example: +Per memorizzare un intero con segno, usa :ref:`store_64()` o memorizza un intero con segno nell'intervallo ``[-2^15, 2^15 - 1]`` (ovvero mantenendo un bit per il segno) e calcolarne manualmente il segno durante la lettura. Ad esempio: .. tabs:: @@ -1138,9 +1138,9 @@ To store a signed integer, use :ref:`store_64()` **store_32**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Stores an integer as 32 bits in the file. This advances the file cursor by 4 bytes. Returns ``true`` if the operation is successful. +Memorizza un intero come 32 bit nel file. Questo fa avanzare il cursore del file di 4 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** The ``value`` should lie in the interval ``[0, 2^32 - 1]``. Any other value will overflow and wrap around. +\ **Nota:** ``value`` dovrebbe essere compreso nell'intervallo ``[0, 2^32 - 1]``. Qualsiasi altro valore andrà in overflow e si avvolgerà. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. -To store a signed integer, use :ref:`store_64()`, or convert it manually (see :ref:`store_16()` for an example). +Per memorizzare un intero con segno, usa :ref:`store_64()` o convertirlo manualmente (vedi :ref:`store_16()` per un esempio). .. rst-class:: classref-item-separator @@ -1190,11 +1190,11 @@ To store a signed integer, use :ref:`store_64()` **store_64**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Stores an integer as 64 bits in the file. This advances the file cursor by 8 bytes. Returns ``true`` if the operation is successful. +Memorizza un intero come 64 bit nel file. Questo fa avanzare il cursore del file di 8 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** The ``value`` must lie in the interval ``[-2^63, 2^63 - 1]`` (i.e. be a valid :ref:`int` value). +\ **Nota:** ``value`` deve essere compreso nell'intervallo ``[-2^63, 2^63 - 1]`` (ovvero deve essere un valore :ref:`int` valido). -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1206,9 +1206,9 @@ Stores an integer as 64 bits in the file. This advances the file cursor by 8 byt :ref:`bool` **store_buffer**\ (\ buffer\: :ref:`PackedByteArray`\ ) :ref:`🔗` -Stores the given array of bytes in the file. This advances the file cursor by the number of bytes written. Returns ``true`` if the operation is successful. +Memorizza l'array di byte fornito nel file. Questo fa avanzare il cursore del file del numero di byte memorizzati. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1220,11 +1220,11 @@ Stores the given array of bytes in the file. This advances the file cursor by th :ref:`bool` **store_csv_line**\ (\ values\: :ref:`PackedStringArray`, delim\: :ref:`String` = ","\ ) :ref:`🔗` -Store the given :ref:`PackedStringArray` in the file as a line formatted in the CSV (Comma-Separated Values) format. You can pass a different delimiter ``delim`` to use other than the default ``","`` (comma). This delimiter must be one-character long. +Memorizza il :ref:`PackedStringArray` fornito nel file come singola riga nel formato CSV (Comma-Separated Values). È possibile passare un delimitatore (``delim``) da usare diverso da quello predefinito ``","`` (la virgola). Questo delimitatore deve essere un solo carattere. -Text will be encoded as UTF-8. Returns ``true`` if the operation is successful. +Il testo sarà codificato come UTF-8. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1236,9 +1236,9 @@ Text will be encoded as UTF-8. Returns ``true`` if the operation is successful. :ref:`bool` **store_double**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Stores a floating-point number as 64 bits in the file. This advances the file cursor by 8 bytes. Returns ``true`` if the operation is successful. +Memorizza un numero in virgola mobile a 64 bit nel file. Questo fa avanzare il cursore del file di 8 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1250,9 +1250,9 @@ Stores a floating-point number as 64 bits in the file. This advances the file cu :ref:`bool` **store_float**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Stores a floating-point number as 32 bits in the file. This advances the file cursor by 4 bytes. Returns ``true`` if the operation is successful. +Memorizza un numero in virgola mobile a 32 bit nel file. Questo fa avanzare il cursore del file di 4 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1264,9 +1264,9 @@ Stores a floating-point number as 32 bits in the file. This advances the file cu :ref:`bool` **store_half**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Stores a half-precision floating-point number as 16 bits in the file. This advances the file cursor by 2 bytes. Returns ``true`` if the operation is successful. +Memorizza un numero in virgola mobile a 16 bit nel file. Questo fa avanzare il cursore del file di 2 byte. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1278,9 +1278,9 @@ Stores a half-precision floating-point number as 16 bits in the file. This advan :ref:`bool` **store_line**\ (\ line\: :ref:`String`\ ) :ref:`🔗` -Stores ``line`` in the file followed by a newline character (``\n``), encoding the text as UTF-8. This advances the file cursor by the length of the line, after the newline character. The amount of bytes written depends on the UTF-8 encoded bytes, which may be different from :ref:`String.length()` which counts the number of UTF-32 codepoints. Returns ``true`` if the operation is successful. +Memorizza la riga ``line`` nel file, seguita da un carattere di nuova riga (``\n``), codificando il testo come UTF-8. Questo fa avanzare il cursore del file della lunghezza della riga, dopo il carattere di nuova riga. La quantità di byte scritti dipende dai byte codificati in UTF-8, che può essere diversa da :ref:`String.length()` il quale conta il numero di codici UTF-32. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** se si verifica un errore, il valore risultante dell'indicatore di posizione del file è indeterminato. .. rst-class:: classref-item-separator @@ -1292,9 +1292,9 @@ Stores ``line`` in the file followed by a newline character (``\n``), encoding t :ref:`bool` **store_pascal_string**\ (\ string\: :ref:`String`\ ) :ref:`🔗` -Stores the given :ref:`String` as a line in the file in Pascal format (i.e. also store the length of the string). Text will be encoded as UTF-8. This advances the file cursor by the number of bytes written depending on the UTF-8 encoded bytes, which may be different from :ref:`String.length()` which counts the number of UTF-32 codepoints. Returns ``true`` if the operation is successful. +Memorizza la :ref:`String` specificata come una riga nel file in formato Pascal (ovvero memorizza anche la lunghezza della stringa). Il testo sarà codificato come UTF-8. Questo fa avanzare il cursore del file del numero di byte scritti a seconda dei byte codificati in UTF-8, che può essere diverso da :ref:`String.length()` il quale conta il numero di codici UTF-32. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1306,11 +1306,11 @@ Stores the given :ref:`String` as a line in the file in Pascal for :ref:`bool` **store_real**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Stores a floating-point number in the file. This advances the file cursor by either 4 or 8 bytes, depending on the precision used by the current Godot build. +Memorizza un numero in virgola mobile. Questo fa avanzare il cursore del file di 4 o 8 byte, a seconda della precisione utilizzata dalla build attuale di Godot. -If using a Godot build compiled with the ``precision=single`` option (the default), this method will save a 32-bit float. Otherwise, if compiled with the ``precision=double`` option, this will save a 64-bit float. Returns ``true`` if the operation is successful. +Se si utilizza una build di Godot compilata con l'opzione ``precision=single`` (predefinito), questo metodo salverà un float a 32 bit. Altrimenti, se compilata con l'opzione ``precision=double``, salverà un float a 64 bit. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1322,11 +1322,11 @@ If using a Godot build compiled with the ``precision=single`` option (the defaul :ref:`bool` **store_string**\ (\ string\: :ref:`String`\ ) :ref:`🔗` -Stores ``string`` in the file without a newline character (``\n``), encoding the text as UTF-8. This advances the file cursor by the length of the string in UTF-8 encoded bytes, which may be different from :ref:`String.length()` which counts the number of UTF-32 codepoints. Returns ``true`` if the operation is successful. +Memorizza la stringa ``string`` nel file senza un carattere di ritorno a capo (``\n``), codificando il testo come UTF-8. Questo fa avanzare il cursore del file della lunghezza della stringa in byte codificati in UTF-8, che può essere diversa da :ref:`String.length()` il quale conta il numero di codici UTF-32. Restituisce ``true`` se l'operazione ha successo. -\ **Note:** This method is intended to be used to write text files. The string is stored as a UTF-8 encoded buffer without string length or terminating zero, which means that it can't be loaded back easily. If you want to store a retrievable string in a binary file, consider using :ref:`store_pascal_string()` instead. For retrieving strings from a text file, you can use ``get_buffer(length).get_string_from_utf8()`` (if you know the length) or :ref:`get_as_text()`. +\ **Nota:** Questo metodo è progettato per scrivere file di testo. La stringa è memorizzata come buffer codificato in UTF-8, senza la lunghezza della stringa o lo zero di terminazione. Ciò significa che non può essere recuperata facilmente. Se si desidera memorizzare una stringa recuperabile in un file binario, considera di usare :ref:`store_pascal_string()`. Per recuperare stringhe da un file di testo, è possibile usare ``get_buffer(length).get_string_from_utf8()`` (se si conosce la lunghezza) o :ref:`get_as_text()`. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. rst-class:: classref-item-separator @@ -1338,13 +1338,13 @@ Stores ``string`` in the file without a newline character (``\n``), encoding the :ref:`bool` **store_var**\ (\ value\: :ref:`Variant`, full_objects\: :ref:`bool` = false\ ) :ref:`🔗` -Stores any Variant value in the file. If ``full_objects`` is ``true``, encoding objects is allowed (and can potentially include code). This advances the file cursor by the number of bytes written. Returns ``true`` if the operation is successful. +Inserisce un qualunque Variant nel file. Se ``full_objects`` è ``true``, è consentito codificare le istanze di oggetti (e può potenzialmente includere codice). Questo fa avanzare il cursore del file del numero di byte memorizzati. Restituisce ``true`` se l'operazione ha successo. -Internally, this uses the same encoding mechanism as the :ref:`@GlobalScope.var_to_bytes()` method, as described in the :doc:`Binary serialization API <../tutorials/io/binary_serialization_api>` documentation. +Internamente, questo metodo utilizza lo stesso meccanismo di codifica del metodo :ref:`@GlobalScope.var_to_bytes()`, come descritto nella documentazione dell':doc:`API di serializzazione binaria <../tutorials/io/binary_serialization_api>`. -\ **Note:** Not all properties are included. Only properties that are configured with the :ref:`@GlobalScope.PROPERTY_USAGE_STORAGE` flag set will be serialized. You can add a new usage flag to a property by overriding the :ref:`Object._get_property_list()` method in your class. You can also check how property usage is configured by calling :ref:`Object._get_property_list()`. See :ref:`PropertyUsageFlags` for the possible usage flags. +\ **Nota:** Non tutte le proprietà sono incluse. Saranno serializzate solo le proprietà configurate con il flag :ref:`@GlobalScope.PROPERTY_USAGE_STORAGE`. È possibile aggiungere un nuovo flag di utilizzo a una proprietà sovrascrivendo il metodo :ref:`Object._get_property_list()` nella tua classe. Puoi anche controllare come è configurato l'utilizzo della proprietà chiamando :ref:`Object._get_property_list()`. Consulta :ref:`PropertyUsageFlags` per i possibili flag di utilizzo. -\ **Note:** If an error occurs, the resulting value of the file position indicator is indeterminate. +\ **Nota:** Se si verifica un errore, il valore risultante dell'indicatore di posizione nel file non può essere determinato. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_filedialog.rst b/classes/it/class_filedialog.rst index e2ae3fa051..8a05a5901a 100644 --- a/classes/it/class_filedialog.rst +++ b/classes/it/class_filedialog.rst @@ -326,7 +326,7 @@ enum **DisplayMode**: :ref:`🔗` :ref:`DisplayMode` **DISPLAY_THUMBNAILS** = ``0`` -The dialog displays files as a grid of thumbnails. Use :ref:`thumbnail_size` to adjust their size. +La finestra di dialogo visualizza i file come una griglia di miniature. Usa :ref:`thumbnail_size` per regolarne le dimensioni. .. _class_FileDialog_constant_DISPLAY_LIST: @@ -352,9 +352,9 @@ enum **Customization**: :ref:`🔗` :ref:`Customization` **CUSTOMIZATION_HIDDEN_FILES** = ``0`` -Toggles visibility of the favorite button, and the favorite list on the left side of the dialog. +Cambia la visibilità del pulsante per aggiungere ai preferiti, e dell'elenco dei preferiti sul lato sinistro della finestra di dialogo. -Equivalent to :ref:`hidden_files_toggle_enabled`. +Equivale a :ref:`favorites_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_CREATE_FOLDER: @@ -362,9 +362,9 @@ Equivalent to :ref:`hidden_files_toggle_enabled` **CUSTOMIZATION_CREATE_FOLDER** = ``1`` -If enabled, shows the button for creating new directories (when using :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY`, or :ref:`FILE_MODE_SAVE_FILE`). +Se abilitato, mostra il pulsante per la creazione di nuove cartella (quando si utilizza :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY` o :ref:`FILE_MODE_SAVE_FILE`). -Equivalent to :ref:`folder_creation_enabled`. +Equivale a :ref:`folder_creation_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FILE_FILTER: @@ -372,9 +372,9 @@ Equivalent to :ref:`folder_creation_enabled` **CUSTOMIZATION_FILE_FILTER** = ``2`` -If enabled, shows the toggle file filter button. +Se abilitato, mostra il pulsante per attivare/disattivare il filtro file. -Equivalent to :ref:`file_filter_toggle_enabled`. +Equivale a :ref:`file_filter_toggle_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FILE_SORT: @@ -382,9 +382,9 @@ Equivalent to :ref:`file_filter_toggle_enabled` **CUSTOMIZATION_FILE_SORT** = ``3`` -If enabled, shows the file sorting options button. +Se abilitato, mostra il pulsante per le opzioni di ordinamento dei file. -Equivalent to :ref:`file_sort_options_enabled`. +Equivale a :ref:`file_sort_options_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_FAVORITES: @@ -392,9 +392,9 @@ Equivalent to :ref:`file_sort_options_enabled` **CUSTOMIZATION_FAVORITES** = ``4`` -If enabled, shows the toggle favorite button and favorite list on the left side of the dialog. +Se abilitato, mostra il pulsante per aggiungere ai preferiti e l'elenco dei preferiti sul lato sinistro della finestra di dialogo. -Equivalent to :ref:`favorites_enabled`. +Equivale a :ref:`favorites_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_RECENT: @@ -402,9 +402,9 @@ Equivalent to :ref:`favorites_enabled` **CUSTOMIZATION_RECENT** = ``5`` -If enabled, shows the recent directories list on the left side of the dialog. +Se abilitato, mostra l'elenco delle cartelle recenti sul lato sinistro della finestra di dialogo. -Equivalent to :ref:`recent_list_enabled`. +Equivale a :ref:`recent_list_enabled`. .. _class_FileDialog_constant_CUSTOMIZATION_LAYOUT: @@ -412,9 +412,9 @@ Equivalent to :ref:`recent_list_enabled` **CUSTOMIZATION_LAYOUT** = ``6`` -If enabled, shows the layout switch buttons (list/thumbnails). +Se abilitato, mostra i pulsanti per cambiare layout (elenco/miniature). -Equivalent to :ref:`layout_toggle_enabled`. +Equivale a :ref:`layout_toggle_enabled`. .. rst-class:: classref-section-separator @@ -508,7 +508,7 @@ Il percorso di file attualmente selezionato nella finestra di dialogo dei file. - |void| **set_display_mode**\ (\ value\: :ref:`DisplayMode`\ ) - :ref:`DisplayMode` **get_display_mode**\ (\ ) -Display mode of the dialog's file list. +Modalità di visualizzazione dell'elenco dei file nella finestra di dialogo. .. rst-class:: classref-item-separator @@ -525,7 +525,7 @@ Display mode of the dialog's file list. - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the toggle favorite button and favorite list on the left side of the dialog. +Se ``true``, mostra il pulsante per aggiungere ai preferiti, e dell'elenco dei preferiti sul lato sinistro della finestra di dialogo. .. rst-class:: classref-item-separator @@ -542,7 +542,7 @@ If ``true``, shows the toggle favorite button and favorite list on the left side - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the toggle file filter button. +Se ``true``, mostra il pulsante per attivare/disattivare il filtro file. .. rst-class:: classref-item-separator @@ -559,7 +559,7 @@ If ``true``, shows the toggle file filter button. - |void| **set_file_mode**\ (\ value\: :ref:`FileMode`\ ) - :ref:`FileMode` **get_file_mode**\ (\ ) -The dialog's open or save mode, which affects the selection behavior. +La modalità di apertura o salvataggio della finestra di dialogo, che influenza il comportamento di selezione. .. rst-class:: classref-item-separator @@ -576,7 +576,7 @@ The dialog's open or save mode, which affects the selection behavior. - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the file sorting options button. +Se ``true``, mostra il pulsante per le opzioni di ordinamento dei file. .. rst-class:: classref-item-separator @@ -633,7 +633,7 @@ I filtri di tipo file disponibili. Ogni stringa di filtro nell'array dovrebbe es - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the button for creating new directories (when using :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY`, or :ref:`FILE_MODE_SAVE_FILE`). +Se ``true``, mostra il pulsante per creare nuove cartelle (quando si utilizza :ref:`FILE_MODE_OPEN_DIR`, :ref:`FILE_MODE_OPEN_ANY` o :ref:`FILE_MODE_SAVE_FILE`). .. rst-class:: classref-item-separator @@ -650,7 +650,7 @@ If ``true``, shows the button for creating new directories (when using :ref:`FIL - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the toggle hidden files button. +Se ``true``, mostra il pulsante per cambiare la visibilità dei file nascosti. .. rst-class:: classref-item-separator @@ -667,7 +667,7 @@ If ``true``, shows the toggle hidden files button. - |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the layout switch buttons (list/thumbnails). +Se ``true``, mostra i pulsanti per cambiare layout (elenco/miniature). .. rst-class:: classref-item-separator @@ -718,7 +718,7 @@ Numero di :ref:`OptionButton` e :ref:`CheckBox`, enabled\: :ref:`bool`\ ) - :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| -If ``true``, shows the recent directories list on the left side of the dialog. +Se ``true``, mostra l'elenco delle cartelle recenti sul lato sinistro della finestra di dialogo. .. rst-class:: classref-item-separator @@ -773,15 +773,15 @@ Se ``true``, la finestra di dialogo mostrerà i file nascosti. - |void| **set_use_native_dialog**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_use_native_dialog**\ (\ ) -If ``true``, and if supported by the current :ref:`DisplayServer`, OS native dialog will be used instead of custom one. +Se ``true``, e se supportato dal :ref:`DisplayServer` attuale, sarà utilizzata una finestra di dialogo nativa del sistema operativo anziché quella personalizzata. -\ **Note:** On Android, it is only supported for Android 10+ devices and when using :ref:`ACCESS_FILESYSTEM`. For access mode :ref:`ACCESS_RESOURCES` and :ref:`ACCESS_USERDATA`, the system will fall back to custom FileDialog. +\ **Nota:** Su Android, ciò è supportato solo sui dispositivi Android 10+ e se si utilizza :ref:`ACCESS_FILESYSTEM`. Per le modalità di accesso :ref:`ACCESS_RESOURCES` e :ref:`ACCESS_USERDATA`, il sistema ritornerà al FileDialog personalizzato. -\ **Note:** On Linux and macOS, sandboxed apps always use native dialogs to access the host file system. +\ **Nota:** Su Linux e macOS, le app in sandbox utilizzano sempre le finestre di dialogo native per accedere al file system dell'host. -\ **Note:** On macOS, sandboxed apps will save security-scoped bookmarks to retain access to the opened folders across multiple sessions. Use :ref:`OS.get_granted_permissions()` to get a list of saved bookmarks. +\ **Nota:** Su macOS, le app in sandbox salveranno i segnalibri con ambito di sicurezza per mantenere l'accesso alle cartelle aperte in più sessioni. Usa :ref:`OS.get_granted_permissions()` per ottenere una lista dei segnalibri salvati. -\ **Note:** Native dialogs are isolated from the base process, file dialog properties can't be modified once the dialog is shown. +\ **Nota:** Le finestre di dialogo native sono isolate dal processo base, le proprietà della finestra di dialogo del file non si possono cambiare una volta che la finestra di dialogo viene mostrata. .. rst-class:: classref-section-separator @@ -798,11 +798,11 @@ Descrizioni dei metodi |void| **add_filter**\ (\ filter\: :ref:`String`, description\: :ref:`String` = ""\ ) :ref:`🔗` -Adds a comma-separated file name ``filter`` option to the **FileDialog** with an optional ``description``, which restricts what files can be picked. +Aggiunge un'opzione di filtro (``filter``) delimitata da virgole per i nomi dei file a **FileDialog** con una descrizione (``description``) facoltativa, che limita i file che si possono selezionare. -A ``filter`` should be of the form ``"filename.extension"``, where filename and extension can be ``*`` to match any string. Filters starting with ``.`` (i.e. empty filenames) are not allowed. +\ ``filter`` dovrebbe essere del formato ``"filename.extension"``, dove filename ed extension possono essere ``*`` per corrispondere a qualsiasi stringa. I filtri che iniziano con ``.`` (ad esempio i nomi vuoti dei file) non sono consentiti. -For example, a ``filter`` of ``"*.png, *.jpg"`` and a ``description`` of ``"Images"`` results in filter text "Images (\*.png, \*.jpg)". +Ad esempio, un ``filter`` di ``"*.png, *.jpg"`` e una ``description`` di ``"Immagini "`` generano il testo del filtro "Immagini (\*.png, \*.jpg)". .. rst-class:: classref-item-separator @@ -956,7 +956,7 @@ Invalida e aggiorna la lista dei contenuti attuale nella finestra di dialogo. :ref:`bool` **is_customization_flag_enabled**\ (\ flag\: :ref:`Customization`\ ) |const| :ref:`🔗` -Returns ``true`` if the provided ``flag`` is enabled. +Restituisce ``true`` se il ``flag`` specificato è abilitato. .. rst-class:: classref-item-separator @@ -968,7 +968,7 @@ Returns ``true`` if the provided ``flag`` is enabled. |void| **set_customization_flag_enabled**\ (\ flag\: :ref:`Customization`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Toggles the specified customization ``flag``, allowing to customize features available in this **FileDialog**. See :ref:`Customization` for options. +Attiva/disattiva il ``flag`` di personalizzazione specificato, consentendo di personalizzare le funzionalità disponibili in questo **FileDialog**. Per le opzioni, vedi :ref:`Customization`. .. rst-class:: classref-item-separator @@ -1057,7 +1057,7 @@ Il colore di modulazione applicato all'icona della cartella. :ref:`int` **thumbnail_size** = ``64`` :ref:`🔗` -The size of thumbnail icons when :ref:`DISPLAY_THUMBNAILS` is enabled. +La dimensione delle icone in miniatura quando :ref:`DISPLAY_THUMBNAILS` è abilitato. .. rst-class:: classref-item-separator @@ -1141,7 +1141,7 @@ Icona personalizzata per i file. :ref:`Texture2D` **file_thumbnail** :ref:`🔗` -Icon for files when in thumbnail mode. +Icona per i file in modalità miniatura. .. rst-class:: classref-item-separator @@ -1165,7 +1165,7 @@ Icona personalizzata per le cartelle. :ref:`Texture2D` **folder_thumbnail** :ref:`🔗` -Icon for folders when in thumbnail mode. +Icona per le cartelle in modalità miniatura. .. rst-class:: classref-item-separator @@ -1189,7 +1189,7 @@ Icona personalizzata per la freccia avanti. :ref:`Texture2D` **list_mode** :ref:`🔗` -Icon for the button that enables list mode. +Icona per il pulsante che abilita la modalità elenco. .. rst-class:: classref-item-separator @@ -1237,7 +1237,7 @@ Icona personalizzata per il menu delle opzioni di ordinamento. :ref:`Texture2D` **thumbnail_mode** :ref:`🔗` -Icon for the button that enables thumbnail mode. +Icona per il pulsante che abilita la modalità miniatura. .. rst-class:: classref-item-separator diff --git a/classes/it/class_fogvolume.rst b/classes/it/class_fogvolume.rst index 067369b270..c6315c2d2d 100644 --- a/classes/it/class_fogvolume.rst +++ b/classes/it/class_fogvolume.rst @@ -14,7 +14,7 @@ Una regione che contribuisce alla nebbia volumetrica predefinita dell'ambiente m Descrizione ---------------------- -I **FogVolume** sono utilizzati per aggiungere nebbia localizzata all'effetto nebbia volumetrica globale. I **FogVolume** possono anche rimuovere la nebbia volumetrica da aree specifiche se si utilizza un :ref:`FogMaterial` con un :ref:`FogMaterial.density` negativo. +I **FogVolume** servono per aggiungere nebbia localizzata all'effetto nebbia volumetrica globale. I **FogVolume** possono anche rimuovere la nebbia volumetrica da aree specifiche se si utilizza un :ref:`FogMaterial` con un :ref:`FogMaterial.density` negativo. Le prestazioni dei **FogVolume** sono direttamente correlate alle loro dimensioni relative sullo schermo e alla complessità del loro :ref:`FogMaterial` associato. È meglio mantenere **FogVolume** relativamente piccoli e semplici, dove possibile. diff --git a/classes/it/class_foldablecontainer.rst b/classes/it/class_foldablecontainer.rst index 6493fde9bf..3728a89711 100644 --- a/classes/it/class_foldablecontainer.rst +++ b/classes/it/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: @@ -10,22 +10,22 @@ FoldableContainer **Eredita:** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A container that can be expanded/collapsed. +Un contenitore che si può espandere/comprimere. .. rst-class:: classref-introduction-group Descrizione ---------------------- -A container that can be expanded/collapsed, with a title that can be filled with controls, such as buttons. +Un contenitore che si può espandere/comprimere, con un titolo che si può riempire con controlli, come pulsanti. -The title can be positioned at the top or bottom of the container. +Il titolo può essere posizionato in alto o in basso il contenitore. -The container can be expanded or collapsed by clicking the title or by pressing ``ui_accept`` when focused. +Il contenitore si può espandere o comprimere cliccando sul titolo o premendo ``ui_accept`` quando è focalizzato. -Child control nodes are hidden when the container is collapsed. Ignores non-control children. +I nodi di controllo figlio sono nascosti quando il contenitore è compresso. Ignora i nodi figlio non di controllo. -Can allow grouping with other FoldableContainers, check :ref:`foldable_group` and :ref:`FoldableGroup`. +Consentire di raggruppare altri FoldableContainer, consulta :ref:`foldable_group` e :ref:`FoldableGroup`. .. rst-class:: classref-reftable-group @@ -189,7 +189,7 @@ Descrizioni delle proprietà - |void| **set_foldable_group**\ (\ value\: :ref:`FoldableGroup`\ ) - :ref:`FoldableGroup` **get_foldable_group**\ (\ ) -The :ref:`FoldableGroup` associated with the container. When multiple **FoldableContainer** nodes share the same group, only one of them is allowed to be unfolded. +Il :ref:`FoldableGroup` associato al contenitore. Quando più nodi **FoldableContainer** condividono lo stesso gruppo, solo uno di essi può essere espanso. .. rst-class:: classref-item-separator @@ -308,7 +308,7 @@ Direzione di scrittura del testo del titolo. - |void| **set_title_text_overrun_behavior**\ (\ value\: :ref:`OverrunBehavior`\ ) - :ref:`OverrunBehavior` **get_title_text_overrun_behavior**\ (\ ) -Defines the behavior of the title when the text is longer than the available space. +Definisce il comportamento del titolo quando il testo è più lungo dello spazio disponibile. .. rst-class:: classref-section-separator @@ -325,9 +325,9 @@ Descrizioni dei metodi |void| **add_title_bar_control**\ (\ control\: :ref:`Control`\ ) :ref:`🔗` -Adds a :ref:`Control` that will be placed next to the container's title, obscuring the clickable area. Prime usage is adding :ref:`Button` nodes, but it can be any :ref:`Control`. +Aggiunge un :ref:`Control` che sarà posizionato accanto al titolo del contenitore, oscurando l'area cliccabile. Serve principalmente per aggiungere nodi :ref:`Button`, ma può essere qualsiasi :ref:`Control`. -The control will be added as a child of this container and removed from previous parent if necessary. The controls will be placed aligned to the right, with the first added control being the leftmost one. +Il controllo sarà aggiunto come figlio di questo contenitore e rimosso dal precedente genitore, se necessario. I controlli sarà posizionati allineati a destra, vale a dire che il primo controllo aggiunto sarà quello più a sinistra. .. rst-class:: classref-item-separator @@ -339,7 +339,7 @@ The control will be added as a child of this container and removed from previous |void| **expand**\ (\ ) :ref:`🔗` -Expands the container and emits :ref:`folding_changed`. +Espande il contenitore ed emette :ref:`folding_changed`. .. rst-class:: classref-item-separator @@ -351,7 +351,7 @@ Expands the container and emits :ref:`folding_changed` -Folds the container and emits :ref:`folding_changed`. +Riduce il contenitore ed emette :ref:`folding_changed`. .. rst-class:: classref-item-separator @@ -363,7 +363,7 @@ Folds the container and emits :ref:`folding_changed`\ ) :ref:`🔗` -Removes a :ref:`Control` added with :ref:`add_title_bar_control()`. The node is not freed automatically, you need to use :ref:`Node.queue_free()`. +Rimuove un :ref:`Control` aggiunto con :ref:`add_title_bar_control()`. Il nodo non viene liberato automaticamente, è necessario usare :ref:`Node.queue_free()`. .. rst-class:: classref-section-separator @@ -488,7 +488,7 @@ L'icona del titolo utilizzata quando espanso. :ref:`Texture2D` **expanded_arrow_mirrored** :ref:`🔗` -The title's icon used when expanded (for bottom title). +L'icona del titolo utilizzata quando espanso (per il titolo in basso). .. rst-class:: classref-item-separator @@ -548,7 +548,7 @@ Sfondo predefinito per il **FoldableContainer**. :ref:`StyleBox` **title_collapsed_hover_panel** :ref:`🔗` -Background used when the mouse cursor enters the title's area when collapsed. +Sfondo utilizzato quando il cursore del mouse entra nell'area del titolo quando compresso. .. rst-class:: classref-item-separator @@ -572,7 +572,7 @@ Sfondo predefinito per il **FoldableContainer** quando è compresso. :ref:`StyleBox` **title_hover_panel** :ref:`🔗` -Background used when the mouse cursor enters the title's area when expanded. +Sfondo utilizzato quando il cursore del mouse entra nell'area del titolo quando espanso. .. rst-class:: classref-item-separator diff --git a/classes/it/class_foldablegroup.rst b/classes/it/class_foldablegroup.rst index 8d82ec6be6..2d062f528a 100644 --- a/classes/it/class_foldablegroup.rst +++ b/classes/it/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: @@ -17,7 +17,7 @@ Un gruppo di contenitori riducibili che non consente a più di un pulsante di es Descrizione ---------------------- -A group of :ref:`FoldableContainer`-derived nodes. Only one container can be expanded at a time. +Un gruppo di nodi derivati da :ref:`FoldableContainer`. È possibile espandere un solo contenitore alla volta. .. rst-class:: classref-reftable-group @@ -101,7 +101,7 @@ Descrizioni dei metodi :ref:`Array`\[:ref:`FoldableContainer`\] **get_containers**\ (\ ) |const| :ref:`🔗` -Returns an :ref:`Array` of :ref:`FoldableContainer`\ s that have this as their FoldableGroup (see :ref:`FoldableContainer.foldable_group`). This is equivalent to :ref:`ButtonGroup` but for FoldableContainers. +Restituisce un :ref:`Array` di :ref:`FoldableContainer` che hanno questo come FoldableGroup (vedi :ref:`FoldableContainer.foldable_group`). Equivale a :ref:`ButtonGroup` ma per i FoldableContainer. .. rst-class:: classref-item-separator diff --git a/classes/it/class_fontfile.rst b/classes/it/class_fontfile.rst index 7bd1d9d8cc..ece5fe58b7 100644 --- a/classes/it/class_fontfile.rst +++ b/classes/it/class_fontfile.rst @@ -516,7 +516,7 @@ Se impostato su ``true``, quando si allineano i glifi ai confini dei pixel, il r - |void| **set_modulate_color_glyphs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_modulate_color_glyphs**\ (\ ) -If set to ``true``, color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only. +Se impostato su ``true``, la modulazione del colore è applicata quando si disegnano glifi colorati, altrimenti è applicata solo ai glifi monocromatici. .. rst-class:: classref-item-separator @@ -605,7 +605,7 @@ Sostituzione dell'insieme di funzionalità OpenType dei font. - |void| **set_oversampling**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_oversampling**\ (\ ) -If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. +Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gdextension.rst b/classes/it/class_gdextension.rst index b5298fca46..95f492b02e 100644 --- a/classes/it/class_gdextension.rst +++ b/classes/it/class_gdextension.rst @@ -70,7 +70,7 @@ La libreria è inizializzata allo stesso tempo delle funzionalità essenziali de :ref:`InitializationLevel` **INITIALIZATION_LEVEL_SERVERS** = ``1`` -La libreria è inizializzata allo stesso tempo dei server del motore (come il :ref:`RenderingServer` or il :ref:`PhysicsServer3D`). +La libreria è inizializzata allo stesso tempo dei server del motore (come il :ref:`RenderingServer` o il :ref:`PhysicsServer3D`). .. _class_GDExtension_constant_INITIALIZATION_LEVEL_SCENE: diff --git a/classes/it/class_geometryinstance3d.rst b/classes/it/class_geometryinstance3d.rst index 0e046b300a..726f52d9a1 100644 --- a/classes/it/class_geometryinstance3d.rst +++ b/classes/it/class_geometryinstance3d.rst @@ -303,7 +303,7 @@ Il flag di proiezione delle ombre selezionato. - |void| **set_custom_aabb**\ (\ value\: :ref:`AABB`\ ) - :ref:`AABB` **get_custom_aabb**\ (\ ) -Sostituisce il bounding box di questo nodo con uno personalizzato. Questo può essere usato per evitare il costoso ricalcolo dell':ref:`AABB` che avviene quando uno scheletro è usato con un :ref:`MeshInstance3D` o per avere un controllo preciso sul bounding box di :ref:`MeshInstance3D`. Per usare l'AABB predefinito, imposta il valore su un :ref:`AABB` con tutti i campi impostati su ``0.0``. Per evitare il frustum culling, imposta :ref:`custom_aabb` su un AABB molto grande che copra l'intero mondo di gioco come ``AABB(-10000, -10000, -10000, 20000, 20000, 20000)``. Per disabilitare tutte le forme di culling (incluso il culling dell'occlusione), chiama :ref:`RenderingServer.instance_set_ignore_culling()` sul :ref:`RID` del **GeometryInstance3D**. +Sostituisce la bounding box di questo nodo con uno personalizzato. Questo può essere usato per evitare il costoso ricalcolo dell':ref:`AABB` che avviene quando uno scheletro è usato con un :ref:`MeshInstance3D` o per avere un controllo preciso sulla bounding box di :ref:`MeshInstance3D`. Per usare l'AABB predefinito, imposta il valore su un :ref:`AABB` con tutti i campi impostati su ``0.0``. Per evitare il frustum culling, imposta :ref:`custom_aabb` su un AABB molto grande che copra l'intero mondo di gioco come ``AABB(-10000, -10000, -10000, 20000, 20000, 20000)``. Per disabilitare tutte le forme di culling (incluso il culling dell'occlusione), chiama :ref:`RenderingServer.instance_set_ignore_culling()` sul :ref:`RID` del **GeometryInstance3D**. .. rst-class:: classref-item-separator @@ -320,7 +320,7 @@ Sostituisce il bounding box di questo nodo con uno personalizzato. Questo può e - |void| **set_extra_cull_margin**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_extra_cull_margin**\ (\ ) -La distanza ulteriormente aggiunta al bounding box (:ref:`AABB`) di GeometryInstance3D per aumentare il suo cull box. +La distanza ulteriormente aggiunta alla bounding box (:ref:`AABB`) del GeometryInstance3D per aumentare il suo cull box. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gltfdocument.rst b/classes/it/class_gltfdocument.rst index 33a8b79352..9ad6350e07 100644 --- a/classes/it/class_gltfdocument.rst +++ b/classes/it/class_gltfdocument.rst @@ -142,7 +142,7 @@ enum **VisibilityMode**: :ref:`🔗` :ref:`VisibilityMode` **VISIBILITY_MODE_INCLUDE_REQUIRED** = ``0`` -If the scene contains any non-visible nodes, include them, mark them as non-visible with ``KHR_node_visibility``, and require that importers respect their non-visibility. Downside: If the importer does not support ``KHR_node_visibility``, the file cannot be imported. +Se la scena contiene nodi non visibili, includili, segnali come non visibili con ``KHR_node_visibility`` e richiedi agli importatori di rispettarne la non visibilità. Svantaggio: se l'importatore non supporta ``KHR_node_visibility``, il file non può essere importato. .. _class_GLTFDocument_constant_VISIBILITY_MODE_INCLUDE_OPTIONAL: @@ -150,7 +150,7 @@ If the scene contains any non-visible nodes, include them, mark them as non-visi :ref:`VisibilityMode` **VISIBILITY_MODE_INCLUDE_OPTIONAL** = ``1`` -If the scene contains any non-visible nodes, include them, mark them as non-visible with ``KHR_node_visibility``, and do not impose any requirements on importers. Downside: If the importer does not support ``KHR_node_visibility``, invisible objects will be visible. +Se la scena contiene nodi non visibili, includili, segnali come non visibili con ``KHR_node_visibility`` e non imporre alcun requisito agli importatori. Svantaggio: se l'importatore non supporta ``KHR_node_visibility``, gli oggetti invisibili saranno visibili. .. _class_GLTFDocument_constant_VISIBILITY_MODE_EXCLUDE: @@ -158,7 +158,7 @@ If the scene contains any non-visible nodes, include them, mark them as non-visi :ref:`VisibilityMode` **VISIBILITY_MODE_EXCLUDE** = ``2`` -If the scene contains any non-visible nodes, do not include them in the export. This is the same as the behavior in Godot 4.4 and earlier. Downside: Invisible nodes will not exist in the exported file. +Se la scena contiene nodi non visibili, non includerli nell'esportazione. Questo è lo stesso comportamento di Godot 4.4 e versioni precedenti. Svantaggio: i nodi invisibili non esisteranno nel file esportato. .. rst-class:: classref-section-separator @@ -199,7 +199,7 @@ This property may only be one of "None", "PNG", or "JPEG", and is only used when - |void| **set_fallback_image_quality**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_fallback_image_quality**\ (\ ) -The quality of the fallback image, if any. For PNG files, this downscales the image on both dimensions by this factor. For JPEG files, this is the lossy quality of the image. A low value is recommended, since including multiple high quality images in a glTF file defeats the file size gains of using a more efficient image format. +La qualità dell'immagine di riserva, se presente. Per i file PNG, questa opzione riduce l'immagine su entrambe le dimensioni di questo fattore. Per i file JPEG, questa opzione rappresenta la qualità lossy dell'immagine. Si consiglia un valore basso, poiché includere più immagini ad alta qualità in un file glTF vanifica i guadagni in dimensioni del file derivanti dall'utilizzo di un formato immagine più efficiente. .. rst-class:: classref-item-separator @@ -271,7 +271,7 @@ Come elaborare il nodo radice durante l'esportazione. Il valore predefinito e co - |void| **set_visibility_mode**\ (\ value\: :ref:`VisibilityMode`\ ) - :ref:`VisibilityMode` **get_visibility_mode**\ (\ ) -How to deal with node visibility during export. This setting does nothing if all nodes are visible. The default and recommended value is :ref:`VISIBILITY_MODE_INCLUDE_REQUIRED`, which uses the ``KHR_node_visibility`` extension. +Come gestire la visibilità dei nodi durante l'esportazione. Questa impostazione non ha alcun effetto se tutti i nodi sono visibili. Il valore predefinito e consigliato è :ref:`VISIBILITY_MODE_INCLUDE_REQUIRED`, che utilizza l'estensione ``KHR_node_visibility``. .. rst-class:: classref-section-separator diff --git a/classes/it/class_gltfdocumentextension.rst b/classes/it/class_gltfdocumentextension.rst index 366d16a987..a5a39dc8ed 100644 --- a/classes/it/class_gltfdocumentextension.rst +++ b/classes/it/class_gltfdocumentextension.rst @@ -174,7 +174,7 @@ Questo metodo può essere utilizzato per apportare modifiche alle strutture dati Parte del processo di esportazione. Questo metodo viene eseguito per primo, prima di tutte le altre parti del processo di esportazione. -Il valore restituito è utilizzato per determinare se questa istanza di **GLTFDocumentExtension** deve essere utilizzata per esportare un determinato file glTF. Se :ref:`@GlobalScope.OK`, l'esportazione utilizzerà questa istanza di **GLTFDocumentExtension**. Se non sovrascritto, viene restituito :ref:`@GlobalScope.OK`. +Il valore restituito serve per determinare se questa istanza di **GLTFDocumentExtension** deve essere utilizzata per esportare un determinato file glTF. Se :ref:`@GlobalScope.OK`, l'esportazione utilizzerà questa istanza di **GLTFDocumentExtension**. Se non sovrascritto, viene restituito :ref:`@GlobalScope.OK`. .. rst-class:: classref-item-separator @@ -244,7 +244,7 @@ Restituisce un array dei formati immagine che possono essere salvati o esportati Parte del processo di importazione. Questo metodo viene eseguito dopo :ref:`_import_preflight()` e prima di :ref:`_parse_node_extensions()`. -Restituisce un array delle estensioni glTF supportate da questa classe GLTFDocumentExtension. Viene utilizzato per verificare se è possibile caricare un file glTF con le estensioni richieste. +Restituisce un array delle estensioni glTF supportate da questa classe GLTFDocumentExtension. Serve per verificare se è possibile caricare un file glTF con le estensioni richieste. .. rst-class:: classref-item-separator @@ -330,7 +330,7 @@ Questo metodo può essere utilizzato per modificare o leggere da una qualsiasi d Parte del processo di importazione. Questo metodo viene eseguito per primo, prima di tutte le altre parti del processo di importazione. -Il valore restituito è utilizzato per determinare se questa istanza di **GLTFDocumentExtension** deve essere utilizzata per importare un determinato file glTF. Se è :ref:`@GlobalScope.OK`, l'importazione utilizzerà questa istanza di **GLTFDocumentExtension**. Se non sovrascritto, viene restituito :ref:`@GlobalScope.OK`. +Il valore restituito serve per determinare se questa istanza di **GLTFDocumentExtension** deve essere utilizzata per importare un determinato file glTF. Se è :ref:`@GlobalScope.OK`, l'importazione utilizzerà questa istanza di **GLTFDocumentExtension**. Se non sovrascritto, viene restituito :ref:`@GlobalScope.OK`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gltflight.rst b/classes/it/class_gltflight.rst index 3f77e05bf6..4f3808f85b 100644 --- a/classes/it/class_gltflight.rst +++ b/classes/it/class_gltflight.rst @@ -89,9 +89,9 @@ Descrizioni delle proprietà - |void| **set_color**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_color**\ (\ ) -The :ref:`Color` of the light in linear space. Defaults to white. A black color causes the light to have no effect. +Il :ref:`Color` della luce nello spazio lineare. Il valore predefinito è bianco. Un colore nero fa sì che la luce non abbia alcun effetto. -This value is linear to match glTF, but will be converted to nonlinear sRGB when creating a Godot :ref:`Light3D` node upon import, or converted to linear when exporting a Godot :ref:`Light3D` to glTF. +Questo valore è lineare per corrispondere a glTF, ma sarà convertito in sRGB non lineare durante la creazione di un nodo :ref:`Light3D` di Godot durante l'importazione, o convertito in lineare all'esportazione di un :ref:`Light3D` di Godot in glTF. .. rst-class:: classref-item-separator @@ -110,7 +110,7 @@ This value is linear to match glTF, but will be converted to nonlinear sRGB when L'angolo interno del cono in un riflettore. Deve essere minore o uguale all'angolo del cono esterno. -All'interno di questo angolo, la luce è a piena luminosità. Tra gli angoli del cono interno ed esterno, c'è una transizione dalla piena luminosità alla luminosità zero. Quando si crea un :ref:`SpotLight3D` di Godot, il rapporto tra gli angoli del cono interno ed esterno viene utilizzato per calcolare l'attenuazione della luce. +All'interno di questo angolo, la luce è a piena luminosità. Tra gli angoli del cono interno ed esterno, c'è una transizione dalla piena luminosità alla luminosità zero. Quando si crea un :ref:`SpotLight3D` di Godot, il rapporto tra gli angoli del cono interno ed esterno serve per calcolare l'attenuazione della luce. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gltfnode.rst b/classes/it/class_gltfnode.rst index 0dd9b54503..904d9ac83c 100644 --- a/classes/it/class_gltfnode.rst +++ b/classes/it/class_gltfnode.rst @@ -309,7 +309,7 @@ Se questo nodo glTF ha una skin, l'indice della :ref:`GLTFSkin` - |void| **set_visible**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_visible**\ (\ ) -If ``true``, the GLTF node is visible. If ``false``, the GLTF node is not visible. This is translated to the :ref:`Node3D.visible` property in the Godot scene, and is exported to ``KHR_node_visibility`` when ``false``. +Se ``true``, il nodo GLTF è visibile. Se ``false``, il nodo GLTF non è visibile. Questo viene tradotto nella proprietà :ref:`Node3D.visible` nella scena Godot e viene esportato in ``KHR_node_visibility`` se ``false``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gltfstate.rst b/classes/it/class_gltfstate.rst index 06ca25549e..b758db5630 100644 --- a/classes/it/class_gltfstate.rst +++ b/classes/it/class_gltfstate.rst @@ -237,7 +237,7 @@ Gli FPS di elaborazione dell'animazione per l'importazione o l'esportazione. - |void| **set_base_path**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_base_path**\ (\ ) -Il percorso della cartella associato a questi dati glTF. È utilizzato per trovare altri file a cui fa riferimento il file glTF, come immagini o buffer binari. Sarà impostato durante l'importazione quando si aggiunge da un file e sarà impostato durante l'esportazione quando si scrive su un file. +Il percorso della cartella associato a questi dati glTF. Serve per trovare altri file a cui fa riferimento il file glTF, come immagini o buffer binari. Sarà impostato durante l'importazione quando si aggiunge da un file e sarà impostato durante l'esportazione quando si scrive su un file. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gpuparticlescollisionheightfield3d.rst b/classes/it/class_gpuparticlescollisionheightfield3d.rst index 2654b54134..58c5c09c3b 100644 --- a/classes/it/class_gpuparticlescollisionheightfield3d.rst +++ b/classes/it/class_gpuparticlescollisionheightfield3d.rst @@ -7,18 +7,18 @@ GPUParticlesCollisionHeightField3D **Eredita:** :ref:`GPUParticlesCollision3D` **<** :ref:`VisualInstance3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -Una forma di collisione di particelle 3D a forma di mappa di altezza in tempo reale che influenza i nodi :ref:`GPUParticles3D`. +Una forma di collisione di particelle 3D a forma di heightmap in tempo reale che influenza i nodi :ref:`GPUParticles3D`. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Una forma di collisione di particelle 3D a forma di mappa d'altezza in tempo reale che influenza i nodi :ref:`GPUParticles3D`. +Una forma di collisione di particelle 3D a forma di heightmap in tempo reale che influenza i nodi :ref:`GPUParticles3D`. Le forme heightmap consentono di rappresentare in modo efficiente le collisioni per oggetti convessi e concavi con un singolo "piano" (come il terreno). Questo è meno flessibile di :ref:`GPUParticlesCollisionSDF3D`, ma non richiede una fase di precalcolo. -\ **GPUParticlesCollisionHeightField3D** può anche essere rigenerato in tempo reale quando viene spostato, quando la telecamera si muove o persino in modo continuo. Ciò rende **GPUParticlesCollisionHeightField3D** una buona scelta per effetti meteorologici come pioggia e neve e giochi con geometria altamente dinamica. Tuttavia, questa classe è limitata poiché le mappa di altezza non possono rappresentare sporgenze (ad esempio al chiuso o nelle grotte). +\ **GPUParticlesCollisionHeightField3D** può anche essere rigenerato in tempo reale quando viene spostato, quando la telecamera si muove o persino in modo continuo. Ciò rende **GPUParticlesCollisionHeightField3D** una buona scelta per effetti meteorologici come pioggia e neve e giochi con geometria altamente dinamica. Tuttavia, questa classe è limitata poiché le heightmap non possono rappresentare sporgenze (ad esempio al chiuso o nelle grotte). \ **Nota:** :ref:`ParticleProcessMaterial.collision_mode` deve essere ``true`` sul materiale di processo di :ref:`GPUParticles3D` affinché la collisione funzioni. @@ -79,7 +79,7 @@ enum **Resolution**: :ref:`🔗` **RESOLUTION_256** = ``0`` -Genera una mappa di altezza 256×256. Pensata per scene su piccola scala o scene più grandi senza particelle distanti. +Genera una heightmap di 256×256. Pensata per scene su piccola scala o scene più grandi senza particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_512: @@ -87,7 +87,7 @@ Genera una mappa di altezza 256×256. Pensata per scene su piccola scala o scene :ref:`Resolution` **RESOLUTION_512** = ``1`` -Genera una mappa di altezza 512×512. Pensata per scene di media scala o scene più grandi senza particelle distanti. +Genera una heightmap di 512×512. Pensata per scene di media scala o scene più grandi senza particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_1024: @@ -95,7 +95,7 @@ Genera una mappa di altezza 512×512. Pensata per scene di media scala o scene p :ref:`Resolution` **RESOLUTION_1024** = ``2`` -Genera una mappa di altezza 1024×1024. Pensata per scene di grandi dimensioni con particelle distanti. +Genera una heightmap di 1024×1024. Pensata per scene di grandi dimensioni con particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_2048: @@ -103,7 +103,7 @@ Genera una mappa di altezza 1024×1024. Pensata per scene di grandi dimensioni c :ref:`Resolution` **RESOLUTION_2048** = ``3`` -Genera una mappa di altezza 2048×2048. Pensata per scene molto grandi con particelle distanti. +Genera una heightmap di 2048×2048. Pensata per scene molto grandi con particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_4096: @@ -111,7 +111,7 @@ Genera una mappa di altezza 2048×2048. Pensata per scene molto grandi con parti :ref:`Resolution` **RESOLUTION_4096** = ``4`` -Genera una mappa di altezza 4096×4096. Pensata per scene enormi con particelle distanti. +Genera una heightmap di 4096×4096. Pensata per scene enormi con particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_8192: @@ -119,7 +119,7 @@ Genera una mappa di altezza 4096×4096. Pensata per scene enormi con particelle :ref:`Resolution` **RESOLUTION_8192** = ``5`` -Genera una mappa di altezza 8192×8192. Pensata per scene gigantesche con particelle distanti. +Genera una heightmap di 8192×8192. Pensata per scene gigantesche con particelle distanti. .. _class_GPUParticlesCollisionHeightField3D_constant_RESOLUTION_MAX: @@ -145,7 +145,7 @@ enum **UpdateMode**: :ref:`🔗` **UPDATE_MODE_WHEN_MOVED** = ``0`` -Aggiorna la mappa di altezza solo quando il nodo **GPUParticlesCollisionHeightField3D** viene spostato o quando la telecamera si sposta se :ref:`follow_camera_enabled` è ``true``. Un aggiornamento può essere forzato spostando leggermente **GPUParticlesCollisionHeightField3D** in qualsiasi direzione o chiamando :ref:`RenderingServer.particles_collision_height_field_update()`. +Aggiorna la heightmap solo quando il nodo **GPUParticlesCollisionHeightField3D** viene spostato, o quando la telecamera si sposta se :ref:`follow_camera_enabled` è ``true``. È possibile forzare un aggiornamento spostando leggermente il **GPUParticlesCollisionHeightField3D** in qualsiasi direzione o chiamando :ref:`RenderingServer.particles_collision_height_field_update()`. .. _class_GPUParticlesCollisionHeightField3D_constant_UPDATE_MODE_ALWAYS: @@ -153,7 +153,7 @@ Aggiorna la mappa di altezza solo quando il nodo **GPUParticlesCollisionHeightFi :ref:`UpdateMode` **UPDATE_MODE_ALWAYS** = ``1`` -Aggiorna la mappa di altezza a ogni frame. Ciò ha un costo notevole in termini di prestazioni. Questo aggiornamento dovrebbe essere utilizzato solo quando la geometria con cui le particelle possono collidere cambia in modo significativo durante il gioco. +Aggiorna la heightmap a ogni frame. Ciò ha un impatto notevole sulle prestazioni. Questo aggiornamento si dovrebbe utilizzare solo quando la geometria con cui le particelle possono collidere cambia significativamente durante il gioco. .. rst-class:: classref-section-separator @@ -177,7 +177,7 @@ Descrizioni delle proprietà Se ``true``, **GPUParticlesCollisionHeightField3D** seguirà la telecamera attuale nello spazio globale. **GPUParticlesCollisionHeightField3D** non deve essere un nodo figlio del nodo :ref:`Camera3D` affinché questo funzioni. -Seguire la telecamera ha un costo in termini di prestazioni, poiché costringerà la mappa di altezza ad aggiornarsi ogni volta che la telecamera si muove. Considera di abbassare :ref:`resolution` per migliorare le prestazioni se :ref:`follow_camera_enabled` è ``true``. +Seguire la telecamera ha un costo in termini di prestazioni, poiché costringerà la heightmap ad aggiornarsi ogni volta che la telecamera si muove. Considera di abbassare :ref:`resolution` per migliorare le prestazioni se :ref:`follow_camera_enabled` è ``true``. .. rst-class:: classref-item-separator @@ -232,7 +232,7 @@ Le risoluzioni più elevate possono rappresentare piccoli dettagli in modo più - |void| **set_size**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_size**\ (\ ) -La dimensione della mappa di altezza della collisione in unità 3D. Per migliorare la qualità della mappa di altezza, :ref:`size` dovrebbe essere impostato il più piccolo possibile, coprendo le parti della scena di cui hai bisogno. +La dimensione della heightmap di collisione in unità 3D. Per migliorare la qualità della heightmap, :ref:`size` dovrebbe essere impostato il più piccolo possibile, coprendo le parti della scena di cui hai bisogno. .. rst-class:: classref-item-separator @@ -249,7 +249,7 @@ La dimensione della mappa di altezza della collisione in unità 3D. Per migliora - |void| **set_update_mode**\ (\ value\: :ref:`UpdateMode`\ ) - :ref:`UpdateMode` **get_update_mode**\ (\ ) -Il criterio di aggiornamento da usare per la mappa di altezza generata. +Il criterio di aggiornamento da usare per la heightmap generata. .. rst-class:: classref-section-separator diff --git a/classes/it/class_gradient.rst b/classes/it/class_gradient.rst index 547189b95c..3f55f51528 100644 --- a/classes/it/class_gradient.rst +++ b/classes/it/class_gradient.rst @@ -309,7 +309,7 @@ Inverte/specchia il gradiente. :ref:`Color` **sample**\ (\ offset\: :ref:`float`\ ) :ref:`🔗` -Returns the interpolated color specified by ``offset``. ``offset`` should be between ``0.0`` and ``1.0`` (inclusive). Using a value lower than ``0.0`` will return the same color as ``0.0``, and using a value higher than ``1.0`` will return the same color as ``1.0``. If your input value is not within this range, consider using :ref:`@GlobalScope.remap()` on the input value with output values set to ``0.0`` and ``1.0``. +Restituisce il colore interpolato specificato da ``offset``. ``offset`` deve essere compreso tra ``0.0`` e ``1.0`` (inclusi). Usando un valore inferiore a ``0.0`` sarà restituito lo stesso colore di ``0.0``, mentre usando un valore superiore a ``1.0`` sarà restituito lo stesso colore di ``1.0``. Se il valore in ingresso non rientra in questo intervallo, si consiglia di utilizzare :ref:`@GlobalScope.remap()` sul valore di input con i valori di output impostati su ``0.0`` e ``1.0``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gradienttexture2d.rst b/classes/it/class_gradienttexture2d.rst index e316edd6f7..a072551d9a 100644 --- a/classes/it/class_gradienttexture2d.rst +++ b/classes/it/class_gradienttexture2d.rst @@ -14,9 +14,9 @@ Una texture 2D che crea un motivo con colori ottenuti da un :ref:`Gradient` to fill the texture data. This texture is able to transform a color transition into different patterns such as a linear or a radial gradient. The texture is filled by interpolating colors starting from :ref:`fill_from` to :ref:`fill_to` offsets by default, but the gradient fill can be repeated to cover the entire texture. +Una texture 2D che ottiene colori da un :ref:`Gradient` per riempire i dati della texture. Questa texture è in grado di trasformare una transizione di colore in diversi motivi, come un gradiente lineare o radiale. Come predefinito, la texture è riempita interpolando i colori a partire dagli offset :ref:`fill_from` a :ref:`fill_to`, ma il riempimento del gradiente si può ripetere per coprire l'intera texture. -The gradient is sampled individually for each pixel so it does not necessarily represent an exact copy of the gradient (see :ref:`width` and :ref:`height`). See also :ref:`GradientTexture1D`, :ref:`CurveTexture` and :ref:`CurveXYZTexture`. +Il gradiente è campionato individualmente per ogni pixel, quindi non rappresenta necessariamente una copia esatta del gradiente (vedi :ref:`width` e :ref:`height`). Vedi anche :ref:`GradientTexture1D`, :ref:`CurveTexture` e :ref:`CurveXYZTexture`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_graphedit.rst b/classes/it/class_graphedit.rst index 28f621eee5..6b8677b033 100644 --- a/classes/it/class_graphedit.rst +++ b/classes/it/class_graphedit.rst @@ -16,13 +16,13 @@ Un editor per strutture simili a grafici, che utilizza :ref:`GraphNode`. Ogni :ref:`GraphNode` rappresenta un nodo nel grafico, una singola unità di dati nello schema connesso. **GraphEdit**, a sua volta, aiuta a controllare varie interazioni con i nodi e tra i nodi. Quando l'utente tenta di connettere, disconnettere o eliminare un :ref:`GraphNode`, un segnale viene emesso nel **GraphEdit**, ma non viene intrapresa alcuna azione per impostazione predefinita. È la responsabilità del programmatore che utilizza questo controllo di implementare la logica necessaria per gestire ciascuna richiesta. +\ **GraphEdit** di per sé è solo un contenitore vuoto, che rappresenta una griglia infinita in cui si possono posizionare i :ref:`GraphNode`. Ogni :ref:`GraphNode` rappresenta un nodo nel grafico, una singola unità di dati nello schema collegato. **GraphEdit**, a sua volta, aiuta a controllare varie interazioni con i nodi e tra i nodi. Quando l'utente tenta di collegare, scollegare o eliminare un :ref:`GraphNode`, un segnale viene emesso nel **GraphEdit**, ma non viene intrapresa alcuna azione predefinita. È la responsabilità del programmatore che utilizza questo controllo di implementare la logica necessaria per gestire ciascuna richiesta. -\ **Prestazioni:** Si consiglia vivamente di abilitare la modalità di utilizzo a basso processore (vedi :ref:`OS.low_processor_usage_mode`) quando si utilizzano i GraphEdit. +\ **Prestazioni:** Si consiglia vivamente di abilitare la modalità di utilizzo a basso consumo (vedi :ref:`OS.low_processor_usage_mode`) quando si utilizzano i GraphEdit. -\ **Nota:** Tieni presente che :ref:`Node.get_children()` restituirà anche il nodo del livello di connessione denominato ``_connection_layer`` a causa di limitazioni tecniche. Questo comportamento potrebbe cambiare nelle versioni future. +\ **Nota:** Tieni presente che :ref:`Node.get_children()` restituirà anche il nodo del livello di collegamento denominato ``_connection_layer`` a causa di limitazioni tecniche. Questo comportamento potrebbe cambiare nelle versioni future. .. rst-class:: classref-reftable-group @@ -573,9 +573,9 @@ Lo spessore delle linee tra i nodi. - |void| **set_connections**\ (\ value\: :ref:`Array`\[:ref:`Dictionary`\]\ ) - :ref:`Array`\[:ref:`Dictionary`\] **get_connection_list**\ (\ ) -Le connessioni tra i :ref:`GraphNode`. +I collegamenti tra i :ref:`GraphNode`. -Una connessione è rappresentata come :ref:`Dictionary` nel formato: +Un collegamento è rappresentato come :ref:`Dictionary` nel formato: :: @@ -587,7 +587,7 @@ Una connessione è rappresentata come :ref:`Dictionary` nel fo keep_alive: bool } -Le connessioni con ``keep_alive`` impostato su ``false`` potrebbero essere eliminate automaticamente se non valide durante un ridisegno. +I collegamenti con ``keep_alive`` impostato su ``false`` potrebbero essere eliminati automaticamente se non validi durante un ridisegno. .. rst-class:: classref-item-separator @@ -689,7 +689,7 @@ Definisce lo schema di controllo per la panoramica con la rotellina del mouse. - |void| **set_right_disconnects**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_right_disconnects_enabled**\ (\ ) -Se ``true``, abilita la disconnessione delle connessioni esistenti nel GraphEdit trascinando l'estremità destra. +Se ``true``, abilita lo scollegamento dei collegamenti esistenti nel GraphEdit trascinando l'estremità destra. .. rst-class:: classref-item-separator @@ -876,7 +876,7 @@ Se ``true``, l'aggancio è abilitato. - |void| **set_type_names**\ (\ value\: :ref:`Dictionary`\ ) - :ref:`Dictionary` **get_type_names**\ (\ ) -:ref:`Dictionary` of human readable port type names. +:ref:`Dictionary` di nomi di tipi di porte leggibili in chiaro. .. rst-class:: classref-item-separator @@ -961,7 +961,7 @@ Descrizioni dei metodi :ref:`PackedVector2Array` **_get_connection_line**\ (\ from_position\: :ref:`Vector2`, to_position\: :ref:`Vector2`\ ) |virtual| |const| :ref:`🔗` -Metodo virtuale che può essere sovrascritto per personalizzare il modo in cui vengono disegnate le connessioni. +Metodo virtuale che può essere sovrascritto per personalizzare il modo in cui sono disegnati i collegamenti. .. rst-class:: classref-item-separator @@ -1021,11 +1021,11 @@ Di seguito è riportato un codice di esempio per iniziare: :ref:`bool` **_is_node_hover_valid**\ (\ from_node\: :ref:`StringName`, from_port\: :ref:`int`, to_node\: :ref:`StringName`, to_port\: :ref:`int`\ ) |virtual| :ref:`🔗` -Questo metodo virtuale può essere utilizzato per inserire un ulteriore rilevamento di errori mentre l'utente trascina una connessione su una porta valida. +Questo metodo virtuale si può utilizzare per inserire un ulteriore rilevamento di errori mentre l'utente trascina un collegamento su una porta valida. -Restituisci ``true`` se la connessione è effettivamente valida o restituisci ``false`` se la connessione è impossibile. Se la connessione è impossibile, non ci sarà aggancio alla porta e quindi nessuna richiesta di connessione sarà effettuata a tale porta. +Restituisci ``true`` se il collegamento è effettivamente valido o restituisci ``false`` se il collegamento è impossibile. Se il collegamento è impossibile, non ci sarà aggancio alla porta e quindi nessuna richiesta di collegamento sarà effettuata a tale porta. -In questo esempio, una connessione allo stesso nodo viene soppressa: +In questo esempio, un collegamento allo stesso nodo viene soppresso: .. tabs:: @@ -1054,7 +1054,7 @@ In questo esempio, una connessione allo stesso nodo viene soppressa: |void| **add_valid_connection_type**\ (\ from_type\: :ref:`int`, to_type\: :ref:`int`\ ) :ref:`🔗` -Consente la connessione tra due diversi tipi di porta. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. +Permette il collegamento tra due diversi tipi di porta. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. Vedi anche :ref:`is_valid_connection_type()` e :ref:`remove_valid_connection_type()`. @@ -1092,7 +1092,7 @@ Consente di disconnettere i nodi quando si trascina dalla porta destra dello slo |void| **arrange_nodes**\ (\ ) :ref:`🔗` -Riorganizza i nodi selezionati in una disposizione con incroci minimi tra le connessioni e spazi orizzontali e verticali uniformi tra i nodi. +Riorganizza i nodi selezionati in una disposizione con incroci minimi tra i collegamenti e spazi orizzontali e verticali uniformi tra i nodi. .. rst-class:: classref-item-separator @@ -1116,7 +1116,7 @@ Attacca l'elemento :ref:`GraphElement` ``element`` alla corn |void| **clear_connections**\ (\ ) :ref:`🔗` -Rimuove tutte le connessioni tra i nodi. +Rimuove tutti i collegamenti tra i nodi. .. rst-class:: classref-item-separator @@ -1128,9 +1128,9 @@ Rimuove tutte le connessioni tra i nodi. :ref:`Error` **connect_node**\ (\ from_node\: :ref:`StringName`, from_port\: :ref:`int`, to_node\: :ref:`StringName`, to_port\: :ref:`int`, keep_alive\: :ref:`bool` = false\ ) :ref:`🔗` -Crea una connessione tra la porta ``from_port`` del nodo :ref:`GraphNode` ``from_node`` e la porta ``to_port`` del :ref:`GraphNode` ``to_node``. Se la connessione esiste già, nessuna connessione viene creata. +Crea un collegamento tra la porta ``from_port`` del nodo :ref:`GraphNode` ``from_node`` e la porta ``to_port`` del :ref:`GraphNode` ``to_node``. Se il collegamento esiste già, nessun collegamento viene creato. -Le connessioni con ``keep_alive`` impostato su ``false`` potrebbero essere eliminate automaticamente se non valide durante un ridisegno. +I collegamenti con ``keep_alive`` impostato su ``false`` potrebbero essere eliminati automaticamente se non validi durante un ridisegno. .. rst-class:: classref-item-separator @@ -1154,7 +1154,7 @@ Stacca l'elemento :ref:`GraphElement` ``element`` dal :ref:` |void| **disconnect_node**\ (\ from_node\: :ref:`StringName`, from_port\: :ref:`int`, to_node\: :ref:`StringName`, to_port\: :ref:`int`\ ) :ref:`🔗` -Rimuove una connessione tra la porta ``from_port`` del nodo :ref:`GraphNode` ``from_node`` e la porta ``to_port`` del :ref:`GraphNode` ``to_node``. Se la connessione non esiste, nessuna connessione viene rimossa. +Rimuove un collegamento tra la porta ``from_port`` del nodo :ref:`GraphNode` ``from_node`` e la porta ``to_port`` del :ref:`GraphNode` ``to_node``. Se il collegamento non esiste, nessun collegamento viene rimosso. .. rst-class:: classref-item-separator @@ -1166,11 +1166,11 @@ Rimuove una connessione tra la porta ``from_port`` del nodo :ref:`GraphNode` -Termina la creazione della connessione attuale. In altre parole, se si sta trascinando una connessione è possibile usare questo metodo per interrompere il processo e rimuovere la linea che seguiva il cursore. +Termina la creazione del collegamento attuale. In altre parole, se si sta trascinando un collegamento è possibile usare questo metodo per interrompere il processo e rimuovere la linea che seguiva il cursore. È meglio usarlo insieme a :ref:`connection_drag_started` e :ref:`connection_drag_ended` per implementare un comportamento personalizzato come l'aggiunta di nodi attraverso scorciatoie. -\ **Nota:** Questo metodo sopprime qualsiasi altro segnale di richiesta di connessione tranne :ref:`connection_drag_ended`. +\ **Nota:** Questo metodo sopprime qualsiasi altro segnale di richiesta di collegamento tranne :ref:`connection_drag_ended`. .. rst-class:: classref-item-separator @@ -1194,9 +1194,9 @@ Restituisce un array di nomi dei nodi associati al :ref:`GraphFrame` **get_closest_connection_at_point**\ (\ point\: :ref:`Vector2`, max_distance\: :ref:`float` = 4.0\ ) |const| :ref:`🔗` -Restituisce la connessione più vicina al punto specificato nello spazio dello schermo. Se nessuna connessione viene trovata entro ``max_distance`` pixel, viene restituito un :ref:`Dictionary` vuoto. +Restituisce il collegamento più vicino al punto specificato nello spazio dello schermo. Se nessun collegamento viene trovato entro ``max_distance`` pixel, viene restituito un :ref:`Dictionary` vuoto. -Una connessione è rappresentata come :ref:`Dictionary` nel formato: +Un collegamento è rappresentato come :ref:`Dictionary` nel formato: :: @@ -1208,7 +1208,7 @@ Una connessione è rappresentata come :ref:`Dictionary` nel fo keep_alive: bool } -Ad esempio, è possibile ottenere una connessione a una determinata posizione del mouse in questo modo: +Ad esempio, è possibile ottenere un collegamento a una determinata posizione del mouse in questo modo: .. tabs:: @@ -1229,7 +1229,7 @@ Ad esempio, è possibile ottenere una connessione a una determinata posizione de :ref:`int` **get_connection_count**\ (\ from_node\: :ref:`StringName`, from_port\: :ref:`int`\ ) :ref:`🔗` -Restituisce il numero di connessioni dalla porta ``from_port`` del nodo ``from_node``. +Restituisce il numero di collegamenti dalla porta ``from_port`` del nodo ``from_node``. .. rst-class:: classref-item-separator @@ -1241,7 +1241,7 @@ Restituisce il numero di connessioni dalla porta ``from_port`` del nodo ``from_n :ref:`PackedVector2Array` **get_connection_line**\ (\ from_node\: :ref:`Vector2`, to_node\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Restituisce i punti che comporrebbero una connessione tra il nodo ``from_node`` e il nodo ``to_node``. +Restituisce i punti che comporrebbero un collegamento tra il nodo ``from_node`` e il nodo ``to_node``. .. rst-class:: classref-item-separator @@ -1253,9 +1253,9 @@ Restituisce i punti che comporrebbero una connessione tra il nodo ``from_node`` :ref:`Array`\[:ref:`Dictionary`\] **get_connection_list_from_node**\ (\ node\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns an :ref:`Array` containing a list of all connections for ``node``. +Restituisce un :ref:`Array` contenente un elenco di tutti collegamenti per ``node``. -A connection is represented as a :ref:`Dictionary` in the form of: +Un collegamento è rappresentata come un :ref:`Dictionary` nel formato: :: @@ -1267,7 +1267,7 @@ A connection is represented as a :ref:`Dictionary` in the form keep_alive: bool } -\ **Example:** Get all connections on a specific port: +\ **Esempio:** Ottieni tutti i collegamenti su una porta specifica: :: @@ -1298,9 +1298,9 @@ A connection is represented as a :ref:`Dictionary` in the form :ref:`Array`\[:ref:`Dictionary`\] **get_connections_intersecting_with_rect**\ (\ rect\: :ref:`Rect2`\ ) |const| :ref:`🔗` -Restituisce un :ref:`Array` contenente la lista delle connessioni che intersecano il :ref:`Rect2` fornito. +Restituisce un :ref:`Array` contenente la lista dei collegamenti che intersecano il :ref:`Rect2` fornito. -Una connessione è rappresentata come :ref:`Dictionary` nel formato: +Un collegamento è rappresentato come :ref:`Dictionary` nel formato: :: @@ -1360,7 +1360,7 @@ Restituisce ``true`` se la porta ``from_port`` del nodo :ref:`GraphNode` **is_valid_connection_type**\ (\ from_type\: :ref:`int`, to_type\: :ref:`int`\ ) |const| :ref:`🔗` -Restituisce se è possibile stabilire una connessione tra due diversi tipi di porta. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. +Restituisce se è possibile stabilire un collegamento tra due diversi tipi di porta. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. Vedi anche :ref:`add_valid_connection_type()` e :ref:`remove_valid_connection_type()`. @@ -1374,7 +1374,7 @@ Vedi anche :ref:`add_valid_connection_type()`, to_type\: :ref:`int`\ ) :ref:`🔗` -Impedisce la connessione tra due diversi tipi di porta consentiti in precedenza da :ref:`add_valid_connection_type()`. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. +Impedisce il collegamento tra due diversi tipi di porta consentiti in precedenza da :ref:`add_valid_connection_type()`. Il tipo di porta è definito individualmente per la porta sinistra e quella destra di ogni slot con il metodo :ref:`GraphNode.set_slot()`. Vedi anche :ref:`is_valid_connection_type()`. @@ -1388,7 +1388,7 @@ Vedi anche :ref:`is_valid_connection_type()`\ ) :ref:`🔗` -Impedisce di disconnettere i nodi quando si trascina dalla porta sinistra dello slot del :ref:`GraphNode` se ha il tipo specificato. Utilizza questo per disabilitare la disconnessione consentita in precedenza con :ref:`add_valid_left_disconnect_type()`. +Impedisce di scollegare i nodi quando si trascina dalla porta sinistra dello slot del :ref:`GraphNode` se ha il tipo specificato. Utilizza questo per disabilitare uno scollegamento consentito in precedenza con :ref:`add_valid_left_disconnect_type()`. .. rst-class:: classref-item-separator @@ -1400,7 +1400,7 @@ Impedisce di disconnettere i nodi quando si trascina dalla porta sinistra dello |void| **remove_valid_right_disconnect_type**\ (\ type\: :ref:`int`\ ) :ref:`🔗` -Impedisce di disconnettere i nodi quando si trascina dalla porta destra dello slot del :ref:`GraphNode` se ha il tipo specificato. Utilizza questo per disabilitare la disconnessione consentita in precedenza con :ref:`add_valid_right_disconnect_type()`. +Impedisce di scollegare i nodi quando si trascina dalla porta destra dello slot del :ref:`GraphNode` se ha il tipo specificato. Utilizza questo per disabilitare uno scollegamento consentito in precedenza con :ref:`add_valid_right_disconnect_type()`. .. rst-class:: classref-item-separator @@ -1412,7 +1412,7 @@ Impedisce di disconnettere i nodi quando si trascina dalla porta destra dello sl |void| **set_connection_activity**\ (\ from_node\: :ref:`StringName`, from_port\: :ref:`int`, to_node\: :ref:`StringName`, to_port\: :ref:`int`, amount\: :ref:`float`\ ) :ref:`🔗` -Imposta la colorazione della connessione tra la porta ``from_port`` del nodo ``from_node`` e la porta ``to_port`` del nodo ``to_node`` con il colore fornito nella proprietà del tema :ref:`activity`. Il colore è linearmente interpolato tra il colore della connessione e il colore di attività usando ``amount`` come peso. +Imposta la colorazione del collegamento tra la porta ``from_port`` del nodo ``from_node`` e la porta ``to_port`` del nodo ``to_node`` con il colore fornito nella proprietà del tema :ref:`activity`. Il colore è linearmente interpolato tra il colore del collegamento e il colore di attività usando ``amount`` come peso. .. rst-class:: classref-item-separator @@ -1441,7 +1441,7 @@ Descrizioni delle proprietà del tema :ref:`Color` **activity** = ``Color(1, 1, 1, 1)`` :ref:`🔗` -Il colore della linea di collegamento è interpolato in base al valore di attività di una connessione (vedi :ref:`set_connection_activity()`). +Il colore della linea di collegamento che è interpolato in base al valore di attività di un collegamento (vedi :ref:`set_connection_activity()`). .. rst-class:: classref-item-separator diff --git a/classes/it/class_graphframe.rst b/classes/it/class_graphframe.rst index c2a2d5ae20..bdf7d512ca 100644 --- a/classes/it/class_graphframe.rst +++ b/classes/it/class_graphframe.rst @@ -16,9 +16,9 @@ GraphFrame è un :ref:`GraphElement` speciale che può esser Descrizione ---------------------- -GraphFrame è un :ref:`GraphElement` speciale a cui possono essere attaccati altri :ref:`GraphElement`. Può essere configurato per ridimensionarsi automaticamente per racchiudere tutti i :ref:`GraphElement` attaccati. Se la cornice viene spostata, anche tutti i :ref:`GraphElement` attaccati al suo interno verranno spostati. +GraphFrame è un :ref:`GraphElement` speciale a cui è possibile attaccare altri :ref:`GraphElement`. Si può configurare per ridimensionarsi automaticamente per racchiudere tutti i :ref:`GraphElement` attaccati. Se la cornice è spostata, anche tutti i :ref:`GraphElement` attaccati al suo interno saranno spostati. -Un GraphFrame è sempre mantenuto dietro il livello di connessione e altri :ref:`GraphElement` all'interno di un :ref:`GraphEdit`. +Un GraphFrame è sempre mantenuto dietro il livello di collegamento e altri :ref:`GraphElement` all'interno di un :ref:`GraphEdit`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_graphnode.rst b/classes/it/class_graphnode.rst index 86871f6e92..e13f8dcb71 100644 --- a/classes/it/class_graphnode.rst +++ b/classes/it/class_graphnode.rst @@ -9,20 +9,20 @@ GraphNode **Eredita:** :ref:`GraphElement` **<** :ref:`Container` **<** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -Un contenitore con porte di connessione, che rappresenta un nodo in un :ref:`GraphEdit`. +Un contenitore con porte di collegamento, che rappresenta un nodo in un :ref:`GraphEdit`. .. rst-class:: classref-introduction-group Descrizione ---------------------- -**GraphNode** consente di creare nodi per un grafico :ref:`GraphEdit` con contenuti personalizzabili in base ai suoi controlli figlio. **GraphNode** deriva da :ref:`Container` ed è responsabile del posizionamento dei suoi figli sullo schermo. Funziona in modo simile a :ref:`VBoxContainer`. I figli, a loro volta, forniscono a **GraphNode** i cosiddetti slot, ognuno dei quali può avere una porta di connessione su entrambi i lati. +**GraphNode** consente di creare nodi per un grafico :ref:`GraphEdit` con contenuti personalizzabili in base ai suoi controlli figlio. **GraphNode** deriva da :ref:`Container` ed è responsabile del posizionamento dei suoi figli sullo schermo. Funziona in modo simile a :ref:`VBoxContainer`. I figli, a loro volta, forniscono a **GraphNode** i cosiddetti slot, ognuno dei quali può avere una porta di collegamento su entrambi i lati. -Ogni slot **GraphNode** è definito dal suo indice e può fornire al nodo fino a due porte: una a sinistra e una a destra. Per convenzione, la porta sinistra è anche definita **porta d'ingresso** e la porta destra è definita **porta d'uscita**. Ogni porta può essere abilitata e configurata individualmente, utilizzando un tipo e un colore diversi. Il tipo è un valore arbitrario che puoi definire come desiderato. Il :ref:`GraphEdit` genitore riceverà queste informazioni su ogni richiesta di connessione e disconnessione. +Ogni slot **GraphNode** è definito dal suo indice e può fornire al nodo fino a due porte: una a sinistra e una a destra. Per convenzione, la porta sinistra è anche definita **porta d'ingresso** e la porta destra è definita **porta d'uscita**. Ogni porta può essere abilitata e configurata individualmente, utilizzando un tipo e un colore diversi. Il tipo è un valore arbitrario che si può definire a piacere. Il :ref:`GraphEdit` padre riceverà queste informazioni su ogni richiesta di collegamento e scollegamento. -Gli slot possono essere configurati nel pannello dell'Ispettore una volta aggiunto almeno un :ref:`Control` figlio. Le proprietà sono raggruppate in base all'indice di ogni slot nella sezione "Slot". +Gli slot si possono configurare nel pannello dell'Ispettore una volta aggiunto almeno un :ref:`Control` figlio. Le proprietà sono raggruppate in base all'indice di ogni slot nella sezione "Slot". -\ **Nota:** Mentre GraphNode è impostato utilizzando slot e indici di slot, le connessioni sono effettuate tra le porte che sono abilitate. Per questo motivo :ref:`GraphEdit` utilizza l'indice della porta e non quello dello slot. Puoi utilizzare :ref:`get_input_port_slot()` e :ref:`get_output_port_slot()` per ottenere l'indice dello slot dall'indice della porta. +\ **Nota:** Mentre GraphNode è configurato tramite slot e indici di slot, i collegamenti sono effettuati tra le porte che sono abilitate. Per questo motivo :ref:`GraphEdit` utilizza l'indice della porta e non quello dello slot. È possibile usare :ref:`get_input_port_slot()` e :ref:`get_output_port_slot()` per ottenere l'indice dello slot dall'indice della porta. .. rst-class:: classref-reftable-group @@ -201,7 +201,7 @@ Descrizioni delle proprietà - |void| **set_ignore_invalid_connection_type**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_ignoring_valid_connection_type**\ (\ ) -Se ``true``, è possibile collegare porte con tipi diversi, anche se la connessione non è stata esplicitamente consentita nel :ref:`GraphEdit` padre. +Se ``true``, è possibile collegare porte con tipi diversi, anche se il collegamento non è stato esplicitamente consentito nel :ref:`GraphEdit` padre. .. rst-class:: classref-item-separator @@ -218,13 +218,13 @@ Se ``true``, è possibile collegare porte con tipi diversi, anche se la connessi - |void| **set_slots_focus_mode**\ (\ value\: :ref:`FocusMode`\ ) - :ref:`FocusMode` **get_slots_focus_mode**\ (\ ) -Determines how connection slots can be focused. +Determina come si possono focalizzare gli slot dei collegamenti. -- If set to :ref:`Control.FOCUS_CLICK`, connections can only be made with the mouse. +- Se impostato su :ref:`Control.FOCUS_CLICK`, i collegamenti si possono creare solo con il mouse. -- If set to :ref:`Control.FOCUS_ALL`, slots can also be focused using the :ref:`ProjectSettings.input/ui_up` and :ref:`ProjectSettings.input/ui_down` and connected using :ref:`ProjectSettings.input/ui_left` and :ref:`ProjectSettings.input/ui_right` input actions. +- Se impostato su :ref:`Control.FOCUS_ALL`, gli slot si possono focalizzare anche attraverso le azioni di input :ref:`ProjectSettings.input/ui_up` e :ref:`ProjectSettings.input/ui_down` e collegati attraverso le azioni di input :ref:`ProjectSettings.input/ui_left` e :ref:`ProjectSettings.input/ui_right`. -- If set to :ref:`Control.FOCUS_ACCESSIBILITY`, slot input actions are only enabled when the screen reader is active. +- Se impostato su :ref:`Control.FOCUS_ACCESSIBILITY`, le azioni di input per gli slot sono abilitate solo quando il lettore dello schermo è attivo. .. rst-class:: classref-item-separator @@ -538,15 +538,15 @@ Restituisce ``true`` se il lato a destra (uscita) dello slot con l'indice ``slot Imposta le proprietà dello slot con l'indice ``slot_index``. -Se ``enable_left_port``/``enable_right_port`` è ``true``, apparirà una porta e lo slot potrà essere connesso da questo lato. +Se ``enable_left_port``/``enable_right_port`` è ``true``, apparirà una porta e lo slot si potrà collegare da questo lato. -Con ``type_left``/``type_right`` è possibile assegnare un tipo arbitrario a ciascuna porta. È possibile connettere due porte se condividono lo stesso tipo o se la connessione tra i loro tipi è consentita nel :ref:`GraphEdit` padre (vedi :ref:`GraphEdit.add_valid_connection_type()`). Tieni presente che il :ref:`GraphEdit` ha l'ultima parola nell'accettare la connessione. La compatibilità di tipo consente semplicemente l'emissione del segnale :ref:`GraphEdit.connection_request`. +Con ``type_left``/``type_right`` è possibile assegnare un tipo arbitrario a ciascuna porta. È possibile collegare due porte se condividono lo stesso tipo o se il collegamento tra i loro tipi è consentito nel :ref:`GraphEdit` padre (vedi :ref:`GraphEdit.add_valid_connection_type()`). Tieni presente che il :ref:`GraphEdit` ha l'ultima parola nell'accettare il collegamento. La compatibilità di tipo consente semplicemente l'emissione del segnale :ref:`GraphEdit.connection_request`. -Le porte possono essere ulteriormente personalizzate attraverso ``color_left``/``color_right`` e ``custom_icon_left``/``custom_icon_right``. Il parametro color aggiunge una tinta all'icona. L'icona personalizzata può essere utilizzata per sovrascrivere il punto predefinito della porta. +È possibile personalizzare ulteriolmente le porte attraverso ``color_left``/``color_right`` e ``custom_icon_left``/``custom_icon_right``. Il parametro color aggiunge una tinta all'icona. L'icona personalizzata si può utilizzare per sovrascrivere il punto predefinito della porta. -Inoltre, ``draw_stylebox`` può essere utilizzato per abilitare o disabilitare il disegno dello stylebox di sfondo per ogni slot. Vedi :ref:`slot`. +Inoltre, ``draw_stylebox`` si può utilizzare per abilitare o disabilitare il disegno dello stylebox di sfondo per ogni slot. Vedi :ref:`slot`. -Le singole proprietà possono anche essere impostate attraverso uno dei metodi ``set_slot_*``. +Le singole proprietà si possono anche impostare attraverso uno dei metodi ``set_slot_*``. \ **Nota:** Questo metodo imposta solo le proprietà dello slot. Per creare lo slot stesso, aggiungi un figlio derivato da :ref:`Control` al GraphNode. diff --git a/classes/it/class_gridmap.rst b/classes/it/class_gridmap.rst index 469306922d..2f354836ed 100644 --- a/classes/it/class_gridmap.rst +++ b/classes/it/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: @@ -440,9 +440,9 @@ Restituisce il :ref:`RID` di una mesh elaborata con l'indice ``idx`` :ref:`Array` **get_bake_meshes**\ (\ ) :ref:`🔗` -Returns an array of :ref:`ArrayMesh`\ es and :ref:`Transform3D` references of all bake meshes that exist within the current GridMap. Even indices contain :ref:`ArrayMesh`\ es, while odd indices contain :ref:`Transform3D`\ s that are always equal to :ref:`Transform3D.IDENTITY`. +Restituisce un array di riferimenti :ref:`ArrayMesh` e :ref:`Transform3D` di tutte le mesh precalcolate presenti nella GridMap attuale. Gli indici pari contengono :ref:`ArrayMesh`, mentre gli indici dispari contengono :ref:`Transform3D` che sono sempre uguali a :ref:`Transform3D.IDENTITY`. -This method relies on the output of :ref:`make_baked_meshes()`, which will be called with ``gen_lightmap_uv`` set to ``true`` and ``lightmap_uv_texel_size`` set to ``0.1`` if it hasn't been called yet. +Questo metodo si basa sul risultato del metodo :ref:`make_baked_meshes()`, che verrà chiamato con ``gen_lightmap_uv`` impostato su ``true`` e ``lightmap_uv_texel_size`` impostato su ``0.1`` se non è ancora stato chiamato. .. rst-class:: classref-item-separator @@ -600,9 +600,9 @@ Restituisce le coordinate della mappa della cella contenente la posizione locale |void| **make_baked_meshes**\ (\ gen_lightmap_uv\: :ref:`bool` = false, lightmap_uv_texel_size\: :ref:`float` = 0.1\ ) :ref:`🔗` -Generates a baked mesh that represents all meshes in the assigned :ref:`MeshLibrary` for use with :ref:`LightmapGI`. If ``gen_lightmap_uv`` is ``true``, UV2 data will be generated for each mesh currently used in the **GridMap**. Otherwise, only meshes that already have UV2 data present will be able to use baked lightmaps. When generating UV2, ``lightmap_uv_texel_size`` controls the texel density for lightmaps, with lower values resulting in more detailed lightmaps. ``lightmap_uv_texel_size`` is ignored if ``gen_lightmap_uv`` is ``false``. See also :ref:`get_bake_meshes()`, which relies on the output of this method. +Genera una mesh precalcolata che rappresenta tutte le mesh nella :ref:`MeshLibrary` assegnata, da utilizzare con :ref:`LightmapGI`. Se ``gen_lightmap_uv`` è ``true``, i dati UV2 verranno generati per ogni mesh attualmente utilizzata nella **GridMap**. Altrimenti, solo le mesh che hanno già dati UV2 presenti potranno utilizzare le lightmap precalcolate. Durante la generazione di UV2, ``lightmap_uv_texel_size`` controlla la densità dei texel per le lightmap, con valori più bassi che producono lightmap più dettagliate. ``lightmap_uv_texel_size`` viene ignorato se ``gen_lightmap_uv`` è ``false``. Vedi anche :ref:`get_bake_meshes()`, che si basa sul risultato di questo metodo. -\ **Note:** Calling this method will not actually bake lightmaps, as lightmap baking is performed using the :ref:`LightmapGI` node. +\ **Nota:** La chiamata a questo metodo non preparerà le lightmap effettivamente, poiché la preparazione è eseguita attraverso il nodo :ref:`LightmapGI`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_gridmapeditorplugin.rst b/classes/it/class_gridmapeditorplugin.rst index 91dcceedd9..08892789c9 100644 --- a/classes/it/class_gridmapeditorplugin.rst +++ b/classes/it/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/it/class_heightmapshape3d.rst b/classes/it/class_heightmapshape3d.rst index 10ab86e705..ef2fb8a863 100644 --- a/classes/it/class_heightmapshape3d.rst +++ b/classes/it/class_heightmapshape3d.rst @@ -7,7 +7,7 @@ HeightMapShape3D **Eredita:** :ref:`Shape3D` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Una forma di mappa d'altezza 3D utilizzata per le collisioni fisiche. +Una forma di heightmap 3D utilizzata per le collisioni fisiche. .. rst-class:: classref-introduction-group @@ -88,7 +88,7 @@ Descrizioni delle proprietà - |void| **set_map_data**\ (\ value\: :ref:`PackedFloat32Array`\ ) - :ref:`PackedFloat32Array` **get_map_data**\ (\ ) -Dati della mappa d'altezza. La dimensione dell'array deve essere uguale a :ref:`map_width` moltiplicato per :ref:`map_depth`. +Dati della heightmap. La dimensione dell'array deve essere uguale a :ref:`map_width` moltiplicato per :ref:`map_depth`. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedFloat32Array` for more details. @@ -107,7 +107,7 @@ Dati della mappa d'altezza. La dimensione dell'array deve essere uguale a :ref:` - |void| **set_map_depth**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_map_depth**\ (\ ) -Numero di vertici nella profondità della mappa d'altezza. Modificando questa proprietà, si ridimensionerà :ref:`map_data`. +Numero di vertici nella profondità della heightmap. Modificando questa proprietà, si ridimensionerà :ref:`map_data`. .. rst-class:: classref-item-separator @@ -124,7 +124,7 @@ Numero di vertici nella profondità della mappa d'altezza. Modificando questa pr - |void| **set_map_width**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_map_width**\ (\ ) -Numero di vertici nella larghezza della mappa d'altezza. Modificando questa proprietà, si ridimensionerà :ref:`map_data`. +Numero di vertici nella larghezza della heightmap. Modificando questa proprietà, si ridimensionerà :ref:`map_data`. .. rst-class:: classref-section-separator @@ -165,13 +165,13 @@ Restituisce il valore di altezza più piccolo trovato in :ref:`map_data`, height_min\: :ref:`float`, height_max\: :ref:`float`\ ) :ref:`🔗` -Updates :ref:`map_data` with data read from an :ref:`Image` reference. Automatically resizes heightmap :ref:`map_width` and :ref:`map_depth` to fit the full image width and height. +Aggiorna :ref:`map_data` con i dati letti da un riferimento :ref:`Image`. Ridimensiona automaticamente :ref:`map_width` e :ref:`map_depth` della heightmap per adattarle alla larghezza e all'altezza complete dell'immagine. -The image needs to be in either :ref:`Image.FORMAT_RF` (32 bit), :ref:`Image.FORMAT_RH` (16 bit), or :ref:`Image.FORMAT_R8` (8 bit). +L'immagine deve essere in formato :ref:`Image.FORMAT_RF` (32 bit), :ref:`Image.FORMAT_RH` (16 bit) o :ref:`Image.FORMAT_R8` (8 bit). -Each image pixel is read in as a float on the range from ``0.0`` (black pixel) to ``1.0`` (white pixel). This range value gets remapped to ``height_min`` and ``height_max`` to form the final height value. +Ogni pixel dell'immagine viene letto come float nell'intervallo da ``0.0`` (pixel nero) a ``1.0`` (pixel bianco). Questo valore di intervallo viene rimappato da ``height_min`` a ``height_max`` per formare il valore di altezza finale. -\ **Note:** Using a heightmap with 16-bit or 32-bit data, stored in EXR or HDR format is recommended. Using 8-bit height data, or a format like PNG that Godot imports as 8-bit, will result in a terraced terrain. +\ **Nota:** Si consiglia di utilizzare una heightmap con dati a 16 o 32 bit, memorizzati in formato EXR o HDR. Utilizzare dati di altezza a 8 bit, o in un formato come PNG che Godot importa come 8 bit, risulterà in terreno terrazzato. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_input.rst b/classes/it/class_input.rst index cfb2fc460f..d33071a2c6 100644 --- a/classes/it/class_input.rst +++ b/classes/it/class_input.rst @@ -671,23 +671,23 @@ Su Windows, tutti i GUID dei joypad XInput saranno sovrascritti da Godot in ``__ :ref:`Dictionary` **get_joy_info**\ (\ device\: :ref:`int`\ ) |const| :ref:`🔗` -Returns a dictionary with extra platform-specific information about the device, e.g. the raw gamepad name from the OS or the Steam Input index. +Restituisce un dizionario con ulteriori informazioni sul dispositivo, specifiche per la piattaforma, ad esempio il nome grezzo del gamepad dal sistema operativo o l'indice per Steam Input. -On Windows, Linux, and macOS, the dictionary contains the following fields: +Su Windows, Linux e macOS il dizionario contiene i seguenti campi: -\ ``raw_name``: The name of the controller as it came from the OS, before getting renamed by the controller database. +\ ``raw_name``: Il nome del controller così come è stato fornito dall'OS, prima di essere rinominato dal database dei controller. -\ ``vendor_id``: The USB vendor ID of the device. +\ ``vendor_id``: L'ID fornitore USB del dispositivo. -\ ``product_id``: The USB product ID of the device. +\ ``product_id``: l'ID prodotto USB del dispositivo. -\ ``steam_input_index``: The Steam Input gamepad index, if the device is not a Steam Input device this key won't be present. +\ ``steam_input_index``: l'indice Steam Input del gamepad, se il dispositivo non è un dispositivo Steam Input questa chiave non sarà presente. -On Windows, the dictionary can have an additional field: +Su Windows, il dizionario può avere un ulteriore campo: -\ ``xinput_index``: The index of the controller in the XInput system. This key won't be present for devices not handled by XInput. +\ ``xinput_index``: l'indice del controller nel sistema XInput. Questa chiave non sarà presente sui dispositivi non gestiti da XInput. -\ **Note:** The returned dictionary is always empty on Android, iOS, visionOS, and Web. +\ **Nota:** Il dizionario restituito è sempre vuoto su Android, iOS, visionOS e Web. .. rst-class:: classref-item-separator @@ -825,15 +825,15 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref: :ref:`bool` **is_action_just_pressed_by_event**\ (\ action\: :ref:`StringName`, event\: :ref:`InputEvent`, exact_match\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` when the user has *started* pressing the action event in the current frame or physics tick, and the first event that triggered action press in the current frame/physics tick was ``event``. It will only return ``true`` on the frame or tick that the user pressed down the button. +Restituisce ``true`` quando l'utente ha *iniziato* a premere l'evento d'azione nel frame o nel tick di fisica attuale. Restituirà ``true`` solo sul frame o sul tick in cui l'utente ha premuto il pulsante. -This is useful for code that needs to run only once when an action is pressed, and the action is processed during input handling (e.g. :ref:`Node._input()`). +Questo è utile per codice che bisogna eseguire solo una volta quando viene premuta un'azione, anziché a ogni frame mentre viene premuta. -If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey` and :ref:`InputEventMouseButton` events, and the direction for :ref:`InputEventJoypadMotion` events. +Se ``exact_match`` è ``false``, ignora i modificatori aggiuntivi di input per gli eventi :ref:`InputEventKey` e :ref:`InputEventMouseButton` e la direzione per gli eventi :ref:`InputEventJoypadMotion`. -\ **Note:** Returning ``true`` does not imply that the action is *still* pressed. An action can be pressed and released again rapidly, and ``true`` will still be returned so as not to miss input. +\ **Nota:** Restituire ``true`` non significa che l'azione sia *ancora* premuta. Un'azione può essere premuta e rilasciata di nuovo rapidamente e ``true`` verrà comunque restituito per non perdere gli input. -\ **Note:** Due to keyboard ghosting, :ref:`is_action_just_pressed()` may return ``false`` even if one of the action's keys is pressed. See `Input examples <../tutorials/inputs/input_examples.html#keyboard-events>`__ in the documentation for more information. +\ **Nota:** A causa di ghosting per le tastiere, :ref:`is_action_just_pressed()` potrebbe restituire ``false`` anche se viene premuto uno dei tasti dell'azione. Consulta `Esempi di input <../tutorials/inputs/input_examples.html#keyboard-events>`__ nella documentazione per maggiori informazioni. .. rst-class:: classref-item-separator @@ -863,13 +863,15 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref: :ref:`bool` **is_action_just_released_by_event**\ (\ action\: :ref:`StringName`, event\: :ref:`InputEvent`, exact_match\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Returns ``true`` when the user *stops* pressing the action event in the current frame or physics tick, and the first event that triggered action release in the current frame/physics tick was ``event``. It will only return ``true`` on the frame or tick that the user releases the button. +Restituisce ``true`` quando l'utente ha *finito* di premere l'evento azione nel frame o nel tick di fisica attuale, e il primo evento che ha attivato il rilascio dell'azione nel frame/tick di fisica attuale è stato ``event``. -This is useful when an action is processed during input handling (e.g. :ref:`Node._input()`). +Restituirà ``true`` solo sul frame o sul tick in cui l'utente ha rilasciato il pulsante. -\ **Note:** Returning ``true`` does not imply that the action is *still* not pressed. An action can be released and pressed again rapidly, and ``true`` will still be returned so as not to miss input. +Ciò è utile quando un'azione è elaborata durante la gestione degli input (ad esempio :ref:`Node._input()`). -If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey` and :ref:`InputEventMouseButton` events, and the direction for :ref:`InputEventJoypadMotion` events. +\ **Nota:** Restituire ``true`` non significa che l'azione non sia *ancora* premuta. Un'azione può essere premuta e rilasciata di nuovo rapidamente e ``true`` verrà comunque restituito per non perdere gli input. + +Se ``exact_match`` è ``false``, ignora i modificatori aggiuntivi di input per gli eventi :ref:`InputEventKey` e :ref:`InputEventMouseButton` e la direzione per gli eventi :ref:`InputEventJoypadMotion`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_inputevent.rst b/classes/it/class_inputevent.rst index 67430d1413..7502ae5d58 100644 --- a/classes/it/class_inputevent.rst +++ b/classes/it/class_inputevent.rst @@ -219,7 +219,7 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref: :ref:`bool` **is_action_type**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if this input event's type is one that can be assigned to an input action: :ref:`InputEventKey`, :ref:`InputEventMouseButton`, :ref:`InputEventJoypadButton`, :ref:`InputEventJoypadMotion`, :ref:`InputEventAction`. Returns ``false`` for all other input event types. +Restituisce ``true`` se il tipo di questo evento di input è uno che si può assegnare a un'azione di input: :ref:`InputEventKey`, :ref:`InputEventMouseButton`, :ref:`InputEventJoypadButton`, :ref:`InputEventJoypadMotion`, :ref:`InputEventAction`. Restituisce ``false`` per tutti gli altri tipi di evento di input. .. rst-class:: classref-item-separator diff --git a/classes/it/class_inputeventaction.rst b/classes/it/class_inputeventaction.rst index 7b6b0eb685..e4c1c3074d 100644 --- a/classes/it/class_inputeventaction.rst +++ b/classes/it/class_inputeventaction.rst @@ -67,7 +67,7 @@ Descrizioni delle proprietà - |void| **set_action**\ (\ value\: :ref:`StringName`\ ) - :ref:`StringName` **get_action**\ (\ ) -The action's name. This is usually the name of an existing action in the :ref:`InputMap` which you want this custom event to match. +Il nome dell'azione. Di solito è il nome di un'azione esistente nell':ref:`InputMap` a cui si desidera che questo evento personalizzato corrisponda. .. rst-class:: classref-item-separator diff --git a/classes/it/class_inputeventjoypadbutton.rst b/classes/it/class_inputeventjoypadbutton.rst index 12e520a355..1a5a1e92be 100644 --- a/classes/it/class_inputeventjoypadbutton.rst +++ b/classes/it/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/it/class_inputeventjoypadmotion.rst b/classes/it/class_inputeventjoypadmotion.rst index 640184637d..52b03f6983 100644 --- a/classes/it/class_inputeventjoypadmotion.rst +++ b/classes/it/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: @@ -60,7 +60,7 @@ Descrizioni delle proprietà - |void| **set_axis**\ (\ value\: :ref:`JoyAxis`\ ) - :ref:`JoyAxis` **get_axis**\ (\ ) -Axis identifier. +Identificatore dell'asse. .. rst-class:: classref-item-separator diff --git a/classes/it/class_inputeventkey.rst b/classes/it/class_inputeventkey.rst index 9ee727bc08..c30d8487de 100644 --- a/classes/it/class_inputeventkey.rst +++ b/classes/it/class_inputeventkey.rst @@ -124,7 +124,7 @@ Per ottenere una rappresentazione leggibile in chiaro dell'**InputEventKey**, ut +-----+ +-----+ | Q | | Q | - "Q" - keycode - | Й | | ض | - "Й" and "ض" - key_label + | Й | | ض | - "Й" e "ض" - key_label +-----+ +-----+ .. rst-class:: classref-item-separator diff --git a/classes/it/class_inputeventmousebutton.rst b/classes/it/class_inputeventmousebutton.rst index dc1eb78249..b87e8daeaa 100644 --- a/classes/it/class_inputeventmousebutton.rst +++ b/classes/it/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/it/class_inputeventmousemotion.rst b/classes/it/class_inputeventmousemotion.rst index 2178e44caf..ece71556d5 100644 --- a/classes/it/class_inputeventmousemotion.rst +++ b/classes/it/class_inputeventmousemotion.rst @@ -153,9 +153,9 @@ Posizione del mouse non ridimensionata rispetto alla posizione precedente nel si - |void| **set_screen_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_screen_velocity**\ (\ ) -The unscaled mouse velocity in pixels per second in screen coordinates. This velocity is *not* scaled according to the content scale factor or calls to :ref:`InputEvent.xformed_by()`. +La velocità del mouse non ridimensionata in pixel al secondo nelle coordinate dello schermo. Questa velocità *non* è ridimensionata in base al fattore di scala del contenuto o alle chiamate a :ref:`InputEvent.xformed_by()`. -\ **Note:** Use :ref:`screen_relative` for mouse aiming using the :ref:`Input.MOUSE_MODE_CAPTURED` mouse mode. +\ **Nota:** Utilizza :ref:`screen_relative` per mirare con il mouse attraverso la modalità del mouse :ref:`Input.MOUSE_MODE_CAPTURED`. .. rst-class:: classref-item-separator @@ -189,11 +189,11 @@ Rappresenta gli angoli di inclinazione della penna. Il valore positivo della coo - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -The mouse velocity in pixels per second. +La velocità del mouse in pixel al secondo. -\ **Note:** :ref:`velocity` is automatically scaled according to the content scale factor, which is defined by the project's stretch mode settings. That means mouse sensitivity may appear different depending on resolution. +\ **Nota:** :ref:`velocity` è automaticamente ridimensionata in base al fattore di scala del contenuto, definito dalle impostazioni della modalità di allargamento del progetto. Ciò significa che la sensibilità del mouse apparirà diversa a seconda della risoluzione. -\ **Note:** Use :ref:`screen_relative` for mouse aiming using the :ref:`Input.MOUSE_MODE_CAPTURED` mouse mode. +\ **Nota:** Utilizza :ref:`screen_relative` per mirare con il mouse attraverso la modalità del mouse :ref:`Input.MOUSE_MODE_CAPTURED`. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_intervaltweener.rst b/classes/it/class_intervaltweener.rst index 5cad08f47a..9f7948ffc6 100644 --- a/classes/it/class_intervaltweener.rst +++ b/classes/it/class_intervaltweener.rst @@ -14,7 +14,7 @@ Crea un intervallo di inattività in un'animazione :ref:`Tween`. Descrizione ---------------------- -**IntervalTweener** è utilizzato per creare ritardi in una sequenza di tweening. Vedi :ref:`Tween.tween_interval()` per maggiori informazioni sull'utilizzo. +**IntervalTweener** serve per creare ritardi in una sequenza di tweening. Vedi :ref:`Tween.tween_interval()` per maggiori informazioni sull'utilizzo. \ **Nota:** :ref:`Tween.tween_interval()` è l'unico modo corretto per creare **IntervalTweener**. Qualsiasi **IntervalTweener** creato manualmente non funzionerà correttamente. diff --git a/classes/it/class_ip.rst b/classes/it/class_ip.rst index c214808ba1..fb7867d324 100644 --- a/classes/it/class_ip.rst +++ b/classes/it/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/it/class_itemlist.rst b/classes/it/class_itemlist.rst index 56060d6c6f..aec20dbf51 100644 --- a/classes/it/class_itemlist.rst +++ b/classes/it/class_itemlist.rst @@ -1383,7 +1383,7 @@ La spaziatura verticale tra ogni riga di testo. La dimensione del contorno del testo dell'elemento. -\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`contour_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. +\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`outline_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_javaclasswrapper.rst b/classes/it/class_javaclasswrapper.rst index 7f089f445b..572dce31cf 100644 --- a/classes/it/class_javaclasswrapper.rst +++ b/classes/it/class_javaclasswrapper.rst @@ -80,18 +80,18 @@ Restituisce l'eccezione Java dall'ultima chiamata in una classe Java. Se non c' :ref:`JavaClass` **wrap**\ (\ name\: :ref:`String`\ ) :ref:`🔗` -Wraps a class defined in Java, and returns it as a :ref:`JavaClass` :ref:`Object` type that Godot can interact with. +Effettua un wrapping su una classe definita in Java e la restituisce come un tipo :ref:`JavaClass` :ref:`Object` con cui Godot può interagire. -When wrapping inner (nested) classes, use ``$`` instead of ``.`` to separate them. For example, ``JavaClassWrapper.wrap("android.view.WindowManager$LayoutParams")`` wraps the **WindowManager.LayoutParams** class. +Quando si effettua un wrapping sulle classi interne (annidate), utilizzare ``$`` anziché ``.`` per separarle. Ad esempio, ``JavaClassWrapper.wrap("android.view.WindowManager$LayoutParams")`` effettua un wrapping sulla classe **WindowManager.LayoutParams**. -\ **Note:** To invoke a constructor, call a method with the same name as the class. For example: +\ **Nota:** Per richiamare un costruttore, chiama un metodo con lo stesso nome della classe. Ad esempio: :: var Intent = JavaClassWrapper.wrap("android.content.Intent") var intent = Intent.Intent() -\ **Note:** This method only works on Android. On every other platform, this method does nothing and returns an empty :ref:`JavaClass`. +\ **Nota:** Questo metodo funziona solo su Android. Su tutte le altre piattaforme, questo metodo non fa nulla e restituisce un :ref:`JavaClass` vuoto. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_javascriptbridge.rst b/classes/it/class_javascriptbridge.rst index 6bfe3ebcaf..2ef892c2c6 100644 --- a/classes/it/class_javascriptbridge.rst +++ b/classes/it/class_javascriptbridge.rst @@ -14,9 +14,9 @@ Singleton che collega il motore al contesto JavaScript del browser nell'esportaz Descrizione ---------------------- -The JavaScriptBridge singleton is implemented only in the Web export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs. +Il singleton JavaScriptBridge è implementato solo nell'esportazione Web. È utilizzato per accedere al contesto JavaScript del browser. Ciò consente di interagire con le pagine incorporanti o chiamare API in JavaScript di terze parti. -\ **Note:** This singleton can be disabled at build-time to improve security. By default, the JavaScriptBridge singleton is enabled. Official export templates also have the JavaScriptBridge singleton enabled. See :doc:`Compiling for the Web <../engine_details/development/compiling/compiling_for_web>` in the documentation for more information. +\ **Nota:** È possibile disabilitare questo singleton in fase di compilazione per migliore sicurezza. Normalmente, il singleton JavaScriptBridge è abilitato. Anche i modelli di esportazione ufficiali hanno il singleton JavaScriptBridge abilitato. Consulta :doc:`Compilazione per il Web <../contributing/development/compiling/compiling_for_web>` nella documentazione per ulteriori informazioni. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_javascriptobject.rst b/classes/it/class_javascriptobject.rst index adb7f46224..18491a0540 100644 --- a/classes/it/class_javascriptobject.rst +++ b/classes/it/class_javascriptobject.rst @@ -14,7 +14,7 @@ Una classe wrapper per oggetti JavaScript nativi del web. Descrizione ---------------------- -Il JavaScriptObject è utilizzato per interagire con oggetti JavaScript recuperati o creati tramite :ref:`JavaScriptBridge.get_interface()`, :ref:`JavaScriptBridge.create_object()` o :ref:`JavaScriptBridge.create_callback()`. +Il JavaScriptObject serve per interagire con oggetti JavaScript recuperati o creati tramite :ref:`JavaScriptBridge.get_interface()`, :ref:`JavaScriptBridge.create_object()` o :ref:`JavaScriptBridge.create_callback()`. :: diff --git a/classes/it/class_json.rst b/classes/it/class_json.rst index 6ab963b939..7571c0696b 100644 --- a/classes/it/class_json.rst +++ b/classes/it/class_json.rst @@ -16,9 +16,9 @@ Descrizione La classe **JSON** consente di convertire tutti i tipi di dati da e a una stringa JSON. Ciò è utile per la serializzazione dei dati, ad esempio per salvarli in un file o inviarli in rete. -\ :ref:`stringify()` è utilizzato per convertire qualsiasi tipo di dati in una stringa JSON. +\ :ref:`stringify()` serve per convertire qualsiasi tipo di dati in una stringa JSON. -\ :ref:`parse()` è utilizzato per convertire qualsiasi JSON esistente in una :ref:`Variant` che può essere utilizzata all'interno di Godot. Se elaborato correttamente, usa :ref:`data` per recuperare il :ref:`Variant` e usa :ref:`@GlobalScope.typeof()` per verificare se il tipo della variante è quello previsto. Gli oggetti JSON sono convertiti in un :ref:`Dictionary`, ma i dati JSON possono essere utilizzati per archiviare :ref:`Array`, numeri, :ref:`String` e persino solo un valore booleano. +\ :ref:`parse()` serve per convertire qualsiasi JSON esistente in una :ref:`Variant` che può essere utilizzata all'interno di Godot. Se elaborato correttamente, usa :ref:`data` per recuperare il :ref:`Variant` e usa :ref:`@GlobalScope.typeof()` per verificare se il tipo della variante è quello previsto. Gli oggetti JSON sono convertiti in un :ref:`Dictionary`, ma i dati JSON possono essere utilizzati per archiviare :ref:`Array`, numeri, :ref:`String` e persino solo un valore booleano. :: diff --git a/classes/it/class_jsonrpc.rst b/classes/it/class_jsonrpc.rst index aa92a319e5..b00118bee7 100644 --- a/classes/it/class_jsonrpc.rst +++ b/classes/it/class_jsonrpc.rst @@ -208,11 +208,11 @@ Per aggiungere nuovi metodi supportati, estendi la classe JSONRPC e chiama :ref: |void| **set_method**\ (\ name\: :ref:`String`, callback\: :ref:`Callable`\ ) :ref:`🔗` -Registers a callback for the given method name. +Registra un callback per il nome del metodo specificato. -- ``name`` The name that clients can use to access the callback. +- ``name``: Il nome che i client possono utilizzare per accedere al callback. -- ``callback`` The callback which will handle the specific method. +- ``callback``: Il callback che gestirà il metodo specifico. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_label.rst b/classes/it/class_label.rst index 927604bd86..b9093f64d7 100644 --- a/classes/it/class_label.rst +++ b/classes/it/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: @@ -177,7 +177,7 @@ Se impostato su un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`\]\ ) - |bitfield|\[:ref:`LineBreakFlag`\] **get_autowrap_trim_flags**\ (\ ) -Autowrap space trimming flags. See :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` and :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` for more info. +Flag di troncamento spazi per il ritorno a capo automatico. Vedi :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` e :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` per ulteriori informazioni. .. rst-class:: classref-item-separator @@ -245,7 +245,7 @@ Controlla l'allineamento orizzontale del testo. Supporta sinistra, centro, destr - |void| **set_justification_flags**\ (\ value\: |bitfield|\[:ref:`JustificationFlag`\]\ ) - |bitfield|\[:ref:`JustificationFlag`\] **get_justification_flags**\ (\ ) -Line fill alignment rules. +Regole di allineamento del riempimento per le righe. .. rst-class:: classref-item-separator @@ -485,11 +485,11 @@ Controlla l'allineamento verticale del testo. Supporta sopra, centro, sotto e ri - |void| **set_visible_characters**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_visible_characters**\ (\ ) -The number of characters to display. If set to ``-1``, all characters are displayed. This can be useful when animating the text appearing in a dialog box. +Il numero di caratteri da visualizzare. Se impostato su ``-1``, tutti i caratteri sono visualizzati. Può essere utile quando si anima il testo che appare in una finestra di dialogo. -\ **Note:** Setting this property updates :ref:`visible_ratio` accordingly. +\ **Nota:** Impostando questa proprietà si aggiorna :ref:`visible_ratio` di conseguenza. -\ **Note:** Characters are counted as Unicode codepoints. A single visible grapheme may contain multiple codepoints (e.g. certain emoji use three codepoints). A single codepoint may contain two UTF-16 characters, which are used in C# strings. +\ **Nota:** I caratteri sono conteggiati come codici Unicode. Un singolo grafema visibile può contenere più codici (ad esempio, alcune emoji ne utilizzano tre). Un singolo codice può contenere due caratteri UTF-16, i quali sono utilizzati nelle stringhe C#. .. rst-class:: classref-item-separator @@ -661,7 +661,7 @@ Spaziatura verticale aggiuntiva tra le righe (in pixel), la spaziatura è aggiun Dimensione del contorno del testo. -\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`contour_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. +\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`outline_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. \ **Nota:** Non è consigliato utilizzare un valore maggiore della metà della dimensione del font, altrimenti il contorno del font potrebbe non chiudersi completamente. diff --git a/classes/it/class_label3d.rst b/classes/it/class_label3d.rst index 6256784856..0b2886e77e 100644 --- a/classes/it/class_label3d.rst +++ b/classes/it/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: @@ -347,7 +347,7 @@ Se impostato su un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`\]\ ) - |bitfield|\[:ref:`LineBreakFlag`\] **get_autowrap_trim_flags**\ (\ ) -Autowrap space trimming flags. See :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` and :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` for more info. +Flag di troncamento spazi per il ritorno a capo automatico. Vedi :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` e :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` per ulteriori informazioni. .. rst-class:: classref-item-separator @@ -398,7 +398,7 @@ Se ``true``, il testo è visibile anche da dietro, se ``false``, è invisibile g - |void| **set_draw_flag**\ (\ flag\: :ref:`DrawFlags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_draw_flag**\ (\ flag\: :ref:`DrawFlags`\ ) |const| -If ``true``, the label is rendered at the same size regardless of distance. The label's size on screen is the same as if the camera was ``1.0`` units away from the label's origin, regardless of the actual distance from the camera. The :ref:`Camera3D`'s field of view (or :ref:`Camera3D.size` when in orthogonal/frustum mode) still affects the size the label is drawn at. +Se ``true``, l'etichetta viene renderizzata con le stesse dimensioni a prescindere dalla distanza. Le dimensioni dell'etichetta sullo schermo sono le stesse che avrebbe se la telecamera fosse a ``1.0`` unità di distanza dall'origine dell'etichetta, a prescindere dalla distanza effettiva dalla telecamera. Il campo visivo della :ref:`Camera3D` (o :ref:`Camera3D.size` in modalità ortogonale/tronco) influenza comunque le dimensioni dell'etichetta disegnata. .. rst-class:: classref-item-separator @@ -468,7 +468,7 @@ Controlla l'allineamento orizzontale del testo. Supporta sinistra, centro, destr - |void| **set_justification_flags**\ (\ value\: |bitfield|\[:ref:`JustificationFlag`\]\ ) - |bitfield|\[:ref:`JustificationFlag`\] **get_justification_flags**\ (\ ) -Line fill alignment rules. +Regole di allineamento del riempimento per le righe. .. rst-class:: classref-item-separator diff --git a/classes/it/class_labelsettings.rst b/classes/it/class_labelsettings.rst index a7e07fe699..b457a5e377 100644 --- a/classes/it/class_labelsettings.rst +++ b/classes/it/class_labelsettings.rst @@ -282,7 +282,7 @@ Dimensione dell'effetto ombra. - |void| **set_stacked_outline_count**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_stacked_outline_count**\ (\ ) -The number of stacked outlines. +Il numero di contorni impilati. .. rst-class:: classref-item-separator @@ -299,7 +299,7 @@ The number of stacked outlines. - |void| **set_stacked_shadow_count**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_stacked_shadow_count**\ (\ ) -The number of stacked shadows. +Il numero di ombre impilate. .. rst-class:: classref-section-separator @@ -316,7 +316,7 @@ Descrizioni dei metodi |void| **add_stacked_outline**\ (\ index\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a new stacked outline to the label at the given ``index``. If ``index`` is ``-1``, the new stacked outline will be added at the end of the list. +Aggiunge un nuovo contorno impilato all'etichetta all'indice ``index``. Se ``index`` è ``-1``, il nuovo contorno impilato sarà aggiunto alla fine dell'elenco. .. rst-class:: classref-item-separator @@ -328,7 +328,7 @@ Adds a new stacked outline to the label at the given ``index``. If ``index`` is |void| **add_stacked_shadow**\ (\ index\: :ref:`int` = -1\ ) :ref:`🔗` -Adds a new stacked shadow to the label at the given ``index``. If ``index`` is ``-1``, the new stacked shadow will be added at the end of the list. +Aggiunge una nuova ombra impilata all'etichetta all'indice ``index``. Se ``index`` è ``-1``, la nuova ombra impilata sarà aggiunta alla fine dell'elenco. .. rst-class:: classref-item-separator @@ -340,7 +340,7 @@ Adds a new stacked shadow to the label at the given ``index``. If ``index`` is ` :ref:`Color` **get_stacked_outline_color**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the color of the stacked outline at ``index``. +Restituisce il colore del contorno impilato all'indice ``index``. .. rst-class:: classref-item-separator @@ -352,7 +352,7 @@ Returns the color of the stacked outline at ``index``. :ref:`int` **get_stacked_outline_size**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the size of the stacked outline at ``index``. +Restituisce la dimensione del contorno impilato all'indice ``index``. .. rst-class:: classref-item-separator @@ -364,7 +364,7 @@ Returns the size of the stacked outline at ``index``. :ref:`Color` **get_stacked_shadow_color**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the color of the stacked shadow at ``index``. +Restituisce il colore dell'ombra impilata all'indice ``index``. .. rst-class:: classref-item-separator @@ -376,7 +376,7 @@ Returns the color of the stacked shadow at ``index``. :ref:`Vector2` **get_stacked_shadow_offset**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the offset of the stacked shadow at ``index``. +Restituisce lo scostamento dell'ombra impilata all'indice ``index``. .. rst-class:: classref-item-separator @@ -388,7 +388,7 @@ Returns the offset of the stacked shadow at ``index``. :ref:`int` **get_stacked_shadow_outline_size**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the outline size of the stacked shadow at ``index``. +Restituisce la dimensione del contorno dell'ombra impilata all'indice ``index``. .. rst-class:: classref-item-separator @@ -400,7 +400,7 @@ Returns the outline size of the stacked shadow at ``index``. |void| **move_stacked_outline**\ (\ from_index\: :ref:`int`, to_position\: :ref:`int`\ ) :ref:`🔗` -Moves the stacked outline at index ``from_index`` to the given position ``to_position`` in the array. +Sposta il contorno impilato all'indice ``from_index`` nella posizione ``to_position`` specificata nell'array. .. rst-class:: classref-item-separator @@ -412,7 +412,7 @@ Moves the stacked outline at index ``from_index`` to the given position ``to_pos |void| **move_stacked_shadow**\ (\ from_index\: :ref:`int`, to_position\: :ref:`int`\ ) :ref:`🔗` -Moves the stacked shadow at index ``from_index`` to the given position ``to_position`` in the array. +Sposta l'ombra impilata all'indice ``from_index`` nella posizione ``to_position`` specificata nell'array. .. rst-class:: classref-item-separator @@ -424,7 +424,7 @@ Moves the stacked shadow at index ``from_index`` to the given position ``to_posi |void| **remove_stacked_outline**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Removes the stacked outline at index ``index``. +Rimuove il contorno impilato all'indice ``index``. .. rst-class:: classref-item-separator @@ -436,7 +436,7 @@ Removes the stacked outline at index ``index``. |void| **remove_stacked_shadow**\ (\ index\: :ref:`int`\ ) :ref:`🔗` -Removes the stacked shadow at index ``index``. +Rimuove l'ombra impilata all'indice ``index``. .. rst-class:: classref-item-separator @@ -448,7 +448,7 @@ Removes the stacked shadow at index ``index``. |void| **set_stacked_outline_color**\ (\ index\: :ref:`int`, color\: :ref:`Color`\ ) :ref:`🔗` -Sets the color of the stacked outline identified by the given ``index`` to ``color``. +Imposta il colore del contorno impilato identificato dall'indice ``index`` su ``color``. .. rst-class:: classref-item-separator @@ -460,7 +460,7 @@ Sets the color of the stacked outline identified by the given ``index`` to ``col |void| **set_stacked_outline_size**\ (\ index\: :ref:`int`, size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the stacked outline identified by the given ``index`` to ``size``. +Imposta la dimensione del contorno impilato identificato dall'indice ``index`` su ``size``. .. rst-class:: classref-item-separator @@ -472,7 +472,7 @@ Sets the size of the stacked outline identified by the given ``index`` to ``size |void| **set_stacked_shadow_color**\ (\ index\: :ref:`int`, color\: :ref:`Color`\ ) :ref:`🔗` -Sets the color of the stacked shadow identified by the given ``index`` to ``color``. +Imposta il colore dell'ombra impilata identificata dall'indice ``index`` su ``color``. .. rst-class:: classref-item-separator @@ -484,7 +484,7 @@ Sets the color of the stacked shadow identified by the given ``index`` to ``colo |void| **set_stacked_shadow_offset**\ (\ index\: :ref:`int`, offset\: :ref:`Vector2`\ ) :ref:`🔗` -Sets the offset of the stacked shadow identified by the given ``index`` to ``offset``. +Imposta lo scostamento dell'ombra impilata identificata dall'indice ``index`` su ``offset``. .. rst-class:: classref-item-separator @@ -496,7 +496,7 @@ Sets the offset of the stacked shadow identified by the given ``index`` to ``off |void| **set_stacked_shadow_outline_size**\ (\ index\: :ref:`int`, size\: :ref:`int`\ ) :ref:`🔗` -Sets the outline size of the stacked shadow identified by the given ``index`` to ``size``. +Imposta la dimensione del contorno dell'ombra impilata identificata dall'indice ``index`` su ``size``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_light3d.rst b/classes/it/class_light3d.rst index faf27b42cb..23d933bfc1 100644 --- a/classes/it/class_light3d.rst +++ b/classes/it/class_light3d.rst @@ -472,9 +472,9 @@ La dimensione angolare della luce in gradi. Aumentando questo valore, le ombre s - |void| **set_bake_mode**\ (\ value\: :ref:`BakeMode`\ ) - :ref:`BakeMode` **get_bake_mode**\ (\ ) -The light's bake mode. This will affect the global illumination techniques that have an effect on the light's rendering. +La modalità di precalcolo della luce. Ciò influirà sulle tecniche di illuminazione globale che influenzano il rendering della luce. -\ **Note:** Meshes' global illumination mode will also affect the global illumination rendering. See :ref:`GeometryInstance3D.gi_mode`. +\ **Nota:** La modalità di illuminazione globale delle mesh influirà anche sul rendering dell'illuminazione globale. Vedi :ref:`GeometryInstance3D.gi_mode`. .. rst-class:: classref-item-separator @@ -491,7 +491,7 @@ The light's bake mode. This will affect the global illumination techniques that - |void| **set_color**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_color**\ (\ ) -The light's color in the nonlinear sRGB color space. An *overbright* color can be used to achieve a result equivalent to increasing the light's :ref:`light_energy`. +Il colore della luce nello spazio colore sRGB non-lineare. Si può utilizzare un colore *sovra-luminoso* per un risultato equivalente all'aumento del :ref:`light_energy` della luce. .. rst-class:: classref-item-separator @@ -508,7 +508,9 @@ The light's color in the nonlinear sRGB color space. An *overbright* color can b - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -La luce influirà sugli oggetti negli strati selezionati. +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator @@ -677,7 +679,7 @@ L'intensità della macchia speculare negli oggetti influenzati dalla luce. A ``0 - |void| **set_temperature**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_temperature**\ (\ ) -Imposta la temperatura di colore della sorgente luminosa, misurata in Kelvin. È utilizzata per calcolare una temperatura di colore correlata che tinge il :ref:`light_color`. +Imposta la temperatura di colore della sorgente luminosa, misurata in Kelvin. Serve per calcolare una temperatura di colore correlata che tinge il :ref:`light_color`. Il sole in una giornata nuvolosa è di circa 6500 Kelvin, in una giornata limpida è tra 5500 e 6000 Kelvin e in una giornata limpida all'alba o al tramonto varia fino a circa 1850 Kelvin. diff --git a/classes/it/class_lightmapgi.rst b/classes/it/class_lightmapgi.rst index 6ad4d3afbf..cc72678441 100644 --- a/classes/it/class_lightmapgi.rst +++ b/classes/it/class_lightmapgi.rst @@ -14,7 +14,7 @@ Calcola e memorizza lightmap elaborate per un'illuminazione globale rapida. Descrizione ---------------------- -Il nodo **LightmapGI** è utilizzato per elaborare e memorizzare lightmap precalcolate. Le lightmap sono utilizzate per fornire un'illuminazione indiretta di alta qualità con una minima perdita di luce. **LightmapGI** può anche fornire riflessi approssimativi attraverso armoniche sferiche se :ref:`directional` è abilitato. Gli oggetti dinamici possono ricevere illuminazione indiretta grazie alle *sonde luminose*, che possono essere posizionate automaticamente impostando :ref:`generate_probes_subdiv` su un valore diverso da :ref:`GENERATE_PROBES_DISABLED`. È inoltre possibile aggiungere ulteriori sonde lightmap creando nodi :ref:`LightmapProbe`. Lo svantaggio è che le lightmap sono completamente statiche e non possono essere precalcolate in un progetto esportato. Precalcolare un nodo **LightmapGI** è inoltre più lento rispetto a :ref:`VoxelGI`. +Il nodo **LightmapGI** serve per elaborare e memorizzare lightmap precalcolate. Le lightmap servono per fornire un'illuminazione indiretta di alta qualità con una minima perdita di luce. **LightmapGI** può anche fornire riflessi approssimativi attraverso armoniche sferiche se :ref:`directional` è abilitato. Gli oggetti dinamici possono ricevere illuminazione indiretta grazie alle *sonde luminose*, che si possono posizionare automaticamente impostando :ref:`generate_probes_subdiv` su un valore diverso da :ref:`GENERATE_PROBES_DISABLED`. È inoltre possibile aggiungere ulteriori sonde lightmap creando nodi :ref:`LightmapProbe`. Lo svantaggio è che le lightmap sono completamente statiche e non si possono precalcolare in un progetto esportato. Precalcolare un nodo **LightmapGI** è inoltre più lento rispetto a :ref:`VoxelGI`. \ **Generazione procedurale:** La funzionalità di precalcolo di Lightmap è disponibile solo nell'editor. Ciò significa che **LightmapGI** non è adatto a livelli generati proceduralmente o creati dall'utente. Per livelli generati proceduralmente o creati dall'utente, utilizza invece :ref:`VoxelGI` o SDFGI (vedi :ref:`Environment.sdfgi_enabled`). diff --git a/classes/it/class_line2d.rst b/classes/it/class_line2d.rst index 605f387a10..07dbe7d5f5 100644 --- a/classes/it/class_line2d.rst +++ b/classes/it/class_line2d.rst @@ -235,7 +235,7 @@ Se ``true``, è applicato l'antialiasing sul bordo della polilinea. - |void| **set_begin_cap_mode**\ (\ value\: :ref:`LineCapMode`\ ) - :ref:`LineCapMode` **get_begin_cap_mode**\ (\ ) -The style of the beginning of the polyline, if :ref:`closed` is ``false``. +Lo stile dell'inizio della polilinea, se :ref:`closed` è ``false``. .. rst-class:: classref-item-separator @@ -290,7 +290,7 @@ Il colore della polilinea. Non sarà utilizzato se è impostato un gradiente. - |void| **set_end_cap_mode**\ (\ value\: :ref:`LineCapMode`\ ) - :ref:`LineCapMode` **get_end_cap_mode**\ (\ ) -The style of the end of the polyline, if :ref:`closed` is ``false``. +Lo stile della fine della polilinea, se :ref:`closed` è ``false``. .. rst-class:: classref-item-separator @@ -324,7 +324,7 @@ Il gradiente che è disegnato lungo l'intera linea dall'inizio alla fine. :ref:` - |void| **set_joint_mode**\ (\ value\: :ref:`LineJointMode`\ ) - :ref:`LineJointMode` **get_joint_mode**\ (\ ) -The style of the connections between segments of the polyline. +Lo stile dei collegamenti tra i segmenti della polilinea. .. rst-class:: classref-item-separator @@ -377,7 +377,7 @@ La rotondità utilizzata per giunzioni e tappi arrotondati. Valori più alti pro - |void| **set_sharp_limit**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_sharp_limit**\ (\ ) -Determines the miter limit of the polyline. Normally, when :ref:`joint_mode` is set to :ref:`LINE_JOINT_SHARP`, sharp angles fall back to using the logic of :ref:`LINE_JOINT_BEVEL` joints to prevent very long miters. Higher values of this property mean that the fallback to a bevel joint will happen at sharper angles. +Determina il limite di smusso della polilinea. Normalmente, quando :ref:`joint_mode` è impostato su :ref:`LINE_JOINT_SHARP`, gli angoli acuti ricadono alla logica delle giunzioni :ref:`LINE_JOINT_BEVEL` per impedire smussi molto lunghi. Valori più alti di questa proprietà indicano che il ricadimento a una giunzione smussata avverrà ad angoli più acuti. .. rst-class:: classref-item-separator @@ -411,7 +411,7 @@ La texture usata per la polilinea. Usa :ref:`texture_mode`\ ) - :ref:`LineTextureMode` **get_texture_mode**\ (\ ) -The style to render the :ref:`texture` of the polyline. +Lo stile per renderizzare la :ref:`texture` della polilinea. .. rst-class:: classref-item-separator diff --git a/classes/it/class_lineedit.rst b/classes/it/class_lineedit.rst index 1c5a930588..24bedb5ed3 100644 --- a/classes/it/class_lineedit.rst +++ b/classes/it/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: @@ -17,73 +17,73 @@ Un campo di input per testo su una sola riga. Descrizione ---------------------- -**LineEdit** provides an input field for editing a single line of text. +**LineEdit** fornisce un campo di input per modificare una singola riga di testo. -- When the **LineEdit** control is focused using the keyboard arrow keys, it will only gain focus and not enter edit mode. +- Quando il controllo **LineEdit** è focalizzato usando i tasti freccia della tastiera, otterrà solo il focus e non entrerà in modalità di modifica. -- To enter edit mode, click on the control with the mouse, see also :ref:`keep_editing_on_text_submit`. +- Per entrare in modalità di modifica, clicca sul controllo con il mouse, vedi anche :ref:`keep_editing_on_text_submit`. -- To exit edit mode, press ``ui_text_submit`` or ``ui_cancel`` (by default :kbd:`Escape`) actions. +- Per uscire dalla modalità di modifica, premi ``ui_text_submit`` o ``ui_cancel`` (come predefinito le azioni con :kbd:`Escape`). -- Check :ref:`edit()`, :ref:`unedit()`, :ref:`is_editing()`, and :ref:`editing_toggled` for more information. +- Consulta :ref:`edit()`, :ref:`unedit()`, :ref:`is_editing()` e :ref:`editing_toggled` per maggiori informazioni. -While entering text, it is possible to insert special characters using Unicode, OEM or Windows alt codes: +Durante l'inserimento del testo, è possibile inserire caratteri speciali attraverso i codici alt Unicode, OEM o Windows: -- To enter Unicode codepoints, hold :kbd:`Alt` and type the codepoint on the numpad. For example, to enter the character ``á`` (U+00E1), hold :kbd:`Alt` and type :kbd:`+E1` on the numpad (the leading zeroes can be omitted). +- Per inserire codici Unicode, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (U+00E1), tenere premuto :kbd:`Alt` e digitare :kbd:`+E1` sul tastierino numerico (gli zeri iniziali si possono omettere). -- To enter OEM codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (OEM 160), hold :kbd:`Alt` and type ``160`` on the numpad. +- Per inserire codici OEM, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (OEM 160), tenere premuto :kbd:`Alt` e digitare ``160`` sul tastierino numerico. -- To enter Windows codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (Windows 0225), hold :kbd:`Alt` and type :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` on the numpad. The leading zero here must **not** be omitted, as this is how Windows codepoints are distinguished from OEM codepoints. +- Per inserire i codici Windows, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (Windows 0225), tenere premuto :kbd:`Alt` e digitare :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` sul tastierino numerico. Lo zero iniziale qui **non** si deve omettere, poiché è questo il modo in cui i codici di Windows si distinguono dai codici OEM. -\ **Important:**\ +\ **Importante:**\ -- Focusing the **LineEdit** with ``ui_focus_next`` (by default :kbd:`Tab`) or ``ui_focus_prev`` (by default :kbd:`Shift + Tab`) or :ref:`Control.grab_focus()` still enters edit mode (for compatibility). +- Ottenere il focus del **LineEdit** con ``ui_focus_next`` (predefinito su :kbd:`Tab`) o ``ui_focus_prev`` (predefinito su :kbd:`Maiusc + Tab`) o :ref:`Control.grab_focus()` attiva comunque la modalità di modifica (per compatibilità). -\ **LineEdit** features many built-in shortcuts that are always available (:kbd:`Ctrl` here maps to :kbd:`Cmd` on macOS): +\ **LineEdit** fornisce un campo di input per modificare una singola riga di testo. Include molte scorciatoie integrate che sono sempre disponibili (:kbd:`Ctrl` qui corrisponde a :kbd:`Cmd` su macOS): -- :kbd:`Ctrl + C`: Copy +- :kbd:`Ctrl + C`: copia -- :kbd:`Ctrl + X`: Cut +- :kbd:`Ctrl + X`: taglia -- :kbd:`Ctrl + V` or :kbd:`Ctrl + Y`: Paste/"yank" +- :kbd:`Ctrl + V` o :kbd:`Ctrl + Y`: incolla/"strappa" -- :kbd:`Ctrl + Z`: Undo +- :kbd:`Ctrl + Z`: annulla -- :kbd:`Ctrl + ~`: Swap input direction. +- :kbd:`Ctrl + ~`: inverti la direzione di input. -- :kbd:`Ctrl + Shift + Z`: Redo +- :kbd:`Ctrl + Maiusc + Z`: ripeti -- :kbd:`Ctrl + U`: Delete text from the caret position to the beginning of the line +- :kbd:`Ctrl + U`: elimina il testo dalla posizione del cursore all'inizio della riga -- :kbd:`Ctrl + K`: Delete text from the caret position to the end of the line +- :kbd:`Ctrl + K`: elimina il testo dalla posizione del cursore alla fine della riga -- :kbd:`Ctrl + A`: Select all text +- :kbd:`Ctrl + A`: seleziona tutto il testo -- :kbd:`Up Arrow`/:kbd:`Down Arrow`: Move the caret to the beginning/end of the line +- :kbd:`Freccia su`/:kbd:`Freccia giù`: sposta il cursore all'inizio/fine della riga -On macOS, some extra keyboard shortcuts are available: +Su macOS sono disponibili alcune scorciatoie da tastiera aggiuntive: -- :kbd:`Cmd + F`: Same as :kbd:`Right Arrow`, move the caret one character right +- :kbd:`Cmd + F`: uguale a :kbd:`Freccia destra`, sposta il cursore di un carattere a destra -- :kbd:`Cmd + B`: Same as :kbd:`Left Arrow`, move the caret one character left +- :kbd:`Cmd + B`: uguale a :kbd:`Freccia sinistra`, sposta il cursore di un carattere a sinistra -- :kbd:`Cmd + P`: Same as :kbd:`Up Arrow`, move the caret to the previous line +- :kbd:`Cmd + P`: uguale a :kbd:`Freccia su`, sposta il cursore alla riga precedente -- :kbd:`Cmd + N`: Same as :kbd:`Down Arrow`, move the caret to the next line +- :kbd:`Cmd + N`: uguale a :kbd:`Freccia giù`, sposta il cursore alla riga successiva -- :kbd:`Cmd + D`: Same as :kbd:`Delete`, delete the character on the right side of caret +- :kbd:`Cmd + D`: uguale a :kbd:`Elimina`, elimina il carattere sul lato destro del cursore -- :kbd:`Cmd + H`: Same as :kbd:`Backspace`, delete the character on the left side of the caret +- :kbd:`Cmd + H`: uguale a :kbd:`Backspace`, elimina il carattere sul lato sinistro del cursore -- :kbd:`Cmd + A`: Same as :kbd:`Home`, move the caret to the beginning of the line +- :kbd:`Cmd + A`: uguale a :kbd:`Home`, sposta il cursore all'inizio della riga -- :kbd:`Cmd + E`: Same as :kbd:`End`, move the caret to the end of the line +- :kbd:`Cmd + E`: uguale a :kbd:`End`, sposta il cursore alla fine della riga -- :kbd:`Cmd + Left Arrow`: Same as :kbd:`Home`, move the caret to the beginning of the line +- :kbd:`Cmd + Freccia sinistra`: uguale a :kbd:`Home`, sposta il cursore all'inizio della riga -- :kbd:`Cmd + Right Arrow`: Same as :kbd:`End`, move the caret to the end of the line +- :kbd:`Cmd + Freccia destra`: uguale a :kbd:`End`, sposta il cursore alla fine della riga -\ **Note:** Caret movement shortcuts listed above are not affected by :ref:`shortcut_keys_enabled`. +\ **Nota:** Le scorciatoie per il movimento del cursore elencate sopra non sono influenzate da :ref:`shortcut_keys_enabled`. .. rst-class:: classref-reftable-group @@ -712,7 +712,7 @@ Allineamento del testo come definito nell'enumerazione :ref:`HorizontalAlignment - |void| **set_backspace_deletes_composite_character_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_backspace_deletes_composite_character_enabled**\ (\ ) -If ``true`` and :ref:`caret_mid_grapheme` is ``false``, backspace deletes an entire composite character such as ❤️‍🩹, instead of deleting part of the composite character. +Se ``true`` e :ref:`caret_mid_grapheme` è ``false``, il tasto backspace elimina un intero carattere composto, ad esempio ❤️‍🩹, anziché eliminare parte del carattere composto. .. rst-class:: classref-item-separator @@ -1003,11 +1003,11 @@ Codice lingua utilizzato per gli algoritmi di interruzione di riga e di formazio - |void| **set_max_length**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_max_length**\ (\ ) -Maximum number of characters that can be entered inside the **LineEdit**. If ``0``, there is no limit. +Numero massimo di caratteri che è possibile inserire nel **LineEdit**. Se ``0``, non c'è limite. -When a limit is defined, characters that would exceed :ref:`max_length` are truncated. This happens both for existing :ref:`text` contents when setting the max length, or for new text inserted in the **LineEdit**, including pasting. +Quando è definito un limite, i caratteri che supererebbero :ref:`max_length` vengono troncati. Ciò accade sia per il contenuto di :ref:`text` esistente quando si imposta la lunghezza massima, sia per nuovo testo inserito nel **LineEdit**, anche tramite copia-incolla. -If any input text is truncated, the :ref:`text_change_rejected` signal is emitted with the truncated substring as a parameter: +Se del testo inserito viene troncato, il segnale :ref:`text_change_rejected` viene emesso con la sottostringa troncata come parametro. .. tabs:: @@ -1016,21 +1016,21 @@ If any input text is truncated, the :ref:`text_change_rejected`\ ) - :ref:`bool` **is_virtual_keyboard_enabled**\ (\ ) -If ``true``, the native virtual keyboard is enabled on platforms that support it. +Se ``true``, la tastiera virtuale nativa è abilitata sulle piattaforme che la supportano. .. rst-class:: classref-item-separator @@ -1274,7 +1274,7 @@ If ``true``, the native virtual keyboard is enabled on platforms that support it - |void| **set_virtual_keyboard_show_on_focus**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_virtual_keyboard_show_on_focus**\ (\ ) -If ``true``, the native virtual keyboard is shown on focus events on platforms that support it. +Se ``true``, la tastiera virtuale nativa è mostrata dopo eventi di focus sulle piattaforme che la supportano. .. rst-class:: classref-item-separator @@ -1453,9 +1453,9 @@ Restituisce il :ref:`PopupMenu` di questo **LineEdit**. Per imp :ref:`int` **get_next_composite_character_column**\ (\ column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the correct column at the end of a composite character like ❤️‍🩹 (mending heart; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) which is comprised of more than one Unicode code point, if the caret is at the start of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters. +Restituisce la colonna corretta alla fine di un carattere composto come ❤️‍🩹 (cuore guarito; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) che è composto da più di un punto di codice Unicode, se il cursore si trova all'inizio del carattere composto. Restituisce anche la colonna corretta con il cursore a metà grafema e per i caratteri non composti. -\ **Note:** To check at caret location use ``get_next_composite_character_column(get_caret_column())`` +\ **Nota:** Per verificare la posizione del cursore, utilizza ``get_next_composite_character_column(get_caret_column())`` .. rst-class:: classref-item-separator @@ -1467,9 +1467,9 @@ Returns the correct column at the end of a composite character like ❤️‍ :ref:`int` **get_previous_composite_character_column**\ (\ column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the correct column at the start of a composite character like ❤️‍🩹 (mending heart; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) which is comprised of more than one Unicode code point, if the caret is at the end of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters. +Restituisce la colonna corretta all'inizio di un carattere composto come ❤️‍🩹 (cuore guarito; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) che è composto da più di un punto di codice Unicode, se il cursore si trova alla fine del carattere composto. Restituisce anche la colonna corretta con il cursore a metà grafema e per i caratteri non composti. -\ **Note:** To check at caret location use ``get_previous_composite_character_column(get_caret_column())`` +\ **Nota:** Per verificare la posizione del cursore, utilizza ``get_previous_composite_character_column(get_caret_column())`` .. rst-class:: classref-item-separator diff --git a/classes/it/class_linkbutton.rst b/classes/it/class_linkbutton.rst index 7e26eda5a4..f65983d450 100644 --- a/classes/it/class_linkbutton.rst +++ b/classes/it/class_linkbutton.rst @@ -224,7 +224,7 @@ Direzione di scrittura del testo di base. - |void| **set_underline_mode**\ (\ value\: :ref:`UnderlineMode`\ ) - :ref:`UnderlineMode` **get_underline_mode**\ (\ ) -The underline mode to use for the text. +La modalità di sottolineatura da utilizzare per il testo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_logger.rst b/classes/it/class_logger.rst index 4e5907c3bd..722894410b 100644 --- a/classes/it/class_logger.rst +++ b/classes/it/class_logger.rst @@ -7,14 +7,14 @@ Logger **Eredita:** :ref:`RefCounted` **<** :ref:`Object` -Custom logger to receive messages from the internal error/warning stream. +Logger personalizzato per ricevere messaggi dal flusso interno di errori/avvisi. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Custom logger to receive messages from the internal error/warning stream. Loggers are registered via :ref:`OS.add_logger()`. +Logger personalizzato per ricevere messaggi dal flusso interno di errori/avvisi. I logger si registrano tramite :ref:`OS.add_logger()`. .. rst-class:: classref-reftable-group @@ -51,7 +51,7 @@ enum **ErrorType**: :ref:`🔗` :ref:`ErrorType` **ERROR_TYPE_ERROR** = ``0`` -The message received is an error. +Il messaggio ricevuto è un errore. .. _class_Logger_constant_ERROR_TYPE_WARNING: @@ -59,7 +59,7 @@ The message received is an error. :ref:`ErrorType` **ERROR_TYPE_WARNING** = ``1`` -The message received is a warning. +Il messaggio ricevuto è un avviso. .. _class_Logger_constant_ERROR_TYPE_SCRIPT: @@ -67,7 +67,7 @@ The message received is a warning. :ref:`ErrorType` **ERROR_TYPE_SCRIPT** = ``2`` -The message received is a script error. +Il messaggio ricevuto è un errore di script. .. _class_Logger_constant_ERROR_TYPE_SHADER: @@ -75,7 +75,7 @@ The message received is a script error. :ref:`ErrorType` **ERROR_TYPE_SHADER** = ``3`` -The message received is a shader error. +Il messaggio ricevuto è un errore di shader. .. rst-class:: classref-section-separator @@ -92,15 +92,15 @@ Descrizioni dei metodi |void| **_log_error**\ (\ function\: :ref:`String`, file\: :ref:`String`, line\: :ref:`int`, code\: :ref:`String`, rationale\: :ref:`String`, editor_notify\: :ref:`bool`, error_type\: :ref:`int`, script_backtraces\: :ref:`Array`\[:ref:`ScriptBacktrace`\]\ ) |virtual| :ref:`🔗` -Called when an error is logged. The error provides the ``function``, ``file``, and ``line`` that it originated from, as well as either the ``code`` that generated the error or a ``rationale``. +Chiamato quando un errore viene registrato. L'errore fornisce la funzione (``function``), il file (``file``) e la riga (``line``) da cui ha avuto origine, nonché il codice (``code``) che ha generato l'errore o una motivazione (``rationale``). -The type of error provided by ``error_type`` is described in the :ref:`ErrorType` enumeration. +Il tipo di errore, fornito da ``error_type``, è descritto nell'enumerazione :ref:`ErrorType`. -Additionally, ``script_backtraces`` provides backtraces for each of the script languages. These will only contain stack frames in editor builds and debug builds by default. To enable them for release builds as well, you need to enable :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks`. +Inoltre, ``script_backtraces`` fornisce backtrace per ciascuno dei linguaggi di script. Normalmente, questi conterranno stack frame solo nelle build dell'editor e nelle build di debug. Per abilitarli anche per le build di rilascio, è necessario abilitare :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks`. -\ **Warning:** This function may be called from multiple different threads, so you may need to do your own locking. +\ **Attenzione:** Questa funzione si può chiamare da più thread diversi, quindi potrebbe essere necessario eseguire i propri blocchi. -\ **Note:** ``script_backtraces`` will not contain any captured variables, due to its prohibitively high cost. To get those you will need to capture the backtraces yourself, from within the **Logger** virtual methods, using :ref:`Engine.capture_script_backtraces()`. +\ **Nota:** ``script_backtraces`` non conterrà alcuna variabile catturata, a causa del suo costo proibitivo. Per ottenerle, sarà necessario catturare personalmente i backtrace, dall'interno dei metodi virtuali del **Logger**, attraverso :ref:`Engine.capture_script_backtraces()`. .. rst-class:: classref-item-separator @@ -112,9 +112,9 @@ Additionally, ``script_backtraces`` provides backtraces for each of the script l |void| **_log_message**\ (\ message\: :ref:`String`, error\: :ref:`bool`\ ) |virtual| :ref:`🔗` -Called when a message is logged. If ``error`` is ``true``, then this message was meant to be sent to ``stderr``. +Chiamato quando un messaggio viene registrato. Se ``error`` è ``true``, allora questo messaggio era destinato per ``stderr``. -\ **Warning:** This function may be called from multiple different threads, so you may need to do your own locking. +\ **Attenzione:** Questa funzione si può chiamare da più thread diversi, quindi potrebbe essere necessario eseguire i propri blocchi. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_lookatmodifier3d.rst b/classes/it/class_lookatmodifier3d.rst index ca123fcbfd..2be42c917a 100644 --- a/classes/it/class_lookatmodifier3d.rst +++ b/classes/it/class_lookatmodifier3d.rst @@ -686,9 +686,9 @@ Restituisce i secondi rimanenti dell'interpolazione basata sul tempo. :ref:`bool` **is_interpolating**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if time-based interpolation is running. If ``true``, it is equivalent to :ref:`get_interpolation_remaining()` returning ``0.0``. +Restituisce ``true`` se l'interpolazione basata sul tempo è in esecuzione. Se ``true``, è equivalente a :ref:`get_interpolation_remaining()` quando restituisce ``0.0``. -This is useful to determine whether a **LookAtModifier3D** can be removed safely. +Questo metodo è utile per determinare se è possibile rimuovere un **LookAtModifier3D** in modo sicuro. .. rst-class:: classref-item-separator diff --git a/classes/it/class_mainloop.rst b/classes/it/class_mainloop.rst index e84ed04d11..e1b66097e7 100644 --- a/classes/it/class_mainloop.rst +++ b/classes/it/class_mainloop.rst @@ -257,13 +257,13 @@ Chiamato una volta durante l'inizializzazione. :ref:`bool` **_physics_process**\ (\ delta\: :ref:`float`\ ) |virtual| :ref:`🔗` -Called each physics tick. ``delta`` is the logical time between physics ticks in seconds and is equal to :ref:`Engine.time_scale` / :ref:`Engine.physics_ticks_per_second`. Equivalent to :ref:`Node._physics_process()`. +Chiamato ogni tick di fisica. ``delta`` è il tempo logico tra i tick di fisica in secondi ed è uguale a :ref:`Engine.time_scale` / :ref:`Engine.physics_ticks_per_second`. Equivalente a :ref:`Node._physics_process()`. -If implemented, the method must return a boolean value. ``true`` ends the main loop, while ``false`` lets it proceed to the next step. +Se implementato, il metodo deve restituire un valore booleano. ``true`` termina il ciclo principale, mentre ``false`` gli consente di procedere al passaggio successivo. -\ **Note:** :ref:`_physics_process()` may be called up to :ref:`Engine.max_physics_steps_per_frame` times per (idle) frame. This step limit may be reached when the engine is suffering performance issues. +\ **Nota:** :ref:`_physics_process()` può essere chiamato fino a :ref:`Engine.max_physics_steps_per_frame` volte per frame (inattivo). È possibile raggiungere tale limite quando il motore soffre di problemi di prestazioni. -\ **Note:** Accumulated ``delta`` may diverge from real world seconds. +\ **Nota:** Il ``delta`` accumulato potrebbe deviare dai secondi reali. .. rst-class:: classref-item-separator @@ -275,15 +275,15 @@ If implemented, the method must return a boolean value. ``true`` ends the main l :ref:`bool` **_process**\ (\ delta\: :ref:`float`\ ) |virtual| :ref:`🔗` -Called on each idle frame, prior to rendering, and after physics ticks have been processed. ``delta`` is the time between frames in seconds. Equivalent to :ref:`Node._process()`. +Chiamato su ogni frame inattivo, prima del rendering e dopo l'elaborazione dei tick di fisica. ``delta`` è il tempo tra i frame in secondi. Equivalente a :ref:`Node._process()`. -If implemented, the method must return a boolean value. ``true`` ends the main loop, while ``false`` lets it proceed to the next frame. +Se implementato, il metodo deve restituire un valore booleano. ``true`` termina il ciclo principale, mentre ``false`` gli consente di procedere al frame successivo. -\ **Note:** When the engine is struggling and the frame rate is lowered, ``delta`` will increase. When ``delta`` is increased, it's capped at a maximum of :ref:`Engine.time_scale` \* :ref:`Engine.max_physics_steps_per_frame` / :ref:`Engine.physics_ticks_per_second`. As a result, accumulated ``delta`` may not represent real world time. +\ **Nota:** Quando il motore è in difficoltà e il frame rate è ridotto, ``delta`` aumenta. Quando ``delta`` è aumentato, è limitato a un massimo di :ref:`Engine.time_scale` \* :ref:`Engine.max_physics_steps_per_frame` / :ref:`Engine.physics_ticks_per_second`. Pertanto, il ``delta`` accumulato potrebbe non rappresentare il tempo reale. -\ **Note:** When ``--fixed-fps`` is enabled or the engine is running in Movie Maker mode (see :ref:`MovieWriter`), process ``delta`` will always be the same for every frame, regardless of how much time the frame took to render. +\ **Nota:** Quando ``--fixed-fps`` è abilitato o il motore è in esecuzione in modalità Movie Maker (vedi :ref:`MovieWriter`), il ``delta`` del processo sarà sempre lo stesso per ogni frame, a prescindere dal tempo impiegato per renderizzare il frame. -\ **Note:** Frame delta may be post-processed by :ref:`OS.delta_smoothing` if this is enabled for the project. +\ **Nota:** È possibile che il delta dei frame sia post-elaborato da :ref:`OS.delta_smoothing` se questa opzione è abilitata per il progetto. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_margincontainer.rst b/classes/it/class_margincontainer.rst index 1978353c91..1576ac8869 100644 --- a/classes/it/class_margincontainer.rst +++ b/classes/it/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/it/class_material.rst b/classes/it/class_material.rst index 8219430297..bf4931b02b 100644 --- a/classes/it/class_material.rst +++ b/classes/it/class_material.rst @@ -131,11 +131,11 @@ Imposta il **Material** da utilizzare per il passaggio successivo. Questo render - |void| **set_render_priority**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_render_priority**\ (\ ) -Sets the render priority for objects in 3D scenes. Higher priority objects will be sorted in front of lower priority objects. In other words, all objects with :ref:`render_priority` ``1`` will render on top of all objects with :ref:`render_priority` ``0``. +Imposta la priorità di rendering per gli oggetti nelle scene 3D. Gli oggetti con priorità più alta saranno ordinati prima di quelli con priorità più bassa. In altre parole, tutti gli oggetti con un :ref:`render_priority` di ``1`` saranno renderizzati prima di tutti gli oggetti con un :ref:`render_priority` di ``0``. -\ **Note:** This only applies to :ref:`StandardMaterial3D`\ s and :ref:`ShaderMaterial`\ s with type "Spatial". +\ **Nota:** Questo si applica solo ai :ref:`StandardMaterial3D` e :ref:`ShaderMaterial` con tipo "Spatial". -\ **Note:** This will not impact how transparent objects are sorted relative to opaque objects or how dynamic meshes will be sorted relative to other opaque meshes. This is because all transparent objects are drawn after all opaque objects and all dynamic opaque meshes are drawn before other opaque meshes. +\ **Nota:** Questo non avrà alcun impatto sul modo in cui gli oggetti trasparenti sono ordinati rispetto agli oggetti opachi o sul modo in cui le mesh dinamiche sono ordinate rispetto ad altre mesh opache. Ciò perché tutti gli oggetti trasparenti sono disegnati dopo tutti gli oggetti opachi e tutte le mesh opache dinamiche sono disegnate prima di altre mesh opache. .. rst-class:: classref-section-separator diff --git a/classes/it/class_menubutton.rst b/classes/it/class_menubutton.rst index 603c951eb2..332ecefe81 100644 --- a/classes/it/class_menubutton.rst +++ b/classes/it/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/it/class_mesh.rst b/classes/it/class_mesh.rst index 20f2db00ca..b46e47d130 100644 --- a/classes/it/class_mesh.rst +++ b/classes/it/class_mesh.rst @@ -560,7 +560,7 @@ Spostamento di bit del primo flag di compressione. I flag di compressione devono :ref:`ArrayFormat` **ARRAY_FLAG_USE_2D_VERTICES** = ``33554432`` -Flag utilizzato per contrassegnare che l'array contiene vertici 2D. +Flag usato per indicare che l'array contiene vertici 2D. .. _class_Mesh_constant_ARRAY_FLAG_USE_DYNAMIC_UPDATE: @@ -568,7 +568,7 @@ Flag utilizzato per contrassegnare che l'array contiene vertici 2D. :ref:`ArrayFormat` **ARRAY_FLAG_USE_DYNAMIC_UPDATE** = ``67108864`` -Flag used to mark that the mesh data will use ``GL_DYNAMIC_DRAW`` on GLES. Unused on Vulkan. +Flag usato per indicare che i dati della mesh utilizzeranno ``GL_DYNAMIC_DRAW`` su GLES. Non usato su Vulkan. .. _class_Mesh_constant_ARRAY_FLAG_USE_8_BONE_WEIGHTS: @@ -576,7 +576,7 @@ Flag used to mark that the mesh data will use ``GL_DYNAMIC_DRAW`` on GLES. Unuse :ref:`ArrayFormat` **ARRAY_FLAG_USE_8_BONE_WEIGHTS** = ``134217728`` -Flag utilizzato per indicare che la mesh contiene fino a 8 influenze di ossa per vertice. Questo flag indica che gli elementi di :ref:`ARRAY_BONES` e di :ref:`ARRAY_WEIGHTS` avranno una lunghezza doppia. +Flag usato per indicare che la mesh contiene fino a 8 influenze di ossa per vertice. Questo flag indica che gli elementi di :ref:`ARRAY_BONES` e di :ref:`ARRAY_WEIGHTS` avranno una lunghezza doppia. .. _class_Mesh_constant_ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY: @@ -584,7 +584,7 @@ Flag utilizzato per indicare che la mesh contiene fino a 8 influenze di ossa per :ref:`ArrayFormat` **ARRAY_FLAG_USES_EMPTY_VERTEX_ARRAY** = ``268435456`` -Flag utilizzato per indicare che la mesh non contiene alcun array di vertici intenzionalmente. +Flag usato per indicare che la mesh intenzionalmente non contiene alcun array di vertici. .. _class_Mesh_constant_ARRAY_FLAG_COMPRESS_ATTRIBUTES: @@ -592,7 +592,7 @@ Flag utilizzato per indicare che la mesh non contiene alcun array di vertici int :ref:`ArrayFormat` **ARRAY_FLAG_COMPRESS_ATTRIBUTES** = ``536870912`` -Flag utilizzato per contrassegnare che una mesh sta utilizzando attributi compressi (vertici, normali, tangenti, UV). Quando questa forma di compressione è abilitata, le posizioni dei vertici saranno compresse in un attributo RGBA16UNORM e ridimensionate nello shader dei vertici. La normale e la tangente saranno compresse in un RG16UNORM che rappresenta un asse e un float a 16 bit memorizzato nel canale A del vertice. Gli UV utilizzeranno float normalizzati a 16 bit anziché float con segno a 32 bit completi. Quando si utilizza questa modalità di compressione, è necessario utilizzare vertici, normali e tangenti o solo vertici. Non è possibile utilizzare normali senza tangenti. Gli importatori abiliteranno automaticamente questa compressione se possibile. +Flag usato per indicare che una mesh sta usando attributi compressi (vertici, normali, tangenti, UV). Quando questa forma di compressione è abilitata, le posizioni dei vertici saranno compresse in un attributo RGBA16UNORM e ridimensionate nello shader dei vertici. La normale e la tangente saranno compresse in un RG16UNORM che rappresenta un asse e un float a 16 bit memorizzato nel canale A del vertice. Gli UV utilizzeranno float normalizzati a 16 bit anziché float con segno a 32 bit completi. Quando si utilizza questa modalità di compressione, è necessario utilizzare vertici, normali e tangenti o solo vertici. Non è possibile utilizzare normali senza tangenti. Gli importatori abiliteranno automaticamente questa compressione se possibile. .. rst-class:: classref-item-separator diff --git a/classes/it/class_meshdatatool.rst b/classes/it/class_meshdatatool.rst index 19176cc09d..d162f181de 100644 --- a/classes/it/class_meshdatatool.rst +++ b/classes/it/class_meshdatatool.rst @@ -249,9 +249,9 @@ Restituisce i metadati assegnati allo spigolo specificato. :ref:`int` **get_edge_vertex**\ (\ idx\: :ref:`int`, vertex\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the index of the specified ``vertex`` connected to the edge at index ``idx``. +Restituisce l'indice del vertice ``vertex`` connesso allo spigolo all'indice ``idx``. -\ ``vertex`` can only be ``0`` or ``1``, as edges are composed of two vertices. +\ ``vertex`` può essere solo ``0`` o ``1`` poiché gli spigoli sono composti da due vertici. .. rst-class:: classref-item-separator @@ -275,9 +275,9 @@ Restituisce il numero di facce in questa :ref:`Mesh`. :ref:`int` **get_face_edge**\ (\ idx\: :ref:`int`, edge\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the edge associated with the face at index ``idx``. +Restituisce lo spigolo associato alla faccia all'indice ``idx``. -\ ``edge`` argument must be either ``0``, ``1``, or ``2`` because a face only has three edges. +\ ``edge`` deve essere ``0``, ``1`` o ``2`` perché una faccia ha solo tre spigoli. .. rst-class:: classref-item-separator @@ -315,7 +315,7 @@ Calcola e restituisce la normale alla faccia specificata. Restituisce l'indice del vertice specificato della faccia fornita. -\ ``vertex`` deve essere ``0``, ``1``, or ``2`` perché le facce contengono tre vertici. +\ ``vertex`` deve essere ``0``, ``1`` o ``2`` perché le facce contengono tre vertici. .. tabs:: diff --git a/classes/it/class_meshinstance3d.rst b/classes/it/class_meshinstance3d.rst index 71b4830715..060d29a5db 100644 --- a/classes/it/class_meshinstance3d.rst +++ b/classes/it/class_meshinstance3d.rst @@ -16,7 +16,7 @@ Nodo che istanzia delle mesh in uno scenario. Descrizione ---------------------- -MeshInstance3D is a node that takes a :ref:`Mesh` resource and adds it to the current scenario by creating an instance of it. This is the class most often used to render 3D geometry and can be used to instance a single :ref:`Mesh` in many places. This allows reusing geometry, which can save on resources. When a :ref:`Mesh` has to be instantiated more than thousands of times at close proximity, consider using a :ref:`MultiMesh` in a :ref:`MultiMeshInstance3D` instead. +MeshInstance3D è un nodo che prende una risorsa :ref:`Mesh` e la aggiunge allo scenario attuale creandone un'istanza. Questa è la classe usata più spesso per il rendering della geometria 3D e si può utilizzare per creare un'istanza di una singola :ref:`Mesh` in molti posti. Ciò consente di riutilizzare la geometria, risparmiando così sulle risorse. Quando è necessario istanziare una :ref:`Mesh` più di migliaia di volte in prossimità, considerare invece l'utilizzo di una :ref:`MultiMesh` in una :ref:`MultiMeshInstance3D`. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_meshlibrary.rst b/classes/it/class_meshlibrary.rst index c5647f7a31..dacc4c9cdb 100644 --- a/classes/it/class_meshlibrary.rst +++ b/classes/it/class_meshlibrary.rst @@ -160,7 +160,7 @@ Restituisce la mesh dell'elemento. :ref:`ShadowCastingSetting` **get_item_mesh_cast_shadow**\ (\ id\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the item's shadow casting mode. +Restituisce la modalità di proiezione dell'ombra dell'elemento. .. rst-class:: classref-item-separator @@ -294,7 +294,7 @@ Imposta la mesh dell'elemento. |void| **set_item_mesh_cast_shadow**\ (\ id\: :ref:`int`, shadow_casting_setting\: :ref:`ShadowCastingSetting`\ ) :ref:`🔗` -Sets the item's shadow casting mode to ``shadow_casting_setting``. +Imposta la modalità di proiezione dell'ombra dell'elemento su ``shadow_casting_setting``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_modifierbonetarget3d.rst b/classes/it/class_modifierbonetarget3d.rst index 88ceee45f5..9a0b8022fd 100644 --- a/classes/it/class_modifierbonetarget3d.rst +++ b/classes/it/class_modifierbonetarget3d.rst @@ -7,16 +7,16 @@ ModifierBoneTarget3D **Eredita:** :ref:`SkeletonModifier3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -А node that dynamically copies the 3D transform of a bone in its parent :ref:`Skeleton3D`. +Un nodo che copia dinamicamente la trasformazione 3D di un osso nel suo :ref:`Skeleton3D` genitore. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This node selects a bone in a :ref:`Skeleton3D` and attaches to it. This means that the **ModifierBoneTarget3D** node will dynamically copy the 3D transform of the selected bone. +Questo nodo seleziona un osso in un :ref:`Skeleton3D` e si collega ad esso. Ciò significa che il nodo **ModifierBoneTarget3D** copierà dinamicamente la trasformazione 3D dell'osso selezionato. -The functionality is similar to :ref:`BoneAttachment3D`, but this node adopts the :ref:`SkeletonModifier3D` cycle and is intended to be used as another :ref:`SkeletonModifier3D`'s target. +La funzionalità è simile a :ref:`BoneAttachment3D`, ma questo nodo adotta il ciclo di :ref:`SkeletonModifier3D` ed è pensato per essere l'obiettivo di un altro :ref:`SkeletonModifier3D`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_moviewriter.rst b/classes/it/class_moviewriter.rst index 9e6f9540c1..15016e16cd 100644 --- a/classes/it/class_moviewriter.rst +++ b/classes/it/class_moviewriter.rst @@ -14,25 +14,25 @@ Classe astratta per codificatori di registrazione video non in tempo reale. Descrizione ---------------------- -Godot can record videos with non-real-time simulation. Like the ``--fixed-fps`` :doc:`command line argument <../tutorials/editor/command_line_tutorial>`, this forces the reported ``delta`` in :ref:`Node._process()` functions to be identical across frames, regardless of how long it actually took to render the frame. This can be used to record high-quality videos with perfect frame pacing regardless of your hardware's capabilities. +Godot può registrare video con simulazione non in tempo reale. Come l':doc:`argomento della riga di comando <../tutorials/editor/command_line_tutorial>`\ ``--fixed-fps``, questo forza il ``delta`` segnalato nelle funzioni :ref:`Node._process()` a essere identico tra i frame, a prescindere dal tempo effettivamente impiegato per renderizzare il frame. Questo può essere utilizzato per registrare video di alta qualità con una frequenza perfetta di frame a prescindere dalle capacità del tuo hardware. -Godot has 3 built-in **MovieWriter**\ s: +Godot ha 3 **MovieWriter** integrati: -- OGV container with Theora for video and Vorbis for audio (``.ogv`` file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing :ref:`ProjectSettings.editor/movie_writer/video_quality` and :ref:`ProjectSettings.editor/movie_writer/ogv/audio_quality`. The resulting file can be viewed in Godot with :ref:`VideoStreamPlayer` and most video players, but not web browsers as they don't support Theora. +- Contenitore OGV con Theora per il video e Vorbis per l'audio (estensione file ``.ogv``). Compressione con perdita di dati, dimensioni file medie, codifica veloce. La qualità della compressione può essere regolata modificando :ref:`ProjectSettings.editor/movie_writer/video_quality` e :ref:`ProjectSettings.editor/movie_writer/ogv/audio_quality`. È possibile visualizzare il file risultante in Godot con :ref:`VideoStreamPlayer` e la maggior parte dei lettori video, ma non con i browser web, poiché non supportano Theora. -- AVI container with MJPEG for video and uncompressed audio (``.avi`` file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing :ref:`ProjectSettings.editor/movie_writer/video_quality`. The resulting file can be viewed in most video players, but it must be converted to another format for viewing on the web or by Godot with :ref:`VideoStreamPlayer`. MJPEG does not support transparency. AVI output is currently limited to a file of 4 GB in size at most. +- Contenitore AVI con MJPEG per video e audio non compresso (estensione file ``.avi``). Compressione con perdita di dati, dimensioni file medie, codifica veloce. La qualità della compressione può essere regolata modificando :ref:`ProjectSettings.editor/movie_writer/video_quality`. È possibile visualizzare il file risultante nella maggior parte dei lettori video, ma è necessario convertirlo in un altro formato per poterlo visualizzare sul Web o da Godot con :ref:`VideoStreamPlayer`. MJPEG non supporta la trasparenza. Il file in AVI risultante può attualmente essere di dimensioni fino a 4 GB. -- PNG image sequence for video and WAV for audio (``.png`` file extension). Lossless compression, large file sizes, slow encoding. Designed to be encoded to a video file with another tool such as `FFmpeg `__ after recording. Transparency is currently not supported, even if the root viewport is set to be transparent. +- Sequenza di immagini PNG per video e WAV per audio (estensione file ``.png``). Compressione senza perdita di dati, dimensioni file grandi, codifica lenta. Progettato per essere codificato in un file video con un altro strumento come `FFmpeg `__ dopo la registrazione. La trasparenza non è attualmente supportata, anche se la viewport radice è impostata per essere trasparente. -If you need to encode to a different format or pipe a stream through third-party software, you can extend the **MovieWriter** class to create your own movie writers. This should typically be done using GDExtension for performance reasons. +Se c'è bisogno di codificare in un formato diverso o di incanalare un flusso tramite software di terze parti, è possibile estendere la classe **MovieWriter** per creare scrittori di filmato personalizzati. Questo dovrebbe essere in genere fatto usando GDExtension per motivi di prestazioni. -\ **Editor usage:** A default movie file path can be specified in :ref:`ProjectSettings.editor/movie_writer/movie_file`. Alternatively, for running single scenes, a ``movie_file`` metadata can be added to the root node, specifying the path to a movie file that will be used when recording that scene. Once a path is set, click the video reel icon in the top-right corner of the editor to enable Movie Maker mode, then run any scene as usual. The engine will start recording as soon as the splash screen is finished, and it will only stop recording when the engine quits. Click the video reel icon again to disable Movie Maker mode. Note that toggling Movie Maker mode does not affect project instances that are already running. +\ **Utilizzo dell'editor:** È possibile specificare un percorso predefinito per il file del filmato in :ref:`ProjectSettings.editor/movie_writer/movie_file`. In alternativa, per l'esecuzione di singole scene, è possibile aggiungere metadati ``movie_file`` al nodo radice, specificando il percorso di un file del filmato che sarà utilizzato durante la registrazione di tale scena. Una volta impostato un percorso, clicca sull'icona del rullino video nell'angolo in alto a destra dell'editor per abilitare la modalità Movie Maker, quindi eseguire una qualsiasi scena come al solito. Il motore inizierà a registrare non appena la schermata iniziale sarà terminata e interromperà la registrazione solo quando il motore si chiuderà. Cliccare nuovamente sull'icona del rullino video per disabilitare la modalità Movie Maker. Si noti che commutare la modalità Movie Maker non influisce sulle istanze già in esecuzione del progetto. -\ **Note:** MovieWriter is available for use in both the editor and exported projects, but it is *not* designed for use by end users to record videos while playing. Players wishing to record gameplay videos should install tools such as `OBS Studio `__ or `SimpleScreenRecorder `__ instead. +\ **Nota:** MovieWriter è disponibile per l'uso sia nell'editor sia nei progetti esportati, ma *non* è progettato per essere utilizzato dagli utenti finali per registrare video durante la riproduzione. I giocatori che desiderano registrare video di gioco dovrebbero installare strumenti come `OBS Studio `__ o `SimpleScreenRecorder `__. -\ **Note:** MJPEG support (``.avi`` file extension) depends on the ``jpg`` module being enabled at compile time (default behavior). +\ **Nota:** Il supporto di MJPEG (estensione file ``.avi``) dipende dall'abilitazione del modulo ``jpg`` in fase di compilazione (comportamento predefinito). -\ **Note:** OGV support (``.ogv`` file extension) depends on the ``theora`` module being enabled at compile time (default behavior). Theora compression is only available in editor binaries. +\ **Nota:** Il supporto di OGV (estensione file ``.ogv``) dipende dall'abilitazione del modulo ``theora`` in fase di compilazione (comportamento predefinito). La compressione Theora è disponibile solo negli eseguibili dell'editor. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_multimesh.rst b/classes/it/class_multimesh.rst index 63c55b440d..1854ca91d6 100644 --- a/classes/it/class_multimesh.rst +++ b/classes/it/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: @@ -414,7 +414,7 @@ Descrizioni dei metodi :ref:`AABB` **get_aabb**\ (\ ) |const| :ref:`🔗` -Restituisce il bounding box di visibilità allineato all'asse nello spazio locale. +Restituisce la bounding box di visibilità allineato all'asse nello spazio locale. .. rst-class:: classref-item-separator diff --git a/classes/it/class_multimeshinstance2d.rst b/classes/it/class_multimeshinstance2d.rst index 0baec7301e..b5132071d6 100644 --- a/classes/it/class_multimeshinstance2d.rst +++ b/classes/it/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/it/class_multimeshinstance3d.rst b/classes/it/class_multimeshinstance3d.rst index 711b04e222..3d659c7e92 100644 --- a/classes/it/class_multimeshinstance3d.rst +++ b/classes/it/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/it/class_multiplayerapi.rst b/classes/it/class_multiplayerapi.rst index 3e0bc48c33..647d1e5711 100644 --- a/classes/it/class_multiplayerapi.rst +++ b/classes/it/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/it/class_multiplayerapiextension.rst b/classes/it/class_multiplayerapiextension.rst index 55c939c81b..b61cb393c3 100644 --- a/classes/it/class_multiplayerapiextension.rst +++ b/classes/it/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: @@ -17,9 +17,9 @@ Classe di base utilizzata per estendere la :ref:`MultiplayerAPI` implementation via script or extensions. +Questa classe può essere utilizzata per estendere o sostituire l'implementazione predefinita della :ref:`MultiplayerAPI` tramite script o estensioni. -The following example extend the default implementation (:ref:`SceneMultiplayer`) by logging every RPC being made, and every object being configured for replication. +L'esempio seguente estende l'implementazione predefinita (:ref:`SceneMultiplayer`) registrando ogni RPC eseguita e ogni oggetto configurato per la replica. .. tabs:: @@ -29,11 +29,11 @@ The following example extend the default implementation (:ref:`SceneMultiplayer< extends MultiplayerAPIExtension class_name LogMultiplayer - # We want to extend the default SceneMultiplayer. + # Vogliamo estendere il SceneMultiplayer predefinito. var base_multiplayer = SceneMultiplayer.new() func _init(): - # Just passthrough base signals (copied to var to avoid cyclic reference) + # Oltrepassa i segnali di base (copiati in var per evitare riferimenti ciclici) var cts = connected_to_server var cf = connection_failed var sd = server_disconnected @@ -48,28 +48,28 @@ The following example extend the default implementation (:ref:`SceneMultiplayer< func _poll(): return base_multiplayer.poll() - # Log RPC being made and forward it to the default multiplayer. + # Registra l'RPC in corso e inoltrala al multiplayer predefinito. func _rpc(peer: int, object: Object, method: StringName, args: Array) -> Error: - print("Got RPC for %d: %s::%s(%s)" % [peer, object, method, args]) + print("Ricevuta RPC per %d: %s::%s(%s)" % [peer, object, method, args]) return base_multiplayer.rpc(peer, object, method, args) - # Log configuration add. E.g. root path (nullptr, NodePath), replication (Node, Spawner|Synchronizer), custom. + # Registra l'aggiunta di una configurazione. Ad esempio percorso radice (nullptr, NodePath), replicazione (Node, Spawner|Synchronizer), personalizzato. func _object_configuration_add(object, config: Variant) -> Error: if config is MultiplayerSynchronizer: - print("Adding synchronization configuration for %s. Synchronizer: %s" % [object, config]) + print("Aggiunta configurazione di sincronizzazione per %s. Sincronizzatore: %s" % [object, config]) elif config is MultiplayerSpawner: - print("Adding node %s to the spawn list. Spawner: %s" % [object, config]) + print("Aggiunta nodo %s alla lista di generazioni. Generatore: %s" % [object, config]) return base_multiplayer.object_configuration_add(object, config) # Log configuration remove. E.g. root path (nullptr, NodePath), replication (Node, Spawner|Synchronizer), custom. func _object_configuration_remove(object, config: Variant) -> Error: if config is MultiplayerSynchronizer: - print("Removing synchronization configuration for %s. Synchronizer: %s" % [object, config]) + print("Rimozione configurazione di sincronizzazione per %s. Sincronizzatore: %s" % [object, config]) elif config is MultiplayerSpawner: - print("Removing node %s from the spawn list. Spawner: %s" % [object, config]) + print("Rimozione nodo %s dalla lista di generazioni. Generatore: %s" % [object, config]) return base_multiplayer.object_configuration_remove(object, config) - # These can be optional, but in our case we want to extend SceneMultiplayer, so forward everything. + # Questi possono essere facoltativi, ma nel nostro caso vogliamo estendere SceneMultiplayer, quindi inoltra tutto. func _set_multiplayer_peer(p_peer: MultiplayerPeer): base_multiplayer.multiplayer_peer = p_peer @@ -87,7 +87,7 @@ The following example extend the default implementation (:ref:`SceneMultiplayer< -Then in your main scene or in an autoload call :ref:`SceneTree.set_multiplayer()` to start using your custom :ref:`MultiplayerAPI`: +Successivamente, nella tua scena principale o in un autoload, chiama :ref:`SceneTree.set_multiplayer()` per iniziare a usare la :ref:`MultiplayerAPI` personalizzata: .. tabs:: @@ -96,12 +96,12 @@ Then in your main scene or in an autoload call :ref:`SceneTree.set_multiplayer() # autoload.gd func _enter_tree(): - # Sets our custom multiplayer as the main one in SceneTree. - get_tree().set_multiplayer(LogMultiplayer.new()) + # Imposta il multiplayer personalizzato come quello principale in SceneTree. + get_tree().set_multiplayer(LogMultiplayer.new()) -Native extensions can alternatively use the :ref:`MultiplayerAPI.set_default_interface()` method during initialization to configure themselves as the default implementation. +In alternativa, le estensioni native possono utilizzare il metodo :ref:`MultiplayerAPI.set_default_interface()` durante l'inizializzazione per configurarsi come implementazione predefinita. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_multiplayerpeer.rst b/classes/it/class_multiplayerpeer.rst index d5599ae060..1e16d53031 100644 --- a/classes/it/class_multiplayerpeer.rst +++ b/classes/it/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: @@ -263,7 +263,7 @@ Il canale da usare per inviare pacchetti. Molte API di rete come ENet e WebRTC c - |void| **set_transfer_mode**\ (\ value\: :ref:`TransferMode`\ ) - :ref:`TransferMode` **get_transfer_mode**\ (\ ) -The manner in which to send packets to the target peer. See the :ref:`set_target_peer()` method. +Il modo in cui inviare pacchetti al peer di destinazione. Vedi il metodo :ref:`set_target_peer()`. .. rst-class:: classref-section-separator @@ -316,7 +316,7 @@ Restituisce un numero intero generato a caso che può essere utilizzato come ID :ref:`ConnectionStatus` **get_connection_status**\ (\ ) |const| :ref:`🔗` -Returns the current state of the connection. +Restituisce lo stato attuale della connessione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_multiplayerpeerextension.rst b/classes/it/class_multiplayerpeerextension.rst index 7174309aab..cd4003b61d 100644 --- a/classes/it/class_multiplayerpeerextension.rst +++ b/classes/it/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/it/class_multiplayerspawner.rst b/classes/it/class_multiplayerspawner.rst index c05f78ee86..8e7fde343d 100644 --- a/classes/it/class_multiplayerspawner.rst +++ b/classes/it/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/it/class_multiplayersynchronizer.rst b/classes/it/class_multiplayersynchronizer.rst index 96337701c3..62c70955b1 100644 --- a/classes/it/class_multiplayersynchronizer.rst +++ b/classes/it/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: @@ -256,7 +256,7 @@ Se :ref:`root_path` è stato g - |void| **set_visibility_update_mode**\ (\ value\: :ref:`VisibilityUpdateMode`\ ) - :ref:`VisibilityUpdateMode` **get_visibility_update_mode**\ (\ ) -Specifies when visibility filters are updated. +Specifica quando i filtri di visibilità vengono aggiornati. .. rst-class:: classref-section-separator diff --git a/classes/it/class_mutex.rst b/classes/it/class_mutex.rst index 2daa366c02..336ba447ff 100644 --- a/classes/it/class_mutex.rst +++ b/classes/it/class_mutex.rst @@ -14,11 +14,11 @@ Un :ref:`Semaphore` binario per la sincronizzazione di più :re Descrizione ---------------------- -Un mutex di sincronizzazione (mutua esclusione). È utilizzato per sincronizzare più :ref:`Thread` ed è equivalente a un :ref:`Semaphore` binario. Garantisce che solo un thread alla volta possa accedere a una sezione critica. +Un mutex di sincronizzazione (mutua esclusione). Serve per sincronizzare più :ref:`Thread` ed è equivalente a un :ref:`Semaphore` binario. Garantisce che solo un thread alla volta possa accedere a una sezione critica. Questo è un mutex rientrante, il che significa che può essere bloccato più volte da un thread, a condizione che lo sblocchi altrettante volte. -\ **Attenzione:** ÈI mutex devono essere utilizzati con attenzione per evitare deadlock. +\ **Attenzione:** I mutex si devono utilizzare con attenzione per evitare deadlock. \ **Attenzione:** Per garantire una pulizia corretta senza arresti anomali o deadlock, devono essere soddisfatte le seguenti condizioni: diff --git a/classes/it/class_navigationagent2d.rst b/classes/it/class_navigationagent2d.rst index 74729ab729..4616ed134e 100644 --- a/classes/it/class_navigationagent2d.rst +++ b/classes/it/class_navigationagent2d.rst @@ -16,13 +16,13 @@ Un agente 2D utilizzato per individuare il percorso verso una posizione evitando Descrizione ---------------------- -A 2D agent used to pathfind to a position while avoiding static and dynamic obstacles. The calculation can be used by the parent node to dynamically move it along the path. Requires navigation data to work correctly. +Un agente 2D utilizzato per trovare il percorso verso una posizione evitando ostacoli statici e dinamici. Il calcolo può essere utilizzato dal nodo genitore per spostarlo dinamicamente lungo il percorso. Richiede dati di navigazione per funzionare correttamente. -Dynamic obstacles are avoided using RVO collision avoidance. Avoidance is computed before physics, so the pathfinding information can be used safely in the physics step. +Gli ostacoli dinamici vengono evitati attraverso l'evasione delle collisioni RVO. L'evasione viene calcolata prima della fisica, quindi le informazioni di ricerca del percorso possono essere utilizzate in modo sicuro nella passaggio di fisica. -\ **Note:** After setting the :ref:`target_position` property, the :ref:`get_next_path_position()` method must be used once every physics frame to update the internal path logic of the navigation agent. The vector position it returns should be used as the next movement position for the agent's parent node. +\ **Nota:** Dopo aver impostato la proprietà :ref:`target_position`, il metodo :ref:`get_next_path_position()` deve essere utilizzato una volta per ogni frame di fisica per aggiornare la logica interna del percorso dell'agente di navigazione. La posizione del vettore che restituisce deve essere utilizzata come posizione successiva del movimento per il nodo genitore dell'agente. -\ **Note:** Several methods of this class, such as :ref:`get_next_path_position()`, can trigger a new path calculation. Calling these in your callback to an agent's signal, such as :ref:`waypoint_reached`, can cause infinite recursion. It is recommended to call these methods in the physics step or, alternatively, delay their call until the end of the frame (see :ref:`Object.call_deferred()` or :ref:`Object.CONNECT_DEFERRED`). +\ **Nota:** Diversi metodi di questa classe, come :ref:`get_next_path_position()`, possono attivare un nuovo calcolo del percorso. Chiamarli nel callback al segnale di un agente, come :ref:`waypoint_reached`, può causare una ricorsione infinita. Si consiglia di chiamare questi metodi nel processo di fisica o, in alternativa, ritardarne la chiamata fino alla fine del frame (vedi :ref:`Object.call_deferred()` o :ref:`Object.CONNECT_DEFERRED`). .. rst-class:: classref-introduction-group @@ -573,7 +573,7 @@ Post-elaborazione del percorso applicata al corridoio del percorso grezzo trovat - |void| **set_path_return_max_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_length**\ (\ ) -The maximum allowed length of the returned path in world units. A path will be clipped when going over this length. +La lunghezza massima consentita del percorso restituito in unità mondiali. Un percorso verrà troncato quando supera questa lunghezza. .. rst-class:: classref-item-separator @@ -924,7 +924,7 @@ Restituisce la posizione successiva in coordinate globali in cui è possibile mu :ref:`float` **get_path_length**\ (\ ) |const| :ref:`🔗` -Returns the length of the currently calculated path. The returned value is ``0.0``, if the path is still calculating or no calculation has been requested yet. +Restituisce la lunghezza del percorso attualmente calcolato. Il valore restituito è ``0.0``, se il percorso è ancora in fase di calcolo o nessun calcolo è stato ancora richiesto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationagent3d.rst b/classes/it/class_navigationagent3d.rst index c598ec9721..5bbb8c8378 100644 --- a/classes/it/class_navigationagent3d.rst +++ b/classes/it/class_navigationagent3d.rst @@ -16,13 +16,13 @@ Un agente 3D utilizzato per individuare il percorso verso una posizione evitando Descrizione ---------------------- -A 3D agent used to pathfind to a position while avoiding static and dynamic obstacles. The calculation can be used by the parent node to dynamically move it along the path. Requires navigation data to work correctly. +Un agente 3D utilizzato per trovare il percorso verso una posizione evitando ostacoli statici e dinamici. Il calcolo può essere utilizzato dal nodo genitore per spostarlo dinamicamente lungo il percorso. Richiede dati di navigazione per funzionare correttamente. -Dynamic obstacles are avoided using RVO collision avoidance. Avoidance is computed before physics, so the pathfinding information can be used safely in the physics step. +Gli ostacoli dinamici vengono evitati attraverso l'evasione delle collisioni RVO. L'evasione viene calcolata prima della fisica, quindi le informazioni di ricerca del percorso possono essere utilizzate in modo sicuro nella passaggio di fisica. -\ **Note:** After setting the :ref:`target_position` property, the :ref:`get_next_path_position()` method must be used once every physics frame to update the internal path logic of the navigation agent. The vector position it returns should be used as the next movement position for the agent's parent node. +\ **Nota:** Dopo aver impostato la proprietà :ref:`target_position`, il metodo :ref:`get_next_path_position()` deve essere utilizzato una volta per ogni frame di fisica per aggiornare la logica interna del percorso dell'agente di navigazione. La posizione del vettore che restituisce deve essere utilizzata come posizione successiva del movimento per il nodo genitore dell'agente. -\ **Note:** Several methods of this class, such as :ref:`get_next_path_position()`, can trigger a new path calculation. Calling these in your callback to an agent's signal, such as :ref:`waypoint_reached`, can cause infinite recursion. It is recommended to call these methods in the physics step or, alternatively, delay their call until the end of the frame (see :ref:`Object.call_deferred()` or :ref:`Object.CONNECT_DEFERRED`). +\ **Nota:** Diversi metodi di questa classe, come :ref:`get_next_path_position()`, possono attivare un nuovo calcolo del percorso. Chiamarli nel callback al segnale di un agente, come :ref:`waypoint_reached`, può causare una ricorsione infinita. Si consiglia di chiamare questi metodi nel processo di fisica o, in alternativa, ritardarne la chiamata fino alla fine del frame (vedi :ref:`Object.call_deferred()` o :ref:`Object.CONNECT_DEFERRED`). .. rst-class:: classref-introduction-group @@ -613,7 +613,7 @@ Post-elaborazione del percorso applicata al corridoio del percorso grezzo trovat - |void| **set_path_return_max_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_length**\ (\ ) -The maximum allowed length of the returned path in world units. A path will be clipped when going over this length. +La lunghezza massima consentita del percorso restituito in unità mondiali. Un percorso verrà troncato quando supera questa lunghezza. .. rst-class:: classref-item-separator @@ -983,7 +983,7 @@ Restituisce la posizione successiva in coordinate globali in cui è possibile mu :ref:`float` **get_path_length**\ (\ ) |const| :ref:`🔗` -Returns the length of the currently calculated path. The returned value is ``0.0``, if the path is still calculating or no calculation has been requested yet. +Restituisce la lunghezza del percorso attualmente calcolato. Il valore restituito è ``0.0``, se il percorso è ancora in fase di calcolo o nessun calcolo è stato ancora richiesto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationmesh.rst b/classes/it/class_navigationmesh.rst index 30b793338e..9a2285b701 100644 --- a/classes/it/class_navigationmesh.rst +++ b/classes/it/class_navigationmesh.rst @@ -321,11 +321,11 @@ La pendenza massima che è considerata percorribile, in gradi. - |void| **set_agent_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_agent_radius**\ (\ ) -The distance to erode/shrink the walkable area of the heightfield away from obstructions. +La distanza per erodere/restringere l'area percorribile del campo di altezza dagli ostacoli. -\ **Note:** While baking, this value will be rounded up to the nearest multiple of :ref:`cell_size`. +\ **Nota:** Durante la preparazione, questo valore sarà arrotondato al multiplo più vicino di :ref:`cell_size`. -\ **Note:** The radius must be equal or higher than ``0.0``. If the radius is ``0.0``, it won't be possible to fix invalid outline overlaps and other precision errors during the baking process. As a result, some obstacles may be excluded incorrectly from the final navigation mesh, or may delete the navigation mesh's polygons. +\ **Nota:** Il raggio deve essere uguale o superiore a ``0.0``. Se il raggio è ``0.0``, non sarà possibile correggere sovrapposizioni non valide tra contorni e altri errori di precisione durante il processo di preparazione. Di conseguenza, alcuni ostacoli potrebbero essere esclusi erroneamente dalla mesh di navigazione finale o potrebbero eliminare i poligoni della mesh di navigazione. .. rst-class:: classref-item-separator @@ -342,11 +342,11 @@ The distance to erode/shrink the walkable area of the heightfield away from obst - |void| **set_border_size**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_border_size**\ (\ ) -The size of the non-navigable border around the bake bounding area. +La dimensione del bordo non navigabile attorno all'area di delimitazione della preparazione. -In conjunction with the :ref:`filter_baking_aabb` and a :ref:`edge_max_error` value at ``1.0`` or below the border size can be used to bake tile aligned navigation meshes without the tile edges being shrunk by :ref:`agent_radius`. +In combinazione con :ref:`filter_baking_aabb` e un valore :ref:`edge_max_error` inferiore o uguale a ``1.0``, è possibile utilizzare la dimensione del bordo per preparare mesh di navigazione allineate ai tasselli senza che i bordi dei tasselli siano ridotti di :ref:`agent_radius`. -\ **Note:** If this value is not ``0.0``, it will be rounded up to the nearest multiple of :ref:`cell_size` during baking. +\ **Nota:** Se questo valore non è ``0.0``, sarà arrotondato al multiplo più vicino di :ref:`cell_size` durante la preparazione. .. rst-class:: classref-item-separator @@ -571,7 +571,7 @@ Utilizzato solo quando :ref:`geometry_parsed_geometry_type`\ ) - :ref:`ParsedGeometryType` **get_parsed_geometry_type**\ (\ ) -Determines which type of nodes will be parsed as geometry. +Determina quale tipo di nodi sarà interpretato come geometria. .. rst-class:: classref-item-separator @@ -588,7 +588,7 @@ Determines which type of nodes will be parsed as geometry. - |void| **set_source_geometry_mode**\ (\ value\: :ref:`SourceGeometryMode`\ ) - :ref:`SourceGeometryMode` **get_source_geometry_mode**\ (\ ) -The source of the geometry used when baking. +La sorgente della geometria utilizzata durante la preparazione. .. rst-class:: classref-item-separator @@ -662,7 +662,7 @@ La dimensione minima di una regione per la sua creazione. - |void| **set_sample_partition_type**\ (\ value\: :ref:`SamplePartitionType`\ ) - :ref:`SamplePartitionType` **get_sample_partition_type**\ (\ ) -Partitioning algorithm for creating the navigation mesh polys. +Algoritmo di partizionamento per la creazione dei poligoni della mesh di navigazione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationmeshsourcegeometrydata2d.rst b/classes/it/class_navigationmeshsourcegeometrydata2d.rst index b44b93b484..5043de696f 100644 --- a/classes/it/class_navigationmeshsourcegeometrydata2d.rst +++ b/classes/it/class_navigationmeshsourcegeometrydata2d.rst @@ -159,7 +159,7 @@ Cancella tutte le ostruzioni proiettate. :ref:`Rect2` **get_bounds**\ (\ ) :ref:`🔗` -Returns an axis-aligned bounding box that covers all the stored geometry data. The bounds are calculated when calling this function with the result cached until further geometry changes are made. +Restituisce una bounding box allineata agli assi che copre tutti i dati geometrici memorizzati. I limiti vengono calcolati quando si richiama questa funzione, con il risultato memorizzato nella cache finché non vengono apportate ulteriori modifiche alla geometria. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationmeshsourcegeometrydata3d.rst b/classes/it/class_navigationmeshsourcegeometrydata3d.rst index 61483ff4c4..21220e8baf 100644 --- a/classes/it/class_navigationmeshsourcegeometrydata3d.rst +++ b/classes/it/class_navigationmeshsourcegeometrydata3d.rst @@ -111,7 +111,7 @@ Aggiunge un :ref:`Array` di dimensioni :ref:`Mesh.ARRAY_MAX`, elevation\: :ref:`float`, height\: :ref:`float`, carve\: :ref:`bool`\ ) :ref:`🔗` -Adds a projected obstruction shape to the source geometry. The ``vertices`` are considered projected on an xz-axes plane, placed at the global y-axis ``elevation`` and extruded by ``height``. If ``carve`` is ``true`` the carved shape will not be affected by additional offsets (e.g. agent radius) of the navigation mesh baking process. +Aggiunge una forma di ostruzione proiettata alla geometria sorgente. I vertici ``vertices`` sono considerati proiettati su un piano degli assi xz, posizionati sull'asse y globale ``elevation`` ed estrusi da ``height``. Se ``carve`` è ``true`` la forma intagliata non sarà influenzata da offset aggiuntivi (ad esempio, raggio degli agenti) del processo di preparazione della mesh di navigazione. .. rst-class:: classref-item-separator @@ -159,7 +159,7 @@ Cancella tutte le ostruzioni proiettate. :ref:`AABB` **get_bounds**\ (\ ) :ref:`🔗` -Returns an axis-aligned bounding box that covers all the stored geometry data. The bounds are calculated when calling this function with the result cached until further geometry changes are made. +Restituisce una bounding box allineata agli assi che copre tutti i dati geometrici memorizzati. I limiti vengono calcolati quando si richiama questa funzione, con il risultato memorizzato nella cache finché non vengono apportate ulteriori modifiche alla geometria. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationpathqueryparameters2d.rst b/classes/it/class_navigationpathqueryparameters2d.rst index 15e55a7fe3..1dd8bca426 100644 --- a/classes/it/class_navigationpathqueryparameters2d.rst +++ b/classes/it/class_navigationpathqueryparameters2d.rst @@ -192,9 +192,9 @@ Descrizioni delle proprietà - |void| **set_excluded_regions**\ (\ value\: :ref:`Array`\[:ref:`RID`\]\ ) - :ref:`Array`\[:ref:`RID`\] **get_excluded_regions**\ (\ ) -The list of region :ref:`RID`\ s that will be excluded from the path query. Use :ref:`NavigationRegion2D.get_rid()` to get the :ref:`RID` associated with a :ref:`NavigationRegion2D` node. +La lista degli :ref:`RID` delle regioni che saranno escluse dalla ricerca del percorso. Usa :ref:`NavigationRegion2D.get_rid()` per ottenere il :ref:`RID` associato a un nodo :ref:`NavigationRegion2D`. -\ **Note:** The returned array is copied and any changes to it will not update the original property value. To update the value you need to modify the returned array, and then set it to the property again. +\ **Nota:** L'array restituito è copiato e qualsiasi modifica non aggiornerà il valore della proprietà originale. Per aggiornare il valore è necessario modificare l'array restituito e quindi assegnarlo nuovamente alla proprietà. .. rst-class:: classref-item-separator @@ -211,9 +211,9 @@ The list of region :ref:`RID`\ s that will be excluded from the path - |void| **set_included_regions**\ (\ value\: :ref:`Array`\[:ref:`RID`\]\ ) - :ref:`Array`\[:ref:`RID`\] **get_included_regions**\ (\ ) -The list of region :ref:`RID`\ s that will be included by the path query. Use :ref:`NavigationRegion2D.get_rid()` to get the :ref:`RID` associated with a :ref:`NavigationRegion2D` node. If left empty all regions are included. If a region ends up being both included and excluded at the same time it will be excluded. +La lista degli :ref:`RID` delle regioni che saranno escluse dalla ricerca del percorso. Usa :ref:`NavigationRegion2D.get_rid()` per ottenere il :ref:`RID` associato a un nodo :ref:`NavigationRegion2D`. Se lasciato vuoto, tutte le regioni saranno incluse. Se una regione è inclusa ed esclusa allo stesso tempo, sarà esclusa. -\ **Note:** The returned array is copied and any changes to it will not update the original property value. To update the value you need to modify the returned array, and then set it to the property again. +\ **Nota:** L'array restituito è copiato e qualsiasi modifica non aggiornerà il valore della proprietà originale. Per aggiornare il valore è necessario modificare l'array restituito e quindi assegnarlo nuovamente alla proprietà. .. rst-class:: classref-item-separator @@ -298,7 +298,7 @@ Post-elaborazione del percorso applicata al corridoio del percorso grezzo trovat - |void| **set_path_return_max_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_length**\ (\ ) -The maximum allowed length of the returned path in world units. A path will be clipped when going over this length. A value of ``0`` or below counts as disabled. +La lunghezza massima consentita del percorso restituito in unità mondiali. Un percorso sarà troncato quando supera questa lunghezza. Un valore pari o inferiore a ``0`` è considerato disabilitato. .. rst-class:: classref-item-separator @@ -315,9 +315,9 @@ The maximum allowed length of the returned path in world units. A path will be c - |void| **set_path_return_max_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_radius**\ (\ ) -The maximum allowed radius in world units that the returned path can be from the path start. The path will be clipped when going over this radius. A value of ``0`` or below counts as disabled. +Il raggio massimo consentito in unità mondiali che il percorso restituito può avere dall'inizio del percorso. Il percorso sarà troncato quando supera questo raggio. Un valore pari o inferiore a ``0`` è considerato disabilitato. -\ **Note:** This will perform a circle shaped clip operation on the path with the first path position being the circle's center position. +\ **Nota:** Questo eseguirà un'operazione di ritaglio a forma di cerchio sul percorso, con la prima posizione del percorso corrispondente al centro del cerchio. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationpathqueryparameters3d.rst b/classes/it/class_navigationpathqueryparameters3d.rst index 5d80fbf61e..9de736846d 100644 --- a/classes/it/class_navigationpathqueryparameters3d.rst +++ b/classes/it/class_navigationpathqueryparameters3d.rst @@ -192,9 +192,9 @@ Descrizioni delle proprietà - |void| **set_excluded_regions**\ (\ value\: :ref:`Array`\[:ref:`RID`\]\ ) - :ref:`Array`\[:ref:`RID`\] **get_excluded_regions**\ (\ ) -The list of region :ref:`RID`\ s that will be excluded from the path query. Use :ref:`NavigationRegion3D.get_rid()` to get the :ref:`RID` associated with a :ref:`NavigationRegion3D` node. +La lista degli :ref:`RID` delle regioni che saranno escluse dalla ricerca del percorso. Usa :ref:`NavigationRegion3D.get_rid()` per ottenere il :ref:`RID` associato a un nodo :ref:`NavigationRegion3D`. -\ **Note:** The returned array is copied and any changes to it will not update the original property value. To update the value you need to modify the returned array, and then set it to the property again. +\ **Nota:** L'array restituito è copiato e qualsiasi modifica non aggiornerà il valore della proprietà originale. Per aggiornare il valore è necessario modificare l'array restituito e quindi assegnarlo nuovamente alla proprietà. .. rst-class:: classref-item-separator @@ -211,9 +211,9 @@ The list of region :ref:`RID`\ s that will be excluded from the path - |void| **set_included_regions**\ (\ value\: :ref:`Array`\[:ref:`RID`\]\ ) - :ref:`Array`\[:ref:`RID`\] **get_included_regions**\ (\ ) -The list of region :ref:`RID`\ s that will be included by the path query. Use :ref:`NavigationRegion3D.get_rid()` to get the :ref:`RID` associated with a :ref:`NavigationRegion3D` node. If left empty all regions are included. If a region ends up being both included and excluded at the same time it will be excluded. +La lista degli :ref:`RID` delle regioni che saranno escluse dalla ricerca del percorso. Usa :ref:`NavigationRegion3D.get_rid()` per ottenere il :ref:`RID` associato a un nodo :ref:`NavigationRegion3D`. Se lasciato vuoto, tutte le regioni saranno incluse. Se una regione è inclusa ed esclusa allo stesso tempo, sarà esclusa. -\ **Note:** The returned array is copied and any changes to it will not update the original property value. To update the value you need to modify the returned array, and then set it to the property again. +\ **Nota:** L'array restituito è copiato e qualsiasi modifica non aggiornerà il valore della proprietà originale. Per aggiornare il valore è necessario modificare l'array restituito e quindi assegnarlo nuovamente alla proprietà. .. rst-class:: classref-item-separator @@ -298,7 +298,7 @@ Post-elaborazione del percorso applicata al corridoio del percorso grezzo trovat - |void| **set_path_return_max_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_length**\ (\ ) -The maximum allowed length of the returned path in world units. A path will be clipped when going over this length. A value of ``0`` or below counts as disabled. +La lunghezza massima consentita del percorso restituito in unità mondiali. Un percorso sarà troncato quando supera questa lunghezza. Un valore pari o inferiore a ``0`` è considerato disabilitato. .. rst-class:: classref-item-separator @@ -315,9 +315,9 @@ The maximum allowed length of the returned path in world units. A path will be c - |void| **set_path_return_max_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_return_max_radius**\ (\ ) -The maximum allowed radius in world units that the returned path can be from the path start. The path will be clipped when going over this radius. A value of ``0`` or below counts as disabled. +Il raggio massimo consentito in unità mondiali che il percorso restituito può avere dall'inizio del percorso. Il percorso sarà troncato quando supera questo raggio. Un valore pari o inferiore a ``0`` è considerato disabilitato. -\ **Note:** This will perform a sphere shaped clip operation on the path with the first path position being the sphere's center position. +\ **Nota:** Questo eseguirà un'operazione di ritaglio a forma di sfera sul percorso, con la prima posizione del percorso corrispondente alla posizione centrale della sfera. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationpathqueryresult2d.rst b/classes/it/class_navigationpathqueryresult2d.rst index f9326f2e27..e70b97ff1e 100644 --- a/classes/it/class_navigationpathqueryresult2d.rst +++ b/classes/it/class_navigationpathqueryresult2d.rst @@ -127,7 +127,7 @@ L'array del percorso risultante dalla ricerca di navigazione. Tutte le posizioni - |void| **set_path_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_length**\ (\ ) -Returns the length of the path. +Restituisce la lunghezza del percorso. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationpathqueryresult3d.rst b/classes/it/class_navigationpathqueryresult3d.rst index b63b606b5f..ad04394edb 100644 --- a/classes/it/class_navigationpathqueryresult3d.rst +++ b/classes/it/class_navigationpathqueryresult3d.rst @@ -127,7 +127,7 @@ L'array del percorso risultante dalla ricerca di navigazione. Tutte le posizioni - |void| **set_path_length**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_path_length**\ (\ ) -Returns the length of the path. +Restituisce la lunghezza del percorso. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationpolygon.rst b/classes/it/class_navigationpolygon.rst index 00f570b7d8..2e86d78a4b 100644 --- a/classes/it/class_navigationpolygon.rst +++ b/classes/it/class_navigationpolygon.rst @@ -296,9 +296,9 @@ Descrizioni delle proprietà - |void| **set_agent_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_agent_radius**\ (\ ) -The distance to erode/shrink the walkable surface when baking the navigation mesh. +La distanza per erodere/restringere la superficie percorribile durante la preparazione della mesh di navigazione. -\ **Note:** The radius must be equal or higher than ``0.0``. If the radius is ``0.0``, it won't be possible to fix invalid outline overlaps and other precision errors during the baking process. As a result, some obstacles may be excluded incorrectly from the final navigation mesh, or may delete the navigation mesh's polygons. +\ **Nota:** Il raggio deve essere uguale o superiore a ``0.0``. Se il raggio è ``0.0``, non sarà possibile correggere sovrapposizioni non valide tra contorni e altri errori di precisione durante il processo di preparazione. Di conseguenza, alcuni ostacoli potrebbero essere esclusi erroneamente dalla mesh di navigazione finale o potrebbero eliminare i poligoni della mesh di navigazione. .. rst-class:: classref-item-separator @@ -404,7 +404,7 @@ Utilizzato solo quando :ref:`parsed_geometry_type`\ ) - :ref:`ParsedGeometryType` **get_parsed_geometry_type**\ (\ ) -Determines which type of nodes will be parsed as geometry. +Determina quale tipo di nodi sarà interpretato come geometria. .. rst-class:: classref-item-separator @@ -421,7 +421,7 @@ Determines which type of nodes will be parsed as geometry. - |void| **set_sample_partition_type**\ (\ value\: :ref:`SamplePartitionType`\ ) - :ref:`SamplePartitionType` **get_sample_partition_type**\ (\ ) -Partitioning algorithm for creating the navigation mesh polys. +Algoritmo di partizionamento per la creazione dei poligoni della mesh di navigazione. .. rst-class:: classref-item-separator @@ -457,7 +457,7 @@ Utilizzato solo quando :ref:`source_geometry_mode`\ ) - :ref:`SourceGeometryMode` **get_source_geometry_mode**\ (\ ) -The source of the geometry used when baking. +La sorgente della geometria utilizzata durante la preparazione. .. rst-class:: classref-section-separator @@ -546,7 +546,7 @@ Cancella l'array dei poligoni, ma non cancella l'array dei contorni e dei vertic :ref:`NavigationMesh` **get_navigation_mesh**\ (\ ) :ref:`🔗` -Returns the :ref:`NavigationMesh` resulting from this navigation polygon. This navigation mesh can be used to update the navigation mesh of a region with the :ref:`NavigationServer3D.region_set_navigation_mesh()` API directly. +Restituisce il :ref:`NavigationMesh` risultante da questo poligono di navigazione. È possibile utilizzare questa mesh di navigazione per aggiornare la mesh di navigazione di una regione con l'API :ref:`NavigationServer3D.region_set_navigation_mesh()` direttamente. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationserver2d.rst b/classes/it/class_navigationserver2d.rst index 4c2e217360..1ed86ff861 100644 --- a/classes/it/class_navigationserver2d.rst +++ b/classes/it/class_navigationserver2d.rst @@ -792,7 +792,7 @@ Imposta la distanza massima da altri agenti che questo agente prende in consider |void| **agent_set_paused**\ (\ agent\: :ref:`RID`, paused\: :ref:`bool`\ ) :ref:`🔗` -If ``paused`` is ``true`` the specified ``agent`` will not be processed. For example, it will not calculate avoidance velocities or receive avoidance callbacks. +Se ``paused`` è ``true``, l'agente ``agent`` non sarà elaborato. Ad esempio, non calcolerà le velocità di evasione o riceverà i callback di evasione. .. rst-class:: classref-item-separator @@ -936,7 +936,7 @@ Restituisce tutti i :ref:`RID` delle mappe di navigazione create sul :ref:`int` **get_process_info**\ (\ process_info\: :ref:`ProcessInfo`\ ) |const| :ref:`🔗` -Returns information about the current state of the NavigationServer. +Restituisce informazioni sullo stato attuale del NavigationServer. .. rst-class:: classref-item-separator @@ -1008,9 +1008,9 @@ Restituisce il costo di entrata di questo collegamento ``link``. :ref:`int` **link_get_iteration_id**\ (\ link\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the current iteration ID of the navigation link. Every time the navigation link changes and synchronizes, the iteration ID increases. An iteration ID of ``0`` means the navigation link has never synchronized. +Restituisce l'ID d'iterazione attuale del collegamento di navigazione. Ogni volta che il collegamento di navigazione cambia e si sincronizza, l'ID d'iterazione aumenta. Un ID d'iterazione pari a ``0`` significa che il collegamento di navigazione non si è mai sincronizzato. -\ **Note:** The iteration ID will wrap around to ``1`` after reaching its range limit. +\ **Nota:** L'ID d'iterazione ritornerà a ``1`` dopo aver raggiunto il suo limite di intervallo. .. rst-class:: classref-item-separator @@ -1660,7 +1660,7 @@ Imposta il :ref:`RID` della mappa di navigazione per l'ostacolo. |void| **obstacle_set_paused**\ (\ obstacle\: :ref:`RID`, paused\: :ref:`bool`\ ) :ref:`🔗` -If ``paused`` is ``true`` the specified ``obstacle`` will not be processed. For example, it will no longer affect avoidance velocities. +Se ``paused`` è ``true`` l'ostacolo ``obstacle`` non sarà elaborato. Ad esempio, non influirà più sulle velocità di evasione. .. rst-class:: classref-item-separator @@ -1844,9 +1844,9 @@ Restituisce il costo di entrata di questa regione ``region``. :ref:`int` **region_get_iteration_id**\ (\ region\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the current iteration ID of the navigation region. Every time the navigation region changes and synchronizes, the iteration ID increases. An iteration ID of ``0`` means the navigation region has never synchronized. +Restituisce l'ID d'iterazione attuale della regione di navigazione. Ogni volta che la regione di navigazione cambia e si sincronizza, l'ID d'iterazione aumenta. Un ID d'iterazione pari a ``0`` significa che la regione di navigazione non si è mai sincronizzata. -\ **Note:** The iteration ID will wrap around to ``1`` after reaching its range limit. +\ **Nota:** L'ID d'iterazione ritornerà a ``1`` dopo aver raggiunto il suo limite di intervallo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_navigationserver3d.rst b/classes/it/class_navigationserver3d.rst index aae9d9fd5a..5ff16920c0 100644 --- a/classes/it/class_navigationserver3d.rst +++ b/classes/it/class_navigationserver3d.rst @@ -862,7 +862,7 @@ Imposta la distanza massima da altri agenti che questo agente prende in consider |void| **agent_set_paused**\ (\ agent\: :ref:`RID`, paused\: :ref:`bool`\ ) :ref:`🔗` -If ``paused`` is ``true`` the specified ``agent`` will not be processed. For example, it will not calculate avoidance velocities or receive avoidance callbacks. +Se ``paused`` è ``true``, l'agente ``agent`` non sarà elaborato. Ad esempio, non calcolerà le velocità di evasione o riceverà i callback di evasione. .. rst-class:: classref-item-separator @@ -1022,7 +1022,7 @@ Restituisce tutti i :ref:`RID` delle mappe di navigazione create sul :ref:`int` **get_process_info**\ (\ process_info\: :ref:`ProcessInfo`\ ) |const| :ref:`🔗` -Returns information about the current state of the NavigationServer. +Restituisce informazioni sullo stato attuale del NavigationServer. .. rst-class:: classref-item-separator @@ -1094,9 +1094,9 @@ Restituisce il costo di entrata di questo collegamento ``link``. :ref:`int` **link_get_iteration_id**\ (\ link\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the current iteration ID of the navigation link. Every time the navigation link changes and synchronizes, the iteration ID increases. An iteration ID of ``0`` means the navigation link has never synchronized. +Restituisce l'ID d'iterazione attuale del collegamento di navigazione. Ogni volta che il collegamento di navigazione cambia e si sincronizza, l'ID d'iterazione aumenta. Un ID d'iterazione pari a ``0`` significa che il collegamento di navigazione non si è mai sincronizzato. -\ **Note:** The iteration ID will wrap around to ``1`` after reaching its range limit. +\ **Nota:** L'ID d'iterazione ritornerà a ``1`` dopo aver raggiunto il suo limite di intervallo. .. rst-class:: classref-item-separator @@ -1856,7 +1856,7 @@ Assegna l'ostacolo ``obstacle`` a una mappa di navigazione. |void| **obstacle_set_paused**\ (\ obstacle\: :ref:`RID`, paused\: :ref:`bool`\ ) :ref:`🔗` -If ``paused`` is ``true`` the specified ``obstacle`` will not be processed. For example, it will no longer affect avoidance velocities. +Se ``paused`` è ``true`` l'ostacolo ``obstacle`` non sarà elaborato. Ad esempio, non influirà più sulle velocità di evasione. .. rst-class:: classref-item-separator @@ -2092,9 +2092,9 @@ Restituisce il costo di entrata di questa regione ``region``. :ref:`int` **region_get_iteration_id**\ (\ region\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the current iteration ID of the navigation region. Every time the navigation region changes and synchronizes, the iteration ID increases. An iteration ID of ``0`` means the navigation region has never synchronized. +Restituisce l'ID d'iterazione attuale della regione di navigazione. Ogni volta che la regione di navigazione cambia e si sincronizza, l'ID d'iterazione aumenta. Un ID d'iterazione pari a ``0`` significa che la regione di navigazione non si è mai sincronizzata. -\ **Note:** The iteration ID will wrap around to ``1`` after reaching its range limit. +\ **Nota:** L'ID d'iterazione ritornerà a ``1`` dopo aver raggiunto il suo limite di intervallo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_ninepatchrect.rst b/classes/it/class_ninepatchrect.rst index cb3b7a415f..70d28b7cf8 100644 --- a/classes/it/class_ninepatchrect.rst +++ b/classes/it/class_ninepatchrect.rst @@ -136,7 +136,7 @@ Descrizioni delle proprietà - |void| **set_h_axis_stretch_mode**\ (\ value\: :ref:`AxisStretchMode`\ ) - :ref:`AxisStretchMode` **get_h_axis_stretch_mode**\ (\ ) -The stretch mode to use for horizontal stretching/tiling. +La modalità di stiramento da usare per stirare/ripetere la texture orizzontalmente. .. rst-class:: classref-item-separator @@ -153,7 +153,7 @@ The stretch mode to use for horizontal stretching/tiling. - |void| **set_v_axis_stretch_mode**\ (\ value\: :ref:`AxisStretchMode`\ ) - :ref:`AxisStretchMode` **get_v_axis_stretch_mode**\ (\ ) -The stretch mode to use for vertical stretching/tiling. +La modalità di stiramento da usare per stirare/ripetere la texture verticalmente. .. rst-class:: classref-item-separator diff --git a/classes/it/class_node.rst b/classes/it/class_node.rst index f738c084af..ff44701a41 100644 --- a/classes/it/class_node.rst +++ b/classes/it/class_node.rst @@ -631,7 +631,7 @@ enum **DuplicateFlags**: :ref:`🔗` :ref:`DuplicateFlags` **DUPLICATE_SIGNALS** = ``1`` -Duplicate the node's signal connections that are connected with the :ref:`Object.CONNECT_PERSIST` flag. +Duplica le connessioni dei segnali del nodo che sono connesse con il flag :ref:`Object.CONNECT_PERSIST`. .. _class_Node_constant_DUPLICATE_GROUPS: @@ -1152,7 +1152,7 @@ Notifica ricevuta quando il :ref:`TextServer` viene modificato **NOTIFICATION_ACCESSIBILITY_UPDATE** = ``3000`` :ref:`🔗` -Notification received when an accessibility information update is required. +Notifica ricevuta quando è necessario un aggiornamento delle informazioni di accessibilità. .. _class_Node_constant_NOTIFICATION_ACCESSIBILITY_INVALIDATE: @@ -1160,7 +1160,7 @@ Notification received when an accessibility information update is required. **NOTIFICATION_ACCESSIBILITY_INVALIDATE** = ``3001`` :ref:`🔗` -Notification received when accessibility elements are invalidated. All node accessibility elements are automatically deleted after receiving this message, therefore all existing references to such elements should be discarded. +Notifica ricevuta quando gli elementi di accessibilità vengono invalidati. Tutti gli elementi di accessibilità del nodo vengono automaticamente eliminati dopo aver ricevuto di questo messaggio, pertanto è necessario eliminare tutti i riferimenti esistenti a tali elementi. .. rst-class:: classref-section-separator @@ -1274,13 +1274,13 @@ Il proprietario di questo nodo. Il proprietario deve essere un antenato di quest - |void| **set_physics_interpolation_mode**\ (\ value\: :ref:`PhysicsInterpolationMode`\ ) - :ref:`PhysicsInterpolationMode` **get_physics_interpolation_mode**\ (\ ) -The physics interpolation mode to use for this node. Only effective if :ref:`ProjectSettings.physics/common/physics_interpolation` or :ref:`SceneTree.physics_interpolation` is ``true``. +La modalità di interpolazione fisica da utilizzare per questo nodo. Efficace solo se :ref:`ProjectSettings.physics/common/physics_interpolation` o :ref:`SceneTree.physics_interpolation` è impostato su ``true``. -By default, nodes inherit the physics interpolation mode from their parent. This property can enable or disable physics interpolation individually for each node, regardless of their parents' physics interpolation mode. +Come predefinito, i nodi ereditano la modalità di interpolazione fisica dal nodo genitore. Questa proprietà può abilitare o disabilitare l'interpolazione fisica individualmente per ciascun nodo, a prescindere dalla modalità di interpolazione fisica del nodo genitore. -\ **Note:** Some node types like :ref:`VehicleWheel3D` have physics interpolation disabled by default, as they rely on their own custom solution. +\ **Nota:** Alcuni tipi di nodo, come :ref:`VehicleWheel3D`, hanno l'interpolazione fisica disabilitata come predefinito, poiché si basano su un'implementazione personalizzata. -\ **Note:** When teleporting a node to a distant position, it's recommended to temporarily disable interpolation with :ref:`reset_physics_interpolation()` *after* moving the node. This avoids creating a visual streak between the old and new positions. +\ **Nota:** Quando si teletrasporta un nodo in una posizione distante, si consiglia di disabilitare temporaneamente l'interpolazione con :ref:`reset_physics_interpolation()` *dopo* lo spostamento del nodo. Questo evita di creare una striscia visiva tra la vecchia e la nuova posizione. .. rst-class:: classref-item-separator @@ -1297,7 +1297,7 @@ By default, nodes inherit the physics interpolation mode from their parent. This - |void| **set_process_mode**\ (\ value\: :ref:`ProcessMode`\ ) - :ref:`ProcessMode` **get_process_mode**\ (\ ) -The node's processing behavior. To check if the node can process in its current mode, use :ref:`can_process()`. +Il comportamento di elaborazione del nodo. Per verificare se il nodo può eseguire la sua elaborazione nella sua modalità attuale, usa :ref:`can_process()`. .. rst-class:: classref-item-separator @@ -1469,9 +1469,9 @@ Corrisponde alla notifica :ref:`NOTIFICATION_EXIT_TREE` **_get_accessibility_configuration_warnings**\ (\ ) |virtual| |const| :ref:`🔗` -The elements in the array returned from this method are displayed as warnings in the Scene dock if the script that overrides it is a ``tool`` script, and accessibility warnings are enabled in the editor settings. +Gli elementi nell'array restituiti da questo metodo sono visualizzati come avvisi nel pannello Scena se lo script che lo sovrascrive è uno script ``tool`` e gli avvisi di accessibilità sono abilitati nelle impostazioni dell'editor. -Returning an empty array produces no warnings. +Restituire un array vuoto non produce avvisi. .. rst-class:: classref-item-separator @@ -1512,7 +1512,7 @@ Chiama :ref:`update_configuration_warnings()` **_get_focused_accessibility_element**\ (\ ) |virtual| |const| :ref:`🔗` -Called during accessibility information updates to determine the currently focused sub-element, should return a sub-element RID or the value returned by :ref:`get_accessibility_element()`. +Chiamato durante gli aggiornamenti delle informazioni di accessibilità per determinare il sotto-elemento attualmente attivo, dovrebbe restituire un RID di sotto-elemento o il valore restituito da :ref:`get_accessibility_element()`. .. rst-class:: classref-item-separator @@ -1544,17 +1544,17 @@ Per gli input che riguardano il gioco, :ref:`_unhandled_input()`\ ) |virtual| :ref:`🔗` -Called once on each physics tick, and allows Nodes to synchronize their logic with physics ticks. ``delta`` is the logical time between physics ticks in seconds and is equal to :ref:`Engine.time_scale` / :ref:`Engine.physics_ticks_per_second`. +Chiamato una volta a ogni tick di fisica, consente ai nodi di sincronizzare la propria logica con i tick di fisica. ``delta`` è il tempo logico tra i tick di fisica in secondi ed è uguale a :ref:`Engine.time_scale` / :ref:`Engine.physics_ticks_per_second`. -It is only called if physics processing is enabled for this Node, which is done automatically if this method is overridden, and can be toggled with :ref:`set_physics_process()`. +È chiamato solo se è abilitata l'elaborazione della fisica, il che viene effettuato automaticamente se questo metodo è sovrascritto e si può cambiare con :ref:`set_physics_process()`. -Processing happens in order of :ref:`process_physics_priority`, lower priority values are called first. Nodes with the same priority are processed in tree order, or top to bottom as seen in the editor (also known as pre-order traversal). +L'elaborazione avviene in base all'ordine di :ref:`process_physics_priority`, i valori con priorità più bassa vengono chiamati per primi. I nodi con la stessa priorità vengono elaborati in ordine ad albero, ovvero dall'alto verso il basso, come mostrato nell'editor (anche noto come attraversamento pre-ordine). -Corresponds to the :ref:`NOTIFICATION_PHYSICS_PROCESS` notification in :ref:`Object._notification()`. +Corrisponde alla notifica :ref:`NOTIFICATION_PHYSICS_PROCESS` in :ref:`Object._notification()`. -\ **Note:** This method is only called if the node is present in the scene tree (i.e. if it's not an orphan). +\ **Nota:** Questo metodo viene chiamato solo se il nodo è presente nell'albero di scene (ovvero se non è orfano). -\ **Note:** Accumulated ``delta`` may diverge from real world seconds. +\ **Nota:** Il ``delta`` accumulato potrebbe deviare dai secondi reali. .. rst-class:: classref-item-separator @@ -1566,21 +1566,21 @@ Corresponds to the :ref:`NOTIFICATION_PHYSICS_PROCESS`\ ) |virtual| :ref:`🔗` -Called on each idle frame, prior to rendering, and after physics ticks have been processed. ``delta`` is the time between frames in seconds. +Chiamato a ogni frame inattivo, prima di renderizzare, e dopo l'elaborazione dei tick di fisica. ``delta`` è il tempo trascorso tra i frame, in secondi. -It is only called if processing is enabled for this Node, which is done automatically if this method is overridden, and can be toggled with :ref:`set_process()`. +Viene chiamato solo se è abilitata l'elaborazione per questo nodo, il che viene effettuato automaticamente se questo metodo è sovrascritto e si può cambiare con :ref:`set_process()`. -Processing happens in order of :ref:`process_priority`, lower priority values are called first. Nodes with the same priority are processed in tree order, or top to bottom as seen in the editor (also known as pre-order traversal). +L'elaborazione avviene in base all'ordine di :ref:`process_physics_priority`, i valori con priorità più bassa vengono chiamati per primi. I nodi con la stessa priorità vengono elaborati in ordine ad albero, ovvero dall'alto verso il basso, come mostrato nell'editor (anche noto come attraversamento pre-ordine). -Corresponds to the :ref:`NOTIFICATION_PROCESS` notification in :ref:`Object._notification()`. +Corrisponde alla notifica :ref:`NOTIFICATION_PROCESS` in :ref:`Object._notification()`. -\ **Note:** This method is only called if the node is present in the scene tree (i.e. if it's not an orphan). +\ **Nota:** Questo metodo viene chiamato solo se il nodo è presente nell'albero di scene (ovvero se non è orfano). -\ **Note:** When the engine is struggling and the frame rate is lowered, ``delta`` will increase. When ``delta`` is increased, it's capped at a maximum of :ref:`Engine.time_scale` \* :ref:`Engine.max_physics_steps_per_frame` / :ref:`Engine.physics_ticks_per_second`. As a result, accumulated ``delta`` may not represent real world time. +\ **Nota:** Quando il motore è in difficoltà e la frequenza dei frame diminuisce, ``delta`` aumenterà. Quando ``delta`` è aumentato, il suo limite massimo è di :ref:`Engine.time_scale` \* :ref:`Engine.max_physics_steps_per_frame` / :ref:`Engine.physics_ticks_per_second`. Pertanto, il ``delta`` accumulato potrebbe non rappresentare il tempo reale. -\ **Note:** When ``--fixed-fps`` is enabled or the engine is running in Movie Maker mode (see :ref:`MovieWriter`), process ``delta`` will always be the same for every frame, regardless of how much time the frame took to render. +\ **Nota:** Quando ``--fixed-fps`` è abilitato o il motore è in esecuzione in modalità Movie Maker (vedi :ref:`MovieWriter`), ``delta`` sarà sempre lo stesso per ogni frame, a prescindere dal tempo impiegato per renderizzare i frame. -\ **Note:** Frame delta may be post-processed by :ref:`OS.delta_smoothing` if this is enabled for the project. +\ **Nota:** Il delta dei frame potrebbe essere post-elaborato da :ref:`OS.delta_smoothing` se questa opzione è abilitata per il progetto. .. rst-class:: classref-item-separator @@ -1672,13 +1672,13 @@ Per l'input di gioco, questo metodo e :ref:`_unhandled_input()`, force_readable_name\: :ref:`bool` = false, internal\: :ref:`InternalMode` = 0\ ) :ref:`🔗` -Adds a child ``node``. Nodes can have any number of children, but every child must have a unique name. Child nodes are automatically deleted when the parent node is deleted, so an entire scene can be removed by deleting its topmost node. +Aggiunge il nodo ``node`` come figlio. I nodi possono avere un numero qualsiasi di figli, ma ogni figlio deve avere un nome univoco. I nodi figlio sono eliminati automaticamente quando il nodo padre è eliminato, quindi un'intera scena si può rimuovere eliminando il suo nodo più in alto. -If ``force_readable_name`` is ``true``, improves the readability of the added ``node``. If not named, the ``node`` is renamed to its type, and if it shares :ref:`name` with a sibling, a number is suffixed more appropriately. This operation is very slow. As such, it is recommended leaving this to ``false``, which assigns a dummy name featuring ``@`` in both situations. +Se ``force_readable_name`` è ``true``, migliora la leggibilità del ``node`` aggiunto. Se non è denominato, ``node`` viene rinominato nel suo tipo. Inoltre, se condivide il suo :ref:`name` con un fratello, un numero viene accodato più correttamente. Questa operazione è molto lenta. Pertanto, si consiglia di lasciare questo su ``false``, che assegna un nome segnaposto con ``@`` in entrambe le situazioni. -If ``internal`` is different than :ref:`INTERNAL_MODE_DISABLED`, the child will be added as internal node. These nodes are ignored by methods like :ref:`get_children()`, unless their parameter ``include_internal`` is ``true``. It also prevents these nodes being duplicated with their parent. The intended usage is to hide the internal nodes from the user, so the user won't accidentally delete or modify them. Used by some GUI nodes, e.g. :ref:`ColorPicker`. +Se ``internal`` è diverso da :ref:`INTERNAL_MODE_DISABLED`, il figlio verrà aggiunto come nodo interno. Questi nodi sono ignorati da metodi come :ref:`get_children()`, a meno che il loro parametro ``include_internal`` non sia ``true``. L'uso previsto è quello di nascondere i nodi interni all'utente, in modo che l'utente non li elimini o modifichi accidentalmente. Utilizzato da alcuni nodi dell'interfaccia utente, ad esempio :ref:`ColorPicker`. -\ **Note:** If ``node`` already has a parent, this method will fail. Use :ref:`remove_child()` first to remove ``node`` from its current parent. For example: +\ **Nota:** Se ``node`` ha già un genitore, questo metodo fallirà. Usa prima :ref:`remove_child()` per rimuovere ``node`` dal suo genitore attuale. Ad esempio: .. tabs:: @@ -1701,9 +1701,9 @@ If ``internal`` is different than :ref:`INTERNAL_MODE_DISABLED` instead of this method. +Se è necessario che il nodo figlio sia aggiunto sotto un nodo specifico nell'elenco dei figli, usa :ref:`add_sibling()` invece di questo metodo. -\ **Note:** If you want a child to be persisted to a :ref:`PackedScene`, you must set :ref:`owner` in addition to calling :ref:`add_child()`. This is typically relevant for :doc:`tool scripts <../tutorials/plugins/running_code_in_the_editor>` and :doc:`editor plugins <../tutorials/plugins/editor/index>`. If :ref:`add_child()` is called without setting :ref:`owner`, the newly added **Node** will not be visible in the scene tree, though it will be visible in the 2D/3D view. +\ **Nota:** Se è necessario che un figlio sia reso persistente in un :ref:`PackedScene`, imposta :ref:`owner` oltre a chiamare :ref:`add_child()`. Questo è in genere importante per gli :doc:`script strumenti <../tutorials/plugins/running_code_in_the_editor>` e le :doc:`estensioni dell'editor <../tutorials/plugins/editor/index>`. Se :ref:`add_child()` viene chiamato senza impostare :ref:`owner`, il **Node** appena aggiunto non sarà visibile nell'albero di scene, anche se sarà visibile nella vista 2D/3D. .. rst-class:: classref-item-separator @@ -1717,7 +1717,7 @@ If you need the child node to be added below a specific node in the list of chil Aggiunge il nodo ``sibling`` al nodo genitore di questo nodo e sposta il fratello aggiunto subito sotto questo nodo. -Se ``force_readable_name`` è ``true``, migliora la leggibilità del ``node`` aggiunto. Se non è denominato, ``node`` viene rinominato nel suo tipo. Inoltre, se condivide il suo :ref:`name` con un fratello, un numero viene accodato più correttamente. Questa operazione è molto lenta. Pertanto, si consiglia di lasciare questo su ``false``, che assegna un nome fittizio con ``@`` in entrambe le situazioni. +Se ``force_readable_name`` è ``true``, migliora la leggibilità del ``sibling`` aggiunto. Se non è denominato, ``sibling`` viene rinominato nel suo tipo. Inoltre, se condivide il suo :ref:`name` con un fratello, un numero viene accodato più correttamente. Questa operazione è molto lenta. Pertanto, si consiglia di lasciare questo su ``false``, che assegna un nome fittizio con ``@`` in entrambe le situazioni. Usa :ref:`add_child()` invece di questo metodo se non c'è bisogno che il nodo figlio sia aggiunto sotto un nodo specifico nella lista dei figli. @@ -1815,7 +1815,7 @@ Questa funzione assicura che la chiamata di questa funzione avrà successo, a pr :ref:`bool` **can_auto_translate**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if this node can automatically translate messages depending on the current locale. See :ref:`auto_translate_mode`, :ref:`atr()`, and :ref:`atr_n()`. +Restituisce ``true`` se il nodo può automaticamente tradurre i messaggi a seconda della lingua attuale. Vedi anche :ref:`auto_translate_mode`, :ref:`atr()` e :ref:`atr_n()`. .. rst-class:: classref-item-separator @@ -1882,9 +1882,9 @@ Il Tween sarà avviato automaticamente sul frame di processo o frame di fisica s :ref:`Node` **duplicate**\ (\ flags\: :ref:`int` = 15\ ) |const| :ref:`🔗` -Duplicates the node, returning a new node with all of its properties, signals, groups, and children copied from the original. The behavior can be tweaked through the ``flags`` (see :ref:`DuplicateFlags`). Internal nodes are not duplicated. +Duplica il nodo, restituendo un nuovo nodo con tutte le sue proprietà, segnali, gruppi e figli copiati dall'originale. È possibile regolare il comportamento attraverso ``flags`` (vedi :ref:`DuplicateFlags`). I nodi interni non vengono duplicati. -\ **Note:** For nodes with a :ref:`Script` attached, if :ref:`Object._init()` has been defined with required parameters, the duplicated node will not have a :ref:`Script`. +\ **Nota:** Per i nodi con uno :ref:`Script` allegato, se :ref:`Object._init()` è stato definito con parametri obbligatori, il nodo duplicato non avrà uno :ref:`Script`. .. rst-class:: classref-item-separator @@ -1940,7 +1940,7 @@ Se ``owned`` è ``true``, sono controllati solo i discendenti con un nodo :ref:` Trova il primo antenato di questo nodo il cui :ref:`name` corrisponde a ``pattern``, restituendo ``null`` se nessuna corrispondenza viene trovata. La corrispondenza viene effettuata tramite :ref:`String.match()`. Pertanto, è sensibile alle maiuscole e alle minuscole, ``"*"`` corrisponde a zero o più caratteri e ``"?"`` corrisponde a qualsiasi singolo carattere. Vedi anche :ref:`find_child()` e :ref:`find_children()`. -\ **Nota:** Man mano che questo metodo sale nell'albero della scena, può essere lento in nodi profondamente nidificati. Considera di memorizzare un riferimento al nodo trovato in una variabile. In alternativa, utilizza :ref:`get_node()` con nomi univoci (vedi :ref:`unique_name_in_owner`). +\ **Nota:** Man mano che questo metodo sale nell'albero della scena, può essere lento in nodi profondamente innestati. Considera di memorizzare un riferimento al nodo trovato in una variabile. In alternativa, utilizza :ref:`get_node()` con nomi univoci (vedi :ref:`unique_name_in_owner`). .. rst-class:: classref-item-separator @@ -1952,9 +1952,9 @@ Trova il primo antenato di questo nodo il cui :ref:`name` **get_accessibility_element**\ (\ ) |const| :ref:`🔗` -Returns main accessibility element RID. +Restituisce il RID dell'elemento principale di accessibilità. -\ **Note:** This method should be called only during accessibility information updates (:ref:`NOTIFICATION_ACCESSIBILITY_UPDATE`). +\ **Nota:** Si dovrebbe chiamare questo metodo solo durante gli aggiornamenti delle informazioni di accessibilità (:ref:`NOTIFICATION_ACCESSIBILITY_UPDATE`). .. rst-class:: classref-item-separator @@ -1966,21 +1966,21 @@ Returns main accessibility element RID. :ref:`Node` **get_child**\ (\ idx\: :ref:`int`, include_internal\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Fetches a child node by its index. Each child node has an index relative to its siblings (see :ref:`get_index()`). The first child is at index 0. Negative values can also be used to start from the end of the list. This method can be used in combination with :ref:`get_child_count()` to iterate over this node's children. If no child exists at the given index, this method returns ``null`` and an error is generated. +Recupera un nodo figlio tramite il suo indice. Ogni nodo figlio ha un indice relativo ai suoi fratelli (vedi :ref:`get_index()`). Il primo figlio è all'indice 0. Si possono anche usare valori negativi per partire dalla fine della lista. Questo metodo si può usare in combinazione con :ref:`get_child_count()` per iterare i figli di questo nodo. Se nessun figlio esiste all'indice specificato, questo metodo restituisce ``null`` e viene generato un errore. -If ``include_internal`` is ``false``, internal children are ignored (see :ref:`add_child()`'s ``internal`` parameter). +Se ``include_internal`` è ``false``, i figli interni sono ignorati (vedi il parametro ``internal`` di :ref:`add_child()`). :: - # Assuming the following are children of this node, in order: - # First, Middle, Last. + # Supponendo che i seguenti siano figli di questo nodo, in ordine: + # Primo, Mezzo, Ultimo. - var a = get_child(0).name # a is "First" - var b = get_child(1).name # b is "Middle" - var b = get_child(2).name # b is "Last" - var c = get_child(-1).name # c is "Last" + var a = get_child(0).name # a è "Primo" + var b = get_child(1).name # b è "Mezzo" + var b = get_child(2).name # b è "Ultimo" + var c = get_child(-1).name # c è "Ultimo" -\ **Note:** To fetch a node by :ref:`NodePath`, use :ref:`get_node()`. +\ **Nota:** Per recuperare un nodo tramite :ref:`NodePath`, usa :ref:`get_node()`. .. rst-class:: classref-item-separator @@ -2147,15 +2147,15 @@ Le seguenti chiamate restituiranno un nodo valido: :ref:`Array` **get_node_and_resource**\ (\ path\: :ref:`NodePath`\ ) :ref:`🔗` -Fetches a node and its most nested resource as specified by the :ref:`NodePath`'s subname. Returns an :ref:`Array` of size ``3`` where: +Recupera un nodo e la sua risorsa più innestata come specificato dal sotto-nome del :ref:`NodePath`. Restituisce un :ref:`Array` di dimensione ``3`` dove: -- Element ``0`` is the **Node**, or ``null`` if not found; +- L'elemento ``0`` è il **Node**, o ``null`` se non trovato; -- Element ``1`` is the subname's last nested :ref:`Resource`, or ``null`` if not found; +- L'elemento ``1`` è l'ultima :ref:`Resource` innestata del sotto-nome, o ``null`` se non trovata; -- Element ``2`` is the remaining :ref:`NodePath`, referring to an existing, non-:ref:`Resource` property (see :ref:`Object.get_indexed()`). +- L'elemento ``2`` è il :ref:`NodePath` rimanente, che si riferisce a una proprietà esistente, di tipo non :ref:`Resource` (vedi :ref:`Object.get_indexed()`). -\ **Example:** Assume that the child's :ref:`Sprite2D.texture` has been assigned an :ref:`AtlasTexture`: +\ **Esempio:** Supponiamo che alla :ref:`Sprite2D.texture` del figlio sia stata assegnata una :ref:`AtlasTexture`: .. tabs:: @@ -2163,36 +2163,36 @@ Fetches a node and its most nested resource as specified by the :ref:`NodePath - print(a[2]) # Prints ^"" + print(a[0].name) # Stampa Sprite2D + print(a[1]) # Stampa + print(a[2]) # Stampa ^"" var b = get_node_and_resource("Area2D/Sprite2D:texture:atlas") - print(b[0].name) # Prints Sprite2D - print(b[1].get_class()) # Prints AtlasTexture - print(b[2]) # Prints ^"" + print(b[0].name) # Stampa Sprite2D + print(b[1].get_class()) # Stampa AtlasTexture + print(b[2]) # Stampa ^"" var c = get_node_and_resource("Area2D/Sprite2D:texture:atlas:region") - print(c[0].name) # Prints Sprite2D - print(c[1].get_class()) # Prints AtlasTexture - print(c[2]) # Prints ^":region" + print(c[0].name) # Stampa Sprite2D + print(c[1].get_class()) # Stampa AtlasTexture + print(c[2]) # Stampa ^":region" .. code-tab:: csharp var a = GetNodeAndResource(NodePath("Area2D/Sprite2D")); - GD.Print(a[0].Name); // Prints Sprite2D - GD.Print(a[1]); // Prints - GD.Print(a[2]); // Prints ^" + GD.Print(a[0].Name); // Stampa Sprite2D + GD.Print(a[1]); // Stampa + GD.Print(a[2]); // Stampa ^" var b = GetNodeAndResource(NodePath("Area2D/Sprite2D:texture:atlas")); - GD.Print(b[0].name); // Prints Sprite2D - GD.Print(b[1].get_class()); // Prints AtlasTexture - GD.Print(b[2]); // Prints ^"" + GD.Print(b[0].name); // Stampa Sprite2D + GD.Print(b[1].get_class()); // Stampa AtlasTexture + GD.Print(b[2]); // Stampa ^"" var c = GetNodeAndResource(NodePath("Area2D/Sprite2D:texture:atlas:region")); - GD.Print(c[0].name); // Prints Sprite2D - GD.Print(c[1].get_class()); // Prints AtlasTexture - GD.Print(c[2]); // Prints ^":region" + GD.Print(c[0].name); // Stampa Sprite2D + GD.Print(c[1].get_class()); // Stampa AtlasTexture + GD.Print(c[2]); // Stampa ^":region" @@ -2218,9 +2218,9 @@ Recupera un nodo tramite :ref:`NodePath`. Simile a :ref:`get_nod :ref:`Variant` **get_node_rpc_config**\ (\ ) |const| :ref:`🔗` -Returns a :ref:`Dictionary` mapping method names to their RPC configuration defined for this node using :ref:`rpc_config()`. +Restituisce un :ref:`Dictionary` che mappa i nomi dei metodi alla loro configurazione RPC definita per questo nodo tramite :ref:`rpc_config()`. -\ **Note:** This method only returns the RPC configuration assigned via :ref:`rpc_config()`. See :ref:`Script.get_rpc_config()` to retrieve the RPCs defined by the :ref:`Script`. +\ **Nota:** Questo metodo restituisce solo la configurazione RPC assegnata tramite :ref:`rpc_config()`. Consulta :ref:`Script.get_rpc_config()` per recuperare le RPC definite dallo :ref:`Script`. .. rst-class:: classref-item-separator @@ -2232,9 +2232,9 @@ Returns a :ref:`Dictionary` mapping method names to their RPC :ref:`Array`\[:ref:`int`\] **get_orphan_node_ids**\ (\ ) |static| :ref:`🔗` -Returns object IDs of all orphan nodes (nodes outside the :ref:`SceneTree`). Used for debugging. +Restituisce gli ID oggetto di tutti i nodi orfani (nodi al di fuori dello :ref:`SceneTree`). Utile per il debug. -\ **Note:** :ref:`get_orphan_node_ids()` only works in debug builds. When called in a project exported in release mode, :ref:`get_orphan_node_ids()` will return an empty array. +\ **Nota:** :ref:`get_orphan_node_ids()` funziona solo nelle build di debug. Se richiamato in un progetto esportato in modalità rilascio, :ref:`get_orphan_node_ids()` restituirà un array vuoto. .. rst-class:: classref-item-separator @@ -2792,7 +2792,7 @@ Chiama :ref:`Object.notification()` con ``what |void| **queue_accessibility_update**\ (\ ) :ref:`🔗` -Queues an accessibility information update for this node. +Accoda un aggiornamento delle informazioni di accessibilità per questo nodo. .. rst-class:: classref-item-separator @@ -3126,7 +3126,7 @@ Se impostato su ``true``, abilita l'elaborazione degli input di tasti non gestit |void| **set_scene_instance_load_placeholder**\ (\ load_placeholder\: :ref:`bool`\ ) :ref:`🔗` -If set to ``true``, the node becomes an :ref:`InstancePlaceholder` when packed and instantiated from a :ref:`PackedScene`. See also :ref:`get_scene_instance_load_placeholder()`. +Se impostato su ``true``, il nodo diventa un :ref:`InstancePlaceholder` quando è impacchettato e istanziato da una :ref:`PackedScene`. Vedi anche :ref:`get_scene_instance_load_placeholder()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_node2d.rst b/classes/it/class_node2d.rst index 1a02850126..4de82a875b 100644 --- a/classes/it/class_node2d.rst +++ b/classes/it/class_node2d.rst @@ -253,7 +253,7 @@ Rotazione in radianti, relativa al genitore del nodo. Vedi anche :ref:`global_ro - |void| **set_rotation_degrees**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_rotation_degrees**\ (\ ) -Proprietà di supporto per accedere a :ref:`rotation` in gradi anziché in radianti. Vedi anche :ref:`global_rotation_degrees`. +Proprietà ausiliare per accedere a :ref:`rotation` in gradi anziché in radianti. Vedi anche :ref:`global_rotation_degrees`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_node3d.rst b/classes/it/class_node3d.rst index 04ac19f6d7..f409b59799 100644 --- a/classes/it/class_node3d.rst +++ b/classes/it/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: @@ -12,20 +12,20 @@ Node3D **Ereditato da:** :ref:`AudioListener3D`, :ref:`AudioStreamPlayer3D`, :ref:`BoneAttachment3D`, :ref:`Camera3D`, :ref:`CollisionObject3D`, :ref:`CollisionPolygon3D`, :ref:`CollisionShape3D`, :ref:`GridMap`, :ref:`ImporterMeshInstance3D`, :ref:`Joint3D`, :ref:`LightmapProbe`, :ref:`Marker3D`, :ref:`NavigationLink3D`, :ref:`NavigationObstacle3D`, :ref:`NavigationRegion3D`, :ref:`OpenXRCompositionLayer`, :ref:`OpenXRHand`, :ref:`OpenXRRenderModel`, :ref:`OpenXRRenderModelManager`, :ref:`Path3D`, :ref:`PathFollow3D`, :ref:`RayCast3D`, :ref:`RemoteTransform3D`, :ref:`ShapeCast3D`, :ref:`Skeleton3D`, :ref:`SkeletonModifier3D`, :ref:`SpringArm3D`, :ref:`SpringBoneCollision3D`, :ref:`VehicleWheel3D`, :ref:`VisualInstance3D`, :ref:`XRFaceModifier3D`, :ref:`XRNode3D`, :ref:`XROrigin3D` -Base object in 3D space, inherited by all 3D nodes. +Oggetto base nello spazio 3D, ereditato da tutti i nodi 3D. .. rst-class:: classref-introduction-group Descrizione ---------------------- -The **Node3D** node is the base representation of a node in 3D space. All other 3D nodes inherit from this class. +Il nodo **Node3D** è la rappresentazione base di un nodo nello spazio 3D. Tutti gli altri nodi 3D ereditano da questa classe. -Affine operations (translation, rotation, scale) are calculated in the coordinate system relative to the parent, unless the **Node3D**'s :ref:`top_level` is ``true``. In this coordinate system, affine operations correspond to direct affine operations on the **Node3D**'s :ref:`transform`. The term *parent space* refers to this coordinate system. The coordinate system that is attached to the **Node3D** itself is referred to as object-local coordinate system, or *local space*. +Le operazioni affini (traslazione, rotazione, scala) sono calcolate nel sistema di coordinate relativo al padre, a meno che il :ref:`top_level` del **Node3D** non sia ``true``. In questo sistema di coordinate, le operazioni affini corrispondono alle operazioni affini dirette sulla :ref:`transform` del **Node3D**. Il termine *spazio padre* si riferisce a questo sistema di coordinate. Il sistema di coordinate che è associato all'oggetto **Node3D** stesso è riferito come sistema di coordinate locale all'oggetto, o *spazio locale*. -\ **Note:** Unless otherwise specified, all methods that need angle parameters must receive angles in *radians*. To convert degrees to radians, use :ref:`@GlobalScope.deg_to_rad()`. +\ **Nota:** Salvo diversamente specificato, tutti i metodi che hanno parametri di angolo devono avere angoli specificati in *radianti*. Per convertire i gradi in radianti, usa :ref:`@GlobalScope.deg_to_rad()`. -\ **Note:** In Godot 3 and older, **Node3D** was named *Spatial*. +\ **Nota:** In Godot 3 e versioni precedenti, **Node3D** aveva il nome *Spatial*. .. rst-class:: classref-introduction-group @@ -179,9 +179,9 @@ Segnali **visibility_changed**\ (\ ) :ref:`🔗` -Emitted when this node's visibility changes (see :ref:`visible` and :ref:`is_visible_in_tree()`). +Emesso quando la visibilità di questo nodo cambia (vedi :ref:`visible` e :ref:`is_visible_in_tree()`). -This signal is emitted *after* the related :ref:`NOTIFICATION_VISIBILITY_CHANGED` notification. +Questo segnale viene emesso *dopo* la notifica corrispondente :ref:`NOTIFICATION_VISIBILITY_CHANGED`. .. rst-class:: classref-section-separator @@ -204,7 +204,7 @@ enum **RotationEditMode**: :ref:`🔗` :ref:`RotationEditMode` **ROTATION_EDIT_MODE_EULER** = ``0`` -The rotation is edited using a :ref:`Vector3` in `Euler angles `__. +La rotazione è modificata tramite un :ref:`Vector3` in `angoli di Eulero `__. .. _class_Node3D_constant_ROTATION_EDIT_MODE_QUATERNION: @@ -220,7 +220,7 @@ La rotazione è modificata tramite un :ref:`Quaternion`. :ref:`RotationEditMode` **ROTATION_EDIT_MODE_BASIS** = ``2`` -The rotation is edited using a :ref:`Basis`. In this mode, the raw :ref:`basis`'s axes can be freely modified, but the :ref:`scale` property is not available. +La rotazione è modificata tramite una :ref:`Basis`. In questa modalità, le assi di :ref:`basis` si possono modificare liberamente, ma la proprietà :ref:`scale` non è disponibile. .. rst-class:: classref-section-separator @@ -237,11 +237,11 @@ Costanti **NOTIFICATION_TRANSFORM_CHANGED** = ``2000`` :ref:`🔗` -Notification received when this node's :ref:`global_transform` changes, if :ref:`is_transform_notification_enabled()` is ``true``. See also :ref:`set_notify_transform()`. +Notifica ricevuta quando :ref:`global_transform` di questo nodo cambia, se :ref:`is_transform_notification_enabled()` è ``true``. Vedi anche :ref:`set_notify_transform()`. -\ **Note:** Most 3D nodes such as :ref:`VisualInstance3D` or :ref:`CollisionObject3D` automatically enable this to function correctly. +\ **Nota:** Molti nodi 3D come :ref:`VisualInstance3D` o :ref:`CollisionObject3D` abilitano questo automaticamente per funzionare correttamente. -\ **Note:** In the editor, nodes will propagate this notification to their children if a gizmo is attached (see :ref:`add_gizmo()`). +\ **Nota:** Nell'editor, i nodi propagheranno questa notifica ai loro figli se vi è associato un gizmo (vedi :ref:`add_gizmo()`). .. _class_Node3D_constant_NOTIFICATION_ENTER_WORLD: @@ -249,7 +249,7 @@ Notification received when this node's :ref:`global_transform` -Notification received when this node is registered to a new :ref:`World3D` (see :ref:`get_world_3d()`). +Notifica ricevuta quando questo nodo è registrato in un nuovo :ref:`World3D` (vedi :ref:`get_world_3d()`). .. _class_Node3D_constant_NOTIFICATION_EXIT_WORLD: @@ -257,7 +257,7 @@ Notification received when this node is registered to a new :ref:`World3D` -Notification received when this node is unregistered from the current :ref:`World3D` (see :ref:`get_world_3d()`). +Notifica ricevuta quando la registrazione di questo nodo al :ref:`World3D` attuale viene annullata (vedi :ref:`get_world_3d()`). .. _class_Node3D_constant_NOTIFICATION_VISIBILITY_CHANGED: @@ -265,9 +265,9 @@ Notification received when this node is unregistered from the current :ref:`Worl **NOTIFICATION_VISIBILITY_CHANGED** = ``43`` :ref:`🔗` -Notification received when this node's visibility changes (see :ref:`visible` and :ref:`is_visible_in_tree()`). +Notifica ricevuta quando la visibilità di questo nodo cambia (vedi :ref:`visible` e :ref:`is_visible_in_tree()`). -This notification is received *before* the related :ref:`visibility_changed` signal. +Questa notifica viene ricevuta *prima* del segnale corrispondente :ref:`visibility_changed`. .. _class_Node3D_constant_NOTIFICATION_LOCAL_TRANSFORM_CHANGED: @@ -275,9 +275,9 @@ This notification is received *before* the related :ref:`visibility_changed` -Notification received when this node's :ref:`transform` changes, if :ref:`is_local_transform_notification_enabled()` is ``true``. This is not received when a parent **Node3D**'s :ref:`transform` changes. See also :ref:`set_notify_local_transform()`. +Notifica ricevuta quando :ref:`transform` di questo nodo cambia, se :ref:`is_local_transform_notification_enabled()` è ``true``. Questa non è ricevuta quando cambia la :ref:`transform` di un **Node3D** padre. Vedi anche :ref:`set_notify_local_transform()`. -\ **Note:** Some 3D nodes such as :ref:`CSGShape3D` or :ref:`CollisionShape3D` automatically enable this to function correctly. +\ **Nota:** Alcuni nodi 3D come :ref:`CSGShape3D` o :ref:`CollisionShape3D` abilitano questo automaticamente per funzionare correttamente. .. rst-class:: classref-section-separator @@ -299,7 +299,7 @@ Descrizioni delle proprietà - |void| **set_basis**\ (\ value\: :ref:`Basis`\ ) - :ref:`Basis` **get_basis**\ (\ ) -Basis of the :ref:`transform` property. Represents the rotation, scale, and shear of this node in parent space (relative to the parent node). +Base della proprietà :ref:`transform`. Rappresenta la rotazione, la scala e l'inclinazione di questo nodo nello spazio padre (relativa al nodo padre). .. rst-class:: classref-item-separator @@ -316,9 +316,9 @@ Basis of the :ref:`transform` property. Represe - |void| **set_global_basis**\ (\ value\: :ref:`Basis`\ ) - :ref:`Basis` **get_global_basis**\ (\ ) -Basis of the :ref:`global_transform` property. Represents the rotation, scale, and shear of this node in global space (relative to the world). +Base della proprietà :ref:`global_transform`. Rappresenta la rotazione, la scala e l'inclinazione di questo nodo nello spazio globale (relativa al mondo). -\ **Note:** If the node is not inside the tree, getting this property fails and returns :ref:`Basis.IDENTITY`. +\ **Nota:** Se il nodo non è all'interno dell'albero, il recupero di questa proprietà fallisce e restituisce :ref:`Basis.IDENTITY`. .. rst-class:: classref-item-separator @@ -335,9 +335,9 @@ Basis of the :ref:`global_transform` pro - |void| **set_global_position**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_global_position**\ (\ ) -Global position (translation) of this node in global space (relative to the world). This is equivalent to the :ref:`global_transform`'s :ref:`Transform3D.origin`. +Posizione globale (traslazione) di questo nodo nello spazio globale (relativa al mondo). Equivale a :ref:`Transform3D.origin` di :ref:`global_transform`. -\ **Note:** If the node is not inside the tree, getting this property fails and returns :ref:`Vector3.ZERO`. +\ **Nota:** Se il nodo non è all'interno dell'albero, il recupero di questa proprietà fallisce e restituisce :ref:`Vector3.ZERO`. .. rst-class:: classref-item-separator @@ -354,17 +354,17 @@ Global position (translation) of this node in global space (relative to the worl - |void| **set_global_rotation**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_global_rotation**\ (\ ) -Global rotation of this node as `Euler angles `__, in radians and in global space (relative to the world). This value is obtained from :ref:`global_basis`'s rotation. +Rotazione globale di questo nodo come `angoli di Eulero `__, in radianti e nello spazio globale (relativo al mondo). Questo valore è ottenuto dalla rotazione di :ref:`global_basis`. -- The :ref:`Vector3.x` is the angle around the global X axis (pitch); +- Il :ref:`Vector3.x` è l'angolo attorno all'asse X globale (beccheggio); -- The :ref:`Vector3.y` is the angle around the global Y axis (yaw); +- Il :ref:`Vector3.y` è l'angolo attorno all'asse Y globale (imbardata); -- The :ref:`Vector3.z` is the angle around the global Z axis (roll). +- Il :ref:`Vector3.z` è l'angolo attorno all'asse Z globale (rollio). -\ **Note:** Unlike :ref:`rotation`, this property always follows the YXZ convention (:ref:`@GlobalScope.EULER_ORDER_YXZ`). +\ **Nota:** A differenza di :ref:`rotation`, questa proprietà segue sempre la convenzione YXZ (:ref:`@GlobalScope.EULER_ORDER_YXZ`). -\ **Note:** If the node is not inside the tree, getting this property fails and returns :ref:`Vector3.ZERO`. +\ **Nota:** Se il nodo non è all'interno dell'albero, il recupero di questa proprietà fallisce e restituisce :ref:`Vector3.ZERO`. .. rst-class:: classref-item-separator @@ -381,9 +381,9 @@ Global rotation of this node as `Euler angles `\ ) - :ref:`Vector3` **get_global_rotation_degrees**\ (\ ) -The :ref:`global_rotation` of this node, in degrees instead of radians. +La :ref:`global_rotation` di questo nodo, in gradi anziché in radianti. -\ **Note:** If the node is not inside the tree, getting this property fails and returns :ref:`Vector3.ZERO`. +\ **Nota:** Se il nodo non è all'interno dell'albero, il recupero di questa proprietà fallisce e restituisce :ref:`Vector3.ZERO`. .. rst-class:: classref-item-separator @@ -400,9 +400,9 @@ The :ref:`global_rotation` of this node, - |void| **set_global_transform**\ (\ value\: :ref:`Transform3D`\ ) - :ref:`Transform3D` **get_global_transform**\ (\ ) -The transformation of this node, in global space (relative to the world). Contains and represents this node's :ref:`global_position`, :ref:`global_rotation`, and global scale. +La trasformazione di questo nodo nello spazio globale (relativa al mondo). Contiene e rappresenta la :ref:`global_position`, la :ref:`global_rotation` e la scala globale di questo nodo. -\ **Note:** If the node is not inside the tree, getting this property fails and returns :ref:`Transform3D.IDENTITY`. +\ **Nota:** Se il nodo non è all'interno dell'albero, il recupero di questa proprietà fallisce e restituisce :ref:`Transform3D.IDENTITY`. .. rst-class:: classref-item-separator @@ -419,7 +419,7 @@ The transformation of this node, in global space (relative to the world). Contai - |void| **set_position**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_position**\ (\ ) -Position (translation) of this node in parent space (relative to the parent node). This is equivalent to the :ref:`transform`'s :ref:`Transform3D.origin`. +Posizione (traslazione) di questo nodo nello spazio padre (relativa al nodo padre). Questa equivale a :ref:`Transform3D.origin` di :ref:`transform`. .. rst-class:: classref-item-separator @@ -436,9 +436,9 @@ Position (translation) of this node in parent space (relative to the parent node - |void| **set_quaternion**\ (\ value\: :ref:`Quaternion`\ ) - :ref:`Quaternion` **get_quaternion**\ (\ ) -Rotation of this node represented as a :ref:`Quaternion` in parent space (relative to the parent node). This value is obtained from :ref:`basis`'s rotation. +Rotazione di questo nodo rappresentata come un :ref:`Quaternion` nello spazio padre (relativa al nodo padre). Questo valore è ottenuto dalla rotazione di :ref:`basis`. -\ **Note:** Quaternions are much more suitable for 3D math but are less intuitive. Setting this property can be useful for interpolation (see :ref:`Quaternion.slerp()`). +\ **Nota:** I quaternioni sono molto più adatti alla matematica 3D, ma sono meno intuitivi. Impostare questa proprietà può essere utile per interpolare (vedi :ref:`Quaternion.slerp()`). .. rst-class:: classref-item-separator @@ -455,17 +455,17 @@ Rotation of this node represented as a :ref:`Quaternion` in pa - |void| **set_rotation**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_rotation**\ (\ ) -Rotation of this node as `Euler angles `__, in radians and in parent space (relative to the parent node). This value is obtained from :ref:`basis`'s rotation. +La rotazione di questo nodo in `angoli di Eulero `__, in radianti e nello spazio padre (relativa al nodo padre). Questo valore è ottenuto dalla rotazione di :ref:`basis`. -- The :ref:`Vector3.x` is the angle around the local X axis (pitch); +- :ref:`Vector3.x` è l'angolo attorno all'asse X (beccheggio); -- The :ref:`Vector3.y` is the angle around the local Y axis (yaw); +- :ref:`Vector3.y` è l'angolo attorno all'asse Y (imbardata); -- The :ref:`Vector3.z` is the angle around the local Z axis (roll). +- :ref:`Vector3.z` è l'angolo attorno all'asse Z (rollio). -The order of each consecutive rotation can be changed with :ref:`rotation_order` (see :ref:`EulerOrder` constants). By default, the YXZ convention is used (:ref:`@GlobalScope.EULER_ORDER_YXZ`). +L'ordine di ogni rotazione consecutiva si può cambiare con :ref:`rotation_order` (vedi le costanti di :ref:`EulerOrder`). Come predefinito, è usata la convenzione YXZ (:ref:`@GlobalScope.EULER_ORDER_YXZ`). -\ **Note:** This property is edited in degrees in the inspector. If you want to use degrees in a script, use :ref:`rotation_degrees`. +\ **Nota:** Questa proprietà viene modificata in gradi nell'Ispettore. Se si desidera utilizzare i gradi in uno script, usare :ref:`rotation_degrees`. .. rst-class:: classref-item-separator @@ -482,9 +482,9 @@ The order of each consecutive rotation can be changed with :ref:`rotation_order< - |void| **set_rotation_degrees**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_rotation_degrees**\ (\ ) -The :ref:`rotation` of this node, in degrees instead of radians. +La :ref:`rotation` di questo nodo, in gradi anziché in radianti. -\ **Note:** This is **not** the property available in the Inspector dock. +\ **Nota:** Questa **non** è la proprietà disponibile nel pannello Ispettore. .. rst-class:: classref-item-separator @@ -501,7 +501,7 @@ The :ref:`rotation` of this node, in degrees ins - |void| **set_rotation_edit_mode**\ (\ value\: :ref:`RotationEditMode`\ ) - :ref:`RotationEditMode` **get_rotation_edit_mode**\ (\ ) -How this node's rotation and scale are displayed in the Inspector dock. +Come la rotazione e la scala di questo nodo sono presentate nel pannello Ispettore. .. rst-class:: classref-item-separator @@ -518,7 +518,7 @@ How this node's rotation and scale are displayed in the Inspector dock. - |void| **set_rotation_order**\ (\ value\: :ref:`EulerOrder`\ ) - :ref:`EulerOrder` **get_rotation_order**\ (\ ) -The axis rotation order of the :ref:`rotation` property. The final orientation is calculated by rotating around the local X, Y, and Z axis in this order. +L'ordine di rotazione degli assi della proprietà :ref:`rotation`. L'orientamento finale è calcolato ruotando attorno agli assi locali X, Y e Z in questo ordine. .. rst-class:: classref-item-separator @@ -535,11 +535,11 @@ The axis rotation order of the :ref:`rotation` p - |void| **set_scale**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_scale**\ (\ ) -Scale of this node in local space (relative to this node). This value is obtained from :ref:`basis`'s scale. +Scala di questo nodo nello spazio locale (relativa a questo nodo). Questo valore è ottenuto dalla scala di :ref:`basis`. -\ **Note:** The behavior of some 3D node types is not affected by this property. These include :ref:`Light3D`, :ref:`Camera3D`, :ref:`AudioStreamPlayer3D`, and more. +\ **Nota:** Il comportamento di alcuni tipi di nodi 3D non è influenzato da questa proprietà. Tra questi, :ref:`Light3D`, :ref:`Camera3D`, :ref:`AudioStreamPlayer3D` e altri. -\ **Warning:** The scale's components must either be all positive or all negative, and **not** exactly ``0.0``. Otherwise, it won't be possible to obtain the scale from the :ref:`basis`. This may cause the intended scale to be lost when reloaded from disk, and potentially other unstable behavior. +\ **Attenzione:** I componenti della scala devono essere tutti positivi o tutti negativi e **non** esattamente ``0.0``. Se no, non sarà possibile ottenere la scala da :ref:`basis`. Ciò potrebbe causare la perdita della scala desiderata al ricaricamento da disco, nonché altri eventuali comportamenti instabili. .. rst-class:: classref-item-separator @@ -556,7 +556,7 @@ Scale of this node in local space (relative to this node). This value is obtaine - |void| **set_as_top_level**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_set_as_top_level**\ (\ ) -If ``true``, the node does not inherit its transformations from its parent. As such, node transformations will only be in global space, which also means that :ref:`global_transform` and :ref:`transform` will be identical. +Se ``true``, il nodo non erediterà le sue trasformazioni dal suo genitore. Pertanto, le trasformazioni del nodo saranno solo nello spazio globale, il che significa anche che :ref:`global_transform` e :ref:`transform` saranno identici. .. rst-class:: classref-item-separator @@ -573,7 +573,7 @@ If ``true``, the node does not inherit its transformations from its parent. As s - |void| **set_transform**\ (\ value\: :ref:`Transform3D`\ ) - :ref:`Transform3D` **get_transform**\ (\ ) -The local transformation of this node, in parent space (relative to the parent node). Contains and represents this node's :ref:`position`, :ref:`rotation`, and :ref:`scale`. +La trasformazione locale di questo nodo, nello spazio padre (relativa al nodo padre). Contiene e rappresenta la :ref:`position`, la :ref:`rotation` e la :ref:`scale` di questo nodo. .. rst-class:: classref-item-separator @@ -590,9 +590,9 @@ The local transformation of this node, in parent space (relative to the parent n - |void| **set_visibility_parent**\ (\ value\: :ref:`NodePath`\ ) - :ref:`NodePath` **get_visibility_parent**\ (\ ) -Path to the visibility range parent for this node and its descendants. The visibility parent must be a :ref:`GeometryInstance3D`. +Percorso al genitore dell'intervallo di visibilità per questo nodo e i suoi discendenti. Il genitore di visibilità deve essere un :ref:`GeometryInstance3D`. -Any visual instance will only be visible if the visibility parent (and all of its visibility ancestors) is hidden by being closer to the camera than its own :ref:`GeometryInstance3D.visibility_range_begin`. Nodes hidden via the :ref:`visible` property are essentially removed from the visibility dependency tree, so dependent instances will not take the hidden node or its descendants into account. +Qualsiasi istanza visiva sarà visibile solo se il genitore di visibilità (e tutti i suoi antenati di visibilità) è nascosto perché più vicino alla telecamera rispetto al suo :ref:`GeometryInstance3D.visibility_range_begin`. I nodi nascosti tramite la proprietà :ref:`visible` sono essenzialmente rimossi dall'albero delle dipendenze di visibilità, quindi le istanze dipendenti non terranno conto del nodo nascosto o dei suoi antenati. .. rst-class:: classref-item-separator @@ -609,7 +609,7 @@ Any visual instance will only be visible if the visibility parent (and all of it - |void| **set_visible**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_visible**\ (\ ) -If ``true``, this node can be visible. The node is only rendered when all of its ancestors are visible, as well. That means :ref:`is_visible_in_tree()` must return ``true``. +Se ``true``, questo nodo può essere visibile. Il nodo è renderizzato soltanto se sono visibili anche tutti i suoi antenati. Ciò significa che :ref:`is_visible_in_tree()` deve restituire ``true``. .. rst-class:: classref-section-separator @@ -626,9 +626,9 @@ Descrizioni dei metodi |void| **add_gizmo**\ (\ gizmo\: :ref:`Node3DGizmo`\ ) :ref:`🔗` -Attaches the given ``gizmo`` to this node. Only works in the editor. +Associa il ``gizmo`` specificato a questo nodo. Funziona solo nell'editor. -\ **Note:** ``gizmo`` should be an :ref:`EditorNode3DGizmo`. The argument type is :ref:`Node3DGizmo` to avoid depending on editor classes in **Node3D**. +\ **Nota:** ``gizmo`` dovrebbe essere un :ref:`EditorNode3DGizmo`. Il tipo di argomento è :ref:`Node3DGizmo` per evitare di dipendere dalle classi dell'editor in **Node3D**. .. rst-class:: classref-item-separator @@ -640,7 +640,7 @@ Attaches the given ``gizmo`` to this node. Only works in the editor. |void| **clear_gizmos**\ (\ ) :ref:`🔗` -Clears all :ref:`EditorNode3DGizmo` objects attached to this node. Only works in the editor. +Cancella tutti gli oggetti :ref:`EditorNode3DGizmo` associati a questo nodo. Funziona solo nell'editor. .. rst-class:: classref-item-separator @@ -652,7 +652,7 @@ Clears all :ref:`EditorNode3DGizmo` objects attached to |void| **clear_subgizmo_selection**\ (\ ) :ref:`🔗` -Deselects all subgizmos for this node. Useful to call when the selected subgizmo may no longer exist after a property change. Only works in the editor. +Deseleziona tutti i sub-gizmo per questo nodo. Utile da chiamare quando il sub-gizmo selezionato potrebbe non esistere più dopo un cambiamento a una proprietà. Funziona solo nell'editor. .. rst-class:: classref-item-separator @@ -664,9 +664,9 @@ Deselects all subgizmos for this node. Useful to call when the selected subgizmo |void| **force_update_transform**\ (\ ) :ref:`🔗` -Forces the node's :ref:`global_transform` to update, by sending :ref:`NOTIFICATION_TRANSFORM_CHANGED`. Fails if the node is not inside the tree. +Forza l'aggiornamento del :ref:`global_transform` del nodo, inviando :ref:`NOTIFICATION_TRANSFORM_CHANGED`. Fallisce se il nodo non si trova all'interno dell'albero. -\ **Note:** For performance reasons, transform changes are usually accumulated and applied *once* at the end of the frame. The update propagates through **Node3D** children, as well. Therefore, use this method only when you need an up-to-date transform (such as during physics operations). +\ **Nota:** Per motivi di prestazioni, le modifiche alle trasformazioni sono solitamente accumulate e applicate *una sola volta* alla fine del frame. L'aggiornamento si propaga anche attraverso i figli di **Node3D**. Pertanto, utilizzare questo metodo solo quando è necessaria una trasformazione aggiornata (ad esempio durante le operazioni di fisica). .. rst-class:: classref-item-separator @@ -678,7 +678,7 @@ Forces the node's :ref:`global_transform :ref:`Array`\[:ref:`Node3DGizmo`\] **get_gizmos**\ (\ ) |const| :ref:`🔗` -Returns all the :ref:`EditorNode3DGizmo` objects attached to this node. Only works in the editor. +Restituisce tutti gli oggetti :ref:`EditorNode3DGizmo` associati a questo nodo. Funziona solo nell'editor. .. rst-class:: classref-item-separator @@ -706,9 +706,9 @@ Questo è particolarmente importante per le operazioni basate sui frame che avve :ref:`Node3D` **get_parent_node_3d**\ (\ ) |const| :ref:`🔗` -Returns the parent **Node3D** that directly affects this node's :ref:`global_transform`. Returns ``null`` if no parent exists, the parent is not a **Node3D**, or :ref:`top_level` is ``true``. +Restituisce il nodo **Node3D** genitore che influenza direttamente il :ref:`global_transform` di questo nodo. Restituisce ``null`` se nessun genitore esiste, se il nodo genitore non è un **Node3D** o se :ref:`top_level` è ``true``. -\ **Note:** This method is not always equivalent to :ref:`Node.get_parent()`, which does not take :ref:`top_level` into account. +\ **Nota:** Questo metodo non è sempre equivalente a :ref:`Node.get_parent()`, il quale non tiene conto di :ref:`top_level`. .. rst-class:: classref-item-separator @@ -720,9 +720,9 @@ Returns the parent **Node3D** that directly affects this node's :ref:`global_tra :ref:`World3D` **get_world_3d**\ (\ ) |const| :ref:`🔗` -Returns the :ref:`World3D` this node is registered to. +Restituisce il :ref:`World3D` in cui è registrato questo nodo. -Usually, this is the same as the world used by this node's viewport (see :ref:`Node.get_viewport()` and :ref:`Viewport.find_world_3d()`). +Di solito, questo è lo stesso utilizzato dalla viewport di questo nodo (vedi :ref:`Node.get_viewport()` e :ref:`Viewport.find_world_3d()`). .. rst-class:: classref-item-separator @@ -734,7 +734,7 @@ Usually, this is the same as the world used by this node's viewport (see :ref:`N |void| **global_rotate**\ (\ axis\: :ref:`Vector3`, angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`global_basis` around the global ``axis`` by the given ``angle``, in radians. This operation is calculated in global space (relative to the world) and preserves the :ref:`global_position`. +Ruota la :ref:`global_basis` di questo nodo attorno all'asse globale ``axis`` dell'angolo ``angle`` specificato, in radianti. Questa operazione è calcolata nello spazio globale (relativa al mondo) e preserva la :ref:`global_position`. .. rst-class:: classref-item-separator @@ -746,9 +746,9 @@ Rotates this node's :ref:`global_basis` arou |void| **global_scale**\ (\ scale\: :ref:`Vector3`\ ) :ref:`🔗` -Scales this node's :ref:`global_basis` by the given ``scale`` factor. This operation is calculated in global space (relative to the world) and preserves the :ref:`global_position`. +Cambia la scala della :ref:`global_basis` di questo per il fattore ``scale`` specificato. Questa operazione è calcolata nello spazio globale (relativa al mondo) e preserva la :ref:`global_position`. -\ **Note:** This method is not to be confused with the :ref:`scale` property. +\ **Nota:** Questo metodo è da non confondere con la proprietà :ref:`scale`. .. rst-class:: classref-item-separator @@ -760,7 +760,7 @@ Scales this node's :ref:`global_basis` by th |void| **global_translate**\ (\ offset\: :ref:`Vector3`\ ) :ref:`🔗` -Adds the given translation ``offset`` to the node's :ref:`global_position` in global space (relative to the world). +Aggiunge la traslazione ``offset`` specificata alla :ref:`global_position` del nodo nello spazio globale (relativa al mondo). .. rst-class:: classref-item-separator @@ -772,7 +772,7 @@ Adds the given translation ``offset`` to the node's :ref:`global_position` -Prevents this node from being rendered. Equivalent to setting :ref:`visible` to ``false``. This is the opposite of :ref:`show()`. +Impedisce di renderizzare questo nodo. Equivale a impostare :ref:`visible` su ``false``. È l'opposto di :ref:`show()`. .. rst-class:: classref-item-separator @@ -784,7 +784,7 @@ Prevents this node from being rendered. Equivalent to setting :ref:`visible` **is_local_transform_notification_enabled**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the node receives :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` whenever :ref:`transform` changes. This is enabled with :ref:`set_notify_local_transform()`. +Restituisce ``true`` se il nodo riceve :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` quando cambia :ref:`transform`. Ciò è abilitato con :ref:`set_notify_local_transform()`. .. rst-class:: classref-item-separator @@ -796,9 +796,9 @@ Returns ``true`` if the node receives :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED :ref:`bool` **is_scale_disabled**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if this node's :ref:`global_transform` is automatically orthonormalized. This results in this node not appearing distorted, as if its global scale were set to :ref:`Vector3.ONE` (or its negative counterpart). See also :ref:`set_disable_scale()` and :ref:`orthonormalize()`. +Restituisce ``true`` se il :ref:`global_transform` di questo nodo è automaticamente ortonormalizzato. Ciò assicura che il nodo non appaia distorto, come se la sua scala globale fosse impostata su :ref:`Vector3.ONE` (o la sua controparte negativa). Vedi anche :ref:`set_disable_scale()` e :ref:`orthonormalize()`. -\ **Note:** :ref:`transform` is not affected by this setting. +\ **Nota:** Il :ref:`transform` non è influenzato da questa impostazione. .. rst-class:: classref-item-separator @@ -810,7 +810,7 @@ Returns ``true`` if this node's :ref:`global_transform` **is_transform_notification_enabled**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the node receives :ref:`NOTIFICATION_TRANSFORM_CHANGED` whenever :ref:`global_transform` changes. This is enabled with :ref:`set_notify_transform()`. +Restituisce ``true`` se il nodo riceve :ref:`NOTIFICATION_TRANSFORM_CHANGED` quando cambia :ref:`global_transform`. Ciò è abilitato con :ref:`set_notify_transform()`. .. rst-class:: classref-item-separator @@ -822,9 +822,9 @@ Returns ``true`` if the node receives :ref:`NOTIFICATION_TRANSFORM_CHANGED` **is_visible_in_tree**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if this node is inside the scene tree and the :ref:`visible` property is ``true`` for this node and all of its **Node3D** ancestors *in sequence*. An ancestor of any other type (such as :ref:`Node` or :ref:`Node2D`) breaks the sequence. See also :ref:`Node.get_parent()`. +Restituisce ``true`` se il nodo è presente nell'albero di scene e la proprietà :ref:`visible` è ``true`` per questo nodo e per tutti i suoi **Node3D** antenati *in sequenza*. Un antenato di qualsiasi altro tipo (ad esempio :ref:`Node` o :ref:`Node2D`) interrompe la sequenza. Vedi anche :ref:`Node.get_parent()`. -\ **Note:** This method cannot take :ref:`VisualInstance3D.layers` into account, so even if this method returns ``true``, the node may not be rendered. +\ **Nota:** Questo metodo non tiene conto di :ref:`VisualInstance3D.layers`, quindi anche se questo metodo restituisce ``true``, il nodo potrebbe non essere renderizzato. .. rst-class:: classref-item-separator @@ -836,15 +836,15 @@ Returns ``true`` if this node is inside the scene tree and the :ref:`visible`, up\: :ref:`Vector3` = Vector3(0, 1, 0), use_model_front\: :ref:`bool` = false\ ) :ref:`🔗` -Rotates the node so that the local forward axis (-Z, :ref:`Vector3.FORWARD`) points toward the ``target`` position. This operation is calculated in global space (relative to the world). +Ruota il nodo in modo che l'asse locale in avanti (-Z, :ref:`Vector3.FORWARD`) punti verso la posizione ``target``. Questa operazione è calcolata nello spazio globale (relativa al mondo) -The local up axis (+Y) points as close to the ``up`` vector as possible while staying perpendicular to the local forward axis. The resulting transform is orthogonal, and the scale is preserved. Non-uniform scaling may not work correctly. +L'asse locale in alto (+Y) punta il più vicino possibile al vettore ``up``, pur rimanendo perpendicolare all'asse locale in avanti. La trasformazione risultante è ortogonale e la scala è conservata. Una scala non uniforme potrebbe non funzionare correttamente. -The ``target`` position cannot be the same as the node's position, the ``up`` vector cannot be :ref:`Vector3.ZERO`. Furthermore, the direction from the node's position to the ``target`` position cannot be parallel to the ``up`` vector, to avoid an unintended rotation around the local Z axis. +La posizione ``target`` non può essere la stessa della posizione del nodo, il vettore ``up`` non può essere zero. Inoltre, la direzione dalla posizione del nodo alla posizione ``target`` non può essere parallela al vettore ``up``, per evitare una rotazione involontaria attorno all'asse Z locale. -If ``use_model_front`` is ``true``, the +Z axis (asset front) is treated as forward (implies +X is left) and points toward the ``target`` position. By default, the -Z axis (camera forward) is treated as forward (implies +X is right). +Se ``use_model_front`` è ``true``, l'asse +Z (avanti per gli asset) viene trattato come in avanti (implica che +X sia a sinistra) e punta verso la posizione ``target``. Come predefinito, l'asse -Z (avanti per la telecamera) viene trattato come in avanti (implica che +X sia a destra). -\ **Note:** This method fails if the node is not in the scene tree. If necessary, use :ref:`look_at_from_position()` instead. +\ **Nota:** Questo metodo fallisce se il nodo non si trova nell'albero di scene. Se necessario, utilizzare invece :ref:`look_at_from_position()`. .. rst-class:: classref-item-separator @@ -856,7 +856,7 @@ If ``use_model_front`` is ``true``, the +Z axis (asset front) is treated as forw |void| **look_at_from_position**\ (\ position\: :ref:`Vector3`, target\: :ref:`Vector3`, up\: :ref:`Vector3` = Vector3(0, 1, 0), use_model_front\: :ref:`bool` = false\ ) :ref:`🔗` -Moves the node to the specified ``position``, then rotates the node to point toward the ``target`` position, similar to :ref:`look_at()`. This operation is calculated in global space (relative to the world). +Sposta il nodo nella posizione ``position``, quindi ruota il nodo in modo che punti verso ``target`` come con :ref:`look_at()`. Questa operazione è calcolata nello spazio globale (relativa al mondo). .. rst-class:: classref-item-separator @@ -868,7 +868,7 @@ Moves the node to the specified ``position``, then rotates the node to point tow |void| **orthonormalize**\ (\ ) :ref:`🔗` -Orthonormalizes this node's :ref:`basis`. This method sets this node's :ref:`scale` to :ref:`Vector3.ONE` (or its negative counterpart), but preserves the :ref:`position` and :ref:`rotation`. See also :ref:`Transform3D.orthonormalized()`. +Ortonormalizza la :ref:`basis` di questo nodo. Questo metodo imposta la :ref:`scale` di questo nodo su :ref:`Vector3.ONE` (o la sua controparte negativa), ma preserva la :ref:`position` e la :ref:`rotation`. Vedi anche :ref:`Transform3D.orthonormalized()`. .. rst-class:: classref-item-separator @@ -880,7 +880,7 @@ Orthonormalizes this node's :ref:`basis`. This meth |void| **rotate**\ (\ axis\: :ref:`Vector3`, angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`basis` around the ``axis`` by the given ``angle``, in radians. This operation is calculated in parent space (relative to the parent) and preserves the :ref:`position`. +Ruota la :ref:`basis` di questo nodo attorno all'asse ``axis`` dell'angolo ``angle``, in radianti. Questa operazione è calcolata nello spazio padre (relativa al padre) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -892,7 +892,7 @@ Rotates this node's :ref:`basis` around the ``axis` |void| **rotate_object_local**\ (\ axis\: :ref:`Vector3`, angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`basis` around the ``axis`` by the given ``angle``, in radians. This operation is calculated in local space (relative to this node) and preserves the :ref:`position`. +Ruota la :ref:`basis` di questo nodo attorno all'asse ``axis`` dell'angolo ``angle``, in radianti. Questa operazione è calcolata nello spazio locale (relativa a questo nodo) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -904,7 +904,7 @@ Rotates this node's :ref:`basis` around the ``axis` |void| **rotate_x**\ (\ angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`basis` around the X axis by the given ``angle``, in radians. This operation is calculated in parent space (relative to the parent) and preserves the :ref:`position`. +Ruota la :ref:`basis` di questo nodo attorno all'asse X dell'angolo ``angle``, in radianti. Questa operazione è calcolata nello spazio padre (relativa al padre) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -916,7 +916,7 @@ Rotates this node's :ref:`basis` around the X axis |void| **rotate_y**\ (\ angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`basis` around the Y axis by the given ``angle``, in radians. This operation is calculated in parent space (relative to the parent) and preserves the :ref:`position`. +Ruota la :ref:`basis` di questo nodo attorno all'asse Y dell'angolo ``angle``, in radianti. Questa operazione è calcolata nello spazio padre (relativa al padre) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -928,7 +928,7 @@ Rotates this node's :ref:`basis` around the Y axis |void| **rotate_z**\ (\ angle\: :ref:`float`\ ) :ref:`🔗` -Rotates this node's :ref:`basis` around the Z axis by the given ``angle``, in radians. This operation is calculated in parent space (relative to the parent) and preserves the :ref:`position`. +Ruota la :ref:`basis` di questo nodo attorno all'asse Z dell'angolo ``angle``, in radianti. Questa operazione è calcolata nello spazio padre (relativa al padre) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -940,7 +940,7 @@ Rotates this node's :ref:`basis` around the Z axis |void| **scale_object_local**\ (\ scale\: :ref:`Vector3`\ ) :ref:`🔗` -Scales this node's :ref:`basis` by the given ``scale`` factor. This operation is calculated in local space (relative to this node) and preserves the :ref:`position`. +Scala la :ref:`basis` di questo nodo in base al fattore ``scale`` specificato. Questa operazione è calcolata nello spazio locale (relativa a questo nodo) e preserva la :ref:`position`. .. rst-class:: classref-item-separator @@ -952,9 +952,9 @@ Scales this node's :ref:`basis` by the given ``scal |void| **set_disable_scale**\ (\ disable\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, this node's :ref:`global_transform` is automatically orthonormalized. This results in this node not appearing distorted, as if its global scale were set to :ref:`Vector3.ONE` (or its negative counterpart). See also :ref:`is_scale_disabled()` and :ref:`orthonormalize()`. +Se ``true``, il :ref:`global_transform` di questo nodo è automaticamente ortonormalizzato. Ciò assicura che il nodo non appaia distorto, come se la sua scala globale fosse impostata su :ref:`Vector3.ONE` (o la sua controparte negativa). Vedi anche :ref:`set_disable_scale()` e :ref:`orthonormalize()`. -\ **Note:** :ref:`transform` is not affected by this setting. +\ **Nota:** Il :ref:`transform` non è influenzato da questa impostazione. .. rst-class:: classref-item-separator @@ -966,7 +966,7 @@ If ``true``, this node's :ref:`global_transform` -Sets this node's :ref:`transform` to :ref:`Transform3D.IDENTITY`, which resets all transformations in parent space (:ref:`position`, :ref:`rotation`, and :ref:`scale`). +Imposta la :ref:`transform` di questo nodo su :ref:`Transform3D.IDENTITY`, il che ripristina tutte le trasformazioni nello spazio padre (:ref:`position`, :ref:`rotation` e :ref:`scale`). .. rst-class:: classref-item-separator @@ -978,9 +978,9 @@ Sets this node's :ref:`transform` to :ref:`Tran |void| **set_ignore_transform_notification**\ (\ enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, the node will not receive :ref:`NOTIFICATION_TRANSFORM_CHANGED` or :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED`. +Se ``true``, il nodo non riceverà :ref:`NOTIFICATION_TRANSFORM_CHANGED` o :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED`. -It may useful to call this method when handling these notifications to prevent infinite recursion. +Potrebbe essere utile chiamare questo metodo quando si gestiscono queste notifiche per evitare una ricorsione infinita. .. rst-class:: classref-item-separator @@ -992,9 +992,9 @@ It may useful to call this method when handling these notifications to prevent i |void| **set_notify_local_transform**\ (\ enable\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, the node will receive :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` whenever :ref:`transform` changes. +Se ``true``, il nodo riceverà :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED` quando :ref:`transform` cambia. -\ **Note:** Some 3D nodes such as :ref:`CSGShape3D` or :ref:`CollisionShape3D` automatically enable this to function correctly. +\ **Nota:** Alcuni nodi 3D come :ref:`CSGShape3D` o :ref:`CollisionShape3D` abilitano questo automaticamente per funzionare correttamente. .. rst-class:: classref-item-separator @@ -1006,11 +1006,11 @@ If ``true``, the node will receive :ref:`NOTIFICATION_LOCAL_TRANSFORM_CHANGED`\ ) :ref:`🔗` -If ``true``, the node will receive :ref:`NOTIFICATION_TRANSFORM_CHANGED` whenever :ref:`global_transform` changes. +Se ``true``, il nodo riceverà :ref:`NOTIFICATION_TRANSFORM_CHANGED` quando :ref:`global_transform` cambia. -\ **Note:** Most 3D nodes such as :ref:`VisualInstance3D` or :ref:`CollisionObject3D` automatically enable this to function correctly. +\ **Nota:** Molti nodi 3D come :ref:`VisualInstance3D` o :ref:`CollisionObject3D` abilitano questo automaticamente per funzionare correttamente. -\ **Note:** In the editor, nodes will propagate this notification to their children if a gizmo is attached (see :ref:`add_gizmo()`). +\ **Nota:** Nell'editor, i nodi propagheranno questa notifica ai loro figli se vi è associato un gizmo (vedi :ref:`add_gizmo()`). .. rst-class:: classref-item-separator @@ -1036,7 +1036,7 @@ Seleziona il subgizmo del ``gizmo`` con l'``id`` specificato e ne imposta la tra |void| **show**\ (\ ) :ref:`🔗` -Allows this node to be rendered. Equivalent to setting :ref:`visible` to ``true``. This is the opposite of :ref:`hide()`. +Permette di renderizzare questo nodo. Equivale a impostare :ref:`visible` su ``true``. È l'opposto di :ref:`hide()`. .. rst-class:: classref-item-separator @@ -1048,7 +1048,7 @@ Allows this node to be rendered. Equivalent to setting :ref:`visible` **to_global**\ (\ local_point\: :ref:`Vector3`\ ) |const| :ref:`🔗` -Returns the ``local_point`` converted from this node's local space to global space. This is the opposite of :ref:`to_local()`. +Restituisce il punto ``local_point`` convertito dallo spazio locale di questo nodo allo spazio mondiale. Questo è l'opposto di :ref:`to_local()`. .. rst-class:: classref-item-separator @@ -1060,7 +1060,7 @@ Returns the ``local_point`` converted from this node's local space to global spa :ref:`Vector3` **to_local**\ (\ global_point\: :ref:`Vector3`\ ) |const| :ref:`🔗` -Returns the ``global_point`` converted from global space to this node's local space. This is the opposite of :ref:`to_global()`. +Restituisce il punto ``global_point`` convertito dallo spazio globale di questo nodo allo spazio locale. Questo è l'opposto di :ref:`to_global()`. .. rst-class:: classref-item-separator @@ -1072,11 +1072,11 @@ Returns the ``global_point`` converted from global space to this node's local sp |void| **translate**\ (\ offset\: :ref:`Vector3`\ ) :ref:`🔗` -Adds the given translation ``offset`` to the node's position, in local space (relative to this node). +Aggiunge la traslazione ``offset`` alla posizione del nodo, nello spazio locale (relativa a questo nodo). -\ **Note:** Prefer using :ref:`translate_object_local()`, instead, as this method may be changed in a future release. +\ **Nota:** Si consiglia di utilizzare invece il metodo :ref:`translate_object_local()`, poiché questo metodo potrebbe cambiare in una versione futura. -\ **Note:** Despite the naming convention, this operation is **not** calculated in parent space for compatibility reasons. To translate in parent space, add ``offset`` to the :ref:`position` (``node_3d.position += offset``). +\ **Nota:** Nonostante la convenzione di denominazione, questa operazione **non** è calcolata nello spazio padre per motivi di compatibilità. Per traslare nello spazio padre, aggiungere ``offset`` alla :ref:`position` (``node_3d.position += offset``). .. rst-class:: classref-item-separator @@ -1088,7 +1088,7 @@ Adds the given translation ``offset`` to the node's position, in local space (re |void| **translate_object_local**\ (\ offset\: :ref:`Vector3`\ ) :ref:`🔗` -Adds the given translation ``offset`` to the node's position, in local space (relative to this node). +Aggiunge la traslazione ``offset`` alla posizione del nodo, nello spazio locale (relativa a questo nodo). .. rst-class:: classref-item-separator diff --git a/classes/it/class_object.rst b/classes/it/class_object.rst index 03835243c3..6c3b60c6b2 100644 --- a/classes/it/class_object.rst +++ b/classes/it/class_object.rst @@ -275,7 +275,7 @@ Le connessioni con conteggio dei riferimenti possono essere assegnate allo stess :ref:`ConnectFlags` **CONNECT_APPEND_SOURCE_OBJECT** = ``16`` -The source object is automatically bound when a :ref:`PackedScene` is instantiated. If this flag bit is enabled, the source object will be appended right after the original arguments of the signal. +L'oggetto sorgente è automaticamente associato quando viene istanziato un :ref:`PackedScene`. Se questo bit di flag è abilitato, l'oggetto sorgente sarà aggiunto subito dopo gli argomenti originali del segnale. .. rst-class:: classref-section-separator @@ -325,11 +325,11 @@ Descrizioni dei metodi :ref:`Variant` **_get**\ (\ property\: :ref:`StringName`\ ) |virtual| :ref:`🔗` -Override this method to customize the behavior of :ref:`get()`. Should return the given ``property``'s value, or ``null`` if the ``property`` should be handled normally. +Sovrascrivi questo metodo per personalizzare il comportamento di :ref:`get()`. Dovrebbe restituire il valore della proprietà ``property``, oppure ``null`` se la ``property`` deve essere gestita normalmente. -Combined with :ref:`_set()` and :ref:`_get_property_list()`, this method allows defining custom properties, which is particularly useful for editor plugins. +In combinazione con :ref:`_set()` e :ref:`_get_property_list()`, questo metodo consente di definire proprietà personalizzate, il che è particolarmente utile per le estensioni dell'editor. -\ **Note:** This method is not called when getting built-in properties of an object, including properties defined with :ref:`@GDScript.@export`. +\ **Nota:** Questo metodo non viene chiamato quando si ottengono le proprietà integrate di un oggetto, incluse le proprietà definite con :ref:`@GDScript.@export`. .. tabs:: @@ -338,7 +338,7 @@ Combined with :ref:`_set()` and :ref:`_get_pro func _get(property): if property == "fake_property": - print("Getting my property!") + print("Ottenendo la mia proprietà!") return 4 func _get_property_list(): @@ -352,7 +352,7 @@ Combined with :ref:`_set()` and :ref:`_get_pro { if (property == "FakeProperty") { - GD.Print("Getting my property!"); + GD.Print("Ottenendo la mia proprietà!"); return 4; } return default; @@ -360,14 +360,14 @@ Combined with :ref:`_set()` and :ref:`_get_pro public override Godot.Collections.Array _GetPropertyList() { - return - [ + return new Godot.Collections.Array() + { new Godot.Collections.Dictionary() { { "name", "FakeProperty" }, { "type", (int)Variant.Type.Int }, - }, - ]; + } + }; } @@ -382,7 +382,7 @@ Combined with :ref:`_set()` and :ref:`_get_pro :ref:`Array`\[:ref:`Dictionary`\] **_get_property_list**\ (\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per fornire un elenco personalizzato di proprietà aggiuntive da gestire dal motore. +Sovrascrivi questo metodo per fornire un elenco personalizzato di proprietà aggiuntive da gestire dal motore. Dovrebbe restituire un elenco di proprietà, come :ref:`Array` di dizionari. Il risultato viene aggiunto all'array di :ref:`get_property_list()` e dovrebbe essere formattato nello stesso modo. Ogni :ref:`Dictionary` deve contenere almeno le voci ``name`` e ``type``. @@ -524,9 +524,9 @@ Chiamato quando lo script dell'oggetto è istanziato, spesso dopo che l'oggetto :ref:`Variant` **_iter_get**\ (\ iter\: :ref:`Variant`\ ) |virtual| :ref:`🔗` -Returns the current iterable value. ``iter`` stores the iteration state, but unlike :ref:`_iter_init()` and :ref:`_iter_next()` the state is supposed to be read-only, so there is no :ref:`Array` wrapper. +Restituisce il valore iterabile attuale. ``iter`` memorizza lo stato dell'iterazione, ma a differenza di :ref:`_iter_init()` e :ref:`_iter_next()` lo stato dovrebbe essere di sola lettura, quindi non c'è alcun :ref:`Array` come wrapper. -\ **Tip:** In GDScript, you can use a subtype of :ref:`Variant` as the return type for :ref:`_iter_get()`. The specified type will be used to set the type of the iterator variable in ``for`` loops, enhancing type safety. +\ **Suggerimento:** in GDScript, è possibile usare un sottotipo di :ref:`Variant` come tipo restituito per :ref:`_iter_get()`. Il tipo specificato sarà usato per impostare il tipo della variabile iteratore nei cicli ``for``, garantendo migliore sicurezza di tipo. .. rst-class:: classref-item-separator @@ -538,7 +538,7 @@ Returns the current iterable value. ``iter`` stores the iteration state, but unl :ref:`bool` **_iter_init**\ (\ iter\: :ref:`Array`\ ) |virtual| :ref:`🔗` -Initializes the iterator. ``iter`` stores the iteration state. Since GDScript does not support passing arguments by reference, a single-element array is used as a wrapper. Returns ``true`` so long as the iterator has not reached the end. +Inizializza l'iteratore. ``iter`` memorizza lo stato dell'iterazione. Poiché GDScript non supporta il passaggio di argomenti per riferimento, viene utilizzato un array con un singolo elemento come wrapper. Restituisce ``true`` finché l'iteratore non ha raggiunto la fine. :: @@ -567,7 +567,7 @@ Initializes the iterator. ``iter`` stores the iteration state. Since GDScript do for x in my_range: print(x) # Prints 2, 3, 4. -\ **Note:** Alternatively, you can ignore ``iter`` and use the object's state instead, see `online docs <../tutorials/scripting/gdscript/gdscript_advanced.html#custom-iterators>`__ for an example. Note that in this case you will not be able to reuse the same iterator instance in nested loops. Also, make sure you reset the iterator state in this method if you want to reuse the same instance multiple times. +\ **Nota:** In alternativa, è possibile ignorare ``iter`` e usare invece lo stato dell'oggetto, vedi la `documentazione online <../tutorials/scripting/gdscript/gdscript_advanced.html#custom-iterators>`__ per un esempio. Nota che in questo caso non sarà possibile riutilizzare la stessa istanza dell'iteratore in cicli annidati. Inoltre, assicurarsi di reimpostare lo stato dell'iteratore in questo metodo se si desidera riutilizzare la stessa istanza più volte. .. rst-class:: classref-item-separator @@ -591,7 +591,7 @@ Sposta l'iteratore all'iterazione successiva. ``iter`` memorizza lo stato dell'i |void| **_notification**\ (\ what\: :ref:`int`\ ) |virtual| :ref:`🔗` -Called when the object receives a notification, which can be identified in ``what`` by comparing it with a constant. See also :ref:`notification()`. +Chiamato quando l'oggetto riceve una notifica, la quale può essere identificata in ``what`` confrontandola con una costante. Vedi anche :ref:`notification()`. .. tabs:: @@ -600,7 +600,7 @@ Called when the object receives a notification, which can be identified in ``wha func _notification(what): if what == NOTIFICATION_PREDELETE: - print("Goodbye!") + print("Addio!") .. code-tab:: csharp @@ -608,15 +608,15 @@ Called when the object receives a notification, which can be identified in ``wha { if (what == NotificationPredelete) { - GD.Print("Goodbye!"); + GD.Print("Addio!"); } } -\ **Note:** The base **Object** defines a few notifications (:ref:`NOTIFICATION_POSTINITIALIZE` and :ref:`NOTIFICATION_PREDELETE`). Inheriting classes such as :ref:`Node` define a lot more notifications, which are also received by this method. +\ **Nota:** L'**Object** base definisce alcune notifiche (:ref:`NOTIFICATION_POSTINITIALIZE` e :ref:`NOTIFICATION_PREDELETE`). Le classi che lo ereditano come :ref:`Node` definiscono molte più notifiche, che sono anche ricevute da questo metodo. -\ **Note:** Unlike other virtual methods, this method is called automatically for every script that overrides it. This means that the base implementation should not be called via ``super`` in GDScript or its equivalents in other languages. +\ **Nota:** A differenza di altri metodi virtuali, questo metodo viene chiamato automaticamente per ogni script che lo sovrascrive. Ciò significa che non si dovrebbe chiamare l'implementazione di base tramite ``super`` in GDScript o i suoi equivalenti in altri linguaggi. .. rst-class:: classref-item-separator @@ -642,7 +642,7 @@ Sovrascrivi questo metodo per personalizzare il comportamento di ripristino dell :ref:`Variant` **_property_get_revert**\ (\ property\: :ref:`StringName`\ ) |virtual| :ref:`🔗` -Sostituisci questo metodo per personalizzare il comportamento di ripristino della proprietà denominata ``property``. Dovrebbe restituire il valore predefinito per ``property``. Se il valore predefinito è diverso dal valore attuale della proprietà denominata ``property``, è visualizzata un'icona di ripristino nel pannello dell'Ispettore. +Sovrascrivi questo metodo per personalizzare il comportamento di ripristino della proprietà denominata ``property``. Dovrebbe restituire il valore predefinito per ``property``. Se il valore predefinito è diverso dal valore attuale della proprietà denominata ``property``, è visualizzata un'icona di ripristino nel pannello dell'Ispettore. \ **Nota:** :ref:`_property_can_revert()` deve essere sovrascritto affinché questo metodo sia chiamato. @@ -656,11 +656,11 @@ Sostituisci questo metodo per personalizzare il comportamento di ripristino dell :ref:`bool` **_set**\ (\ property\: :ref:`StringName`, value\: :ref:`Variant`\ ) |virtual| :ref:`🔗` -Override this method to customize the behavior of :ref:`set()`. Should set the ``property`` to ``value`` and return ``true``, or ``false`` if the ``property`` should be handled normally. The *exact* way to set the ``property`` is up to this method's implementation. +Sovrascrivi questo metodo per personalizzare il comportamento di :ref:`set()`. Dovrebbe impostare la proprietà ``property`` su ``value`` e restituire ``true``, o ``false`` se la proprietà ``property`` dovrebbe essere gestita normalmente. Il modo *esatto* per impostare la proprietà ``property`` dipende dall'implementazione di questo metodo. -Combined with :ref:`_get()` and :ref:`_get_property_list()`, this method allows defining custom properties, which is particularly useful for editor plugins. +In combinazione con :ref:`_get()` e :ref:`_get_property_list()`, questo metodo consente di definire proprietà personalizzate, il che è particolarmente utile per le estensioni dell'editor. -\ **Note:** This method is not called when setting built-in properties of an object, including properties defined with :ref:`@GDScript.@export`. +\ **Nota:** Questo metodo non viene chiamato quando si ottengono le proprietà integrate di un oggetto, incluse le proprietà definite con :ref:`@GDScript.@export`. .. tabs:: @@ -671,7 +671,7 @@ Combined with :ref:`_get()` and :ref:`_get_pro func _set(property, value): if property == "fake_property": - # Storing the value in the fake property. + # Memorizza i valori nella proprietà fasulla. internal_data["fake_property"] = value return true return false @@ -973,15 +973,15 @@ Se questo metodo viene chiamato durante :ref:`NOTIFICATION_PREDELETE` **connect**\ (\ signal\: :ref:`StringName`, callable\: :ref:`Callable`, flags\: :ref:`int` = 0\ ) :ref:`🔗` -Connects a ``signal`` by name to a ``callable``. Optional ``flags`` can be also added to configure the connection's behavior (see :ref:`ConnectFlags` constants). +Collega un segnale ``signal`` per nome al chiamabile ``callable``. È possibile aggiungere anche ``flags`` facoltativi per configurare il comportamento della connessione (vedi le costanti di :ref:`ConnectFlags`). -A signal can only be connected once to the same :ref:`Callable`. If the signal is already connected, this method returns :ref:`@GlobalScope.ERR_INVALID_PARAMETER` and generates an error, unless the signal is connected with :ref:`CONNECT_REFERENCE_COUNTED`. To prevent this, use :ref:`is_connected()` first to check for existing connections. +Un segnale può essere connesso solo una volta allo stesso :ref:`Callable`. Se il segnale è già connesso, restituisce :ref:`@GlobalScope.ERR_INVALID_PARAMETER` e invia un messaggio di errore, a meno che il segnale non sia connesso con :ref:`CONNECT_REFERENCE_COUNTED`. Per evitare ciò, usa prima :ref:`is_connected()` per verificare le connessioni esistenti. -\ **Note:** If the ``callable``'s object is freed, the connection will be lost. +\ **Nota:** Se l'oggetto di ``callable`` viene liberato, la connessione andrà persa. -\ **Note:** In GDScript, it is generally recommended to connect signals with :ref:`Signal.connect()` instead. +\ **Nota:** In GDScript, si consiglia generalmente di connettere i segnali con :ref:`Signal.connect()`. -\ **Note:** This operation (and all other signal related operations) is thread-safe. +\ **Nota:** Questa operazione (e tutte le altre operazioni relative ai segnali) è thread-safe. .. rst-class:: classref-item-separator @@ -1036,7 +1036,7 @@ Restituisce :ref:`@GlobalScope.ERR_UNAVAILABLE` -Deletes the object from memory. Pre-existing references to the object become invalid, and any attempt to access them will result in a runtime error. Checking the references with :ref:`@GlobalScope.is_instance_valid()` will return ``false``. This is equivalent to the ``memdelete`` function in GDExtension C++. +Elimina l'oggetto dalla memoria. I riferimenti preesistenti all'oggetto diventano non validi e qualsiasi tentativo di accedervi causerà un errore di esecuzione. Verificare i riferimenti con :ref:`@GlobalScope.is_instance_valid()` restituirà ``false``. Questo è equivalente alla funzione ``memdelete`` in GDExtension C++. .. rst-class:: classref-item-separator @@ -1111,7 +1111,7 @@ Restituisce un :ref:`Array` di connessioni di segnale ricevute da q :ref:`Variant` **get_indexed**\ (\ property_path\: :ref:`NodePath`\ ) |const| :ref:`🔗` -Ottiene la proprietà dell'oggetto indicizzata dal parametro ``property_path`` specificato. Il percorso deve essere un :ref:`NodePath` relativo all'oggetto attuale e può utilizzare il carattere due punti (``:``) per accedere alle proprietà nidificate. +Ottiene la proprietà dell'oggetto indicizzata dal parametro ``property_path`` specificato. Il percorso deve essere un :ref:`NodePath` relativo all'oggetto attuale e può utilizzare il carattere due punti (``:``) per accedere alle proprietà innestate. \ **Esempi:** ``"position:x"`` o ``"material:next_pass:blend_mode"``. @@ -1646,7 +1646,7 @@ Assegna ``value`` alla proprietà ``property`` specificata, alla fine del frame |void| **set_indexed**\ (\ property_path\: :ref:`NodePath`, value\: :ref:`Variant`\ ) :ref:`🔗` -Assegna un nuovo ``value`` alla proprietà identificata da ``property_path``. Il percorso dovrebbe essere un :ref:`NodePath` relativo a questo oggetto e può utilizzare il carattere due punti (``:``) per accedere alle proprietà nidificate. +Assegna un nuovo ``value`` alla proprietà identificata da ``property_path``. Il percorso dovrebbe essere un :ref:`NodePath` relativo a questo oggetto e può utilizzare il carattere due punti (``:``) per accedere alle proprietà innestate. .. tabs:: @@ -1709,7 +1709,7 @@ Se ``value`` è ``null``, la voce viene rimossa. Ciò equivale a usare :ref:`rem |void| **set_script**\ (\ script\: :ref:`Variant`\ ) :ref:`🔗` -Allega ``script`` all'oggetto e ne crea un'istanza. Di conseguenza, viene chiamato il :ref:`_init()` dello script. Uno :ref:`Script` è utilizzato per estendere la funzionalità dell'oggetto. +Allega ``script`` all'oggetto e ne crea un'istanza. Di conseguenza, viene chiamato il :ref:`_init()` dello script. Uno :ref:`Script` serve per estendere la funzionalità dell'oggetto. Se uno script esiste già, la sua istanza viene staccata e i suoi valori di proprietà e lo stato vengono persi. I valori di proprietà integrate vengono comunque mantenuti. diff --git a/classes/it/class_occluderinstance3d.rst b/classes/it/class_occluderinstance3d.rst index 9c00c2a6e1..08b44eee14 100644 --- a/classes/it/class_occluderinstance3d.rst +++ b/classes/it/class_occluderinstance3d.rst @@ -14,17 +14,17 @@ Fornisce l'occlusion culling per i nodi 3D, migliorando le prestazioni in aree c Descrizione ---------------------- -Occlusion culling can improve rendering performance in closed/semi-open areas by hiding geometry that is occluded by other objects. +L'occlusion culling può migliorare le prestazioni di rendering in aree chiuse/semi-aperte nascondendo la geometria oscurata da altri oggetti. -The occlusion culling system is mostly static. **OccluderInstance3D**\ s can be moved or hidden at run-time, but doing so will trigger a background recomputation that can take several frames. It is recommended to only move **OccluderInstance3D**\ s sporadically (e.g. for procedural generation purposes), rather than doing so every frame. +Il sistema di occlusion culling è essenzialmente statico. Gli **OccluderInstance3D** possono essere spostati o nascosti durante l'esecuzione, ma ciò attiverà un ricalcolo interno che può richiedere diversi frame. Si consiglia di spostare gli **OccluderInstance3D** solo sporadicamente (ad esempio, per scopi di generazione procedurale), piuttosto che farlo a ogni frame. -The occlusion culling system works by rendering the occluders on the CPU in parallel using `Embree `__, drawing the result to a low-resolution buffer then using this to cull 3D nodes individually. In the 3D editor, you can preview the occlusion culling buffer by choosing **Perspective > Display Advanced... > Occlusion Culling Buffer** in the top-left corner of the 3D viewport. The occlusion culling buffer quality can be adjusted in the Project Settings. +Il sistema di occlusion culling funziona renderizzando gli occluder sulla CPU in parallelo tramite `Embree `__, disegnando il risultato in un buffer a bassa risoluzione e poi utilizzandolo per scartare i nodi 3D individualmente. Nell'editor 3D, è possibile vedere in anteprima il buffer di occlusion culling scegliendo **Prospettiva > Mostra avanzate... > Buffer di occlusion culling** nell'angolo in alto a sinistra della viewport 3D. La qualità del buffer si può regolare nelle Impostazioni del progetto. -\ **Baking:** Select an **OccluderInstance3D** node, then use the **Bake Occluders** button at the top of the 3D editor. Only opaque materials will be taken into account; transparent materials (alpha-blended or alpha-tested) will be ignored by the occluder generation. +\ **Precalcolo:** Selezionare un nodo **OccluderInstance3D**, quindi premere il pulsante **Precalcola occlusori** in alto all'editor 3D. Saranno considerati solo i materiali opachi; i materiali trasparenti (con alpha blend o alpha test) saranno ignorati dall'occlusion culling. -\ **Note:** Occlusion culling is only effective if :ref:`ProjectSettings.rendering/occlusion_culling/use_occlusion_culling` is ``true``. Enabling occlusion culling has a cost on the CPU. Only enable occlusion culling if you actually plan to use it. Large open scenes with few or no objects blocking the view will generally not benefit much from occlusion culling. Large open scenes generally benefit more from mesh LOD and visibility ranges (:ref:`GeometryInstance3D.visibility_range_begin` and :ref:`GeometryInstance3D.visibility_range_end`) compared to occlusion culling. +\ **Nota:** L'occlusion culling è efficace solo se :ref:`ProjectSettings.rendering/occlusion_culling/use_occlusion_culling` è impostato su ``true``. Abilitare l'occlusion culling ha un impatto sulla CPU. Abilitarlo solo se si prevede effettivamente di utilizzarlo. Le scene ampie e aperte, con pochi o nessun oggetto che blocca la vista, generalmente non usufruiranno molto dall'occlusion culling. Le scene ampie e aperte generalmente usufruiscono di più dai LOD di mesh e dai campi di visibilità (:ref:`GeometryInstance3D.visibility_range_begin` e :ref:`GeometryInstance3D.visibility_range_end`) rispetto all'occlusione culling. -\ **Note:** Due to memory constraints, occlusion culling is not supported by default in Web export templates. It can be enabled by compiling custom Web export templates with ``module_raycast_enabled=yes``. +\ **Nota:** A causa di limiti di memoria, l'occlusion culling non è supportato normalmente nei modelli di esportazione web. È possibile abilitarlo compilando modelli personalizzati di esportazione web con ``module_raycast_enabled=yes``. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_omnilight3d.rst b/classes/it/class_omnilight3d.rst index ed95df7fb9..6b78c124b0 100644 --- a/classes/it/class_omnilight3d.rst +++ b/classes/it/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/it/class_openxraction.rst b/classes/it/class_openxraction.rst index 0275edf5bf..af08d4b38d 100644 --- a/classes/it/class_openxraction.rst +++ b/classes/it/class_openxraction.rst @@ -14,11 +14,11 @@ Un'azione OpenXR. Descrizione ---------------------- -Questa risorsa definisce un'azione OpenXR. Le azioni possono essere utilizzate sia per gli input (pulsanti, joystick, trigger, ecc.) sia per gli output (feedback aptico). +Questa risorsa definisce un'azione OpenXR. Le azioni si possono utilizzare sia per gli input (pulsanti, joystick, trigger, ecc.) sia per gli output (feedback aptico). OpenXR esegue la conversione automatica tra il tipo di azione e il tipo di input ogni volta che è possibile. Un grilletto analogico associato a un'azione booleana restituirà quindi ``false`` se il grilletto è premuto e ``true`` se premuto completamente. -Le azioni non sono direttamente associate a dispositivi specifici, invece OpenXR riconosce un numero limitato di percorsi di primo livello che identificano i dispositivi in base all'utilizzo. Possiamo limitare i dispositivi a cui un'azione può essere associata da questi percorsi di primo livello. Ad esempio, un'azione che dovrebbe essere utilizzata solo per i controller portatili può avere i percorsi di livello primo "/user/hand/left" e "/user/hand/right" associati. Consulta la `sezione di percorso riservato nella specifica OpenXR `__ per maggiori informazioni sui percorsi di livello primo. +Le azioni non sono direttamente associate a dispositivi specifici, invece OpenXR riconosce un numero limitato di percorsi di primo livello che identificano i dispositivi in base all'utilizzo. Possiamo limitare i dispositivi a cui un'azione può essere associata da questi percorsi di primo livello. Ad esempio, un'azione che si dovrebbe utilizzare solo per i controller portatili può avere i percorsi di livello primo "/user/hand/left" e "/user/hand/right" associati. Consulta la `sezione di percorso riservato nella specifica OpenXR `__ per maggiori informazioni sui percorsi di livello primo. Nota che il nome della risorsa è utilizzato per registrare l'azione. diff --git a/classes/it/class_openxranalogthresholdmodifier.rst b/classes/it/class_openxranalogthresholdmodifier.rst index 4f1edaf1e4..d7cd9f2005 100644 --- a/classes/it/class_openxranalogthresholdmodifier.rst +++ b/classes/it/class_openxranalogthresholdmodifier.rst @@ -73,7 +73,7 @@ Impulso tattile da emettere quando l'utente rilascia l'input. - |void| **set_off_threshold**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_off_threshold**\ (\ ) -When our input value falls below this, our output becomes ``false``. +Quando il valore di input scende al di sotto di questo valore, l'output diventa ``falso``. .. rst-class:: classref-item-separator @@ -107,7 +107,7 @@ Impulso tattile da emettere quando l'utente preme l'input. - |void| **set_on_threshold**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_on_threshold**\ (\ ) -When our input value is equal or larger than this value, our output becomes ``true``. It stays ``true`` until it falls under the :ref:`off_threshold` value. +Quando il nostro valore di input è uguale o maggiore di questo valore, il nostro output diventa ``true``. Rimane ``true`` finché non scende al di sotto del valore di :ref:`off_threshold`. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrapiextension.rst b/classes/it/class_openxrapiextension.rst index ae5680a17a..dc8625257b 100644 --- a/classes/it/class_openxrapiextension.rst +++ b/classes/it/class_openxrapiextension.rst @@ -415,7 +415,7 @@ Restituisce il nome del formato swapchain specificato. :ref:`int` **get_system_id**\ (\ ) :ref:`🔗` -Returns the id of the system, which is an `XrSystemId `__ cast to an integer. +Restituisce l'ID del sistema, che è un `XrSystemId `__ passato in un intero. .. rst-class:: classref-item-separator @@ -571,7 +571,7 @@ Registra l'estensione specificata come fornitore del livello di composizione. |void| **register_frame_info_extension**\ (\ extension\: :ref:`OpenXRExtensionWrapper`\ ) :ref:`🔗` -Registers the given extension as modifying frame info via the :ref:`OpenXRExtensionWrapper._set_frame_wait_info_and_get_next_pointer()`, :ref:`OpenXRExtensionWrapper._set_view_locate_info_and_get_next_pointer()`, or :ref:`OpenXRExtensionWrapper._set_frame_end_info_and_get_next_pointer()` virtual methods. +Registra l'estensione specificata come modificatrice delle informazioni di frame tramite i metodi virtuali :ref:`OpenXRExtensionWrapper._set_frame_wait_info_and_get_next_pointer()`, :ref:`OpenXRExtensionWrapper._set_view_locate_info_and_get_next_pointer()` o :ref:`OpenXRExtensionWrapper._set_frame_end_info_and_get_next_pointer()`. .. rst-class:: classref-item-separator @@ -595,7 +595,7 @@ Registra l'estensione specificata come fornitore di ulteriori strutture dati all |void| **set_custom_play_space**\ (\ space\: ``const void*``\ ) :ref:`🔗` -Sets the reference space used by OpenXR to the given `XrSpace `__ (cast to a ``void *``). +Imposta lo spazio di riferimento utilizzato da OpenXR al `XrSpace `__ specificato (passato in un ``void *``). .. rst-class:: classref-item-separator @@ -703,7 +703,7 @@ Annulla la registrazione dell'estensione specificata come fornitore del livello |void| **unregister_frame_info_extension**\ (\ extension\: :ref:`OpenXRExtensionWrapper`\ ) :ref:`🔗` -Unregisters the given extension as modifying frame info. +Annulla la registrazione dell'estensione come modificatore di informazioni di frame. .. rst-class:: classref-item-separator diff --git a/classes/it/class_openxrbindingmodifier.rst b/classes/it/class_openxrbindingmodifier.rst index e27b6ff8b5..169206b294 100644 --- a/classes/it/class_openxrbindingmodifier.rst +++ b/classes/it/class_openxrbindingmodifier.rst @@ -59,9 +59,9 @@ Restituisce la descrizione di questa classe, utilizzata per la barra del titolo :ref:`PackedByteArray` **_get_ip_modification**\ (\ ) |virtual| |required| :ref:`🔗` -Returns the data that is sent to OpenXR when submitting the suggested interacting bindings this modifier is a part of. +Restituisce i dati inviati a OpenXR quando si inviano le associazioni interattive suggerite di cui questo modificatore fa parte. -\ **Note:** This must be data compatible with an ``XrBindingModificationBaseHeaderKHR`` structure. +\ **Nota:** Questi dati devono essere compatibili con una struttura ``XrBindingModificationBaseHeaderKHR``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrcompositionlayer.rst b/classes/it/class_openxrcompositionlayer.rst index 018523f2c2..9790caa6c1 100644 --- a/classes/it/class_openxrcompositionlayer.rst +++ b/classes/it/class_openxrcompositionlayer.rst @@ -103,7 +103,7 @@ enum **Filter**: :ref:`🔗` :ref:`Filter` **FILTER_NEAREST** = ``0`` -Perform nearest-neighbor filtering when sampling the texture. +Utilizza il filtro vicino più ravvicinato per campionare la texture. .. _class_OpenXRCompositionLayer_constant_FILTER_LINEAR: @@ -111,7 +111,7 @@ Perform nearest-neighbor filtering when sampling the texture. :ref:`Filter` **FILTER_LINEAR** = ``1`` -Perform linear filtering when sampling the texture. +Utilizza il filtro lineare per campionare la texture. .. _class_OpenXRCompositionLayer_constant_FILTER_CUBIC: @@ -119,7 +119,7 @@ Perform linear filtering when sampling the texture. :ref:`Filter` **FILTER_CUBIC** = ``2`` -Perform cubic filtering when sampling the texture. +Utilizza il filtro cubico per campionare la texture. .. rst-class:: classref-item-separator @@ -137,9 +137,9 @@ enum **MipmapMode**: :ref:`🔗` :ref:`MipmapMode` **MIPMAP_MODE_DISABLED** = ``0`` -Disable mipmapping. +Disabilita il mipmapping. -\ **Note:** Mipmapping can only be disabled in the Compatibility renderer. +\ **Nota:** il mipmapping si può disabilitare solo nel renderer Compatibilità. .. _class_OpenXRCompositionLayer_constant_MIPMAP_MODE_NEAREST: @@ -147,7 +147,7 @@ Disable mipmapping. :ref:`MipmapMode` **MIPMAP_MODE_NEAREST** = ``1`` -Use the mipmap of the nearest resolution. +Utilizza la mipmap della risoluzione più vicina. .. _class_OpenXRCompositionLayer_constant_MIPMAP_MODE_LINEAR: @@ -155,7 +155,7 @@ Use the mipmap of the nearest resolution. :ref:`MipmapMode` **MIPMAP_MODE_LINEAR** = ``2`` -Use linear interpolation of the two mipmaps of the nearest resolution. +Utilizza un'interpolazione lineare tra le due mipmap della risoluzione più vicina. .. rst-class:: classref-item-separator @@ -173,7 +173,7 @@ enum **Wrap**: :ref:`🔗` :ref:`Wrap` **WRAP_CLAMP_TO_BORDER** = ``0`` -Clamp the texture to its specified border color. +Limita la texture al suo colore di bordo specificato. .. _class_OpenXRCompositionLayer_constant_WRAP_CLAMP_TO_EDGE: @@ -181,7 +181,7 @@ Clamp the texture to its specified border color. :ref:`Wrap` **WRAP_CLAMP_TO_EDGE** = ``1`` -Clamp the texture to its edge color. +Limita la texture al suo colore di bordo. .. _class_OpenXRCompositionLayer_constant_WRAP_REPEAT: @@ -189,7 +189,7 @@ Clamp the texture to its edge color. :ref:`Wrap` **WRAP_REPEAT** = ``2`` -Repeat the texture infinitely. +Ripete la texture infinitamente. .. _class_OpenXRCompositionLayer_constant_WRAP_MIRRORED_REPEAT: @@ -197,7 +197,7 @@ Repeat the texture infinitely. :ref:`Wrap` **WRAP_MIRRORED_REPEAT** = ``3`` -Repeat the texture infinitely, mirroring it on each repeat. +Ripeti la texture all'infinito, rispecchiandola a ogni ripetizione. .. _class_OpenXRCompositionLayer_constant_WRAP_MIRROR_CLAMP_TO_EDGE: @@ -205,9 +205,9 @@ Repeat the texture infinitely, mirroring it on each repeat. :ref:`Wrap` **WRAP_MIRROR_CLAMP_TO_EDGE** = ``4`` -Mirror the texture once and then clamp the texture to its edge color. +Rispecchia la texture una sola volta e poi la limita al suo colore di bordo. -\ **Note:** This wrap mode is not available in the Compatibility renderer. +\ **Nota:** Questa modalità di avvolgimento non è disponibile nel renderer Compatibilità. .. rst-class:: classref-item-separator @@ -225,7 +225,7 @@ enum **Swizzle**: :ref:`🔗` :ref:`Swizzle` **SWIZZLE_RED** = ``0`` -Maps a color channel to the value of the red channel. +Mappa un canale colore al valore del canale rosso. .. _class_OpenXRCompositionLayer_constant_SWIZZLE_GREEN: @@ -233,7 +233,7 @@ Maps a color channel to the value of the red channel. :ref:`Swizzle` **SWIZZLE_GREEN** = ``1`` -Maps a color channel to the value of the green channel. +Mappa un canale colore al valore del canale verde. .. _class_OpenXRCompositionLayer_constant_SWIZZLE_BLUE: @@ -241,7 +241,7 @@ Maps a color channel to the value of the green channel. :ref:`Swizzle` **SWIZZLE_BLUE** = ``2`` -Maps a color channel to the value of the blue channel. +Mappa un canale colore al valore del canale blu. .. _class_OpenXRCompositionLayer_constant_SWIZZLE_ALPHA: @@ -249,7 +249,7 @@ Maps a color channel to the value of the blue channel. :ref:`Swizzle` **SWIZZLE_ALPHA** = ``3`` -Maps a color channel to the value of the alpha channel. +Mappa un canale colore al valore del canale alfa. .. _class_OpenXRCompositionLayer_constant_SWIZZLE_ZERO: @@ -257,7 +257,7 @@ Maps a color channel to the value of the alpha channel. :ref:`Swizzle` **SWIZZLE_ZERO** = ``4`` -Maps a color channel to the value of zero. +Mappa un canale colore al valore di zero. .. _class_OpenXRCompositionLayer_constant_SWIZZLE_ONE: @@ -265,7 +265,7 @@ Maps a color channel to the value of zero. :ref:`Swizzle` **SWIZZLE_ONE** = ``5`` -Maps a color channel to the value of one. +Mappa un canale colore al valore di uno. .. rst-class:: classref-section-separator @@ -378,9 +378,9 @@ L'ordine di ordinamento per questo livello di composizione. I numeri più alti s - |void| **set_alpha_swizzle**\ (\ value\: :ref:`Swizzle`\ ) - :ref:`Swizzle` **get_alpha_swizzle**\ (\ ) -The swizzle value for the alpha channel of the swapchain state. +Il valore di permutazione (swizzle) per il canale alfa dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -397,9 +397,9 @@ The swizzle value for the alpha channel of the swapchain state. - |void| **set_blue_swizzle**\ (\ value\: :ref:`Swizzle`\ ) - :ref:`Swizzle` **get_blue_swizzle**\ (\ ) -The swizzle value for the blue channel of the swapchain state. +Il valore di permutazione (swizzle) per il canale blu dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -416,9 +416,9 @@ The swizzle value for the blue channel of the swapchain state. - |void| **set_border_color**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_border_color**\ (\ ) -The border color of the swapchain state that is used when the wrap mode clamps to the border. +Colore di bordo dello stato di swapchain utilizzato quando la modalità di avvolgimento si limita al bordo. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -435,9 +435,9 @@ The border color of the swapchain state that is used when the wrap mode clamps t - |void| **set_green_swizzle**\ (\ value\: :ref:`Swizzle`\ ) - :ref:`Swizzle` **get_green_swizzle**\ (\ ) -The swizzle value for the green channel of the swapchain state. +Il valore di permutazione (swizzle) per il canale verde dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -454,9 +454,9 @@ The swizzle value for the green channel of the swapchain state. - |void| **set_horizontal_wrap**\ (\ value\: :ref:`Wrap`\ ) - :ref:`Wrap` **get_horizontal_wrap**\ (\ ) -The horizontal wrap mode of the swapchain state. +La modalità di avvolgimento orizzontale dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -473,9 +473,9 @@ The horizontal wrap mode of the swapchain state. - |void| **set_mag_filter**\ (\ value\: :ref:`Filter`\ ) - :ref:`Filter` **get_mag_filter**\ (\ ) -The magnification filter of the swapchain state. +Il filtro di ingrandimento dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -492,9 +492,9 @@ The magnification filter of the swapchain state. - |void| **set_max_anisotropy**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_max_anisotropy**\ (\ ) -The max anisotropy of the swapchain state. +L'anisotropia massima dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -511,9 +511,9 @@ The max anisotropy of the swapchain state. - |void| **set_min_filter**\ (\ value\: :ref:`Filter`\ ) - :ref:`Filter` **get_min_filter**\ (\ ) -The minification filter of the swapchain state. +Il filtro di minimizzazione dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -530,9 +530,9 @@ The minification filter of the swapchain state. - |void| **set_mipmap_mode**\ (\ value\: :ref:`MipmapMode`\ ) - :ref:`MipmapMode` **get_mipmap_mode**\ (\ ) -The mipmap mode of the swapchain state. +La modalità di mipmap dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -549,9 +549,9 @@ The mipmap mode of the swapchain state. - |void| **set_red_swizzle**\ (\ value\: :ref:`Swizzle`\ ) - :ref:`Swizzle` **get_red_swizzle**\ (\ ) -The swizzle value for the red channel of the swapchain state. +Il valore di permutazione (swizzle) per il canale rosso dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator @@ -568,9 +568,9 @@ The swizzle value for the red channel of the swapchain state. - |void| **set_vertical_wrap**\ (\ value\: :ref:`Wrap`\ ) - :ref:`Wrap` **get_vertical_wrap**\ (\ ) -The vertical wrap mode of the swapchain state. +La modalità di avvolgimento verticale dello stato della swapchain. -\ **Note:** This property only has an effect on devices that support the OpenXR XR_FB_swapchain_update_state OpenGLES/Vulkan extensions. +\ **Nota:** Questa proprietà ha effetto solo sui dispositivi che supportano le estensioni OpenGLES/Vulkan OpenXR XR_FB_swapchain_update_state. .. rst-class:: classref-item-separator diff --git a/classes/it/class_openxrdpadbindingmodifier.rst b/classes/it/class_openxrdpadbindingmodifier.rst index efa9be5c12..33fc0b8e20 100644 --- a/classes/it/class_openxrdpadbindingmodifier.rst +++ b/classes/it/class_openxrdpadbindingmodifier.rst @@ -119,9 +119,9 @@ Percorso all'input per questo modificatore di associazione del d-pad. - |void| **set_is_sticky**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_is_sticky**\ (\ ) -If ``false``, when the joystick enters a new dpad zone this becomes ``true``. +Se ``false``, quando il joystick entra in una nuova zona del d-pad, questo diventa ``true``. -If ``true``, when the joystick remains in active dpad zone, this remains ``true`` even if we overlap with another zone. +Se ``true``, quando il joystick rimane nella zona attiva del d-pad, questo rimane ``true`` anche se ci sovrapponiamo a un'altra zona. .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ Impulso tattile da emettere quando l'utente preme l'input. - |void| **set_threshold**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_threshold**\ (\ ) -When our input value is equal or larger than this value, our dpad in that direction becomes ``true``. It stays ``true`` until it falls under the :ref:`threshold_released` value. +Quando il nostro valore di input è uguale o maggiore di questo valore, il nostro d-pad in quella direzione diventa ``true``. Rimane ``true`` finché non scende al di sotto del valore di :ref:`threshold_released`. .. rst-class:: classref-item-separator @@ -189,7 +189,7 @@ When our input value is equal or larger than this value, our dpad in that direct - |void| **set_threshold_released**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_threshold_released**\ (\ ) -When our input value falls below this, our output becomes ``false``. +Quando il valore di input scende al di sotto di questo valore, l'output diventa ``falso``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_openxrextensionwrapper.rst b/classes/it/class_openxrextensionwrapper.rst index c4e758fa61..70ed657b75 100644 --- a/classes/it/class_openxrextensionwrapper.rst +++ b/classes/it/class_openxrextensionwrapper.rst @@ -9,14 +9,14 @@ OpenXRExtensionWrapper **Ereditato da:** :ref:`OpenXRExtensionWrapperExtension`, :ref:`OpenXRFutureExtension`, :ref:`OpenXRRenderModelExtension` -Allows implementing OpenXR extensions with GDExtension. +Consente di implementare estensioni OpenXR con GDExtension. .. rst-class:: classref-introduction-group Descrizione ---------------------- -**OpenXRExtensionWrapper** allows implementing OpenXR extensions with GDExtension. The extension should be registered with :ref:`register_extension_wrapper()`. +:ref:`OpenXRExtensionWrapperExtension` consente di implementare estensioni OpenXR con GDExtension. L'estensione deve essere registrata con :ref:`register_extension_wrapper()`. .. rst-class:: classref-reftable-group @@ -467,7 +467,7 @@ Chiamato quando lo stato della sessione OpenXR viene cambiato in visibile. Ciò |void| **_on_sync_actions**\ (\ ) |virtual| :ref:`🔗` -Called when OpenXR has performed its action sync. +Chiamato quando OpenXR ha effettuato la sua sincronizzazione di azioni. .. rst-class:: classref-item-separator @@ -507,9 +507,9 @@ Aggiunge ulteriori strutture dati alle swapchain di superfice di Android create :ref:`int` **_set_frame_end_info_and_get_next_pointer**\ (\ next_pointer\: ``void*``\ ) |virtual| :ref:`🔗` -Adds additional data structures to ``XrFrameEndInfo``. +Aggiunge ulteriori strutture dati a ``XrFrameEndInfo``. -This will only be called if the extension previously registered itself with :ref:`OpenXRAPIExtension.register_frame_info_extension()`. +Sarà chiamato solo se l'estensione si è precedentemente registrata con :ref:`OpenXRAPIExtension.register_frame_info_extension()`. .. rst-class:: classref-item-separator @@ -521,9 +521,9 @@ This will only be called if the extension previously registered itself with :ref :ref:`int` **_set_frame_wait_info_and_get_next_pointer**\ (\ next_pointer\: ``void*``\ ) |virtual| :ref:`🔗` -Adds additional data structures to ``XrFrameWaitInfo``. +Aggiunge ulteriori strutture dati a ``XrFrameWaitInfo``. -This will only be called if the extension previously registered itself with :ref:`OpenXRAPIExtension.register_frame_info_extension()`. +Sarà chiamato solo se l'estensione si è precedentemente registrata con :ref:`OpenXRAPIExtension.register_frame_info_extension()`. .. rst-class:: classref-item-separator @@ -571,7 +571,7 @@ Aggiunge ulteriori strutture dati alla vista di proiezione dell'indice ``view_in :ref:`int` **_set_reference_space_create_info_and_get_next_pointer**\ (\ reference_space_type\: :ref:`int`, next_pointer\: ``void*``\ ) |virtual| :ref:`🔗` -Adds additional data structures to ``XrReferenceSpaceCreateInfo``. +Aggiunge ulteriori strutture dati a ``XrReferenceSpaceCreateInfo``. .. rst-class:: classref-item-separator @@ -619,9 +619,9 @@ Aggiunge ulteriori strutture dati quando le capacità del sistema OpenXR vengono :ref:`int` **_set_view_locate_info_and_get_next_pointer**\ (\ next_pointer\: ``void*``\ ) |virtual| :ref:`🔗` -Adds additional data structures to ``XrViewLocateInfo``. +Aggiunge ulteriori strutture dati a ``XrViewLocateInfo``. -This will only be called if the extension previously registered itself with :ref:`OpenXRAPIExtension.register_frame_info_extension()`. +Sarà chiamato solo se l'estensione si è precedentemente registrata con :ref:`OpenXRAPIExtension.register_frame_info_extension()`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_openxrextensionwrapperextension.rst b/classes/it/class_openxrextensionwrapperextension.rst index ce0743f0bb..889fb180eb 100644 --- a/classes/it/class_openxrextensionwrapperextension.rst +++ b/classes/it/class_openxrextensionwrapperextension.rst @@ -9,14 +9,14 @@ OpenXRExtensionWrapperExtension **Eredita:** :ref:`OpenXRExtensionWrapper` **<** :ref:`Object` -Allows implementing OpenXR extensions with GDExtension. +Consente di implementare estensioni OpenXR con GDExtension. .. rst-class:: classref-introduction-group Descrizione ---------------------- -**OpenXRExtensionWrapperExtension** allows implementing OpenXR extensions with GDExtension. The extension should be registered with :ref:`OpenXRExtensionWrapper.register_extension_wrapper()`. +**OpenXRExtensionWrapperExtension** consente di implementare estensioni OpenXR con GDExtension. L'estensione deve essere registrata con :ref:`OpenXRExtensionWrapper.register_extension_wrapper()`. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrfutureextension.rst b/classes/it/class_openxrfutureextension.rst index df3c63b338..bd6b8858ee 100644 --- a/classes/it/class_openxrfutureextension.rst +++ b/classes/it/class_openxrfutureextension.rst @@ -7,14 +7,14 @@ OpenXRFutureExtension **Eredita:** :ref:`OpenXRExtensionWrapper` **<** :ref:`Object` -The OpenXR Future extension allows for asynchronous APIs to be used. +L'estensione OpenXR Future consente l'utilizzo di API asincrone. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This is a support extension in OpenXR that allows other OpenXR extensions to start asynchronous functions and get a callback after this function finishes. It is not intended for consumption within GDScript but can be accessed from GDExtension. +Questa è un'estensione di supporto in OpenXR che consente ad altre estensioni OpenXR di avviare funzioni asincrone e di ottenere un callback al termine di tali funzioni. Non è pensata per l'utilizzo in GDScript, ma è accessibile da GDExtension. .. rst-class:: classref-reftable-group @@ -47,7 +47,7 @@ Descrizioni dei metodi |void| **cancel_future**\ (\ future\: :ref:`int`\ ) :ref:`🔗` -Cancels an in-progress future. ``future`` must be an ``XrFutureEXT`` value previously returned by an API that started an asynchronous function. +Annulla un futuro in corso. ``future`` deve essere un valore ``XrFutureEXT`` restituito in precedenza da un'API che ha avviato una funzione asincrona. .. rst-class:: classref-item-separator @@ -59,7 +59,7 @@ Cancels an in-progress future. ``future`` must be an ``XrFutureEXT`` value previ :ref:`bool` **is_active**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if futures are available in the OpenXR runtime used. This function will only return a usable result after OpenXR has been initialized. +Restituisce ``true`` se i future sono disponibili nel runtime OpenXR utilizzato. Questa funzione restituirà un risultato utilizzabile solo dopo l'inizializzazione di OpenXR. .. rst-class:: classref-item-separator @@ -71,18 +71,18 @@ Returns ``true`` if futures are available in the OpenXR runtime used. This funct :ref:`OpenXRFutureResult` **register_future**\ (\ future\: :ref:`int`, on_success\: :ref:`Callable` = Callable()\ ) :ref:`🔗` -Register an OpenXR Future object so we monitor for completion. ``future`` must be an ``XrFutureEXT`` value previously returned by an API that started an asynchronous function. +Registra un oggetto OpenXR Future in modo da monitorarne il completamento. ``future`` deve essere un valore ``XrFutureEXT`` precedentemente restituito da un'API che ha avviato una funzione asincrona. -You can optionally specify ``on_success``, it will be invoked on successful completion of the future. +Facoltativamente, è possibile specificare ``on_success``, il quale sarà invocato al completamento corretto del futuro. -Or you can use the returned :ref:`OpenXRFutureResult` object to ``await`` its :ref:`OpenXRFutureResult.completed` signal. +In alternativa, è possibile usare l'oggetto :ref:`OpenXRFutureResult` restituito per attendere (``await``) il suo segnale :ref:`OpenXRFutureResult.completed`. :: var future_result = OpenXRFutureExtension.register_future(future) await future_result.completed if future_result.get_status() == OpenXRFutureResult.RESULT_FINISHED: - # Handle your success + # Gestisci il tuo successo pass .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` diff --git a/classes/it/class_openxrfutureresult.rst b/classes/it/class_openxrfutureresult.rst index 79d6fae506..8c56415498 100644 --- a/classes/it/class_openxrfutureresult.rst +++ b/classes/it/class_openxrfutureresult.rst @@ -7,14 +7,14 @@ OpenXRFutureResult **Eredita:** :ref:`RefCounted` **<** :ref:`Object` -Result object tracking the asynchronous result of an OpenXR Future object. +Oggetto risultato che tiene traccia del risultato asincrono di un oggetto OpenXR Future. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Result object tracking the asynchronous result of an OpenXR Future object, you can use this object to track the result status. +Oggetto risultato che tiene traccia del risultato asincrono di un oggetto OpenXR Future; è possibile utilizzare questo oggetto per tenere traccia dello stato del risultato. .. rst-class:: classref-reftable-group @@ -51,7 +51,7 @@ Segnali **completed**\ (\ result\: :ref:`OpenXRFutureResult`\ ) :ref:`🔗` -Emitted when the asynchronous function is finished or has been cancelled. +Emesso quando la funzione asincrona ha terminato o è stata annullata. .. rst-class:: classref-section-separator @@ -74,7 +74,7 @@ enum **ResultStatus**: :ref:`🔗` :ref:`ResultStatus` **RESULT_RUNNING** = ``0`` -The asynchronous function is running. +La funzione asincrona è in esecuzione. .. _class_OpenXRFutureResult_constant_RESULT_FINISHED: @@ -82,7 +82,7 @@ The asynchronous function is running. :ref:`ResultStatus` **RESULT_FINISHED** = ``1`` -The asynchronous function has finished. +La funzione asincrona ha terminato. .. _class_OpenXRFutureResult_constant_RESULT_CANCELLED: @@ -90,7 +90,7 @@ The asynchronous function has finished. :ref:`ResultStatus` **RESULT_CANCELLED** = ``2`` -The asynchronous function has been cancelled. +La funzione asincrona è stata annullata. .. rst-class:: classref-section-separator @@ -107,7 +107,7 @@ Descrizioni dei metodi |void| **cancel_future**\ (\ ) :ref:`🔗` -Cancel this future, this will interrupt and stop the asynchronous function. +Annulla questo futuro, ciò interromperà e fermerà la funzione asincrona. .. rst-class:: classref-item-separator @@ -119,7 +119,7 @@ Cancel this future, this will interrupt and stop the asynchronous function. :ref:`int` **get_future**\ (\ ) |const| :ref:`🔗` -Return the ``XrFutureEXT`` value this result relates to. +Restituisce il valore ``XrFutureEXT`` a cui è associato questo risultato. .. rst-class:: classref-item-separator @@ -131,7 +131,7 @@ Return the ``XrFutureEXT`` value this result relates to. :ref:`Variant` **get_result_value**\ (\ ) |const| :ref:`🔗` -Returns the result value of our asynchronous function (if set by the extension). The type of this result value depends on the function being called. Consult the documentation of the relevant function. +Restituisce il valore risultante della nostra funzione asincrona (se impostato dall'estensione). Il tipo di questo valore risultante dipende dalla funzione chiamata. Consulta la documentazione della funzione interessata. .. rst-class:: classref-item-separator @@ -143,7 +143,7 @@ Returns the result value of our asynchronous function (if set by the extension). :ref:`ResultStatus` **get_status**\ (\ ) |const| :ref:`🔗` -Returns the status of this result. +Restituisce lo stato di questo risultato. .. rst-class:: classref-item-separator @@ -155,9 +155,9 @@ Returns the status of this result. |void| **set_result_value**\ (\ result_value\: :ref:`Variant`\ ) :ref:`🔗` -Stores the result value we expose to the user. +Memorizza il valore risultato che esponiamo all'utente. -\ **Note:** This method should only be called by an OpenXR extension that implements an asynchronous function. +\ **Nota:** Si dovrebbe chiamare questo metodo solo da un'estensione OpenXR che implementa una funzione asincrona. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrinterface.rst b/classes/it/class_openxrinterface.rst index d89888a37f..c1523f4e3d 100644 --- a/classes/it/class_openxrinterface.rst +++ b/classes/it/class_openxrinterface.rst @@ -112,7 +112,7 @@ Segnali **cpu_level_changed**\ (\ sub_domain\: :ref:`int`, from_level\: :ref:`int`, to_level\: :ref:`int`\ ) :ref:`🔗` -Informs the device CPU performance level has changed in the specified subdomain. +Informa il dispositivo che il livello di prestazioni della CPU è cambiato nel sottodominio specificato. .. rst-class:: classref-item-separator @@ -124,7 +124,7 @@ Informs the device CPU performance level has changed in the specified subdomain. **gpu_level_changed**\ (\ sub_domain\: :ref:`int`, from_level\: :ref:`int`, to_level\: :ref:`int`\ ) :ref:`🔗` -Informs the device GPU performance level has changed in the specified subdomain. +Informa il dispositivo che il livello di prestazioni della GPU è cambiato nel sottodominio specificato. .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ Informa che la nostra sessione OpenXR è stata avviata. **session_focussed**\ (\ ) :ref:`🔗` -Informs our OpenXR session now has focus, for example output is sent to the HMD and we're receiving XR input. +Informa che la nostra sessione OpenXR è ora focalizzata, ad esempio l'output viene inviato all'HMD e stiamo ricevendo input XR. .. rst-class:: classref-item-separator @@ -222,7 +222,7 @@ Informa che la nostra sessione OpenXR si sta interrompendo. **session_synchronized**\ (\ ) :ref:`🔗` -Informs our OpenXR session has been synchronized. +Informa che la nostra sessione OpenXR è stata sincronizzata. .. rst-class:: classref-item-separator @@ -234,7 +234,7 @@ Informs our OpenXR session has been synchronized. **session_visible**\ (\ ) :ref:`🔗` -Informs our OpenXR session is now visible, for example output is sent to the HMD but we don't receive XR input. +Informa che la nostra sessione OpenXR è ora visibile, ad esempio l'output viene inviato all'HMD e ma non riceviamo input XR. .. rst-class:: classref-section-separator @@ -257,7 +257,7 @@ enum **SessionState**: :ref:`🔗` :ref:`SessionState` **SESSION_STATE_UNKNOWN** = ``0`` -The state of the session is unknown, we haven't tried setting up OpenXR yet. +Lo stato della sessione è sconosciuto, non abbiamo ancora provato a configurare OpenXR. .. _class_OpenXRInterface_constant_SESSION_STATE_IDLE: @@ -265,7 +265,7 @@ The state of the session is unknown, we haven't tried setting up OpenXR yet. :ref:`SessionState` **SESSION_STATE_IDLE** = ``1`` -The initial state after the OpenXR session is created or after the session is destroyed. +Lo stato iniziale dopo la creazione della sessione OpenXR o dopo la sua eliminazione. .. _class_OpenXRInterface_constant_SESSION_STATE_READY: @@ -273,7 +273,7 @@ The initial state after the OpenXR session is created or after the session is de :ref:`SessionState` **SESSION_STATE_READY** = ``2`` -OpenXR is ready to begin our session. :ref:`session_begun` is emitted when we change to this state. +OpenXR è pronto per iniziare la nostra sessione. :ref:`session_begun` viene emesso quando si passa a questo stato. .. _class_OpenXRInterface_constant_SESSION_STATE_SYNCHRONIZED: @@ -281,7 +281,7 @@ OpenXR is ready to begin our session. :ref:`session_begun` **SESSION_STATE_SYNCHRONIZED** = ``3`` -The application has synched its frame loop with the runtime but we're not rendering anything. :ref:`session_synchronized` is emitted when we change to this state. +L'applicazione ha sincronizzato il suo ciclo di frame con l'esecuzione, ma nulla è stato renderizzando ancora. :ref:`session_synchronized` viene emesso quando si passa a questo stato. .. _class_OpenXRInterface_constant_SESSION_STATE_VISIBLE: @@ -289,9 +289,9 @@ The application has synched its frame loop with the runtime but we're not render :ref:`SessionState` **SESSION_STATE_VISIBLE** = ``4`` -The application has synched its frame loop with the runtime and we're rendering output to the user, however we receive no user input. :ref:`session_visible` is emitted when we change to this state. +L'applicazione ha sincronizzato il suo ciclo di frame con l'esecuzione e si sta renderizzando il risultato all'utente, tuttavia non è stato ricevuto alcun input dall'utente. :ref:`session_visible` viene emesso quando si passa a questo stato. -\ **Note:** This is the current state just before we get the focused state, whenever the user opens a system menu, switches to another application, or takes off their headset. +\ **Nota:** Questo è lo stato attuale appena prima di ottenere lo stato focalizzato, ogni volta che l'utente apre un menu di sistema, passa a un'altra applicazione o si toglie il visore. .. _class_OpenXRInterface_constant_SESSION_STATE_FOCUSED: @@ -299,9 +299,9 @@ The application has synched its frame loop with the runtime and we're rendering :ref:`SessionState` **SESSION_STATE_FOCUSED** = ``5`` -The application has synched its frame loop with the runtime, we're rendering output to the user and we're receiving XR input. :ref:`session_focussed` is emitted when we change to this state. +L'applicazione ha sincronizzato il suo ciclo di frame con l'esecuzione, si sta renderizzando il risultato all'utente e si sta ricevendo l'input XR. :ref:`session_focussed` viene emesso quando si passa a questo stato. -\ **Note:** This is the state OpenXR will be in when the user can fully interact with your game. +\ **Nota:** Questo è lo stato in cui si troverà OpenXR quando l'utente potrà interagire completamente con il gioco. .. _class_OpenXRInterface_constant_SESSION_STATE_STOPPING: @@ -309,7 +309,7 @@ The application has synched its frame loop with the runtime, we're rendering out :ref:`SessionState` **SESSION_STATE_STOPPING** = ``6`` -Our session is being stopped. :ref:`session_stopping` is emitted when we change to this state. +La nostra sessione è in interruzione. :ref:`session_stopping` viene emesso quando si passa a questo stato. .. _class_OpenXRInterface_constant_SESSION_STATE_LOSS_PENDING: @@ -317,7 +317,7 @@ Our session is being stopped. :ref:`session_stopping` **SESSION_STATE_LOSS_PENDING** = ``7`` -The session is about to be lost. :ref:`session_loss_pending` is emitted when we change to this state. +La sessione sta per perdersi. :ref:`session_loss_pending` viene emesso quando si passa a questo stato. .. _class_OpenXRInterface_constant_SESSION_STATE_EXITING: @@ -325,7 +325,7 @@ The session is about to be lost. :ref:`session_loss_pending` **SESSION_STATE_EXITING** = ``8`` -The OpenXR instance is about to be destroyed and we're existing. :ref:`instance_exiting` is emitted when we change to this state. +L'istanza OpenXR sta per distruggersi e si sta uscendo. :ref:`instance_exiting` viene emesso quando si passa a questo stato. .. rst-class:: classref-item-separator @@ -435,7 +435,7 @@ La sorgente dei dati di tracciamento della mano è un controller, le posizioni d :ref:`HandTrackedSource` **HAND_TRACKED_SOURCE_MAX** = ``3`` -Represents the size of the :ref:`HandTrackedSource` enum. +Rappresenta la dimensione dell'enumerazione :ref:`HandTrackedSource`. .. rst-class:: classref-item-separator @@ -661,7 +661,7 @@ Articolazione della punta del mignolo. :ref:`HandJoints` **HAND_JOINT_MAX** = ``26`` -Represents the size of the :ref:`HandJoints` enum. +Rappresenta la dimensione dell'enumerazione :ref:`HandJoints`. .. rst-class:: classref-item-separator @@ -679,7 +679,7 @@ enum **PerfSettingsLevel**: :ref:`🔗` :ref:`PerfSettingsLevel` **PERF_SETTINGS_LEVEL_POWER_SAVINGS** = ``0`` -The application has entered a non-XR section (head-locked / static screen), during which power savings are to be prioritized. +L'applicazione è entrata in una sezione non XR (testa bloccata o schermo statico), durante la quale si deve priorizzare il risparmio energetico. .. _class_OpenXRInterface_constant_PERF_SETTINGS_LEVEL_SUSTAINED_LOW: @@ -687,7 +687,7 @@ The application has entered a non-XR section (head-locked / static screen), duri :ref:`PerfSettingsLevel` **PERF_SETTINGS_LEVEL_SUSTAINED_LOW** = ``1`` -The application has entered a low and stable complexity section, during which reducing power is more important than occasional late rendering frames. +L'applicazione è entrata in una sezione di complessità bassa e stabile, durante la quale la riduzione del consumo energetico è più importante dei frame di rendering occasionalmente in ritardo. .. _class_OpenXRInterface_constant_PERF_SETTINGS_LEVEL_SUSTAINED_HIGH: @@ -695,7 +695,7 @@ The application has entered a low and stable complexity section, during which re :ref:`PerfSettingsLevel` **PERF_SETTINGS_LEVEL_SUSTAINED_HIGH** = ``2`` -The application has entered a high or dynamic complexity section, during which the XR Runtime strives for consistent XR compositing and frame rendering within a thermally sustainable range. +L'applicazione è entrata in una sezione di complessità elevata o dinamica, durante la quale il Runtime XR si impegna a ottenere un compositing XR e un rendering dei frame costanti entro un intervallo termicamente sostenibile. .. _class_OpenXRInterface_constant_PERF_SETTINGS_LEVEL_BOOST: @@ -703,7 +703,7 @@ The application has entered a high or dynamic complexity section, during which t :ref:`PerfSettingsLevel` **PERF_SETTINGS_LEVEL_BOOST** = ``3`` -The application has entered a section with very high complexity, during which the XR Runtime is allowed to step up beyond the thermally sustainable range. +L'applicazione è entrata in una sezione di complessità molto elevata, durante la quale il Runtime XR può superare l'intervallo termicamente sostenibile. .. rst-class:: classref-item-separator @@ -721,7 +721,7 @@ enum **PerfSettingsSubDomain**: :ref:`🔗` **PERF_SETTINGS_SUB_DOMAIN_COMPOSITING** = ``0`` -The compositing performance within the runtime has reached a new level. +Le prestazioni di compositing in fase di esecuzione hanno raggiunto un nuovo livello. .. _class_OpenXRInterface_constant_PERF_SETTINGS_SUB_DOMAIN_RENDERING: @@ -729,7 +729,7 @@ The compositing performance within the runtime has reached a new level. :ref:`PerfSettingsSubDomain` **PERF_SETTINGS_SUB_DOMAIN_RENDERING** = ``1`` -The application rendering performance has reached a new level. +Le prestazioni di rendering delle applicazioni hanno raggiunto un nuovo livello. .. _class_OpenXRInterface_constant_PERF_SETTINGS_SUB_DOMAIN_THERMAL: @@ -737,7 +737,7 @@ The application rendering performance has reached a new level. :ref:`PerfSettingsSubDomain` **PERF_SETTINGS_SUB_DOMAIN_THERMAL** = ``2`` -The temperature of the device has reached a new level. +La temperatura del dispositivo ha raggiunto un nuovo livello. .. rst-class:: classref-item-separator @@ -755,7 +755,7 @@ enum **PerfSettingsNotificationLevel**: :ref:`🔗` **PERF_SETTINGS_NOTIF_LEVEL_NORMAL** = ``0`` -The sub-domain has reached a level where no further actions other than currently applied are necessary. +Il sottodominio ha raggiunto un livello in cui non sono necessarie ulteriori azioni oltre a quelle attualmente applicate. .. _class_OpenXRInterface_constant_PERF_SETTINGS_NOTIF_LEVEL_WARNING: @@ -763,7 +763,7 @@ The sub-domain has reached a level where no further actions other than currently :ref:`PerfSettingsNotificationLevel` **PERF_SETTINGS_NOTIF_LEVEL_WARNING** = ``1`` -The sub-domain has reached an early warning level where the application should start proactive mitigation actions. +Il sottodominio ha raggiunto un livello precoce di allerta tale per cui l'applicazione dovrebbe avviare azioni proattive di mitigazione. .. _class_OpenXRInterface_constant_PERF_SETTINGS_NOTIF_LEVEL_IMPAIRED: @@ -771,7 +771,7 @@ The sub-domain has reached an early warning level where the application should s :ref:`PerfSettingsNotificationLevel` **PERF_SETTINGS_NOTIF_LEVEL_IMPAIRED** = ``2`` -The sub-domain has reached a critical level where the application should start drastic mitigation actions. +Il sottodominio ha raggiunto un livello critico tale per cui l'applicazione dovrebbe avviare drastiche azioni di mitigazione. .. rst-class:: classref-item-separator @@ -876,9 +876,9 @@ La frequenza di aggiornamento del display per l'HMD corrente. Funziona solo se q - |void| **set_foveation_dynamic**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_foveation_dynamic**\ (\ ) -Enable dynamic foveation adjustment, the interface must be initialized before this is accessible. If enabled foveation will automatically adjusted between low and :ref:`foveation_level`. +Abilita la regolazione dinamica della foveazione, l'interfaccia deve essere inizializzata prima che sia accessibile. Se abilitata, la foveazione sarà regolata automaticamente tra bassa e :ref:`foveation_level`. -\ **Note:** Only works on the Compatibility renderer. +\ **Nota:** Funziona solo sul renderer Compatibilità. .. rst-class:: classref-item-separator @@ -895,9 +895,9 @@ Enable dynamic foveation adjustment, the interface must be initialized before th - |void| **set_foveation_level**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_foveation_level**\ (\ ) -Set foveation level from 0 (off) to 3 (high), the interface must be initialized before this is accessible. +Imposta il livello di foveazione da 0 (spento) a 3 (alto), l'interfaccia deve essere inizializzata prima che sia accessibile. -\ **Note:** Only works on the Compatibility renderer. +\ **Nota:** Funziona solo sul renderer Compatibilità. .. rst-class:: classref-item-separator @@ -1103,7 +1103,7 @@ Se il tracciamento manuale è abilitato e l'intervallo di movimento è supportat :ref:`SessionState` **get_session_state**\ (\ ) :ref:`🔗` -Returns the current state of our OpenXR session. +Restituisce lo stato attuale della nostra sessione OpenXR. .. rst-class:: classref-item-separator @@ -1141,9 +1141,9 @@ Restituisce le capacità dell'estensione di interazione dello sguardo. :ref:`bool` **is_foveation_supported**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if OpenXR's foveation extension is supported, the interface must be initialized before this returns a valid value. +Restituisce ``true`` se l'estensione di foveazione di OpenXR è supportata, l'interfaccia deve essere inizializzata prima che questo restituisca un valore valido. -\ **Note:** This feature is only available on the Compatibility renderer and currently only available on some stand alone headsets. For Vulkan set :ref:`Viewport.vrs_mode` to ``VRS_XR`` on desktop. +\ **Nota:** Questa funzionalità è disponibile solo sul renderer Compatibilità e attualmente disponibile soltanto su alcuni visori autonomi. Per Vulkan imposta :ref:`Viewport.vrs_mode` su ``VRS_XR`` su desktop. .. rst-class:: classref-item-separator @@ -1195,7 +1195,7 @@ Imposta l'insieme di azioni come attivo o inattivo. |void| **set_cpu_level**\ (\ level\: :ref:`PerfSettingsLevel`\ ) :ref:`🔗` -Sets the CPU performance level of the OpenXR device. +Imposta il livello di prestazioni della CPU del dispositivo OpenXR. .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ Sets the CPU performance level of the OpenXR device. |void| **set_gpu_level**\ (\ level\: :ref:`PerfSettingsLevel`\ ) :ref:`🔗` -Sets the GPU performance level of the OpenXR device. +Imposta il livello di prestazioni della GPU del dispositivo OpenXR. .. rst-class:: classref-item-separator diff --git a/classes/it/class_openxrrendermodel.rst b/classes/it/class_openxrrendermodel.rst index 87a0c32cdc..ba90d7deb2 100644 --- a/classes/it/class_openxrrendermodel.rst +++ b/classes/it/class_openxrrendermodel.rst @@ -7,16 +7,16 @@ OpenXRRenderModel **Eredita:** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -This node will display an OpenXR render model. +Questo nodo visualizzerà un modello di rendering OpenXR. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This node will display an OpenXR render model by accessing the associated GLTF and processes all animation data (if supported by the XR runtime). +Questo nodo visualizzerà un modello di rendering OpenXR accedendo al GLTF associato ed elaborerà tutti i dati di animazione (se supportati dal runtime XR). -Render models were introduced to allow showing the correct model for the controller (or other device) the user has in hand, since the OpenXR action map does not provide information about the hardware used by the user. Note that while the controller (or device) can be somewhat inferred by the bound action map profile, this is a dangerous approach as the user may be using hardware not known at time of development and OpenXR will simply simulate an available interaction profile. +I modelli di rendering sono stati introdotti per consentire di mostrare il modello corretto per il controller (o altro dispositivo) in uso dall'utente, poiché la mappa di azioni OpenXR non fornisce informazioni sull'hardware utilizzato dall'utente. Si noti che, sebbene il controller (o dispositivo) possa essere in qualche modo dedotto dal profilo della mappa di azioni associata, questo è un approccio rischioso, poiché l'utente potrebbe utilizzare hardware non noto al momento dello sviluppo e OpenXR si limiterà a simulare un profilo di interazione disponibile. .. rst-class:: classref-reftable-group @@ -57,7 +57,7 @@ Segnali **render_model_top_level_path_changed**\ (\ ) :ref:`🔗` -Emitted when the top level path of this render model has changed. +Emesso quando il percorso di livello superiore di questo modello di rendering viene cambiato. .. rst-class:: classref-section-separator @@ -79,7 +79,7 @@ Descrizioni delle proprietà - |void| **set_render_model**\ (\ value\: :ref:`RID`\ ) - :ref:`RID` **get_render_model**\ (\ ) -The render model RID for the render model to load, as returned by :ref:`OpenXRRenderModelExtension.render_model_create()` or :ref:`OpenXRRenderModelExtension.render_model_get_all()`. +Il RID del modello di rendering da caricare, come restituito da :ref:`OpenXRRenderModelExtension.render_model_create()` o :ref:`OpenXRRenderModelExtension.render_model_get_all()`. .. rst-class:: classref-section-separator @@ -96,7 +96,7 @@ Descrizioni dei metodi :ref:`String` **get_top_level_path**\ (\ ) |const| :ref:`🔗` -Returns the top level path related to this render model. +Restituisce il percorso di livello superiore correlato a questo modello di rendering. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrrendermodelextension.rst b/classes/it/class_openxrrendermodelextension.rst index 8050d32fdd..26133cd90e 100644 --- a/classes/it/class_openxrrendermodelextension.rst +++ b/classes/it/class_openxrrendermodelextension.rst @@ -7,14 +7,14 @@ OpenXRRenderModelExtension **Eredita:** :ref:`OpenXRExtensionWrapper` **<** :ref:`Object` -This class implements the OpenXR Render Model Extension. +Questa classe implementa l'estensione OpenXR Render Model. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This class implements the OpenXR Render Model Extension, if enabled it will maintain a list of active render models and provides an interface to the render model data. +Questa classe implementa l'estensione OpenXR Render Model; se abilitata, manterrà una lista di modelli di rendering attivi e fornirà un'interfaccia ai dati del modello di rendering. .. rst-class:: classref-reftable-group @@ -67,7 +67,7 @@ Segnali **render_model_added**\ (\ render_model\: :ref:`RID`\ ) :ref:`🔗` -Emitted when a new render model is added. +Emesso quando un nuovo modello di rendering viene aggiunto. .. rst-class:: classref-item-separator @@ -79,7 +79,7 @@ Emitted when a new render model is added. **render_model_removed**\ (\ render_model\: :ref:`RID`\ ) :ref:`🔗` -Emitted when a render model is removed. +Emesso quando un modello di rendering viene rimosso. .. rst-class:: classref-item-separator @@ -91,7 +91,7 @@ Emitted when a render model is removed. **render_model_top_level_path_changed**\ (\ render_model\: :ref:`RID`\ ) :ref:`🔗` -Emitted when the top level path associated with a render model changed. +Emesso quando cambia il percorso di livello superiore associato a un modello di rendering. .. rst-class:: classref-section-separator @@ -108,9 +108,9 @@ Descrizioni dei metodi :ref:`bool` **is_active**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if OpenXR's render model extension is supported and enabled. +Restituisce ``true`` se l'estensione Render Model di OpenXR è supportata e abilitata. -\ **Note:** This only returns a valid value after OpenXR has been initialized. +\ **Nota:** Questo restituisce un valore valido solo dopo l'inizializzazione di OpenXR. .. rst-class:: classref-item-separator @@ -122,9 +122,9 @@ Returns ``true`` if OpenXR's render model extension is supported and enabled. :ref:`RID` **render_model_create**\ (\ render_model_id\: :ref:`int`\ ) :ref:`🔗` -Creates a render model object within OpenXR using a render model id. +Crea un oggetto modello di rendering all'interno di OpenXR, utilizzando un ID modello di rendering. -\ **Note:** This function is exposed for dependent OpenXR extensions that provide render model ids to be used with the render model extension. +\ **Nota:** Questa funzione è disponibile per le estensioni OpenXR dipendenti che forniscono ID modello di rendering da utilizzare con l'estensione modello di rendering. .. rst-class:: classref-item-separator @@ -136,9 +136,9 @@ Creates a render model object within OpenXR using a render model id. |void| **render_model_destroy**\ (\ render_model\: :ref:`RID`\ ) :ref:`🔗` -Destroys a render model object within OpenXR that was previously created with :ref:`render_model_create()`. +Distrugge un oggetto modello di rendering all'interno di OpenXR precedentemente creato con :ref:`render_model_create()`. -\ **Note:** This function is exposed for dependent OpenXR extensions that provide render model ids to be used with the render model extension. +\ **Nota:** Questa funzione è esposta per le estensioni OpenXR dipendenti che forniscono ID modello di rendering da utilizzare con l'estensione modello di rendering. .. rst-class:: classref-item-separator @@ -150,7 +150,7 @@ Destroys a render model object within OpenXR that was previously created with :r :ref:`Array`\[:ref:`RID`\] **render_model_get_all**\ (\ ) :ref:`🔗` -Returns an array of all currently active render models registered with this extension. +Restituisce un array di tutti i modelli di rendering attualmente attivi registrati con questa estensione. .. rst-class:: classref-item-separator @@ -162,7 +162,7 @@ Returns an array of all currently active render models registered with this exte :ref:`int` **render_model_get_animatable_node_count**\ (\ render_model\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the number of animatable nodes this render model has. +Restituisce il numero di nodi animabili di questo modello di rendering. .. rst-class:: classref-item-separator @@ -174,7 +174,7 @@ Returns the number of animatable nodes this render model has. :ref:`String` **render_model_get_animatable_node_name**\ (\ render_model\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the name of the given animatable node. +Restituisce il nome del nodo animabile specificato. .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ Returns the name of the given animatable node. :ref:`Transform3D` **render_model_get_animatable_node_transform**\ (\ render_model\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the current local transform for an animatable node. This is updated every frame. +Restituisce la trasformazione locale attuale per un nodo animabile. È aggiornata a ogni frame. .. rst-class:: classref-item-separator @@ -198,7 +198,7 @@ Returns the current local transform for an animatable node. This is updated ever :ref:`TrackingConfidence` **render_model_get_confidence**\ (\ render_model\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the tracking confidence of the tracking data for the render model. +Restituisce l'affidabilità dei dati di tracciamento per il modello di rendering. .. rst-class:: classref-item-separator @@ -210,7 +210,7 @@ Returns the tracking confidence of the tracking data for the render model. :ref:`Transform3D` **render_model_get_root_transform**\ (\ render_model\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the root transform of a render model. This is the tracked position relative to our :ref:`XROrigin3D` node. +Restituisce la trasformazione radice di un modello di rendering. Questa è la posizione tracciata rispetto al nostro nodo :ref:`XROrigin3D`. .. rst-class:: classref-item-separator @@ -222,9 +222,9 @@ Returns the root transform of a render model. This is the tracked position relat :ref:`PackedStringArray` **render_model_get_subaction_paths**\ (\ render_model\: :ref:`RID`\ ) :ref:`🔗` -Returns a list of active subaction paths for this ``render_model``. +Restituisce una lista di percorsi di sotto-azioni attive per il modello di rendering ``render_model``. -\ **Note:** If different devices are bound to your actions than available in suggested interaction bindings, this information shows paths related to the interaction bindings being mimicked by that device. +\ **Nota:** Se diversi dispositivi sono associati alle proprie azioni da quelli disponibili nelle associazioni di interazione suggeriti, queste informazioni mostrano i percorsi relativi alle associazioni di interazione imitate da tale dispositivo. .. rst-class:: classref-item-separator @@ -236,7 +236,7 @@ Returns a list of active subaction paths for this ``render_model``. :ref:`String` **render_model_get_top_level_path**\ (\ render_model\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the top level path associated with this ``render_model``. If provided this identifies whether the render model is associated with the player's hands or other body part. +Restituisce il percorso di livello superiore associato a questo modello di rendering ``render_model``. Se fornito, identifica se il modello di rendering è associato alle mani del giocatore o ad altre parti del corpo. .. rst-class:: classref-item-separator @@ -248,7 +248,7 @@ Returns the top level path associated with this ``render_model``. If provided th :ref:`bool` **render_model_is_animatable_node_visible**\ (\ render_model\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns ``true`` if this animatable node should be visible. +Restituisce ``true`` se questa nodo animabile deve essere visibile. .. rst-class:: classref-item-separator @@ -260,7 +260,7 @@ Returns ``true`` if this animatable node should be visible. :ref:`Node3D` **render_model_new_scene_instance**\ (\ render_model\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns an instance of a subscene that contains all :ref:`MeshInstance3D` nodes that allow you to visualize the render model. +Restituisce un'istanza di una sotto-scena che contiene tutti i nodi :ref:`MeshInstance3D` che consentono di visualizzare il modello di rendering. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_openxrrendermodelmanager.rst b/classes/it/class_openxrrendermodelmanager.rst index 3602cbd774..c7c53cd368 100644 --- a/classes/it/class_openxrrendermodelmanager.rst +++ b/classes/it/class_openxrrendermodelmanager.rst @@ -7,16 +7,16 @@ OpenXRRenderModelManager **Eredita:** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -Helper node that will automatically manage displaying render models. +Nodo ausiliare che gestirà automaticamente la visualizzazione dei modelli di rendering. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This helper node will automatically manage displaying render models. It will create new :ref:`OpenXRRenderModel` nodes as controllers and other hand held devices are detected, and remove those nodes when they are deactivated. +Questo nodo ausiliare gestirà automaticamente la visualizzazione dei modelli di rendering. Creerà nuovi nodi :ref:`OpenXRRenderModel` man mano che controller e altri dispositivi portatili vengono rilevati, rimuovendoli quando vengono disattivati. -\ **Note:** If you want more control over this logic you can alternatively call :ref:`OpenXRRenderModelExtension.render_model_get_all()` to obtain a list of active render model ids and create :ref:`OpenXRRenderModel` instances for each render model id provided. +\ **Nota:** Se si desidera più controllo su questa logica, è possibile in alternativa chiamare :ref:`OpenXRRenderModelExtension.render_model_get_all()` per ottenere una lista di ID di modelli di rendering attivi e creare istanze di :ref:`OpenXRRenderModel` per ogni ID di modello di rendering fornito. .. rst-class:: classref-reftable-group @@ -47,7 +47,7 @@ Segnali **render_model_added**\ (\ render_model\: :ref:`OpenXRRenderModel`\ ) :ref:`🔗` -Emitted when a render model node is added as a child to this node. +Emesso quando un nodo di modello di rendering viene aggiunto come figlio di questo nodo. .. rst-class:: classref-item-separator @@ -59,7 +59,7 @@ Emitted when a render model node is added as a child to this node. **render_model_removed**\ (\ render_model\: :ref:`OpenXRRenderModel`\ ) :ref:`🔗` -Emitted when a render model child node is about to be removed from this node. +Emesso quando un nodo figlio di modello di rendering sta per essere rimosso da questo nodo. .. rst-class:: classref-section-separator @@ -82,7 +82,7 @@ enum **RenderModelTracker**: :ref:`🔗` **RENDER_MODEL_TRACKER_ANY** = ``0`` -All active render models are shown regardless of what tracker they relate to. +Sono mostrati tutti i modelli di rendering attivi, a prescindere dal tracker a cui sono correlati. .. _class_OpenXRRenderModelManager_constant_RENDER_MODEL_TRACKER_NONE_SET: @@ -90,7 +90,7 @@ All active render models are shown regardless of what tracker they relate to. :ref:`RenderModelTracker` **RENDER_MODEL_TRACKER_NONE_SET** = ``1`` -Only active render models are shown that are not related to any tracker we manage. +Sono mostrati solo i modelli di rendering attivi che non sono correlati ad alcun tracker da noi gestito. .. _class_OpenXRRenderModelManager_constant_RENDER_MODEL_TRACKER_LEFT_HAND: @@ -98,7 +98,7 @@ Only active render models are shown that are not related to any tracker we manag :ref:`RenderModelTracker` **RENDER_MODEL_TRACKER_LEFT_HAND** = ``2`` -Only active render models are shown that are related to the left hand tracker. +Sono mostrati solo i modelli di rendering attivi correlati al tracker della mano sinistra. .. _class_OpenXRRenderModelManager_constant_RENDER_MODEL_TRACKER_RIGHT_HAND: @@ -106,7 +106,7 @@ Only active render models are shown that are related to the left hand tracker. :ref:`RenderModelTracker` **RENDER_MODEL_TRACKER_RIGHT_HAND** = ``3`` -Only active render models are shown that are related to the right hand tracker. +Sono mostrati solo i modelli di rendering attivi correlati al tracker della mano destra. .. rst-class:: classref-section-separator @@ -128,7 +128,7 @@ Descrizioni delle proprietà - |void| **set_make_local_to_pose**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_make_local_to_pose**\ (\ ) -Position render models local to this pose (this will adjust the position of the render models container node). +Posiziona i modelli di rendering localmente a questa posa (ciò regolerà la posizione del nodo contenitore dei modelli di rendering). .. rst-class:: classref-item-separator @@ -145,7 +145,7 @@ Position render models local to this pose (this will adjust the position of the - |void| **set_tracker**\ (\ value\: :ref:`RenderModelTracker`\ ) - :ref:`RenderModelTracker` **get_tracker**\ (\ ) -Limits render models to the specified tracker. Include: 0 = All render models, 1 = Render models not related to a tracker, 2 = Render models related to the left hand tracker, 3 = Render models related to the right hand tracker. +Limita i modelli di rendering al tracker specificato. Include: 0 = Tutti i modelli di rendering, 1 = Modelli di rendering correlati a un tracker, 2 = Modelli di rendering correlati al tracker della mano sinistra, 3 = Modelli di rendering correlati al tracker della mano destra. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_optionbutton.rst b/classes/it/class_optionbutton.rst index 5c347360e6..2863f3504d 100644 --- a/classes/it/class_optionbutton.rst +++ b/classes/it/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: @@ -17,13 +17,13 @@ Un pulsante che, se premuto, apre un menu a tendina con opzioni selezionabili. Descrizione ---------------------- -**OptionButton** is a type of button that brings up a dropdown with selectable items when pressed. The item selected becomes the "current" item and is displayed as the button text. +**OptionButton** è un tipo di pulsante che apre un menu a tendina con elementi selezionabili quando viene premuto. L'elemento selezionato diventa l'elemento "attuale" e viene visualizzato come testo del pulsante. -See also :ref:`BaseButton` which contains common properties and methods associated with this node. +Vedi anche :ref:`BaseButton` che contiene proprietà e metodi comuni associati a questo nodo. -\ **Note:** The IDs used for items are limited to signed 32-bit integers, not the full 64 bits of :ref:`int`. These have a range of ``-2^31`` to ``2^31 - 1``, that is, ``-2147483648`` to ``2147483647``. +\ **Nota:** Gli ID utilizzati per gli elementi sono interi a 32 bit, non a 64 bit pieni di :ref:`int`. Questi hanno un intervallo di ``-2^32`` a ``2^32 - 1``, ovvero, ``-2147483648`` a ``2147483647``. -\ **Note:** The :ref:`Button.text` and :ref:`Button.icon` properties are set automatically based on the selected item. They shouldn't be changed manually. +\ **Nota:** Le proprietà :ref:`Button.text` e :ref:`Button.icon` sono impostate automaticamente in base all'elemento selezionato. Non si dovrebbero cambiare manualmente. .. rst-class:: classref-reftable-group @@ -253,9 +253,9 @@ Descrizioni dei metodi |void| **add_icon_item**\ (\ texture\: :ref:`Texture2D`, label\: :ref:`String`, id\: :ref:`int` = -1\ ) :ref:`🔗` -Adds an item, with a ``texture`` icon, text ``label`` and (optionally) ``id``. If no ``id`` is passed, the item index will be used as the item's ID. New items are appended at the end. +Aggiunge un elemento, con un'icona ``texture``, testo ``label`` e (facoltativamente) ``id``. Se nessun ``id`` viene passato, l'indice dell'elemento sarà utilizzato come ID dell'elemento. I nuovi elementi vengono aggiunti alla fine. -\ **Note:** The item will be selected if there are no other items. +\ **Nota:** L'elemento verrà selezionato se non ci sono altri elementi. .. rst-class:: classref-item-separator @@ -267,9 +267,9 @@ Adds an item, with a ``texture`` icon, text ``label`` and (optionally) ``id``. I |void| **add_item**\ (\ label\: :ref:`String`, id\: :ref:`int` = -1\ ) :ref:`🔗` -Adds an item, with text ``label`` and (optionally) ``id``. If no ``id`` is passed, the item index will be used as the item's ID. New items are appended at the end. +Aggiunge un elemento, con testo ``label`` e (facoltativamente) ``id``. Se nessun ``id`` viene passato, l'indice dell'elemento sarà utilizzato come ID dell'elemento. I nuovi elementi vengono aggiunti alla fine. -\ **Note:** The item will be selected if there are no other items. +\ **Nota:** L'elemento verrà selezionato se non ci sono altri elementi. .. rst-class:: classref-item-separator @@ -305,7 +305,7 @@ Cancella tutti gli elementi nell'**OptionButton**. :ref:`AutoTranslateMode` **get_item_auto_translate_mode**\ (\ idx\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the auto translate mode of the item at index ``idx``. +Restituisce la modalità di traduzione automatica dell'elemento all'indice ``idx``. .. rst-class:: classref-item-separator @@ -515,9 +515,9 @@ Se ``true``, le scorciatoie sono disabilitate e non possono essere utilizzate pe |void| **set_item_auto_translate_mode**\ (\ idx\: :ref:`int`, mode\: :ref:`AutoTranslateMode`\ ) :ref:`🔗` -Sets the auto translate mode of the item at index ``idx``. +Imposta la modalità di traduzione automatica dell'elemento all'indice ``idx``. -Items use :ref:`Node.AUTO_TRANSLATE_MODE_INHERIT` by default, which uses the same auto translate mode as the **OptionButton** itself. +Gli elementi utilizzano :ref:`Node.AUTO_TRANSLATE_MODE_INHERIT` come predefinito, il quale utilizza la stessa modalità di traduzione automatica dell'**OptionButton** stesso. .. rst-class:: classref-item-separator diff --git a/classes/it/class_os.rst b/classes/it/class_os.rst index 68d8dd6c7c..5866de68a7 100644 --- a/classes/it/class_os.rst +++ b/classes/it/class_os.rst @@ -453,7 +453,7 @@ Descrizioni dei metodi |void| **add_logger**\ (\ logger\: :ref:`Logger`\ ) :ref:`🔗` -Add a custom logger to intercept the internal message stream. +Aggiunge un logger personalizzato per intercettare il flusso interno di messaggi. .. rst-class:: classref-item-separator @@ -930,11 +930,11 @@ Restituisce il percorso del file eseguibile attuale del motore. :ref:`PackedStringArray` **get_granted_permissions**\ (\ ) |const| :ref:`🔗` -On Android devices: Returns the list of dangerous permissions that have been granted. +Sui dispositivi Android: Restituisce la lista delle autorizzazioni pericolose concesse. -On macOS: Returns the list of granted permissions and user selected folders accessible to the application (sandboxed applications only). Use the native file dialog to request folder access permission. +Su macOS: Restituisce la lista delle cartelle selezionate dall'utente accessibili all'applicazione (solo applicazioni in sandbox). Usa la finestra di dialogo nativa dei file per richiedere l'autorizzazione di accesso alle cartelle. -On iOS, visionOS: Returns the list of granted permissions. +Su iOS, visionOS: restituisce la lista di autorizzazioni concesse. .. rst-class:: classref-item-separator @@ -1001,9 +1001,9 @@ Se vuoi solo il codice della lingua e non le impostazioni locali completamente s :ref:`String` **get_locale_language**\ (\ ) |const| :ref:`🔗` -Restituisce il `codice lingua `__ a 2 o 3 lettere del locale del sistema operativo host come stringa che dovrebbe essere coerente su tutte le piattaforme. Ciò equivale a estrarre la parte ``language`` della stringa da :ref:`get_locale()`. +Restituisce il `codice lingua `__ a 2 o 3 lettere delle impostazioni locali del sistema operativo host come stringa che dovrebbe essere coerente su tutte le piattaforme. Ciò equivale a estrarre la parte ``language`` della stringa da :ref:`get_locale()`. -Questo può essere utilizzato per restringere le stringhe di locale complete a solo il codice lingua "comune", quando non sono necessarie informazioni aggiuntive sul codice paese o sulle varianti. Ad esempio, per un utente franco-canadese con locale ``fr_CA``, questo restituirebbe ``fr``. +Questo è utile per limitare le stringhe delle impostazioni locali a solo il codice della lingua "comune", quando non sono necessarie informazioni aggiuntive sul codice paese o sulle varianti. Ad esempio, per un utente franco-canadese con locale ``fr_CA``, questo restituirebbe ``fr``. .. rst-class:: classref-item-separator @@ -1162,9 +1162,9 @@ Restituisce ``-1`` se il ``pid`` non è un PID di un processo figlio generato, i :ref:`int` **get_process_id**\ (\ ) |const| :ref:`🔗` -Returns the number used by the host machine to uniquely identify this application. +Restituisce il numero usato dalla machina ospite per identificare unicamente questa applicazione. -\ **Note:** On Web, this method always returns ``0``. +\ **Nota:** Su Web, questo metodo restituisce sempre ``0``. .. rst-class:: classref-item-separator @@ -1238,9 +1238,9 @@ Restituisce la quantità di memoria statica utilizzata dal programma in byte. Fu :ref:`StdHandleType` **get_stderr_type**\ (\ ) |const| :ref:`🔗` -Returns the type of the standard error device. +Restituisce il tipo del dispositivo di errore standard. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux, macOS e Windows. .. rst-class:: classref-item-separator @@ -1252,11 +1252,11 @@ Returns the type of the standard error device. :ref:`StdHandleType` **get_stdin_type**\ (\ ) |const| :ref:`🔗` -Returns the type of the standard input device. +Restituisce il tipo del dispositivo di input standard. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux, macOS e Windows. -\ **Note:** On exported Windows builds, run the console wrapper executable to access the standard input. If you need a single executable with full console support, use a custom build compiled with the ``windows_subsystem=console`` flag. +\ **Nota:** Nelle build esportate di Windows, bisogna eseguire l'eseguibile wrapper della console per accedere all'input standard. Se è necessario un singolo eseguibile con supporto completo per la console, utilizzare una build personalizzata compilata con il flag ``windows_subsystem=console``. .. rst-class:: classref-item-separator @@ -1268,9 +1268,9 @@ Returns the type of the standard input device. :ref:`StdHandleType` **get_stdout_type**\ (\ ) |const| :ref:`🔗` -Returns the type of the standard output device. +Restituisce il tipo del dispositivo di output standard. -\ **Note:** This method is implemented on Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Linux, macOS e Windows. .. rst-class:: classref-item-separator @@ -1350,7 +1350,7 @@ I seguenti alias possono essere utilizzati per richiedere i font predefiniti: "s Restituisce la lista di nomi di famiglie di font disponibili. -\ **Nota:** Questo metodo è implementato su Android, iOS, Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Linux, macOS e Windows. .. rst-class:: classref-item-separator @@ -1430,17 +1430,17 @@ Da non confondere con :ref:`get_data_dir()`, che r :ref:`String` **get_version**\ (\ ) |const| :ref:`🔗` -Returns the exact production and build version of the operating system. This is different from the branded version used in marketing. This helps to distinguish between different releases of operating systems, including minor versions, and insider and custom builds. +Restituisce la versione esatta di produzione e build del sistema operativo. Questa è diversa dalla versione di marca utilizzata nella vendita. Ciò aiuta a distinguere tra diverse versioni di sistemi operativi, comprese le versioni minori e build privilegiate e personalizzate. -- For Windows, the major and minor version are returned, as well as the build number. For example, the returned string may look like ``10.0.9926`` for a build of Windows 10. +- Per Windows, sono restituite la versione principale e minore, così come il numero di build. Ad esempio, la stringa restituita potrebbe essere simile a ``10.0.9926`` per una build di Windows 10. -- For rolling distributions, such as Arch Linux, an empty string is returned. +- Per le distribuzioni rolling, come Arch Linux, è restituita una stringa vuota. -- For macOS and iOS, the major and minor version are returned, as well as the patch number. +- Per macOS e iOS, sono restituite la versione principale e minore, così come il numero di patch. -- For Android, the SDK version and the incremental build number are returned. If it's a custom ROM, it attempts to return its version instead. +- Per Android, sono restituiti la versione SDK e il numero di build incrementale. Se si tratta di una ROM personalizzata, tenta di restituire la sua versione. -\ **Note:** This method is not supported on the Web platform. It returns an empty string. +\ **Nota:** Questo metodo non è supportato sulla piattaforma Web. Restituisce una stringa vuota. .. rst-class:: classref-item-separator @@ -1452,11 +1452,11 @@ Returns the exact production and build version of the operating system. This is :ref:`String` **get_version_alias**\ (\ ) |const| :ref:`🔗` -Returns the branded version used in marketing, followed by the build number (on Windows), the version number (on macOS), or the SDK version and incremental build number (on Android). Examples include ``11 (build 22000)``, ``Sequoia (15.0.0)``, and ``15 (SDK 35 build abc528-11988f)``. +Restituisce la versione brandizzata utilizzata nel marketing, seguita dal numero di build (su Windows), dal numero di versione (su macOS), o dalla versione dell'SDK e dal numero incrementale di build (su Android). Esempi includono ``11 (build 22000)``, ``Sequoia (15.0.0)`` e ``15 (SDK 35 build abc528-11988f)``. -This value can then be appended to :ref:`get_name()` to get a full, human-readable operating system name and version combination for the operating system. Windows feature updates such as 24H2 are not contained in the resulting string, but Windows Server is recognized as such (e.g. ``2025 (build 26100)`` for Windows Server 2025). +Questo valore può quindi essere aggiunto a :ref:`get_name()` per ottenere una combinazione completa e leggibile in chiaro del nome e della versione del sistema operativo. Gli aggiornamenti delle funzionalità di Windows come 24H2 non sono contenuti nella stringa risultante, ma Windows Server è riconosciuto come tale (ad esempio ``2025 (build 26100)`` per Windows Server 2025). -\ **Note:** This method is only supported on Windows, macOS, and Android. On other operating systems, it returns the same value as :ref:`get_version()`. +\ **Nota:** Questo metodo è supportato solo su Windows, macOS e Android. Su altri sistemi operativi, restituisce lo stesso valore di :ref:`get_version()`. .. rst-class:: classref-item-separator @@ -1468,15 +1468,15 @@ This value can then be appended to :ref:`get_name()` t :ref:`PackedStringArray` **get_video_adapter_driver_info**\ (\ ) |const| :ref:`🔗` -Returns the video adapter driver name and version for the user's currently active graphics card, as a :ref:`PackedStringArray`. See also :ref:`RenderingServer.get_video_adapter_api_version()`. +Restituisce il nome e la versione del driver della scheda video per la scheda grafica attualmente attiva dell'utente, come :ref:`PackedStringArray`. Vedi anche :ref:`RenderingServer.get_video_adapter_api_version()`. -The first element holds the driver name, such as ``nvidia``, ``amdgpu``, etc. +Il primo elemento contiene il nome del driver, come ``nvidia``, ``amdgpu``, ecc. -The second element holds the driver version. For example, on the ``nvidia`` driver on a Linux/BSD platform, the version is in the format ``510.85.02``. For Windows, the driver's format is ``31.0.15.1659``. +Il secondo elemento contiene la versione del driver. Ad esempio, sul driver ``nvidia`` su una piattaforma Linux/BSD, la versione è nel formato ``510.85.02``. Per Windows, il formato del driver è ``31.0.15.1659``. -\ **Note:** This method is only supported on Linux/BSD and Windows when not running in headless mode. On other platforms, it returns an empty array. +\ **Nota:** Questo metodo è supportato solo su Linux/BSD e Windows quando non è in esecuzione in modalità headless. Su altre piattaforme, restituisce un array vuoto. -\ **Note:** This method will run slowly the first time it is called in a session; it can take several seconds depending on the operating system and hardware. It is blocking if called on the main thread, so it's recommended to call it on a separate thread using :ref:`Thread`. This allows the engine to keep running while the information is being retrieved. However, :ref:`get_video_adapter_driver_info()` is *not* thread-safe, so it should not be called from multiple threads at the same time. +\ **Nota:** Questo metodo sarà eseguito lentamente la prima volta che viene chiamato in una sessione; potrebbe richiedere diversi secondi a seconda del sistema operativo e dell'hardware. È bloccante se chiamato sul thread principale, quindi si consiglia di chiamarlo su un thread separato tramite :ref:`Thread`. Ciò consente al motore di continuare a funzionare mentre le informazioni vengono recuperate. Tuttavia, :ref:`get_video_adapter_driver_info()` *non* è thread-safe, quindi non si dovrebbe chiamare da più thread allo stesso tempo. .. tabs:: @@ -1492,7 +1492,7 @@ The second element holds the driver version. For example, on the ``nvidia`` driv if not driver_info.is_empty(): print("Driver: %s %s" % [driver_info[0], driver_info[1]]) else: - print("Driver: (unknown)") + print("Driver: (sconosciuto)") ) func _exit_tree(): @@ -1589,7 +1589,7 @@ Restituisce ``true`` se il codice tasto di input corrisponde a un carattere Unic Restituisce ``true`` se ID del processo figlio (``pid``) è ancora in esecuzione o ``false`` è ha terminato. ``pid`` deve essere un ID valido generato da :ref:`create_process()`. -\ **Nota:** Questo metodo è implementato su Android, iOS, Linux, macOS, and Windows. +\ **Nota:** Questo metodo è implementato su Android, iOS, Linux, macOS e Windows. .. rst-class:: classref-item-separator @@ -1720,11 +1720,11 @@ Inizializza il singleton per il driver MIDI del sistema, consentendo a Godot di :ref:`Error` **open_with_program**\ (\ program_path\: :ref:`String`, paths\: :ref:`PackedStringArray`\ ) :ref:`🔗` -Opens one or more files/directories with the specified application. The ``program_path`` specifies the path to the application to use for opening the files, and ``paths`` contains an array of file/directory paths to open. +Apre uno o più file/cartelle con l'applicazione specificata. Il parametro ``program_path`` specifica il percorso dell'applicazione da utilizzare per aprire i file, mentre ``paths`` contiene un array di percorsi di file/cartelle da aprire. -\ **Note:** This method is mostly only relevant for macOS, where opening files using :ref:`create_process()` might fail. On other platforms, this falls back to using :ref:`create_process()`. +\ **Nota:** Questo metodo è rilevante principalmente solo per macOS, dove l'apertura dei file tramite :ref:`create_process()` potrebbe non riuscire. Su altre piattaforme, si ricorre all'utilizzo di :ref:`create_process()`. -\ **Note:** On macOS, ``program_path`` should ideally be the path to a ``.app`` bundle. +\ **Nota:** Su macOS, ``program_path`` dovrebbe idealmente essere il percorso di un pacchetto ``.app``. .. rst-class:: classref-item-separator @@ -1782,7 +1782,7 @@ Legge l'input dell'utente dall'input standard come stringa codificata in UTF-8. |void| **remove_logger**\ (\ logger\: :ref:`Logger`\ ) :ref:`🔗` -Remove a custom logger added by :ref:`add_logger()`. +Rimuove un logger personalizzato aggiunto da :ref:`add_logger()`. .. rst-class:: classref-item-separator @@ -1794,9 +1794,9 @@ Remove a custom logger added by :ref:`add_logger()`. :ref:`bool` **request_permission**\ (\ name\: :ref:`String`\ ) :ref:`🔗` -Requests permission from the OS for the given ``name``. Returns ``true`` if the permission has already been granted. See also :ref:`MainLoop.on_request_permissions_result`. +Richiede l'autorizzazione dal sistema operativo per il nome ``name``. Restituisce ``true`` se l'autorizzazione è già stata concessa. Vedi anche :ref:`MainLoop.on_request_permissions_result`. -The ``name`` must be the full permission name. For example: +\ ``name`` deve essere il nome completo di un'autorizzazione. Ad esempio: - ``OS.request_permission("android.permission.READ_EXTERNAL_STORAGE")``\ @@ -1806,9 +1806,9 @@ The ``name`` must be the full permission name. For example: - ``OS.request_permission("appleembedded.permission.AUDIO_RECORD")``\ -\ **Note:** On Android, permission must be checked during export. +\ **Nota:** Su Android, l'autorizzazione deve essere spuntata durante l'esportazione. -\ **Note:** This method is implemented on Android, macOS, and visionOS platforms. +\ **Nota:** Questo metodo è implementato su Android, macOS e piattaforme visionOS. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedbytearray.rst b/classes/it/class_packedbytearray.rst index 37006f6512..22e9ed56ac 100644 --- a/classes/it/class_packedbytearray.rst +++ b/classes/it/class_packedbytearray.rst @@ -12,11 +12,11 @@ Un array compatto di byte. Descrizione ---------------------- -An array specifically designed to hold bytes. Packs data tightly, so it saves memory for large array sizes. +Un array specificamente progettato per contenere byte. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **PackedByteArray** also provides methods to encode/decode various types to/from bytes. The way values are encoded is an implementation detail and shouldn't be relied upon when interacting with external apps. +\ **PackedByteArray** fornisce anche metodi per codificare/decodificare vari tipi da/a byte. Il modo in cui i valori sono codificati è un dettaglio di implementazione e non ci si dovrebbe dipendere quando si interagisce con applicazioni esterne. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che può essere modificata indipendentemente dall'array originale, usa :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. L'array impacchettato restituito da essi è una copia e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata è necessario modificare l'array restituito e successivamente riassegnarlo alla proprietà. .. note:: @@ -294,7 +294,7 @@ Trova l'indice di un valore esistente (o l'indice di inserimento che mantiene l' |void| **bswap16**\ (\ offset\: :ref:`int` = 0, count\: :ref:`int` = -1\ ) :ref:`🔗` -Swaps the byte order of ``count`` 16-bit segments of the array starting at ``offset``. Swap is done in-place. If ``count`` is less than zero, all segments to the end of array are processed, if processed data size is not a multiple of 2, the byte after the last processed 16-bit segment is not modified. +Scambia l'ordine dei byte di ``count`` segmenti a 16 bit nell'array a partire da ``offset``. Lo scambio viene eseguito sul posto. Se ``count`` è minore di zero, vengono elaborati tutti i segmenti fino alla fine dell'array; se la dimensione dei dati elaborati non è un multiplo di 2, il byte successivo all'ultimo segmento a 16 bit elaborato non viene modificato. .. rst-class:: classref-item-separator @@ -306,7 +306,7 @@ Swaps the byte order of ``count`` 16-bit segments of the array starting at ``off |void| **bswap32**\ (\ offset\: :ref:`int` = 0, count\: :ref:`int` = -1\ ) :ref:`🔗` -Swaps the byte order of ``count`` 32-bit segments of the array starting at ``offset``. Swap is done in-place. If ``count`` is less than zero, all segments to the end of array are processed, if processed data size is not a multiple of 4, bytes after the last processed 32-bit segment are not modified. +Scambia l'ordine dei byte di ``count`` segmenti a 32 bit nell'array a partire da ``offset``. Lo scambio viene eseguito sul posto. Se ``count`` è minore di zero, vengono elaborati tutti i segmenti fino alla fine dell'array; se la dimensione dei dati elaborati non è un multiplo di 4, il byte successivo all'ultimo segmento a 32 bit elaborato non viene modificato. .. rst-class:: classref-item-separator @@ -318,7 +318,7 @@ Swaps the byte order of ``count`` 32-bit segments of the array starting at ``off |void| **bswap64**\ (\ offset\: :ref:`int` = 0, count\: :ref:`int` = -1\ ) :ref:`🔗` -Swaps the byte order of ``count`` 64-bit segments of the array starting at ``offset``. Swap is done in-place. If ``count`` is less than zero, all segments to the end of array are processed, if processed data size is not a multiple of 8, bytes after the last processed 64-bit segment are not modified. +Scambia l'ordine dei byte di ``count`` segmenti a 64 bit nell'array a partire da ``offset``. Lo scambio viene eseguito sul posto. Se ``count`` è minore di zero, vengono elaborati tutti i segmenti fino alla fine dell'array; se la dimensione dei dati elaborati non è un multiplo di 8, il byte successivo all'ultimo segmento a 64 bit elaborato non viene modificato. .. rst-class:: classref-item-separator @@ -710,7 +710,7 @@ Codifica una :ref:`Variant` all'indice di ``byte_offset`` byte. D :ref:`bool` **erase**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. .. rst-class:: classref-item-separator @@ -746,9 +746,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non trovato. :ref:`int` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the byte at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0``. +Restituisce il byte all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``0``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -772,13 +772,13 @@ Converte un array codificato con ASCII/Latin-1 in :ref:`String`. A :ref:`String` **get_string_from_multibyte_char**\ (\ encoding\: :ref:`String` = ""\ ) |const| :ref:`🔗` -Converts system multibyte code page encoded array to :ref:`String`. If conversion fails, empty string is returned. This is the inverse of :ref:`String.to_multibyte_char_buffer()`. +Converte un array codificato con code page multibyte di sistema in :ref:`String`. Se la conversione fallisce, viene restituita una stringa vuota. Questo è l'inverso di :ref:`String.to_multibyte_char_buffer()`. -The values permitted for ``encoding`` are system dependent. If ``encoding`` is empty string, system default encoding is used. +I valori consentiti per ``encoding`` dipendono dal sistema. Se ``encoding`` è una stringa vuota, viene utilizzata la codifica predefinita del sistema. -- For Windows, see `Code Page Identifiers `__ .NET names. +- Per Windows, consultare i nomi .NET per i `Code Page Identifiers `__. -- For macOS and Linux/BSD, see ``libiconv`` library documentation and ``iconv --list`` for a list of supported encodings. +- Per macOS e Linux/BSD, consultare la documentazione della libreria ``libiconv`` e ``iconv --list`` per un elenco delle codifiche supportate. .. rst-class:: classref-item-separator @@ -802,7 +802,7 @@ Converte un array codificato con UTF-8 in :ref:`String`. Più lent :ref:`String` **get_string_from_utf16**\ (\ ) |const| :ref:`🔗` -Converts UTF-16 encoded array to :ref:`String`. If the BOM is missing, little-endianness is assumed. Returns empty string if source array is not valid UTF-16 string. This is the inverse of :ref:`String.to_utf16_buffer()`. +Converte un array codificato in UTF-16 in :ref:`String`. Se il BOM manca, si presume l'ordine dei byte "little" . Restituisce una stringa vuota se l'array sorgente non è una stringa UTF-16 valida. Questo è l'inverso di :ref:`String.to_utf16_buffer()`. .. rst-class:: classref-item-separator @@ -814,7 +814,7 @@ Converts UTF-16 encoded array to :ref:`String`. If the BOM is miss :ref:`String` **get_string_from_utf32**\ (\ ) |const| :ref:`🔗` -Converts UTF-32 encoded array to :ref:`String`. Returns empty string if source array is not valid UTF-32 string. This is the inverse of :ref:`String.to_utf32_buffer()`. +Converte un array codificato con UTF-32 in :ref:`String`. Restituisce una stringa vuota se l'array sorgente non è una stringa UTF-32 valida. Questo è l'inverso di :ref:`String.to_utf32_buffer()`. .. rst-class:: classref-item-separator @@ -937,9 +937,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator @@ -1027,9 +1027,9 @@ Ordina gli elementi dell'array in ordine crescente. :ref:`PackedColorArray` **to_color_array**\ (\ ) |const| :ref:`🔗` -Returns a copy of the data converted to a :ref:`PackedColorArray`, where each block of 16 bytes has been converted to a :ref:`Color` variant. +Restituisce una copia dei dati convertiti in un :ref:`PackedColorArray`, dove ogni blocco di 16 byte è stato convertito in un variante di tipo :ref:`Color`\ -\ **Note:** The size of the input array must be a multiple of 16 (size of four 32-bit float variables). The size of the new array will be ``byte_array.size() / 16``. If the original data can't be converted to :ref:`Color` variants, the resulting data is undefined. +\ **Nota:** La dimensione dell'array in input deve essere un multiplo di 16 (dimensione di quattro float a 32 bit). La dimensione del nuovo array sarà ``byte_array.size() / 16``. Se non è possibile convertire i dati originali in varianti :ref:`Color`, i dati risultanti sono indefiniti. .. rst-class:: classref-item-separator @@ -1045,7 +1045,7 @@ Restituisce una copia dei dati convertiti in un :ref:`PackedFloat32Array` **to_vector2_array**\ (\ ) |const| :ref:`🔗` -Returns a copy of the data converted to a :ref:`PackedVector2Array`, where each block of 8 bytes or 16 bytes (32-bit or 64-bit) has been converted to a :ref:`Vector2` variant. +Restituisce una copia dei dati convertiti in un :ref:`PackedVector2Array`, dove ogni blocco di 8 o 16 byte (32 bit o 64 bit) è stato convertito in un variante di tipo :ref:`Vector2`\ -\ **Note:** The size of the input array must be a multiple of 8 or 16 (depending on the build settings, see :ref:`Vector2` for more details). The size of the new array will be ``byte_array.size() / (8 or 16)``. If the original data can't be converted to :ref:`Vector2` variants, the resulting data is undefined. +\ **Nota:** La dimensione dell'array in input deve essere un multiplo di 8 o 16 (a seconda della configurazione della build, vedi :ref:`Vector2` per più dettagli). La dimensione del nuovo array sarà ``byte_array.size() / (8 o 16)``. Se non è possibile convertire i dati originali in varianti :ref:`Vector2`, i dati risultanti sono indefiniti. .. rst-class:: classref-item-separator @@ -1119,9 +1119,9 @@ Returns a copy of the data converted to a :ref:`PackedVector2Array` **to_vector3_array**\ (\ ) |const| :ref:`🔗` -Returns a copy of the data converted to a :ref:`PackedVector3Array`, where each block of 12 or 24 bytes (32-bit or 64-bit) has been converted to a :ref:`Vector3` variant. +Restituisce una copia dei dati convertiti in un :ref:`PackedVector3Array`, dove ogni blocco di 12 o 24 byte (32 bit o 64 bit) è stato convertito in un variante di tipo :ref:`Vector3`\ -\ **Note:** The size of the input array must be a multiple of 12 or 24 (depending on the build settings, see :ref:`Vector3` for more details). The size of the new array will be ``byte_array.size() / (12 or 24)``. If the original data can't be converted to :ref:`Vector3` variants, the resulting data is undefined. +\ **Nota:** La dimensione dell'array in input deve essere un multiplo di 12 o 24 (a seconda della configurazione della build, vedi :ref:`Vector3` per più dettagli). La dimensione del nuovo array sarà ``byte_array.size() / (12 o 24)``. Se non è possibile convertire i dati originali in varianti :ref:`Vector3`, i dati risultanti sono indefiniti. .. rst-class:: classref-item-separator @@ -1133,9 +1133,9 @@ Returns a copy of the data converted to a :ref:`PackedVector3Array` **to_vector4_array**\ (\ ) |const| :ref:`🔗` -Returns a copy of the data converted to a :ref:`PackedVector4Array`, where each block of 16 or 32 bytes (32-bit or 64-bit) has been converted to a :ref:`Vector4` variant. +Restituisce una copia dei dati convertiti in un :ref:`PackedVector4Array`, dove ogni blocco di 16 o 32 byte (32 bit o 64 bit) è stato convertito in un variante di tipo :ref:`Vector4`\ -\ **Note:** The size of the input array must be a multiple of 16 or 32 (depending on the build settings, see :ref:`Vector4` for more details). The size of the new array will be ``byte_array.size() / (16 or 32)``. If the original data can't be converted to :ref:`Vector4` variants, the resulting data is undefined. +\ **Nota:** La dimensione dell'array in input deve essere un multiplo di 16 o 32 (a seconda della configurazione della build, vedi :ref:`Vector4` per più dettagli). La dimensione del nuovo array sarà ``byte_array.size() / (16 o 32)``. Se non è possibile convertire i dati originali in varianti :ref:`Vector4`, i dati risultanti sono indefiniti. .. rst-class:: classref-section-separator diff --git a/classes/it/class_packedcolorarray.rst b/classes/it/class_packedcolorarray.rst index 0a4c1fbf66..6977fb9b3c 100644 --- a/classes/it/class_packedcolorarray.rst +++ b/classes/it/class_packedcolorarray.rst @@ -12,11 +12,11 @@ Un array compatto di :ref:`Color`. Descrizione ---------------------- -An array specifically designed to hold :ref:`Color`. Packs data tightly, so it saves memory for large array sizes. +Un array specificamente progettato per contenere :ref:`Color`. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedColorArray** versus ``Array[Color]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedColorArray** in confronto a ``Array[Color]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -244,7 +244,7 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`Color`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. .. rst-class:: classref-item-separator @@ -280,9 +280,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non trovato. :ref:`Color` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Color` at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``Color(0, 0, 0, 1)``. +Restituisce il :ref:`Color` all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``Color(0, 0, 0, 1)``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -354,9 +354,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packeddatacontainer.rst b/classes/it/class_packeddatacontainer.rst index ee3ce45bb7..aea12368e2 100644 --- a/classes/it/class_packeddatacontainer.rst +++ b/classes/it/class_packeddatacontainer.rst @@ -41,7 +41,7 @@ Stampa: lock (0, 0) another_key 123 -I contenitori nidificati saranno impacchettati ricorsivamente. Durante un iterazione, saranno restituiti come :ref:`PackedDataContainerRef`. +I contenitori innestati saranno impacchettati ricorsivamente. Durante un iterazione, saranno restituiti come :ref:`PackedDataContainerRef`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_packedfloat32array.rst b/classes/it/class_packedfloat32array.rst index a98cc967e5..91a58b43e4 100644 --- a/classes/it/class_packedfloat32array.rst +++ b/classes/it/class_packedfloat32array.rst @@ -12,11 +12,11 @@ Un array compatto di valori in virgola mobile a 32 bit. Descrizione ---------------------- -An array specifically designed to hold 32-bit floating-point values (float). Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere valori in virgola mobile a 32 bit (float). Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -If you need to pack 64-bit floats tightly, see :ref:`PackedFloat64Array`. +Se è necessario impacchettare valori in virgola mobile a 64 bit, vedi :ref:`PackedFloat64Array`. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -242,9 +242,9 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. -\ **Note:** :ref:`@GDScript.NAN` doesn't behave the same as other numbers. Therefore, the results from this method may not be accurate if NaNs are included. +\ **Nota:** :ref:`@GDScript.NAN` non si comporta come altri numeri. Pertanto, i risultati di questo metodo potrebbero non essere accurati se vengono inclusi i NaN. .. rst-class:: classref-item-separator @@ -282,9 +282,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non lo trova. :ref:`float` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the 32-bit float at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0.0``. +Restituisce il float a 32 bit all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``0.0``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -358,9 +358,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedfloat64array.rst b/classes/it/class_packedfloat64array.rst index cd5a6496a6..35adfe0985 100644 --- a/classes/it/class_packedfloat64array.rst +++ b/classes/it/class_packedfloat64array.rst @@ -12,13 +12,13 @@ Un array compatto di valori in virgola mobile a 64 bit. Descrizione ---------------------- -An array specifically designed to hold 64-bit floating-point values (double). Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere valori in virgola mobile a 64 bit (double). Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -If you only need to pack 32-bit floats tightly, see :ref:`PackedFloat32Array` for a more memory-friendly alternative. +Se è necessario impacchettare valori in virgola mobile a 32 bit, vedi :ref:`PackedFloat32Array`. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedFloat64Array** versus ``Array[float]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedFloat64Array** in confronto a ``Array[float]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -244,9 +244,9 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`float`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. -\ **Note:** :ref:`@GDScript.NAN` doesn't behave the same as other numbers. Therefore, the results from this method may not be accurate if NaNs are included. +\ **Nota:** :ref:`@GDScript.NAN` non si comporta come altri numeri. Pertanto, i risultati di questo metodo potrebbero non essere accurati se vengono inclusi i NaN. .. rst-class:: classref-item-separator @@ -284,9 +284,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non lo trova. :ref:`float` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the 64-bit float at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0.0``. +Restituisce il float a 64 bit all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``0.0``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -360,9 +360,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedint32array.rst b/classes/it/class_packedint32array.rst index 90c834b19e..3294038559 100644 --- a/classes/it/class_packedint32array.rst +++ b/classes/it/class_packedint32array.rst @@ -12,11 +12,11 @@ Un array compatto di interi a 32 bit. Descrizione ---------------------- -An array specifically designed to hold 32-bit integer values. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere valori interi a 32 bit. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Note:** This type stores signed 32-bit integers, which means it can take values in the interval ``[-2^31, 2^31 - 1]``, i.e. ``[-2147483648, 2147483647]``. Exceeding those bounds will wrap around. In comparison, :ref:`int` uses signed 64-bit integers which can hold much larger values. If you need to pack 64-bit integers tightly, see :ref:`PackedInt64Array`. +\ **Nota:** Questo tipo memorizza interi a 32 bit con segno, il che significa che può assumere valori nell'intervallo ``[-2^31, 2^31 - 1]``, ovvero ``[-2147483648, 2147483647]``. I valori oltre i limiti saranno avvolti. In confronto, :ref:`int` utilizza interi a 64 bit con segno che possono contenere valori molto più grandi. Se è necessario impacchettare interi a 64 bit, vedi :ref:`PackedInt64Array`. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -238,7 +238,7 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. .. rst-class:: classref-item-separator @@ -274,9 +274,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non trovato. :ref:`int` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the 32-bit integer at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0``. +Restituisce l'intero a 32 bit all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``0``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -348,9 +348,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedint64array.rst b/classes/it/class_packedint64array.rst index 3f959db278..db7e743bce 100644 --- a/classes/it/class_packedint64array.rst +++ b/classes/it/class_packedint64array.rst @@ -12,13 +12,13 @@ Un array compatto di interi a 64 bit. Descrizione ---------------------- -An array specifically designed to hold 64-bit integer values. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere valori interi a 64 bit. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Note:** This type stores signed 64-bit integers, which means it can take values in the interval ``[-2^63, 2^63 - 1]``, i.e. ``[-9223372036854775808, 9223372036854775807]``. Exceeding those bounds will wrap around. If you only need to pack 32-bit integers tightly, see :ref:`PackedInt32Array` for a more memory-friendly alternative. +\ **Nota:** Questo tipo memorizza interi a 64 bit con segno, il che significa che può assumere valori nell'intervallo ``[-2^63, 2^63 - 1]``, ovvero ``[-9223372036854775808, 9223372036854775807]``. I valori oltre i limiti saranno avvolti. Se è necessario soltanto impacchettare interi a 32 bit, vedi :ref:`PackedInt32Array` per un'alternativa più efficiente per la memoria. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedInt64Array** versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedInt64Array** in confronto a ``Array[int]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -240,7 +240,7 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`int`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. .. rst-class:: classref-item-separator @@ -276,9 +276,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non trovato. :ref:`int` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the 64-bit integer at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``0``. +Restituisce l'intero a 64 bit all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``0``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -350,9 +350,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedstringarray.rst b/classes/it/class_packedstringarray.rst index 856363f90f..ba1e0ea3c6 100644 --- a/classes/it/class_packedstringarray.rst +++ b/classes/it/class_packedstringarray.rst @@ -12,19 +12,19 @@ Un array compatto di :ref:`String`. Descrizione ---------------------- -An array specifically designed to hold :ref:`String`\ s. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere :ref:`String`. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -If you want to join the strings in the array, use :ref:`String.join()`. +Se si desidera unire le stringhe nell'array, usa :ref:`String.join()`. :: - var string_array = PackedStringArray(["hello", "world"]) + var string_array = PackedStringArray(["ciao", "mondo"]) var string = " ".join(string_array) - print(string) # "hello world" + print(string) # "ciao mondo" -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedStringArray** versus ``Array[String]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedStringArray** in confronto a ``Array[String]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -253,7 +253,7 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`String`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. .. rst-class:: classref-item-separator @@ -289,9 +289,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non trovato. :ref:`String` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`String` at the given ``index`` in the array. Returns an empty string and prints an error if the access is out of bounds. Negative indices are not supported; they will always consider the value to be out of bounds and return an empty string. +Restituisce la :ref:`String` all'indice ``index`` nell'array. Restituisce una stringa vuota e stampa un errore se l'accesso è fuori limite. Gli indici negativi non sono supportati: considereranno il valore fuori limite e restituitranno una stringa vuota. -This is similar to using the ``[]`` operator (``array[index]``), except that operator supports negative indices and causes a debugger break if out-of-bounds access is performed. +Questo metodo è simile all'uso dell'operatore ``[]`` (``array[index]``), eccetto che tale operatore supporta gli indici negativi e provoca un'interruzione dal debugger se viene eseguito un accesso fuori limite. .. rst-class:: classref-item-separator @@ -363,9 +363,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedvector2array.rst b/classes/it/class_packedvector2array.rst index 2e89358c4b..c972221d7c 100644 --- a/classes/it/class_packedvector2array.rst +++ b/classes/it/class_packedvector2array.rst @@ -12,11 +12,11 @@ Un array compatto di :ref:`Vector2`. Descrizione ---------------------- -An array specifically designed to hold :ref:`Vector2`. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere :ref:`Vector2`. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedVector2Array** versus ``Array[Vector2]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedVector2Array** in confronto a ``Array[Vector2]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -257,9 +257,9 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`Vector2`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. -\ **Note:** Vectors with :ref:`@GDScript.NAN` elements don't behave the same as other vectors. Therefore, the results from this method may not be accurate if NaNs are included. +\ **Nota:** I vettori con componenti :ref:`@GDScript.NAN` non si comportano allo stesso modo di altri vettori. Pertanto, i risultati di questo metodo potrebbero non essere accurati se valori NaN sono inclusi. .. rst-class:: classref-item-separator @@ -297,9 +297,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non lo trova. :ref:`Vector2` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Vector2` at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``Vector2(0, 0)``. +Restituisce il :ref:`Vector2` all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``Vector2(0, 0)``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -373,9 +373,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedvector3array.rst b/classes/it/class_packedvector3array.rst index dedf4257ff..9fcfe82825 100644 --- a/classes/it/class_packedvector3array.rst +++ b/classes/it/class_packedvector3array.rst @@ -12,11 +12,11 @@ Un array compatto di :ref:`Vector3`. Descrizione ---------------------- -An array specifically designed to hold :ref:`Vector3`. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere :ref:`Vector3`. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedVector3Array** versus ``Array[Vector3]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedVector3Array** in confronto a ``Array[Vector3]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -250,9 +250,9 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`Vector3`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. -\ **Note:** Vectors with :ref:`@GDScript.NAN` elements don't behave the same as other vectors. Therefore, the results from this method may not be accurate if NaNs are included. +\ **Nota:** I vettori con componenti :ref:`@GDScript.NAN` non si comportano allo stesso modo di altri vettori. Pertanto, i risultati di questo metodo potrebbero non essere accurati se valori NaN sono inclusi. .. rst-class:: classref-item-separator @@ -290,9 +290,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non lo trova. :ref:`Vector3` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Vector3` at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``Vector3(0, 0, 0)``. +Restituisce il :ref:`Vector3` all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``Vector2(0, 0, 0)``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -366,9 +366,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packedvector4array.rst b/classes/it/class_packedvector4array.rst index e25579d3a0..a64bcafb6c 100644 --- a/classes/it/class_packedvector4array.rst +++ b/classes/it/class_packedvector4array.rst @@ -12,11 +12,11 @@ Un array compatto di :ref:`Vector4`. Descrizione ---------------------- -An array specifically designed to hold :ref:`Vector4`. Packs data tightly, so it saves memory for large array sizes. +Un array progettato specificamente per contenere :ref:`Vector4`. Impacchetta i dati in modo compatto, in modo da risparmiare memoria per array di grandi dimensioni. -\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. **PackedVector4Array** versus ``Array[Vector4]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`Array.map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. +\ **Differenze tra gli array impacchettati, gli array tipizzati e gli array non tipizzati:** Gli array impacchettati sono generalmente più veloci da iterare e modificare rispetto a un array tipizzato dello stesso tipo (ad esempio **PackedVector4Array** in confronto a ``Array[Vector4]``). Inoltre, gli array impacchettati consumano meno memoria. Come svantaggio, i array impacchettati sono meno flessibili in quanto non offrono molti metodi di convenienza come :ref:`Array.map()`. Gli array tipizzati sono anche loro più veloci da iterare e modificare in confronto ad array non tipizzati. -\ **Note:** Packed arrays are always passed by reference. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. This is *not* the case for built-in properties and methods. In these cases the returned packed array is a copy, and changing it will *not* affect the original value. To update a built-in property of this type, modify the returned array and then assign it to the property again. +\ **Nota:** Gli array impacchettati sono sempre passati per riferimento. Per ottenere una copia di un array che si può modificare indipendentemente dall'array originale, usare :ref:`duplicate()`. Questo *non* è il caso per le proprietà e per i metodi integrati. In tali casi l'array impacchettato restituito è una copia, e modificarlo *non* influenzerà il valore originale. Per aggiornare una proprietà integrata di questo tipo è necessario modificare l'array restituito e poi riassegnarlo alla proprietà. .. note:: @@ -248,9 +248,9 @@ Crea una copia dell'array, e la restituisce. :ref:`bool` **erase**\ (\ value\: :ref:`Vector4`\ ) :ref:`🔗` -Removes the first occurrence of a value from the array and returns ``true``. If the value does not exist in the array, nothing happens and ``false`` is returned. To remove an element by index, use :ref:`remove_at()` instead. +Rimuove la prima occorrenza di un valore dall'array e restituisce ``true``. Se il valore non esiste nell'array, nulla accade e viene restituito ``false``. Per rimuovere un elemento in base all'indice, utilizzare invece :ref:`remove_at()`. -\ **Note:** Vectors with :ref:`@GDScript.NAN` elements don't behave the same as other vectors. Therefore, the results from this method may not be accurate if NaNs are included. +\ **Nota:** I vettori con componenti :ref:`@GDScript.NAN` non si comportano allo stesso modo di altri vettori. Pertanto, i risultati di questo metodo potrebbero non essere accurati se valori NaN sono inclusi. .. rst-class:: classref-item-separator @@ -288,9 +288,9 @@ Cerca un valore nell'array e restituisce il suo indice o ``-1`` se non lo trova. :ref:`Vector4` **get**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the :ref:`Vector4` at the given ``index`` in the array. If ``index`` out-of-bounds or negative, this method fails and returns ``Vector4(0, 0, 0, 0)``. +Restituisce il :ref:`Vector4` all'indice ``index`` nell'array. Se ``index`` è fuori limite o negativo, questo metodo fallisce e restituisce ``Vector2(0, 0, 0, 0)``. -This method is similar (but not identical) to the ``[]`` operator. Most notably, when this method fails, it doesn't pause project execution if run from the editor. +Questo metodo è simile (ma non identico) all'operatore ``[]``. In particolare, quando questo metodo fallisce, non interrompe l'esecuzione del progetto se eseguito dall'editor. .. rst-class:: classref-item-separator @@ -364,9 +364,9 @@ Rimuove un elemento dall'array in base all'indice. :ref:`int` **resize**\ (\ new_size\: :ref:`int`\ ) :ref:`🔗` -Sets the size of the array. If the array is grown, reserves elements at the end of the array. If the array is shrunk, truncates the array to the new size. Calling :ref:`resize()` once and assigning the new values is faster than adding new elements one by one. +Imposta la dimensione dell'array. Se l'array viene ingrandito, riserva gli elementi alla fine dell'array. Se l'array viene rimpicciolito, tronca l'array alla nuova dimensione. Chiamare :ref:`resize()` una sola volta e assegnare i nuovi valori è più veloce che aggiungere nuovi elementi uno alla volta. -Returns :ref:`@GlobalScope.OK` on success, or one of the following :ref:`Error` constants if this method fails: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the size is negative, or :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` if allocations fail. Use :ref:`size()` to find the actual size of the array after resize. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, oppure una delle seguenti costanti di :ref:`Error` se questo metodo fallisce: :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la dimensione è negativa, oppure :ref:`@GlobalScope.ERR_OUT_OF_MEMORY` se le allocazioni falliscono. Usare :ref:`size()` per trovare la dimensione effettiva dell'array dopo il ridimensionamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_packetpeerdtls.rst b/classes/it/class_packetpeerdtls.rst index d4c3d657cf..e9386184a8 100644 --- a/classes/it/class_packetpeerdtls.rst +++ b/classes/it/class_packetpeerdtls.rst @@ -132,7 +132,7 @@ Disconnette questo peer, terminando la sessione DTLS. :ref:`Status` **get_status**\ (\ ) |const| :ref:`🔗` -Returns the status of the connection. +Restituisce lo stato della connessione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_panoramaskymaterial.rst b/classes/it/class_panoramaskymaterial.rst index fc1f4c9ad2..c70b0f1bc3 100644 --- a/classes/it/class_panoramaskymaterial.rst +++ b/classes/it/class_panoramaskymaterial.rst @@ -14,11 +14,11 @@ Un materiale che fornisce una texture speciale a una risorsa :ref:`Sky` che viene utilizzata per disegnare uno sfondo. **PanoramaSkyMaterial** funziona in modo simile agli skybox in altri motori, tranne che utilizza una mappa di cielo equirettangolare invece di una :ref:`Cubemap`. +Una risorsa referenziata in una risorsa :ref:`Sky` che serve per disegnare uno sfondo. **PanoramaSkyMaterial** funziona in modo simile agli skybox in altri motori, tranne che utilizza una mappa di cielo equirettangolare invece di una :ref:`Cubemap`. L'utilizzo di un panorama HDR è fortemente consigliato per riflessi accurati e di alta qualità. Godot supporta i formati di immagine Radiance HDR (``.hdr``) e OpenEXR (``.exr``) per questo scopo. -Puoi utilizzare `questo strumento `__ per convertire una cubemap in una mappa di cielo equirettangolare. +È possibile utilizzare `questo strumento `__ per convertire una cubemap in una mappa di cielo equirettangolare. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_parallax2d.rst b/classes/it/class_parallax2d.rst index 6132390544..88ec0d4bb0 100644 --- a/classes/it/class_parallax2d.rst +++ b/classes/it/class_parallax2d.rst @@ -14,7 +14,7 @@ Un nodo usato per creare uno sfondo a scorrimento parallasse. Descrizione ---------------------- -Un **Parallax2D** è usato per creare un effetto parallasse. Può muoversi a una velocità diversa rispetto al movimento della telecamera tramite :ref:`scroll_scale`. Ciò crea un'illusione di profondità in un gioco 2D. Se si desidera lo scorrimento manuale, la posizione della :ref:`Camera2D` può essere ignorata con :ref:`ignore_camera_scroll`. +Un **Parallax2D** serve per creare un effetto parallasse. Può muoversi a una velocità diversa rispetto al movimento della telecamera tramite :ref:`scroll_scale`. Ciò crea un'illusione di profondità in un gioco 2D. Se si desidera lo scorrimento manuale, la posizione della :ref:`Camera2D` può essere ignorata con :ref:`ignore_camera_scroll`. \ **Nota:** Qualsiasi modifica alla posizione di questo nodo apportata dopo che è entrato nell'albero di scena verrà ignorata se :ref:`ignore_camera_scroll` è ``false`` o se :ref:`screen_offset` viene modificato. @@ -77,7 +77,7 @@ Descrizioni delle proprietà - |void| **set_autoscroll**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_autoscroll**\ (\ ) -Velocity at which the offset scrolls automatically, in pixels per second. +La velocità alla quale lo scostamento scorre automaticamente, in pixel al secondo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_parallaxlayer.rst b/classes/it/class_parallaxlayer.rst index 8a98a9cacb..3e447ea9b9 100644 --- a/classes/it/class_parallaxlayer.rst +++ b/classes/it/class_parallaxlayer.rst @@ -60,13 +60,13 @@ Descrizioni delle proprietà - |void| **set_mirroring**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_mirroring**\ (\ ) -The interval, in pixels, at which the **ParallaxLayer** is drawn repeatedly. Useful for creating an infinitely scrolling background. If an axis is set to ``0``, the **ParallaxLayer** will be drawn only once along that direction. +L'intervallo, in pixel, in cui il **ParallaxLayer** è disegnato ripetutamente. Utile per creare uno sfondo a scorrimento infinito. Se un asse è impostato su ``0``, il **ParallaxLayer** sarà disegnato solo una volta lungo quella direzione. -\ **Note:** If you want the repetition to pixel-perfect match a :ref:`Texture2D` displayed by a child node, you should account for any scale applied to the texture when defining this interval. For example, if you use a child :ref:`Sprite2D` scaled to ``0.5`` to display a 600x600 texture, and want this sprite to be repeated continuously horizontally, you should set the mirroring to ``Vector2(300, 0)``. +\ **Nota:** Se vuoi che la ripetizione corrisponda pixel per pixel a un :ref:`Texture2D` visualizzato da un nodo figlio, dovresti tenere conto di qualsiasi scala applicata alla texture quando definisci questo intervallo. Ad esempio, se usi un figlio :ref:`Sprite2D` ridimensionato a ``0.5`` per visualizzare una texture 600x600 e vuoi che questo sprite sia ripetuto continuamente in orizzontale, dovresti impostare il rispecchiamento su ``Vector2(300, 0)``. -\ **Note:** If the length of the viewport axis is bigger than twice the repeated axis size, it will not repeat infinitely, as the parallax layer only draws 2 instances of the layer at any given time. The visibility window is calculated from the parent :ref:`ParallaxBackground`'s position, not the layer's own position. So, if you use mirroring, **do not** change the **ParallaxLayer** position relative to its parent. Instead, if you need to adjust the background's position, set the :ref:`CanvasLayer.offset` property in the parent :ref:`ParallaxBackground`. +\ **Nota:** Se la lunghezza dell'asse della viewport è maggiore del doppio della dimensione dell'asse ripetuto, non si ripeterà all'infinito, poiché il livello di parallasse disegna solo 2 istanze del livello alla volta. La finestra di visibilità è calcolata dalla posizione del :ref:`ParallaxBackground` genitore, non dalla posizione del livello stesso. Quindi, se utilizzi il rispecchiamento, **non** modificare la posizione del **ParallaxLayer** rispetto al suo genitore. Invece, se hai bisogno di regolare la posizione dello sfondo, imposta la proprietà :ref:`CanvasLayer.offset` nel :ref:`ParallaxBackground` genitore. -\ **Note:** Despite the name, the layer will not be mirrored, it will only be repeated. +\ **Nota:** Nonostante il nome, il livello non sarà specchiato, sarà solo ripetuto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_particleprocessmaterial.rst b/classes/it/class_particleprocessmaterial.rst index 17c3c942f8..4dd31288c8 100644 --- a/classes/it/class_particleprocessmaterial.rst +++ b/classes/it/class_particleprocessmaterial.rst @@ -2458,7 +2458,7 @@ Restituisce la :ref:`Texture2D` utilizzata dal parametro specif :ref:`bool` **get_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags`\ ) |const| :ref:`🔗` -Returns ``true`` if the specified particle flag is enabled. +Restituisce ``true`` se il flag di particelle specificato è abilitato. .. rst-class:: classref-item-separator @@ -2520,7 +2520,7 @@ Imposta la :ref:`Texture2D` per il parametro specificato (:ref: |void| **set_particle_flag**\ (\ particle_flag\: :ref:`ParticleFlags`, enable\: :ref:`bool`\ ) :ref:`🔗` -Sets the ``particle_flag`` to ``enable``. +Imposta il flag di particelle ``particle_flag`` su ``enable``. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_path3d.rst b/classes/it/class_path3d.rst index 935f8e1397..45e13cebb9 100644 --- a/classes/it/class_path3d.rst +++ b/classes/it/class_path3d.rst @@ -59,7 +59,7 @@ Emesso quando :ref:`curve` cambia. **debug_color_changed**\ (\ ) :ref:`🔗` -Emitted when the :ref:`debug_custom_color` changes. +Emesso quando il :ref:`debug_custom_color` cambia. .. rst-class:: classref-section-separator @@ -98,9 +98,9 @@ Una :ref:`Curve3D` che descrive il percorso. - |void| **set_debug_custom_color**\ (\ value\: :ref:`Color`\ ) - :ref:`Color` **get_debug_custom_color**\ (\ ) -The custom color to use to draw the shape in the editor. +Il colore personalizzato da utilizzare per disegnare la forma nell'editor. -If set to ``Color(0.0, 0.0, 0.0)`` (by default), the color set in EditorSettings is used. +Se impostato su ``Color(0.0, 0.0, 0.0)`` (come predefinito), è utilizzato il colore impostato in EditorSettings. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_pckpacker.rst b/classes/it/class_pckpacker.rst index 5ea15a6a38..10e6fc4915 100644 --- a/classes/it/class_pckpacker.rst +++ b/classes/it/class_pckpacker.rst @@ -14,7 +14,7 @@ Crea pacchetti che possono essere caricati in un progetto in esecuzione. Descrizione ---------------------- -**PCKPacker** è utilizzato per creare pacchetti che è possibile caricare in un progetto in esecuzione attraverso :ref:`ProjectSettings.load_resource_pack()`. +**PCKPacker** serve per creare pacchetti che è possibile caricare in un progetto in esecuzione attraverso :ref:`ProjectSettings.load_resource_pack()`. .. tabs:: @@ -72,7 +72,7 @@ Descrizioni dei metodi :ref:`Error` **add_file**\ (\ target_path\: :ref:`String`, source_path\: :ref:`String`, encrypt\: :ref:`bool` = false\ ) :ref:`🔗` -Adds the ``source_path`` file to the current PCK package at the ``target_path`` internal path. The ``res://`` prefix for ``target_path`` is optional and stripped internally. File content is immediately written to the PCK. +Aggiunge il file nel percorso ``source_path`` al pacchetto PCK attuale nel percorso interno ``target_path``. Il prefisso ``res://`` per ``target_path`` è facoltativo e rimosso internamente. Il contenuto del file viene scritto immediatamente sul PCK. .. rst-class:: classref-item-separator @@ -96,9 +96,9 @@ Registra una rimozione di file del percorso interno ``target_path`` al PCK. Ques :ref:`Error` **flush**\ (\ verbose\: :ref:`bool` = false\ ) :ref:`🔗` -Writes the file directory and closes the PCK. If ``verbose`` is ``true``, a list of files added will be printed to the console for easier debugging. +Scrive la cartella dei file e chiude il PCK. Se ``verbose`` è ``true``, sarà visualizzato un elenco dei file aggiunti sulla console per facilitare il debug. -\ **Note:** **PCKPacker** will automatically flush when it's freed, which happens when it goes out of scope or when it gets assigned with ``null``. In C# the reference must be disposed after use, either with the ``using`` statement or by calling the ``Dispose`` method directly. +\ **Nota:** :ref:`FileAccess` si chiuderà automaticamente quando viene liberato, il che accade quando esce dall'ambito o quando gli viene assegnato ``null``. In C# il riferimento deve essere eliminato manualmente, il che può essere fatto con l'istruzione ``using`` o chiamando direttamente il metodo ``Dispose``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_performance.rst b/classes/it/class_performance.rst index 3af8106f25..946688902a 100644 --- a/classes/it/class_performance.rst +++ b/classes/it/class_performance.rst @@ -261,7 +261,7 @@ Latenza di output dell':ref:`AudioServer`. Equivalente a chia :ref:`Monitor` **NAVIGATION_ACTIVE_MAPS** = ``24`` -Number of active navigation maps in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. This also includes the two empty default navigation maps created by World2D and World3D. +Numero di mappe di navigazione attive nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. Include anche le due mappe di navigazione vuote predefinite create da World2D e World3D. .. _class_Performance_constant_NAVIGATION_REGION_COUNT: @@ -269,7 +269,7 @@ Number of active navigation maps in :ref:`NavigationServer2D` **NAVIGATION_REGION_COUNT** = ``25`` -Number of active navigation regions in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero di regioni di navigazione attive nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_AGENT_COUNT: @@ -277,7 +277,7 @@ Number of active navigation regions in :ref:`NavigationServer2D` **NAVIGATION_AGENT_COUNT** = ``26`` -Number of active navigation agents processing avoidance in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero di agenti di navigazione attivi che stanno elaborando l'evasione nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_LINK_COUNT: @@ -285,7 +285,7 @@ Number of active navigation agents processing avoidance in :ref:`NavigationServe :ref:`Monitor` **NAVIGATION_LINK_COUNT** = ``27`` -Number of active navigation links in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero di collegamenti di navigazione attivi nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_POLYGON_COUNT: @@ -293,7 +293,7 @@ Number of active navigation links in :ref:`NavigationServer2D` **NAVIGATION_POLYGON_COUNT** = ``28`` -Number of navigation mesh polygons in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero di poligoni delle mesh di navigazione nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_EDGE_COUNT: @@ -301,7 +301,7 @@ Number of navigation mesh polygons in :ref:`NavigationServer2D` **NAVIGATION_EDGE_COUNT** = ``29`` -Number of navigation mesh polygon edges in :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero dei bordi dei poligoni delle mesh di navigazione nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_EDGE_MERGE_COUNT: @@ -333,7 +333,7 @@ Number of navigation mesh polygon edges that could not be merged in :ref:`Naviga :ref:`Monitor` **NAVIGATION_OBSTACLE_COUNT** = ``33`` -Number of active navigation obstacles in the :ref:`NavigationServer2D` and :ref:`NavigationServer3D`. +Numero di ostacoli di navigazione attivi nel :ref:`NavigationServer2D` e :ref:`NavigationServer3D`. .. _class_Performance_constant_PIPELINE_COMPILATIONS_CANVAS: @@ -357,7 +357,7 @@ Numero di compilazioni delle pipeline che sono state attivate caricando le mesh. :ref:`Monitor` **PIPELINE_COMPILATIONS_SURFACE** = ``36`` -Number of pipeline compilations that were triggered by building the surface cache before rendering the scene. These compilations will show up as a stutter when loading a scene the first time a user runs the game and the pipeline is required. +Numero di compilazioni delle pipeline che sono state attivate creando la cache delle superfici prima di renderizzare la scena. Queste compilazioni appariranno come uno stutter quando viene caricata una scena la prima volta che un utente esegue il gioco e la pipeline viene richiesta. .. _class_Performance_constant_PIPELINE_COMPILATIONS_DRAW: @@ -381,7 +381,7 @@ Numero di compilazioni delle pipeline che sono state attivate per ottimizzare la :ref:`Monitor` **NAVIGATION_2D_ACTIVE_MAPS** = ``39`` -Number of active navigation maps in the :ref:`NavigationServer2D`. This also includes the two empty default navigation maps created by World2D. +Numero di mappe di navigazione attive nel :ref:`NavigationServer2D`. Include anche le due mappe di navigazione vuote predefinite create da World2D. .. _class_Performance_constant_NAVIGATION_2D_REGION_COUNT: @@ -389,7 +389,7 @@ Number of active navigation maps in the :ref:`NavigationServer2D` **NAVIGATION_2D_REGION_COUNT** = ``40`` -Number of active navigation regions in the :ref:`NavigationServer2D`. +Numero di regioni di navigazione attive nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_2D_AGENT_COUNT: @@ -397,7 +397,7 @@ Number of active navigation regions in the :ref:`NavigationServer2D` **NAVIGATION_2D_AGENT_COUNT** = ``41`` -Number of active navigation agents processing avoidance in the :ref:`NavigationServer2D`. +Numero di agenti di navigazione attivi che stanno elaborando l'evasione nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_2D_LINK_COUNT: @@ -405,7 +405,7 @@ Number of active navigation agents processing avoidance in the :ref:`NavigationS :ref:`Monitor` **NAVIGATION_2D_LINK_COUNT** = ``42`` -Number of active navigation links in the :ref:`NavigationServer2D`. +Numero di collegamenti di navigazione attivi nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_2D_POLYGON_COUNT: @@ -413,7 +413,7 @@ Number of active navigation links in the :ref:`NavigationServer2D` **NAVIGATION_2D_POLYGON_COUNT** = ``43`` -Number of navigation mesh polygons in the :ref:`NavigationServer2D`. +Numero di poligoni delle mesh di navigazione nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_2D_EDGE_COUNT: @@ -421,7 +421,7 @@ Number of navigation mesh polygons in the :ref:`NavigationServer2D` **NAVIGATION_2D_EDGE_COUNT** = ``44`` -Number of navigation mesh polygon edges in the :ref:`NavigationServer2D`. +Numero dei bordi dei poligoni delle mesh di navigazione nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_2D_EDGE_MERGE_COUNT: @@ -453,7 +453,7 @@ Number of navigation mesh polygon edges that could not be merged in the :ref:`Na :ref:`Monitor` **NAVIGATION_2D_OBSTACLE_COUNT** = ``48`` -Number of active navigation obstacles in the :ref:`NavigationServer2D`. +Numero di ostacoli di navigazione attivi nel :ref:`NavigationServer2D`. .. _class_Performance_constant_NAVIGATION_3D_ACTIVE_MAPS: @@ -461,7 +461,7 @@ Number of active navigation obstacles in the :ref:`NavigationServer2D` **NAVIGATION_3D_ACTIVE_MAPS** = ``49`` -Number of active navigation maps in the :ref:`NavigationServer3D`. This also includes the two empty default navigation maps created by World3D. +Numero di mappe di navigazione attive nel :ref:`NavigationServer3D`. Include anche le due mappe di navigazione vuote predefinite create da World3D. .. _class_Performance_constant_NAVIGATION_3D_REGION_COUNT: @@ -477,7 +477,7 @@ Numero di regioni di navigazione attive nel :ref:`NavigationServer3D` **NAVIGATION_3D_AGENT_COUNT** = ``51`` -Numero di agenti di navigazione attivi che elaborano l'evasione nel :ref:`NavigationServer3D`. +Numero di agenti di navigazione attivi che stanno elaborando l'evasione nel :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_3D_LINK_COUNT: @@ -493,7 +493,7 @@ Numero di collegamenti di navigazione attivi nel :ref:`NavigationServer3D` **NAVIGATION_3D_POLYGON_COUNT** = ``53`` -Numero di poligoni della mesh di navigazione nel :ref:`NavigationServer3D`. +Numero di poligoni delle mesh di navigazione nel :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_3D_EDGE_COUNT: @@ -501,7 +501,7 @@ Numero di poligoni della mesh di navigazione nel :ref:`NavigationServer3D` **NAVIGATION_3D_EDGE_COUNT** = ``54`` -Numero di bordi del poligono di mesh di navigazione nel :ref:`NavigationServer3D`. +Numero dei bordi dei poligoni delle mesh di navigazione nel :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_3D_EDGE_MERGE_COUNT: @@ -509,7 +509,7 @@ Numero di bordi del poligono di mesh di navigazione nel :ref:`NavigationServer3D :ref:`Monitor` **NAVIGATION_3D_EDGE_MERGE_COUNT** = ``55`` -Numero di spigoli poligonali della mesh di navigazione che sono stati uniti a causa della sovrapposizione delle chiavi dei bordi in :ref:`NavigationServer3D`. +Number of navigation mesh polygon edges that were merged due to edge key overlap in the :ref:`NavigationServer3D`. .. _class_Performance_constant_NAVIGATION_3D_EDGE_CONNECTION_COUNT: diff --git a/classes/it/class_physicalbone2d.rst b/classes/it/class_physicalbone2d.rst index 7c3e491c10..7c98742126 100644 --- a/classes/it/class_physicalbone2d.rst +++ b/classes/it/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/it/class_physicalbone3d.rst b/classes/it/class_physicalbone3d.rst index 08ce5cdf32..33d06907ca 100644 --- a/classes/it/class_physicalbone3d.rst +++ b/classes/it/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: @@ -213,7 +213,7 @@ Vedi :ref:`ProjectSettings.physics/3d/default_angular_damp`\ ) - :ref:`DampMode` **get_angular_damp_mode**\ (\ ) -Defines how :ref:`angular_damp` is applied. +Definisce come :ref:`angular_damp` è applicato. .. rst-class:: classref-item-separator @@ -387,7 +387,7 @@ Imposta la rotazione dell'articolazione in radianti. - |void| **set_joint_type**\ (\ value\: :ref:`JointType`\ ) - :ref:`JointType` **get_joint_type**\ (\ ) -Sets the joint type. +Imposta il tipo di giunto. .. rst-class:: classref-item-separator @@ -423,7 +423,7 @@ Vedi :ref:`ProjectSettings.physics/3d/default_linear_damp`\ ) - :ref:`DampMode` **get_linear_damp_mode**\ (\ ) -Defines how :ref:`linear_damp` is applied. +Definisce come :ref:`linear_damp` è applicato. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsbody2d.rst b/classes/it/class_physicsbody2d.rst index 0fea99eabb..d081548d1d 100644 --- a/classes/it/class_physicsbody2d.rst +++ b/classes/it/class_physicsbody2d.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_physicsbody3d.rst b/classes/it/class_physicsbody3d.rst index 0e65ae9bb8..ba45388a2f 100644 --- a/classes/it/class_physicsbody3d.rst +++ b/classes/it/class_physicsbody3d.rst @@ -27,7 +27,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_physicsdirectbodystate2d.rst b/classes/it/class_physicsdirectbodystate2d.rst index 1df3a92057..eef3e4d0a8 100644 --- a/classes/it/class_physicsdirectbodystate2d.rst +++ b/classes/it/class_physicsdirectbodystate2d.rst @@ -200,7 +200,7 @@ Posizione del centro di massa del corpo nel sistema di coordinate locale del cor - |void| **set_collision_layer**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_layer**\ (\ ) -The body's collision layer. +Lo strato di collisione del corpo. .. rst-class:: classref-item-separator @@ -217,7 +217,7 @@ The body's collision layer. - |void| **set_collision_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_mask**\ (\ ) -The body's collision mask. +La maschera di collisione del corpo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsdirectbodystate3d.rst b/classes/it/class_physicsdirectbodystate3d.rst index 0acc24fc8b..4ec0765ac3 100644 --- a/classes/it/class_physicsdirectbodystate3d.rst +++ b/classes/it/class_physicsdirectbodystate3d.rst @@ -204,7 +204,7 @@ Posizione del centro di massa del corpo nel sistema di coordinate locale del cor - |void| **set_collision_layer**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_layer**\ (\ ) -The body's collision layer. +Lo strato di collisione del corpo. .. rst-class:: classref-item-separator @@ -221,7 +221,7 @@ The body's collision layer. - |void| **set_collision_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_collision_mask**\ (\ ) -The body's collision mask. +La maschera di collisione del corpo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsdirectspacestate2d.rst b/classes/it/class_physicsdirectspacestate2d.rst index 4f76aa8945..ea4d82a968 100644 --- a/classes/it/class_physicsdirectspacestate2d.rst +++ b/classes/it/class_physicsdirectspacestate2d.rst @@ -16,9 +16,9 @@ Fornisce accesso diretto a uno spazio fisico nel :ref:`PhysicsServer2D`. It's used mainly to do queries against objects and areas residing in a given space. +Fornisce accesso diretto a uno spazio fisico nel :ref:`PhysicsServer2D`. È utilizzato principalmente per interrogare oggetti e aree che risiedono in un determinato spazio. -\ **Note:** This class is not meant to be instantiated directly. Use :ref:`World2D.direct_space_state` to get the world's physics 2D space state. +\ **Nota:** Questa classe non si dovrebbe istanziare direttamente. Utilizza :ref:`World2D.direct_space_state` per ottenere lo stato dello spazio fisico 2D del mondo. .. rst-class:: classref-introduction-group @@ -96,21 +96,21 @@ I punti restituiti sono una lista di coppie di punti di contatto. Per ogni coppi :ref:`Dictionary` **get_rest_info**\ (\ parameters\: :ref:`PhysicsShapeQueryParameters2D`\ ) :ref:`🔗` -Checks the intersections of a shape, given through a :ref:`PhysicsShapeQueryParameters2D` object, against the space. If it collides with more than one shape, the nearest one is selected. The returned object is a dictionary containing the following fields: +Verifica le intersezioni di una forma, fornite tramite un oggetto :ref:`PhysicsShapeQueryParameters2D`, rispetto allo spazio. Se entra in collisione con più di una forma, quella più vicina è selezionata. L'oggetto restituito è un dizionario contenente i seguenti campi: -\ ``collider_id``: The colliding object's ID. +\ ``collider_id``: l'ID dell'oggetto in collisione. -\ ``linear_velocity``: The colliding object's velocity :ref:`Vector2`. If the object is an :ref:`Area2D`, the result is ``(0, 0)``. +\ ``linear_velocity``: La velocità dell'oggetto in collisione come :ref:`Vector2`. Se l'oggetto è un :ref:`Area2D`, il risultato è ``(0, 0)``. -\ ``normal``: The collision normal of the query shape at the intersection point, pointing away from the intersecting object. +\ ``normal``: La normale della collisione relativa alla forma dell'interrogazione nel punto di intersezione, che punta lontano dall'oggetto intersecante. -\ ``point``: The intersection point. +\ ``point``: il punto di intersezione. -\ ``rid``: The intersecting object's :ref:`RID`. +\ ``rid``: il :ref:`RID` dell'oggetto in intersezione. -\ ``shape``: The shape index of the colliding shape. +\ ``shape``: l'indice di forma della forma in collisione. -If the shape did not intersect anything, then an empty dictionary is returned instead. +Se la forma non ha intersecato nulla, viene restituito un dizionario vuoto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsdirectspacestate3d.rst b/classes/it/class_physicsdirectspacestate3d.rst index b9caccfaa2..24046afc8b 100644 --- a/classes/it/class_physicsdirectspacestate3d.rst +++ b/classes/it/class_physicsdirectspacestate3d.rst @@ -16,9 +16,9 @@ Fornisce accesso diretto a uno spazio fisico nel :ref:`PhysicsServer3D`. It's used mainly to do queries against objects and areas residing in a given space. +Fornisce accesso diretto a uno spazio fisico nel :ref:`PhysicsServer3D`. È utilizzato principalmente per interrogare oggetti e aree che risiedono in un determinato spazio. -\ **Note:** This class is not meant to be instantiated directly. Use :ref:`World3D.direct_space_state` to get the world's physics 3D space state. +\ **Nota:** Questa classe non si dovrebbe istanziare direttamente. Utilizza :ref:`World3D.direct_space_state` per ottenere lo stato dello spazio fisico 3D del mondo. .. rst-class:: classref-introduction-group @@ -66,11 +66,11 @@ Descrizioni dei metodi :ref:`PackedFloat32Array` **cast_motion**\ (\ parameters\: :ref:`PhysicsShapeQueryParameters3D`\ ) :ref:`🔗` -Checks how far a :ref:`Shape3D` can move without colliding. All the parameters for the query, including the shape and the motion, are supplied through a :ref:`PhysicsShapeQueryParameters3D` object. +Verifica quanto lontano una :ref:`Shape3D` può muoversi senza entrare in collisione. Tutti i parametri per la richiesta, inclusi la forma e il movimento, sono forniti tramite un oggetto :ref:`PhysicsShapeQueryParameters3D`. -Returns an array with the safe and unsafe proportions (between 0 and 1) of the motion. The safe proportion is the maximum fraction of the motion that can be made without a collision. The unsafe proportion is the minimum fraction of the distance that must be moved for a collision. If no collision is detected a result of ``[1.0, 1.0]`` will be returned. +Restituisce un array con le proporzioni sicure e non sicure (tra 0 e 1) del movimento. La proporzione sicura è la frazione massima del movimento che può essere effettuata senza una collisione. La proporzione non sicura è la frazione minima della distanza che deve essere percorsa per una collisione. Se nessuna collisione è rilevata, sarà restituito un risultato di ``[1.0, 1.0]``. -\ **Note:** Any :ref:`Shape3D`\ s that the shape is already colliding with e.g. inside of, will be ignored. Use :ref:`collide_shape()` to determine the :ref:`Shape3D`\ s that the shape is already colliding with. +\ **Nota:** Qualsiasi :ref:`Shape3D` con cui la forma è già in collisione, ad esempio all'interno, sarà ignorato. Utilizza :ref:`collide_shape()` per determinare le :ref:`Shape3D` con cui la forma è già in collisione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsmaterial.rst b/classes/it/class_physicsmaterial.rst index 81d9fcfe80..b4dea7e50c 100644 --- a/classes/it/class_physicsmaterial.rst +++ b/classes/it/class_physicsmaterial.rst @@ -14,7 +14,7 @@ Contiene gli attributi fisici di una superficie, ossia la sua rugosità e la sua Descrizione ---------------------- -Contiene gli attributi fisici di una superficie, ossia la sua rugosità e la sua elasticità. Questa classe è utilizzata per applicare questi attributi a un corpo fisico. +Contiene gli attributi fisici di una superficie, ossia la sua rugosità e la sua elasticità. Questa classe serve per applicare questi attributi a un corpo fisico. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_physicsrayqueryparameters3d.rst b/classes/it/class_physicsrayqueryparameters3d.rst index 6f37956a18..ade4fd28c7 100644 --- a/classes/it/class_physicsrayqueryparameters3d.rst +++ b/classes/it/class_physicsrayqueryparameters3d.rst @@ -161,7 +161,7 @@ Il punto iniziale del raggio da interrogare, in coordinate globali. - |void| **set_hit_back_faces**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_hit_back_faces_enabled**\ (\ ) -Se ``true``, l'interrogazione colpirà le facce posteriori delle forme poligonali concave con faccia posteriore abilitata o forme dalle mappe di altezza. +Se ``true``, l'interrogazione colpirà le facce posteriori delle forme poligonali concave con faccia posteriore abilitata o forme di heightmap. .. rst-class:: classref-item-separator @@ -178,7 +178,7 @@ Se ``true``, l'interrogazione colpirà le facce posteriori delle forme poligonal - |void| **set_hit_from_inside**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_hit_from_inside_enabled**\ (\ ) -Se ``true``, l'interrogazione rileverà un riscontro se iniziata all'interno di una forma. In questo caso la normale di collisione sarà ``Vector3(0, 0, 0)``. Non influisce sulle forme poligonali concave o forme dalle mappe di altezza. +Se ``true``, l'interrogazione rileverà un riscontro se iniziata all'interno di una forma. In questo caso la normale di collisione sarà ``Vector3(0, 0, 0)``. Non influisce sulle forme poligonali concave o forme di heightmap. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsserver2d.rst b/classes/it/class_physicsserver2d.rst index a63e3f333c..347ef12908 100644 --- a/classes/it/class_physicsserver2d.rst +++ b/classes/it/class_physicsserver2d.rst @@ -685,7 +685,7 @@ Costante per impostare/ottenere l'inerzia di un corpo. Il valore predefinito di :ref:`BodyParameter` **BODY_PARAM_CENTER_OF_MASS** = ``4`` -Constant to set/get a body's center of mass position in the body's local coordinate system. The default value of this parameter is ``Vector2(0, 0)``. If this parameter is never set explicitly, then it is recalculated based on the body's shapes when setting the parameter :ref:`BODY_PARAM_MASS` or when calling :ref:`body_set_space()`. +Costante per impostare/ottenere la posizione del centro di massa di un corpo nel sistema di coordinate locale del corpo. Il valore predefinito di questo parametro è ``Vector2(0,0)``. Se questo parametro non viene mai impostato esplicitamente, viene ricalcolato in base alle forme del corpo quando si imposta il parametro :ref:`BODY_PARAM_MASS` o quando viene chiamato :ref:`body_set_space()`. .. _class_PhysicsServer2D_constant_BODY_PARAM_GRAVITY_SCALE: @@ -1214,7 +1214,7 @@ Restituisce l'``ObjectID`` collegato all'area. Usa :ref:`@GlobalScope.instance_f :ref:`Variant` **area_get_param**\ (\ area\: :ref:`RID`, param\: :ref:`AreaParameter`\ ) |const| :ref:`🔗` -Returns the value of the given area parameter. +Restituisce il valore del parametro specificato di area. .. rst-class:: classref-item-separator @@ -1382,7 +1382,7 @@ Imposta se l'area è monitorabile o meno. Se ``monitorable`` è ``true``, il cal |void| **area_set_param**\ (\ area\: :ref:`RID`, param\: :ref:`AreaParameter`, value\: :ref:`Variant`\ ) :ref:`🔗` -Sets the value of the given area parameter. +Imposta il valore del parametro specificato di area. .. rst-class:: classref-item-separator @@ -1732,7 +1732,7 @@ Vedi :ref:`body_add_constant_torque()` **body_get_continuous_collision_detection_mode**\ (\ body\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the body's continuous collision detection mode. +Restituisce la modalità di rilevamento continuo delle collisioni del corpo. .. rst-class:: classref-item-separator @@ -1756,7 +1756,7 @@ Restituisce il :ref:`PhysicsDirectBodyState2D` d :ref:`int` **body_get_max_contacts_reported**\ (\ body\: :ref:`RID`\ ) |const| :ref:`🔗` -Restituisce il numero massimo di contatti che il corpo può segnalare. Vedi :ref:`body_set_max_contacts_reported()`. +Restituisce il numero massimo di contatti che il corpo può riportare. Vedi :ref:`body_set_max_contacts_reported()`. .. rst-class:: classref-item-separator @@ -1768,7 +1768,7 @@ Restituisce il numero massimo di contatti che il corpo può segnalare. Vedi :ref :ref:`BodyMode` **body_get_mode**\ (\ body\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the body's mode. +Restituisce la modalità del corpo. .. rst-class:: classref-item-separator @@ -1792,7 +1792,7 @@ Restituisce l'``ObjectID`` collegato al corpo. Usa :ref:`@GlobalScope.instance_f :ref:`Variant` **body_get_param**\ (\ body\: :ref:`RID`, param\: :ref:`BodyParameter`\ ) |const| :ref:`🔗` -Returns the value of the given body parameter. +Restituisce il valore del parametro specificato di corpo. .. rst-class:: classref-item-separator @@ -1852,7 +1852,7 @@ Restituisce il :ref:`RID` dello spazio assegnato al corpo. Restituisc :ref:`Variant` **body_get_state**\ (\ body\: :ref:`RID`, state\: :ref:`BodyState`\ ) |const| :ref:`🔗` -Returns the value of the given state of the body. +Restituisce il valore dello stato specificato del corpo. .. rst-class:: classref-item-separator @@ -1988,9 +1988,9 @@ Vedi :ref:`body_add_constant_torque()`, mode\: :ref:`CCDMode`\ ) :ref:`🔗` -Sets the continuous collision detection mode. +Imposta la modalità di rilevamento continuo delle collisioni. -Continuous collision detection tries to predict where a moving body would collide in between physics updates, instead of moving it and correcting its movement if it collided. +Il rilevamento continuo delle collisioni cerca di prevedere dove un corpo in movimento entrerebbe in collisione tra gli aggiornamenti della fisica, invece di spostarlo e correggerne il movimento in caso di collisione. .. rst-class:: classref-item-separator @@ -2024,7 +2024,7 @@ Se ``userdata`` è ``null``, allora ``callable`` deve accettare solo il parametr |void| **body_set_max_contacts_reported**\ (\ body\: :ref:`RID`, amount\: :ref:`int`\ ) :ref:`🔗` -Imposta il numero massimo di contatti che il corpo può segnalare. Se ``amount`` è maggiore di zero, il corpo terrà traccia al massimo questo numero di contatti con altri corpi. +Imposta il numero massimo di contatti che il corpo può riportare. Se ``amount`` è maggiore di zero, il corpo terrà traccia al massimo questo numero di contatti con altri corpi. .. rst-class:: classref-item-separator @@ -2036,7 +2036,7 @@ Imposta il numero massimo di contatti che il corpo può segnalare. Se ``amount`` |void| **body_set_mode**\ (\ body\: :ref:`RID`, mode\: :ref:`BodyMode`\ ) :ref:`🔗` -Sets the body's mode. +Imposta la modalità del corpo. .. rst-class:: classref-item-separator @@ -2062,7 +2062,7 @@ Questo metodo viene chiamato quando la proprietà :ref:`RigidBody2D.custom_integ |void| **body_set_param**\ (\ body\: :ref:`RID`, param\: :ref:`BodyParameter`, value\: :ref:`Variant`\ ) :ref:`🔗` -Sets the value of the given body parameter. +Imposta il valore del parametro specificato di corpo. .. rst-class:: classref-item-separator @@ -2140,9 +2140,9 @@ Aggiunge il corpo allo spazio fornito, dopo averlo rimosso dallo spazio assegnat |void| **body_set_state**\ (\ body\: :ref:`RID`, state\: :ref:`BodyState`, value\: :ref:`Variant`\ ) :ref:`🔗` -Sets the value of a body's state. +Imposta il valore dello stato di un corpo. -\ **Note:** The state change doesn't take effect immediately. The state will change on the next physics frame. +\ **Nota:** Il cambio di stato non ha un effetto immediato. Lo stato cambierà nel prossimo frame di fisica. .. rst-class:: classref-item-separator @@ -2232,7 +2232,7 @@ Crea una forma di poligono convesso 2D nel server di fisica e restituisce il :re :ref:`float` **damped_spring_joint_get_param**\ (\ joint\: :ref:`RID`, param\: :ref:`DampedSpringParam`\ ) |const| :ref:`🔗` -Returns the value of the given damped spring joint parameter. +Restituisce il valore del parametro specificato di giunto a molla smorzata. .. rst-class:: classref-item-separator @@ -2244,7 +2244,7 @@ Returns the value of the given damped spring joint parameter. |void| **damped_spring_joint_set_param**\ (\ joint\: :ref:`RID`, param\: :ref:`DampedSpringParam`, value\: :ref:`float`\ ) :ref:`🔗` -Sets the value of the given damped spring joint parameter. +Imposta il valore del parametro specificato di giunto a molla smorzata. .. rst-class:: classref-item-separator @@ -2268,7 +2268,7 @@ Distrugge uno qualsiasi degli oggetti creati dal PhysicsServer2D. Se il :ref:`RI :ref:`int` **get_process_info**\ (\ process_info\: :ref:`ProcessInfo`\ ) :ref:`🔗` -Returns the value of a physics engine state specified by ``process_info``. +Restituisce il valore di uno stato del motore di fisica specificato da ``process_info``. .. rst-class:: classref-item-separator @@ -2316,7 +2316,7 @@ Imposta se i corpi attaccati al :ref:`Joint2D` entreranno in coll :ref:`float` **joint_get_param**\ (\ joint\: :ref:`RID`, param\: :ref:`JointParam`\ ) |const| :ref:`🔗` -Returns the value of the given joint parameter. +Restituisce il valore del parametro specificato di giunto. .. rst-class:: classref-item-separator @@ -2328,7 +2328,7 @@ Returns the value of the given joint parameter. :ref:`JointType` **joint_get_type**\ (\ joint\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the joint's type. +Restituisce il tipo del giunto. .. rst-class:: classref-item-separator @@ -2388,7 +2388,7 @@ Rende il giunto un giunto a perno. Se ``body_b`` è un :ref:`RID` vuo |void| **joint_set_param**\ (\ joint\: :ref:`RID`, param\: :ref:`JointParam`, value\: :ref:`float`\ ) :ref:`🔗` -Sets the value of the given joint parameter. +Imposta il valore del parametro specificato di giunto. .. rst-class:: classref-item-separator @@ -2400,7 +2400,7 @@ Sets the value of the given joint parameter. :ref:`bool` **pin_joint_get_flag**\ (\ joint\: :ref:`RID`, flag\: :ref:`PinJointFlag`\ ) |const| :ref:`🔗` -Gets a pin joint flag. +Ottiene un flag di un giunto a perno. .. rst-class:: classref-item-separator @@ -2412,7 +2412,7 @@ Gets a pin joint flag. :ref:`float` **pin_joint_get_param**\ (\ joint\: :ref:`RID`, param\: :ref:`PinJointParam`\ ) |const| :ref:`🔗` -Returns the value of a pin joint parameter. +Restituisce il valore di un parametro di un giunto a perno. .. rst-class:: classref-item-separator @@ -2424,7 +2424,7 @@ Returns the value of a pin joint parameter. |void| **pin_joint_set_flag**\ (\ joint\: :ref:`RID`, flag\: :ref:`PinJointFlag`, enabled\: :ref:`bool`\ ) :ref:`🔗` -Sets a pin joint flag. +Imposta un flag di un giunto a perno. .. rst-class:: classref-item-separator @@ -2436,7 +2436,7 @@ Sets a pin joint flag. |void| **pin_joint_set_param**\ (\ joint\: :ref:`RID`, param\: :ref:`PinJointParam`, value\: :ref:`float`\ ) :ref:`🔗` -Sets a pin joint parameter. +Imposta un parametro di un giunto a perno. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsserver2dextension.rst b/classes/it/class_physicsserver2dextension.rst index 6f2f952f6a..f987e3f243 100644 --- a/classes/it/class_physicsserver2dextension.rst +++ b/classes/it/class_physicsserver2dextension.rst @@ -1979,9 +1979,9 @@ Versione sovrascrivibile di :ref:`PhysicsServer2D.space_set_param()`\ ) |virtual| |required| :ref:`🔗` -Called every physics step to process the physics simulation. ``step`` is the time elapsed since the last physics step, in seconds. It is usually the same as the value returned by :ref:`Node.get_physics_process_delta_time()`. +Chiamato in ogni passaggio di fisica per elaborare la simulazione fisica. ``step`` è il tempo trascorso dall'ultimo passaggio di fisica, in secondi. Di solito è uguale al valore restituito da :ref:`Node.get_physics_process_delta_time()`. -Overridable version of :ref:`PhysicsServer2D`'s internal ``step`` method. +Versione sovrascrivibile del metodo interno ``step`` di :ref:`PhysicsServer2D`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsserver3d.rst b/classes/it/class_physicsserver3d.rst index 1d71d365fe..d16dc79c8d 100644 --- a/classes/it/class_physicsserver3d.rst +++ b/classes/it/class_physicsserver3d.rst @@ -2468,7 +2468,7 @@ Restituisce il :ref:`PhysicsDirectBodyState3D` d :ref:`int` **body_get_max_contacts_reported**\ (\ body\: :ref:`RID`\ ) |const| :ref:`🔗` -Restituisce il numero massimo di contatti che possono essere segnalati. Vedi :ref:`body_set_max_contacts_reported()`. +Restituisce il numero massimo di contatti che si possono riportare. Vedi :ref:`body_set_max_contacts_reported()`. .. rst-class:: classref-item-separator @@ -2778,7 +2778,7 @@ Se ``userdata`` è ``null``, allora ``callable`` deve accettare solo il parametr |void| **body_set_max_contacts_reported**\ (\ body\: :ref:`RID`, amount\: :ref:`int`\ ) :ref:`🔗` -Imposta il numero massimo di contatti da segnalare. I corpi possono tenere un registro dei contatti con altri corpi. Ciò è abilitato impostando il numero massimo di contatti segnalati a un numero maggiore di 0. +Imposta il numero massimo di contatti da riportare. I corpi possono tenere un registro dei contatti con altri corpi. Ciò è abilitato impostando il numero massimo di contatti riportati a un numero maggiore di 0. .. rst-class:: classref-item-separator @@ -3100,7 +3100,7 @@ Imposta il valore di un parametro di un giunto generico 6DOF. :ref:`int` **get_process_info**\ (\ process_info\: :ref:`ProcessInfo`\ ) :ref:`🔗` -Returns the value of a physics engine state specified by ``process_info``. +Restituisce il valore di uno stato del motore di fisica specificato da ``process_info``. .. rst-class:: classref-item-separator @@ -3390,7 +3390,7 @@ Imposta la posizione del giunto nello spazio locale del corpo B del giunto. |void| **pin_joint_set_param**\ (\ joint\: :ref:`RID`, param\: :ref:`PinJointParam`, value\: :ref:`float`\ ) :ref:`🔗` -Sets a pin joint parameter. +Imposta un parametro di un giunto a perno. .. rst-class:: classref-item-separator diff --git a/classes/it/class_physicsshapequeryparameters3d.rst b/classes/it/class_physicsshapequeryparameters3d.rst index befe89c682..f758efa07a 100644 --- a/classes/it/class_physicsshapequeryparameters3d.rst +++ b/classes/it/class_physicsshapequeryparameters3d.rst @@ -185,7 +185,7 @@ Lo :ref:`Shape3D` che sarà utilizzato per le interrogazioni di c - |void| **set_shape_rid**\ (\ value\: :ref:`RID`\ ) - :ref:`RID` **get_shape_rid**\ (\ ) -The queried shape's :ref:`RID` that will be used for collision/intersection queries. Use this over :ref:`shape` if you want to optimize for performance using the Servers API: +Il :ref:`RID` della forma interrogata che sarà utilizzato per le interrogazioni di collisione o intersezione. Utilizza questo su :ref:`shape` se vuoi ottimizzare le prestazioni attraverso l'API del server: .. tabs:: @@ -199,9 +199,9 @@ The queried shape's :ref:`RID` that will be used for collision/inters var params = PhysicsShapeQueryParameters3D.new() params.shape_rid = shape_rid - # Execute physics queries here... + # Esegui le interrogazioni di fisica qui... - # Release the shape when done with physics queries. + # Rilascia la forma quando hai finito con le interrogazioni di fisica. PhysicsServer3D.free_rid(shape_rid) .. code-tab:: csharp @@ -213,9 +213,9 @@ The queried shape's :ref:`RID` that will be used for collision/inters var params = new PhysicsShapeQueryParameters3D(); params.ShapeRid = shapeRid; - // Execute physics queries here... + // Esegui le interrogazioni di fisica qui... - // Release the shape when done with physics queries. + // Rilascia la forma quando hai finito con le interrogazioni di fisica. PhysicsServer3D.FreeRid(shapeRid); diff --git a/classes/it/class_pointlight2d.rst b/classes/it/class_pointlight2d.rst index 6bf85469d9..f5fc418ea5 100644 --- a/classes/it/class_pointlight2d.rst +++ b/classes/it/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/it/class_pointmesh.rst b/classes/it/class_pointmesh.rst index df857baff1..dc2ecae846 100644 --- a/classes/it/class_pointmesh.rst +++ b/classes/it/class_pointmesh.rst @@ -14,11 +14,11 @@ Mesh with a single point primitive. Descrizione ---------------------- -A **PointMesh** is a primitive mesh composed of a single point. Instead of relying on triangles, points are rendered as a single rectangle on the screen with a constant size. They are intended to be used with particle systems, but can also be used as a cheap way to render billboarded sprites (for example in a point cloud). +Un **PointMesh** è una mesh primitivo composto da un singolo punto. Invece di basarsi su triangoli, i punti sono renderizzati come un singolo rettangolo sullo schermo con una dimensione costante. Sono pensati per l'utilizzo con i sistemi di particelle, ma è possibile anche utilizzarli come un modo poco costoso per renderizzare gli sprite con billboard abilitato di dimensioni costanti (ad esempio in una nuvola di punti). -In order to be displayed, point meshes must be used with a material that has a point size. The point size can be accessed in a shader with the ``POINT_SIZE`` built-in, or in a :ref:`BaseMaterial3D` by setting the :ref:`BaseMaterial3D.use_point_size` and :ref:`BaseMaterial3D.point_size` properties. +Per essere visualizzati, i point mesh si devono utilizzare con un materiale che ha una dimensione di punto. È possibile accedere alla dimensione di punto in uno shader con l'integrato ``POINT_SIZE``, o in un :ref:`BaseMaterial3D` impostando le proprietà :ref:`BaseMaterial3D.use_point_size` e :ref:`BaseMaterial3D.point_size`. -\ **Note:** When using point meshes, properties that normally affect vertices will be ignored, including :ref:`BaseMaterial3D.billboard_mode`, :ref:`BaseMaterial3D.grow`, and :ref:`BaseMaterial3D.cull_mode`. +\ **Nota:** Quando si utilizzano i point mesh, le proprietà che normalmente alterano i vertici saranno ignorate, tra cui :ref:`BaseMaterial3D.billboard_mode`, :ref:`BaseMaterial3D.grow` e :ref:`BaseMaterial3D.cull_mode`. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_popupmenu.rst b/classes/it/class_popupmenu.rst index 28ea884b65..7a220f5b5f 100644 --- a/classes/it/class_popupmenu.rst +++ b/classes/it/class_popupmenu.rst @@ -1622,7 +1622,7 @@ Spaziatura orizzontale a sinistra degli elementi (o a destra, nel layout RTL). La dimensione del contorno del testo dell'elemento. -\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`contour_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. +\ **Nota:** Se si utilizza un font con :ref:`FontFile.multichannel_signed_distance_field` abilitato, il suo :ref:`FontFile.msdf_pixel_range` deve essere impostato su almeno il *doppio* del valore di :ref:`outline_size` affinché il rendering del contorno appaia corretto. Altrimenti, il contorno potrebbe apparire troncato prima del previsto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_portablecompressedtexture2d.rst b/classes/it/class_portablecompressedtexture2d.rst index 618c680620..9581b67afd 100644 --- a/classes/it/class_portablecompressedtexture2d.rst +++ b/classes/it/class_portablecompressedtexture2d.rst @@ -271,9 +271,9 @@ Restituisce se il flag è sovrascritto per tutte le texture di questo tipo. |void| **set_basisu_compressor_params**\ (\ uastc_level\: :ref:`int`, rdo_quality_loss\: :ref:`float`\ ) :ref:`🔗` -Sets the compressor parameters for Basis Universal compression. See also the settings in :ref:`ResourceImporterTexture`. +Imposta i parametri del compressore per la compressione Basis Universal. Consulta anche le impostazioni in :ref:`ResourceImporterTexture`. -\ **Note:** This must be set before :ref:`create_from_image()` to take effect. +\ **Nota:** Ciò deve essere impostato prima di :ref:`create_from_image()` per avere effetto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_projectsettings.rst b/classes/it/class_projectsettings.rst index d3fb33b88e..023b9f5fee 100644 --- a/classes/it/class_projectsettings.rst +++ b/classes/it/class_projectsettings.rst @@ -1929,15 +1929,15 @@ Descrizioni delle proprietà :ref:`int` **accessibility/general/accessibility_support** = ``0`` :ref:`🔗` -Accessibility support mode: +Modalità di supporto per l'accessibilità: -- **Auto** (``0``): Accessibility support is enabled, but updates to the accessibility information are processed only if an assistive app (such as a screen reader or a Braille display) is active (default). +- **Auto** (``0``): il supporto per l'accessibilità è abilitato, ma gli aggiornamenti alle informazioni di accessibilità sono elaborati solo se è attiva un'applicazione assistiva (come un lettore dello schermo o un display Braille) (predefinito). -- **Always Active** (``1``): Accessibility support is enabled, and updates to the accessibility information are always processed, regardless of the status of assistive apps. +- **Always active** (``1``): il supporto per l'accessibilità è abilitato e gli aggiornamenti alle informazioni di accessibilità sono sempre elaborati, a prescindere dallo stato delle app assistive. -- **Disabled** (``2``): Accessibility support is fully disabled. +- **Disabled** (``2``): il supporto per l'accessibilità è completamente disabilitato. -\ **Note:** Accessibility debugging tools, such as Accessibility Insights for Windows, Accessibility Inspector (macOS), or AT-SPI Browser (Linux/BSD) do not count as assistive apps. To test your project with these tools, use **Always Active**. +\ **Nota:** Gli strumenti di debug per l'accessibilità, come Accessibility Insights per Windows, Accessibility Inspector (macOS) o AT-SPI Browser (Linux/BSD), non contano come applicazioni assistive. Per testare il tuo progetto con questi strumenti, usa **Always Active**. .. rst-class:: classref-item-separator @@ -2341,9 +2341,9 @@ Questa impostazione può essere sovrascritta usando l'argomento della riga di co :ref:`bool` **application/run/load_shell_environment** = ``false`` :ref:`🔗` -If ``true``, loads the default shell and copies environment variables set by the shell startup scripts to the app environment. +Se ``true``, carica la shell predefinita e copia le variabili d'ambiente impostate dagli script di avvio della shell nell'ambiente dell'applicazione. -\ **Note:** This setting is implemented on macOS for non-sandboxed applications only. +\ **Nota:** Questa impostazione è implementata su macOS solo per le applicazioni non sandbox. .. rst-class:: classref-item-separator @@ -2655,9 +2655,9 @@ Imposta `AVAudioSessionCategory ` **audio/general/text_to_speech** = ``false`` :ref:`🔗` -If ``true``, text-to-speech support is enabled on startup, otherwise it is enabled first time TTS method is used, see :ref:`DisplayServer.tts_get_voices()` and :ref:`DisplayServer.tts_speak()`. +Se ``true``, il supporto per text-to-speech è abilitato all'avvio, altrimenti è abilitato la prima volta che un metodo per TTS è utilizzato, vedi :ref:`DisplayServer.tts_get_voices()` e :ref:`DisplayServer.tts_speak()`. -\ **Note:** Enabling TTS can cause addition idle CPU usage and interfere with the sleep mode, so consider disabling it if TTS is not used. +\ **Nota:** Abilitare il TTS può causare un ulteriore utilizzo inattivo della CPU e interferire con la modalità di riposo, quindi considera di disabilitarla se il TTS non è utilizzato. .. rst-class:: classref-item-separator @@ -2999,9 +2999,9 @@ Se impostato su ``warn`` o ``error``, produce rispettivamente un avviso o un err :ref:`int` **debug/gdscript/warnings/inferred_declaration** = ``0`` :ref:`🔗` -When set to ``warn`` or ``error``, produces a warning or an error respectively when a variable, constant, or parameter has an implicitly inferred static type. In GDScript, type inference is performed by declaring a variable with ``:=`` instead of ``=`` and leaving out the type specifier. For example, ``var x := 1`` will *infer* the :ref:`int` type, while ``var x: int = 1`` explicitly declares the variable as :ref:`int`. +Se impostato su ``warn`` o ``error``, produce rispettivamente un avviso o un errore quando una variabile, una costante o un parametro ha un tipo statico inferito implicitamente. In GDScript, per inferire il tipo si dichiara una variabile con ``:=`` anziché ``=`` e si omette lo specificatore del tipo. Ad esempio, ``var x := 1`` *inferirà* il tipo :ref:`int`, mentre ``var x: int = 1`` dichiara esplicitamente la variabile come :ref:`int`. -\ **Note:** This warning is recommended *in addition* to :ref:`debug/gdscript/warnings/untyped_declaration` if you want to always specify the type explicitly. Having ``INFERRED_DECLARATION`` warning level higher than ``UNTYPED_DECLARATION`` warning level makes little sense and is not recommended. +\ **Nota:** Questo avviso è consigliato *in aggiunta* a :ref:`debug/gdscript/warnings/untyped_declaration` se si desidera specificare sempre il tipo in modo esplicito. Avere un livello di avviso per ``INFERRED_DECLARATION`` più alto del livello di avviso per ``UNTYPED_DECLARATION`` ha poco senso e non è consigliato. .. rst-class:: classref-item-separator @@ -3423,9 +3423,9 @@ Sostituzione solo per l'editor per :ref:`debug/settings/crash_handler/message` **debug/settings/gdscript/always_track_call_stacks** = ``false`` :ref:`🔗` -Whether GDScript call stacks will be tracked in release builds, thus allowing :ref:`Engine.capture_script_backtraces()` to function. +Se gli stack di chiamate GDScript saranno tracciati nelle build di rilascio, consentendo a :ref:`Engine.capture_script_backtraces()` di funzionare. -\ **Note:** This setting has no effect on editor builds or debug builds, where GDScript call stacks are tracked regardless. +\ **Nota:** Questa impostazione non ha alcun effetto sulle build dell'editor o sulle build di debug, in cui gli stack di chiamate GDScript sono comunque tracciati. .. rst-class:: classref-item-separator @@ -3437,11 +3437,11 @@ Whether GDScript call stacks will be tracked in release builds, thus allowing :r :ref:`bool` **debug/settings/gdscript/always_track_local_variables** = ``false`` :ref:`🔗` -Whether GDScript local variables will be tracked in all builds, including export builds, thus allowing :ref:`Engine.capture_script_backtraces()` to capture them when enabling its ``include_variables`` parameter. +Se le variabili locali in GDScript saranno tracciate in tutte le build, incluse quelle di esportazione, consentendo così a :ref:`Engine.capture_script_backtraces()` di catturarle quando si abilita il parametro ``include_variables``. -Enabling this comes at the cost of roughly 50 bytes of memory per local variable, for every compiled class in the entire project, so can be several MiB in larger projects. +Abilitare questa impostazione comporta un costo di circa 50 byte di memoria per ogni variabile locale, per ogni classe compilata nell'intero progetto, quindi può trattarsi di diversi MiB nei progetti più grandi. -\ **Note:** This setting has no effect when running the game from the editor, where GDScript local variables are tracked regardless. +\ **Nota:** Questa impostazione non ha alcun effetto quando si esegue il gioco dall'editor, dove le variabili locali in GDScript sono tracciate comunque. .. rst-class:: classref-item-separator @@ -4515,15 +4515,15 @@ Abilita Swappy per una frequenza di frame stabile su Android. Altamente consigli :ref:`int` **display/window/frame_pacing/android/swappy_mode** = ``2`` :ref:`🔗` -Swappy mode to use. The options are: +Modalità Swappy da utilizzare. Le opzioni sono: -- ``pipeline_forced_on``: Try to honor :ref:`Engine.max_fps`. Pipelining is always on. This is the same behavior as a desktop PC. +- ``pipeline_forced_on``: cerca di rispettare :ref:`Engine.max_fps`. Il pipelining è sempre attivo. È lo stesso comportamento di un PC desktop. -- ``auto_fps_pipeline_forced_on``: Calculate the max FPS automatically. The actual max FPS will be between ``0`` and :ref:`Engine.max_fps`. While this sounds convenient, beware that Swappy will often downgrade the max FPS until it finds a value that can be maintained. That means, if your game runs between 40fps and 60fps on a 60hz screen, after some time Swappy will downgrade the max FPS so that the game renders at a perfect 30fps. +- ``auto_fps_pipeline_forced_on``: calcola automaticamente gli FPS massimi. Gli FPS massimi effettivi saranno compresi tra ``0`` e :ref:`Engine.max_fps`. Anche se può sembrare comodo, è da tener presente che Swappy spesso riduce gli FPS massimi finché non trova un valore che si può mantenere. Ciò significa che, se il gioco gira tra 40 fps e 60 fps su uno schermo a 60 Hz, dopo un po' di tempo Swappy ridurrà gli FPS massimi in modo che il gioco sia renderizzato a 30 fps netti. -- ``auto_fps_auto_pipeline``: Same as ``auto_fps_pipeline_forced_on``, but if Swappy detects that rendering is very fast (for example it takes less than 8ms to render on a 60hz screen), Swappy will disable pipelining to minimize input latency. This is the default. +- ``auto_fps_auto_pipeline``: uguale a ``auto_fps_pipeline_forced_on``, ma se Swappy rileva che il rendering è molto veloce (ad esempio, impiega meno di 8 ms per renderizzare su uno schermo a 60 Hz), Swappy disabiliterà il pipelining per ridurre al minimo la latenza di input. Questo è l'opzione predefinita. -\ **Note:** If :ref:`Engine.max_fps` is ``0``, the actual max FPS will be considered to be the screen's refresh rate (often 60hz, 90hz, or 120hz, depending on device model and OS settings). +\ **Nota:** Se :ref:`Engine.max_fps` è ``0``, l'FPS massimo effettivo sarà considerato la frequenza di aggiornamento dello schermo (spesso 60 Hz, 90 Hz o 120 Hz, a seconda del modello del dispositivo e delle impostazioni del sistema operativo). .. rst-class:: classref-item-separator @@ -4783,13 +4783,13 @@ Se ``true``, la finestra principale usa angoli acuti per impostazione predefinit :ref:`bool` **display/window/size/transparent** = ``false`` :ref:`🔗` -If ``true``, enables a window manager hint that the main window background *can* be transparent. This does not make the background actually transparent. For the background to be transparent, the root viewport must also be made transparent by enabling :ref:`rendering/viewport/transparent_background`. +Se ``true``, suggerisce al gestore delle finestre che lo sfondo della finestra principale *può* essere trasparente. Questo non rende lo sfondo effettivamente trasparente. Affinché lo sfondo sia trasparente, anche la viewport radice si deve rendere trasparente abilitando :ref:`rendering/viewport/transparent_background`. -\ **Note:** To use a transparent splash screen, set :ref:`application/boot_splash/bg_color` to ``Color(0, 0, 0, 0)``. +\ **Nota:** Per usare una schermata iniziale trasparente, imposta :ref:`application/boot_splash/bg_color` su ``Color(0, 0, 0, 0)``. -\ **Note:** This setting has no effect if :ref:`display/window/per_pixel_transparency/allowed` is set to ``false``. +\ **Nota:** Questa impostazione non ha effetto se :ref:`display/window/per_pixel_transparency/allowed` è impostato su ``false``. -\ **Note:** This setting has no effect on Android as transparency is controlled only via :ref:`display/window/per_pixel_transparency/allowed`. +\ **Nota:** Questa impostazione non ha effetto su Android poiché la trasparenza è controllata solo tramite :ref:`display/window/per_pixel_transparency/allowed`. .. rst-class:: classref-item-separator @@ -5085,19 +5085,19 @@ La frequenza di mixaggio audio da utilizzare nell'audio registrato durante la sc :ref:`String` **editor/movie_writer/movie_file** = ``""`` :ref:`🔗` -The output path for the movie. The file extension determines the :ref:`MovieWriter` that will be used. +Percorso di output per il filmato. L'estensione del file determina il :ref:`MovieWriter` che sarà utilizzato. -Godot has 3 built-in :ref:`MovieWriter`\ s: +Godot ha 3 :ref:`MovieWriter` integrati: -- OGV container with Theora for video and Vorbis for audio (``.ogv`` file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing :ref:`editor/movie_writer/video_quality` and :ref:`editor/movie_writer/ogv/audio_quality`. The resulting file can be viewed in Godot with :ref:`VideoStreamPlayer` and most video players, but not web browsers as they don't support Theora. +- Contenitore OGV con Theora per il video e Vorbis per l'audio (estensione file ``.ogv``). Compressione con perdita di dati, dimensioni file medie, codifica veloce. La qualità della compressione può essere regolata modificando :ref:`editor/movie_writer/video_quality` e :ref:`editor/movie_writer/ogv/audio_quality`. È possibile visualizzare il file risultante in Godot con :ref:`VideoStreamPlayer` e la maggior parte dei lettori video, ma non con i browser web, poiché non supportano Theora. -- AVI container with MJPEG for video and uncompressed audio (``.avi`` file extension). Lossy compression, medium file sizes, fast encoding. The lossy compression quality can be adjusted by changing :ref:`editor/movie_writer/video_quality`. The resulting file can be viewed in most video players, but it must be converted to another format for viewing on the web or by Godot with :ref:`VideoStreamPlayer`. MJPEG does not support transparency. AVI output is currently limited to a file of 4 GB in size at most. +- Contenitore AVI con MJPEG per video e audio non compresso (estensione file ``.avi``). Compressione con perdita di dati, dimensioni file medie, codifica veloce. La qualità della compressione può essere regolata modificando :ref:`editor/movie_writer/video_quality`. È possibile visualizzare il file risultante nella maggior parte dei lettori video, ma è necessario convertirlo in un altro formato per poterlo visualizzare sul Web o da Godot con :ref:`VideoStreamPlayer`. MJPEG non supporta la trasparenza. Il file in AVI risultante può attualmente essere di dimensioni fino a 4 GB. -- PNG image sequence for video and WAV for audio (``.png`` file extension). Lossless compression, large file sizes, slow encoding. Designed to be encoded to a video file with another tool such as `FFmpeg `__ after recording. Transparency is currently not supported, even if the root viewport is set to be transparent. +- Sequenza di immagini PNG per video e WAV per audio (estensione file ``.png``). Compressione senza perdita di dati, dimensioni file grandi, codifica lenta. Progettato per essere codificato in un file video con un altro strumento come `FFmpeg `__ dopo la registrazione. La trasparenza non è attualmente supportata, anche se la viewport radice è impostata per essere trasparente. -If you need to encode to a different format or pipe a stream through third-party software, you can extend this :ref:`MovieWriter` class to create your own movie writers. +Se c'è bisogno di codificare in un formato diverso o di trasmettere un flusso tramite software di terze parti, è possibile estendere questa classe :ref:`MovieWriter` per creare i propri movie writer. -When using PNG output, the frame number will be appended at the end of the file name. It starts from 0 and is padded with 8 digits to ensure correct sorting and easier processing. For example, if the output path is ``/tmp/hello.png``, the first two frames will be ``/tmp/hello00000000.png`` and ``/tmp/hello00000001.png``. The audio will be saved at ``/tmp/hello.wav``. +Quando si utilizza l'output PNG, il numero del fotogramma sarà aggiunto alla fine del nome del file. Inizia da 0 e viene imbottito con 8 cifre per garantire un ordinamento corretto e un'elaborazione più facile. Ad esempio, se il percorso di output è ``/tmp/hello.png``, i primi due fotogrammi saranno ``/tmp/hello00000000.png`` e ``/tmp/hello00000001.png``. L'audio sarà salvato in ``/tmp/hello.wav``. .. rst-class:: classref-item-separator @@ -5109,9 +5109,9 @@ When using PNG output, the frame number will be appended at the end of the file :ref:`float` **editor/movie_writer/ogv/audio_quality** = ``0.5`` :ref:`🔗` -The audio encoding quality to use when writing Vorbis audio to a file, between ``-0.1`` and ``1.0`` (inclusive). Higher ``quality`` values result in better-sounding output at the cost of larger file sizes. Even at quality ``1.0``, compression remains lossy. +La qualità di codifica audio da usare per la scrittura di audio Vorbis in un file, tra ``-0.1`` e ``1.0`` (inclusi). Valori di ``quality`` più alti producono un suono migliore, a scapito di dimensioni più grandi di file. Anche a qualità ``1.0``, la compressione rimane con perdite di dati. -\ **Note:** This does not affect video quality, which is controlled by :ref:`editor/movie_writer/video_quality` instead. +\ **Nota:** Questo non influisce sulla qualità video, che è invece controllata da :ref:`editor/movie_writer/video_quality`. .. rst-class:: classref-item-separator @@ -5123,7 +5123,7 @@ The audio encoding quality to use when writing Vorbis audio to a file, between ` :ref:`int` **editor/movie_writer/ogv/encoding_speed** = ``4`` :ref:`🔗` -The tradeoff between encoding speed and compression efficiency. Speed ``1`` is the slowest but provides the best compression. Speed ``4`` is the fastest but provides the worst compression. Video quality is generally not affected significantly by this setting. +Il compromesso tra velocità di codifica ed efficienza di compressione. La velocità ``1`` è la più lenta ma offre la migliore compressione. La velocità ``4`` è la più veloce ma offre la peggiore compressione. La qualità video generalmente non è influenzata notevolmente da questa impostazione. .. rst-class:: classref-item-separator @@ -5135,7 +5135,7 @@ The tradeoff between encoding speed and compression efficiency. Speed ``1`` is t :ref:`int` **editor/movie_writer/ogv/keyframe_interval** = ``64`` :ref:`🔗` -Forces keyframes at the specified interval (in frame count). Higher values can improve compression up to a certain level at the expense of higher latency when seeking. +Forza i fotogrammi chiave all'intervallo specificato (in numero di fotogrammi). Valori più elevati possono migliorare la compressione fino a un certo livello, a scapito di una maggiore latenza durante la ricerca. .. rst-class:: classref-item-separator @@ -5159,7 +5159,7 @@ La modalità altoparlante da utilizzare nell'audio registrato durante la scrittu :ref:`float` **editor/movie_writer/video_quality** = ``0.75`` :ref:`🔗` -The video encoding quality to use when writing a Theora or AVI (MJPEG) video to a file, between ``0.0`` and ``1.0`` (inclusive). Higher ``quality`` values result in better-looking output at the cost of larger file sizes. Recommended ``quality`` values are between ``0.75`` and ``0.9``. Even at quality ``1.0``, compression remains lossy. +La qualità di codifica video da usare per la scrittura di un video Theora o AVI (MJPEG) in un file, tra ``0.0`` e ``1.0`` (inclusi). Valori di ``quality`` più alti producono un aspetto migliore, a scapito di dimensioni più grandi di file. I valori di ``quality`` consigliati sono tra ``0.75`` e ``0.9``. Anche a qualità ``1.0``, la compressione rimane con perdite di dati. .. rst-class:: classref-item-separator @@ -5419,11 +5419,11 @@ Se ``true``, aggancia i vertici dei nodi :ref:`Control` al pixel Come posizionare i pulsanti Annulla e OK negli :ref:`AcceptDialog` dell'editor. Le diverse piattaforme hanno diversi comportamenti standard per questo, che si possono sovrascrivere attraverso questa impostazione. Ciò è utile se si utilizza Godot sia su Windows sia su macOS/Linux e la memoria muscolare di Godot è più forte di quella specifica del proprio sistema operativo. -- **Auto** segue la convenzione della piattaforma: prima Annulla su macOS e Linux, prima OK su Windows. +- **Auto** (``0``) segue la convenzione della piattaforma: prima OK su Windows, KDE e LXQt, prima Annulla su macOS e altri ambienti desktop Linux. È possibile usare :ref:`DisplayServer.get_swap_cancel_ok()` per verificare se i pulsanti sono scambiati in fase di esecuzione. -- **Cancel First** Forza l'ordinamento Annulla/OK. +- **Cancel First** (``1``) Forza l'ordinamento Annulla/OK. -- **OK First** Forza l'ordinamento OK/Annulla. +- **OK First** (``2``) Forza l'ordinamento OK/Annulla. \ **Nota:** Questo non ha effetto sulle finestre di dialogo native come quelle generate da :ref:`DisplayServer.dialog_show()`. @@ -5449,7 +5449,7 @@ Dimensione massima della cronologia annulla/ripristina per i campi di :ref:`Text :ref:`bool` **gui/fonts/dynamic_fonts/use_oversampling** = ``true`` :ref:`🔗` -If set to ``true`` and :ref:`display/window/stretch/mode` is set to **"canvas_items"**, font and :ref:`DPITexture` oversampling is enabled in the main window. Use :ref:`Viewport.oversampling` to control oversampling in other viewports and windows. +Se impostato su ``true`` e :ref:`display/window/stretch/mode` è impostato su **"canvas_items"**, il sovracampionamento dei font e di :ref:`DPITexture` è abilitato nella finestra principale. Usa :ref:`Viewport.oversampling` per controllare il sovracampionamento in altre finestre e viewport. .. rst-class:: classref-item-separator @@ -6877,7 +6877,7 @@ Sostituizione per :ref:`input_devices/pen_tablet/driver` **input_devices/pointing/android/disable_scroll_deadzone** = ``false`` :ref:`🔗` -If ``true``, disables the scroll deadzone on Android, allowing even very small scroll movements to be registered. This may increase scroll sensitivity but can also lead to unintended scrolling from slight finger movements. +Se ``true``, disabilita la zona morta di scorrimento su Android, consentendo il rilevamento anche di movimenti molto lievi di scorrimento. Ciò può aumentare la sensibilità allo scorrimento, ma può anche causare scorrimenti indesiderati dovuto a lievi movimenti delle dita. .. rst-class:: classref-item-separator @@ -7039,17 +7039,17 @@ Se ``true``, la serie di regole di iterazione di interruzione, i dizionari e alt :ref:`int` **internationalization/locale/line_breaking_strictness** = ``0`` :ref:`🔗` -Default strictness of line-breaking rules. Can be overridden by adding ``@lb={auto,loose,normal,strict}`` to the language code. +Rigidità predefinita delle regole di interruzione di riga. La si può sovrascrivere aggiungendo ``@lb={auto,loose,normal,strict}`` al codice della lingua. -- **Auto** (``0``) - strictness is based on the length of the line. +- **Auto** (``0``) - la rigidità si basa sulla lunghezza della riga. -- **Loose** (``1``) - the least restrictive set of line-breaking rules. Typically used for short lines. +- **Loose** (``1``) - l'insieme di regole di interruzione di riga meno restrittivo. Tipicamente usato per righe brevi. -- **Normal** (``2``) - the most common set of line-breaking rules. +- **Normal** (``2``) - l'insieme di regole di interruzione di riga più comune. -- **Strict** (``3``) - the most stringent set of line-breaking rules. +- **Strict** (``3``) - l'insieme di regole di interruzione di riga più restrittivo. -See `Line Breaking Strictness: the line-break property `__ for more info. +Per ulteriori informazioni, consultare `Line Breaking Strictness: the line-break property `__. .. rst-class:: classref-item-separator @@ -7099,7 +7099,7 @@ Il rapporto di espansione da usare durante la pseudolocalizzazione. In pratica, :ref:`bool` **internationalization/pseudolocalization/fake_bidi** = ``false`` :ref:`🔗` -Se ``true``, emula il testo bidirezionale (da destra a sinistra) quando è abilitata la pseudolocalizzazione. Questo può essere utilizzato per individuare problemi con il layout RTL e il rispecchiamento dell'interfaccia utente, che si presenteranno se il progetto è localizzato in lingue RTL come l'arabo o l'ebraico. Vedi anche :ref:`internationalization/rendering/force_right_to_left_layout_direction`. +Se ``true``, emula il testo bidirezionale (da destra a sinistra) quando è abilitata la pseudolocalizzazione. Ciò serve per individuare problemi con il layout RTL e il rispecchiamento dell'interfaccia utente, i quali si presenteranno se il progetto è localizzato in lingue RTL come l'arabo o l'ebraico. Vedi anche :ref:`internationalization/rendering/force_right_to_left_layout_direction`. .. rst-class:: classref-item-separator @@ -9689,7 +9689,7 @@ Il raggio predefinito di connessione del collegamento per le mappe di navigazion :ref:`float` **navigation/2d/merge_rasterizer_cell_scale** = ``1.0`` :ref:`🔗` -Default merge rasterizer cell scale for 2D navigation maps. See :ref:`NavigationServer2D.map_set_merge_rasterizer_cell_scale()`. +La scala predefinita del rasterizzatore di unione celle per le mappe di navigazione 2D. Vedi :ref:`NavigationServer2D.map_set_merge_rasterizer_cell_scale()`. .. rst-class:: classref-item-separator @@ -9881,7 +9881,7 @@ Se abilitata, la sincronizzazione della mappa di navigazione utilizza un process :ref:`bool` **navigation/world/region_use_async_iterations** = ``true`` :ref:`🔗` -If enabled, navigation region synchronization uses an async process that runs on a background thread. This avoids stalling the main thread but adds an additional delay to any navigation region change. +Se abilitata, la sincronizzazione delle regioni di navigazione utilizza un processo asincrono che viene eseguito su un thread in background. Ciò evita di bloccare il thread principale ma aggiunge un ulteriore ritardo a qualsiasi cambio delle regioni di navigazione. .. rst-class:: classref-item-separator @@ -10367,13 +10367,13 @@ Le estensioni e i moduli di terze parti possono aggiungere altri motori di fisic :ref:`String` **physics/3d/physics_interpolation/scene_traversal** = ``"DEFAULT"`` :ref:`🔗` -The approach used for 3D scene traversal when physics interpolation is enabled. +L'approccio utilizzato per attraversare la scena 3D quando l'interpolazione fisica è abilitata. -- ``DEFAULT``: The default optimized method. +- ``DEFAULT``: Il metodo ottimizzato predefinito. -- ``Legacy``: The previous reference method used for scene tree traversal, which is slower. +- ``Legacy``: Il precedente metodo di riferimento usato per attraversare l'albero di scene, che è più lento. -- ``Debug``: Swaps between ``DEFAULT`` and ``Legacy`` methods on alternating frames, and provides logging information (which in turn makes it slower). Intended for debugging only; you should use the ``DEFAULT`` method in most cases. +- ``Debug``: Passa dal metodo ``DEFAULT`` a quello ``Legacy`` su frame alternati e fornisce informazioni di log (che a loro volta lo rendono più lento). Pensato solamente per il debug; si consiglia di utilizzare il metodo ``DEFAULT`` nella maggior parte dei casi. .. rst-class:: classref-item-separator @@ -10509,11 +10509,11 @@ Abilita :ref:`Viewport.physics_object_picking` **physics/common/max_physics_steps_per_frame** = ``8`` :ref:`🔗` -Controls the maximum number of physics steps that can be simulated each rendered frame. The default value is tuned to avoid situations where the framerate suddenly drops to a very low value beyond a certain amount of physics simulation. This occurs because the physics engine can't keep up with the expected simulation rate. In this case, the framerate will start dropping, but the engine is only allowed to simulate a certain number of physics steps per rendered frame. This snowballs into a situation where framerate keeps dropping until it reaches a very low framerate (typically 1-2 FPS) and is called the *physics spiral of death*. +Controlla il numero massimo di passaggi fisici che si possono simulare per ogni frame renderizzato. Il valore predefinito è regolato per evitare situazioni dove la frequenza dei frame cali improvvisamente a un valore bassissimo, oltre un certo punto per la simulazione fisica. Ciò avviene perché il motore di fisica non riesce a mantenere la frequenza prevista di simulazione. In questo caso, la frequenza dei frame inizierà a calare, ma al motore è consentito simulare solo un certo numero di passaggi fisici per un frame renderizzato. Questa si trasforma in una situazione dove la frequenza continua a calare fino a raggiungere una frequenza molto bassa (in genere 1-2 FPS) ed è chiamata *spirale di morte della fisica*. -However, the game will appear to slow down if the rendering FPS is less than ``1 / max_physics_steps_per_frame`` of :ref:`physics/common/physics_ticks_per_second`. This occurs even if ``delta`` is consistently used in physics calculations. To avoid this, increase :ref:`physics/common/max_physics_steps_per_frame` if you have increased :ref:`physics/common/physics_ticks_per_second` significantly above its default value. +Tuttavia, il gioco sembrerà rallentare se l'FPS di rendering è inferiore a ``1 / max_physics_steps_per_frame`` di :ref:`physics/common/physics_ticks_per_second`. Ciò si verifica anche se ``delta`` è utilizzato appropriatamente nei calcoli della fisica. Per evitare ciò, aumentare :ref:`physics/common/max_physics_steps_per_frame` se :ref:`physics/common/physics_ticks_per_second` è stato aumentato significativamente al di sopra del suo valore predefinito. -\ **Note:** This property is only read when the project starts. To change the maximum number of simulated physics steps per frame at runtime, set :ref:`Engine.max_physics_steps_per_frame` instead. +\ **Nota:** Questa proprietà viene letta solo all'avvio del progetto. Per modificare il numero massimo di passaggi simulati di fisica per frame in fase di esecuzione, imposta invece :ref:`Engine.max_physics_steps_per_frame`. .. rst-class:: classref-item-separator @@ -10525,9 +10525,9 @@ However, the game will appear to slow down if the rendering FPS is less than ``1 :ref:`bool` **physics/common/physics_interpolation** = ``false`` :ref:`🔗` -Se ``true``, il renderer interpolerà le trasformazioni degli oggetti fisici tra le ultime due trasformazioni, in modo che un movimento fluido sia visibile anche quando i tick di fisica non coincidono con i frame renderizzati. Vedi anche :ref:`Node.physics_interpolation_mode` e :ref:`Node.reset_physics_interpolation()`. +Se ``true``, il renderer interpolerà le trasformazioni degli oggetti fisici tra le ultime due trasformazioni, in modo da poter notare un movimento fluido anche quando i tick di fisica non coincidono con i frame renderizzati. Vedi anche :ref:`Node.physics_interpolation_mode` e :ref:`Node.reset_physics_interpolation()`. -\ **Nota:** Se ``true``, la correzione del jitter di fisica dovrebbe essere disabilitata impostando :ref:`physics/common/physics_jitter_fix` su ``0.0``. +\ **Nota:** Sebbene questa sia un'impostazione globale, è disponibile un controllo più preciso dei singoli rami dello :ref:`SceneTree` attraverso :ref:`Node.physics_interpolation_mode`. \ **Nota:** Questa proprietà è letta solo all'avvio del progetto. Per attivare/disattivare l'interpolazione fisica in fase di esecuzione, imposta invece :ref:`SceneTree.physics_interpolation`. @@ -10941,7 +10941,7 @@ Tempo in secondi che un :ref:`RigidBody3D` trascorrerà al di :ref:`float` **physics/jolt_physics_3d/simulation/sleep_velocity_threshold** = ``0.03`` :ref:`🔗` -La velocità lineare di punti specifici sul bounding box di un :ref:`RigidBody3D`, al di sotto della quale può essere messo in riposo, in metri al secondo. Questi punti aiutano a catturare sia il movimento lineare sia quello angolare di un :ref:`RigidBody3D`. +La velocità lineare di punti specifici sulla bounding box di un :ref:`RigidBody3D`, al di sotto della quale può essere messo in riposo, in metri al secondo. Questi punti aiutano a catturare sia il movimento lineare sia quello angolare di un :ref:`RigidBody3D`. .. rst-class:: classref-item-separator @@ -11173,11 +11173,11 @@ Imposta la sensibilità ai bordi quando si utilizza SMAA per l'antialiasing. Val :ref:`bool` **rendering/anti_aliasing/quality/use_debanding** = ``false`` :ref:`🔗` -If ``true``, uses a fast post-processing filter to make banding significantly less visible. If :ref:`rendering/viewport/hdr_2d` is ``false``, 2D rendering is *not* affected by debanding unless the :ref:`Environment.background_mode` is :ref:`Environment.BG_CANVAS`. If :ref:`rendering/viewport/hdr_2d` is ``true``, debanding will affect all 2D and 3D rendering, including canvas items. +Se ``true``, utilizza un filtro di post-elaborazione veloce per rendere il banding notevolmente meno visibile. Se :ref:`rendering/viewport/hdr_2d` è ``false``, il rendering 2D *non* è influenzato dal debanding a meno che :ref:`Environment.background_mode` non sia :ref:`Environment.BG_CANVAS`. Se :ref:`rendering/viewport/hdr_2d` è ``true``, il debanding influenzerà tutto il rendering 2D e 3D, inclusi gli elementi canvas. -In some cases, debanding may introduce a slightly noticeable dithering pattern. It's recommended to enable debanding only when actually needed since the dithering pattern will make lossless-compressed screenshots larger. +In alcuni casi, il debanding potrebbe introdurre un leggero motivo di dithering. Si consiglia di abilitare il debanding solo quando è effettivamente necessario, poiché il motivo di dithering renderà più grandi gli screenshot compressi senza perdita di dati. -\ **Note:** This property is only read when the project starts. To set debanding at runtime, set :ref:`Viewport.use_debanding` on the root :ref:`Viewport` instead, or use :ref:`RenderingServer.viewport_set_use_debanding()`. +\ **Nota:** Questa proprietà viene letta solo all'avvio del progetto. Per impostare il debanding in fase di esecuzione, imposta invece :ref:`Viewport.use_debanding` sulla :ref:`Viewport` radice, o usa :ref:`RenderingServer.viewport_set_use_debanding()`. .. rst-class:: classref-item-separator @@ -12081,7 +12081,7 @@ Se ``true``, applica un filtro bicubico durante il campionamento delle lightmap. :ref:`float` **rendering/lightmapping/primitive_meshes/texel_size** = ``0.2`` :ref:`🔗` -La dimensione dei texel utilizzato per calcolare :ref:`Mesh.lightmap_size_hint` sulle risorse :ref:`PrimitiveMesh` se :ref:`PrimitiveMesh.add_uv2` è abilitato. +La dimensione dei texel utilizzata per calcolare :ref:`Mesh.lightmap_size_hint` sulle risorse :ref:`PrimitiveMesh` se :ref:`PrimitiveMesh.add_uv2` è abilitato. .. rst-class:: classref-item-separator @@ -12181,7 +12181,7 @@ Utilizza 16 bit per la mappa di profondità delle ombre omni/spot. Abilitando qu :ref:`int` **rendering/lights_and_shadows/positional_shadow/atlas_quadrant_0_subdiv** = ``2`` :ref:`🔗` -The subdivision amount of the first quadrant on the shadow atlas. See the `documentation <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__ for more information. +La quantità di suddivisione del primo quadrante sull'atlante delle ombre. Per ulteriori informazioni, consultare la `documentazione <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__. .. rst-class:: classref-item-separator @@ -12193,7 +12193,7 @@ The subdivision amount of the first quadrant on the shadow atlas. See the `docum :ref:`int` **rendering/lights_and_shadows/positional_shadow/atlas_quadrant_1_subdiv** = ``2`` :ref:`🔗` -The subdivision amount of the second quadrant on the shadow atlas. See the `documentation <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__ for more information. +La quantità di suddivisione del secondo quadrante sull'atlante delle ombre. Per ulteriori informazioni, consultare la `documentazione <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__. .. rst-class:: classref-item-separator @@ -12205,7 +12205,7 @@ The subdivision amount of the second quadrant on the shadow atlas. See the `docu :ref:`int` **rendering/lights_and_shadows/positional_shadow/atlas_quadrant_2_subdiv** = ``3`` :ref:`🔗` -The subdivision amount of the third quadrant on the shadow atlas. See the `documentation <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__ for more information. +La quantità di suddivisione del terzo quadrante sull'atlante delle ombre. Per ulteriori informazioni, consultare la `documentazione <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__. .. rst-class:: classref-item-separator @@ -12217,7 +12217,7 @@ The subdivision amount of the third quadrant on the shadow atlas. See the `docum :ref:`int` **rendering/lights_and_shadows/positional_shadow/atlas_quadrant_3_subdiv** = ``4`` :ref:`🔗` -The subdivision amount of the fourth quadrant on the shadow atlas. See the `documentation <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__ for more information. +La quantità di suddivisione del quarto quadrante sull'atlante delle ombre. Per ulteriori informazioni, consultare la `documentazione <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__. .. rst-class:: classref-item-separator @@ -12229,7 +12229,7 @@ The subdivision amount of the fourth quadrant on the shadow atlas. See the `docu :ref:`int` **rendering/lights_and_shadows/positional_shadow/atlas_size** = ``4096`` :ref:`🔗` -The size of the shadow atlas used for :ref:`OmniLight3D` and :ref:`SpotLight3D` nodes. See the `documentation <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__ for more information. +La dimensione dell'atlante delle ombre utilizzato per i nodi :ref:`OmniLight3D` e :ref:`SpotLight3D`. Per ulteriori informazioni, consultare la `documentazione <../tutorials/tutorials/3d/lights_and_shadows.html#shadow-atlas>`__. .. rst-class:: classref-item-separator @@ -13197,7 +13197,7 @@ Se ``true``, forza l'ombreggiatura con vertici per tutto il rendering. Questo pu :ref:`int` **rendering/textures/basis_universal/rdo_dict_size** = ``1024`` :ref:`🔗` -The dictionary size for Rate-Distortion Optimization (RDO) when importing textures as Basis Universal and when RDO is enabled, ranging from ``64`` to ``65536``. Higher values reduce the file sizes further, but make encoding times significantly longer. +La dimensione del dizionario per il Rate-Distortion Optimization (RDO) quando si importano texture come Basis Universal e quando l'RDO è abilitato, varia da ``64`` a ``65536``. Valori più alti riducono ulteriormente le dimensioni dei file, ma allungano notevolmente i tempi di codifica. .. rst-class:: classref-item-separator @@ -13209,9 +13209,9 @@ The dictionary size for Rate-Distortion Optimization (RDO) when importing textur :ref:`bool` **rendering/textures/basis_universal/zstd_supercompression** = ``true`` :ref:`🔗` -If ``true``, enables Zstandard supercompression to reduce file size when importing textures as Basis Universal. +Se ``true``, abilita la supercompressione Zstandard per ridurre le dimensioni del file durante l'importazione di texture come Basis Universal. -\ **Note:** Basis Universal textures need to be compressed to gain the benefit of smaller file sizes, otherwise they are as large as VRAM-compressed textures. +\ **Nota:** È necessario che le texture Basis Universal siano compresse per godere di file più piccoli, altrimenti sono grandi quanto le texture compresse in VRAM. .. rst-class:: classref-item-separator @@ -13223,7 +13223,7 @@ If ``true``, enables Zstandard supercompression to reduce file size when importi :ref:`int` **rendering/textures/basis_universal/zstd_supercompression_level** = ``6`` :ref:`🔗` -Specify the compression level for Basis Universal Zstandard supercompression, ranging from ``1`` to ``22``. +Specifica il livello di compressione per la supercompressione Basis Universal Zstandard, che va da ``1`` a ``22``. .. rst-class:: classref-item-separator @@ -13431,13 +13431,13 @@ Il fattore di compressione predefinito per WebP senza perdite. La velocità di d :ref:`bool` **rendering/viewport/hdr_2d** = ``false`` :ref:`🔗` -If ``true``, enables :ref:`Viewport.use_hdr_2d` on the root viewport. 2D rendering will use a high dynamic range (HDR) format framebuffer matching the bit depth of the 3D framebuffer. When using the Forward+ or Compatibility renderer, this will be an ``RGBA16`` framebuffer. When using the Mobile renderer, it will be an ``RGB10_A2`` framebuffer. +Se ``true``, abilita :ref:`Viewport.use_hdr_2d` sulla viewport radice. il rendering 2D utilizzerà un framebuffer in formato HDR (High Dynamic Range, o "alta gamma dinamica") corrispondente alla profondità di bit del framebuffer 3D. Quando si utilizza il renderer Forward+ o Compatibilità, questo sarà un framebuffer ``RGBA16``. Quando si utilizza il renderer Mobile, sarà un framebuffer ``RGB10_A2``. -Additionally, 2D rendering will take place in linear color space and will be converted to sRGB space immediately before blitting to the screen (if the Viewport is attached to the screen). +Inoltre, il rendering 2D avverrà nello spazio colore lineare e sarà convertito nello spazio sRGB subito prima di essere visualizzato sullo schermo (se la Viewport è collegata allo schermo). -Practically speaking, this means that the end result of the Viewport will not be clamped to the ``0-1`` range and can be used in 3D rendering without color space adjustments. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow) as well as substantially improves the appearance of effects requiring highly detailed gradients. +In pratica, ciò significa che il risultato finale della Viewport non sarà limitato nell'intervallo ``0-1`` e si potrà utilizzare nel rendering 3D senza aggiustare lo spazio colore. Ciò consente al rendering 2D di sfruttare gli effetti che richiedono un'elevata gamma dinamica (ad esempio, il bagliore 2D) e migliora sostanzialmente l'aspetto degli effetti che richiedono gradienti molto dettagliati. -\ **Note:** This property is only read when the project starts. To toggle HDR 2D at runtime, set :ref:`Viewport.use_hdr_2d` on the root :ref:`Viewport`. +\ **Nota:** Questa proprietà viene letta solo all'avvio del progetto. Per attivare il HDR 2D in fase di esecuzione, imposta :ref:`Viewport.use_hdr_2d` sulla :ref:`Viewport` radice. .. rst-class:: classref-item-separator @@ -13674,9 +13674,9 @@ Se ``true``, è richiesto il supporto per la sorgente dati non ostruita. Se supp :ref:`bool` **xr/openxr/extensions/render_model** = ``false`` :ref:`🔗` -If ``true`` we enable the render model extension if available. +Se ``true`` abilitiamo l'estensione del modello di rendering, se disponibile. -\ **Note:** This relates to the core OpenXR render model extension and has no relation to any vendor render model extensions. +\ **Nota:** Questo si riferisce all'estensione del modello di rendering OpenXR principale e non ha alcuna relazione con le estensioni del modello di rendering di alcun fornitore. .. rst-class:: classref-item-separator @@ -13791,13 +13791,13 @@ Descrizioni dei metodi |void| **add_property_info**\ (\ hint\: :ref:`Dictionary`\ ) :ref:`🔗` -Adds a custom property info to a property. The dictionary must contain: +Aggiunge informazioni personalizzate di proprietà a una proprietà. Il dizionario deve contenere: -- ``"name"``: :ref:`String` (the property's name) +- ``"name"``: :ref:`String` (il nome della proprietà) -- ``"type"``: :ref:`int` (see :ref:`Variant.Type`) +- ``"type"``: :ref:`int` (vedi :ref:`Variant.Type`) -- optionally ``"hint"``: :ref:`int` (see :ref:`PropertyHint`) and ``"hint_string"``: :ref:`String`\ +- facoltativamente ``"hint"``: :ref:`int` (vedi :ref:`PropertyHint`) e ``"hint_string"``: :ref:`String`\ .. tabs:: @@ -13831,7 +13831,7 @@ Adds a custom property info to a property. The dictionary must contain: -\ **Note:** Setting ``"usage"`` for the property is not supported. Use :ref:`set_as_basic()`, :ref:`set_restart_if_changed()`, and :ref:`set_as_internal()` to modify usage flags. +\ **Nota:** L'impostazione di ``"usage"`` per la proprietà non è supportata. Usa :ref:`set_as_basic()`, :ref:`set_restart_if_changed()` e :ref:`set_as_internal()` per modificare i flag di utilizzo. .. rst-class:: classref-item-separator @@ -13949,7 +13949,7 @@ Simile a :ref:`get_setting()`, ma appl :ref:`Variant` **get_setting_with_override_and_custom_features**\ (\ name\: :ref:`StringName`, features\: :ref:`PackedStringArray`\ ) |const| :ref:`🔗` -Similar to :ref:`get_setting_with_override()`, but applies feature tag overrides instead of current OS features. +Simile a :ref:`get_setting_with_override()`, ma applica le sostituzioni dei tag di funzionalità anziché le funzionalità attuali del sistema operativo. .. rst-class:: classref-item-separator @@ -13989,9 +13989,9 @@ Restituisce il percorso assoluto nativo del sistema operativo corrispondente al :ref:`bool` **has_setting**\ (\ name\: :ref:`String`\ ) |const| :ref:`🔗` -Returns ``true`` if a configuration value is present. +Restituisce ``true`` se è presente un valore di configurazione. -\ **Note:** In order to be be detected, custom settings have to be either defined with :ref:`set_setting()`, or exist in the ``project.godot`` file. This is especially relevant when using :ref:`set_initial_value()`. +\ **Nota:** Per essere rilevate, è necessario definire le impostazioni personalizzate con :ref:`set_setting()` o includerle nel file ``project.godot``. In particolare, ciò è da tenere in mente quando si utilizza :ref:`set_initial_value()`. .. rst-class:: classref-item-separator @@ -14083,7 +14083,7 @@ Definisce se l'impostazione specificata è considerata interna. Un'impostazione |void| **set_initial_value**\ (\ name\: :ref:`String`, value\: :ref:`Variant`\ ) :ref:`🔗` -Sets the specified setting's initial value. This is the value the setting reverts to. The setting should already exist before calling this method. Note that project settings equal to their default value are not saved, so your code needs to account for that. +Imposta il valore iniziale dell'impostazione specificata. Questo è il valore a cui l'impostazione viene ripristinata. L'impostazione dovrebbe esistere già prima di chiamare questo metodo. Si noti che le impostazioni del progetto uguali al loro valore predefinito non sono salvate, quindi il codice deve tenerne conto. :: @@ -14098,7 +14098,7 @@ Sets the specified setting's initial value. This is the value the setting revert ProjectSettings.set_initial_value(SETTING_NAME, SETTING_DEFAULT) -If you have a project setting defined by an :ref:`EditorPlugin`, but want to use it in a running project, you will need a similar code at runtime. +Se è presente un'impostazione del progetto definita da un :ref:`EditorPlugin`, ma si desidera utilizzarla in un progetto in esecuzione, sarà necessario avere simile codice in fase di esecuzione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_propertytweener.rst b/classes/it/class_propertytweener.rst index d5882aee0b..cad2353f24 100644 --- a/classes/it/class_propertytweener.rst +++ b/classes/it/class_propertytweener.rst @@ -14,7 +14,7 @@ Interpola una proprietà di un :ref:`Object` nel corso del tempo. Descrizione ---------------------- -**PropertyTweener** è utilizzato per interpolare una proprietà in un oggetto. Vedi :ref:`Tween.tween_property()` per ulteriori informazioni sull'utilizzo. +**PropertyTweener** serve per interpolare una proprietà in un oggetto. Vedi :ref:`Tween.tween_property()` per ulteriori informazioni sull'utilizzo. Il tweener terminerà automaticamente se l'oggetto di destinazione viene liberato. diff --git a/classes/it/class_range.rst b/classes/it/class_range.rst index 3fb0012a40..b1c92b5a26 100644 --- a/classes/it/class_range.rst +++ b/classes/it/class_range.rst @@ -255,7 +255,7 @@ Se ``true``, :ref:`value` sarà sempre arrotondato a - |void| **set_step**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_step**\ (\ ) -If greater than 0, :ref:`value` will always be rounded to a multiple of this property's value above :ref:`min_value`. For example, if :ref:`min_value` is ``0.1`` and step is 0.2, then :ref:`value` is limited to ``0.1``, ``0.3``, ``0.5``, and so on. If :ref:`rounded` is also ``true``, :ref:`value` will first be rounded to a multiple of this property's value, then rounded to the nearest integer. +Se maggiore di 0, :ref:`value` sarà sempre arrotondato a un multiplo del valore di questa proprietà, superiore a :ref:`min_value`. Ad esempio, se :ref:`min_value` è ``0.1`` e il passo è 0.2, allora :ref:`value` è limitato a ``0.1``, ``0.3``, ``0.5`` e così via. Se :ref:`rounded` è anche ``true``, :ref:`value` sarà prima arrotondato a un multiplo del valore di questa proprietà, e poi arrotondato all'intero più vicino. .. rst-class:: classref-item-separator diff --git a/classes/it/class_raycast2d.rst b/classes/it/class_raycast2d.rst index eb39f61716..4fdffd4cab 100644 --- a/classes/it/class_raycast2d.rst +++ b/classes/it/class_raycast2d.rst @@ -7,20 +7,20 @@ RayCast2D **Eredita:** :ref:`Node2D` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A ray in 2D space, used to find the first collision object it intersects. +Un raggio nello spazio 2D, utilizzato per trovare il primo oggetto di collisione che interseca. .. rst-class:: classref-introduction-group Descrizione ---------------------- -A raycast represents a ray from its origin to its :ref:`target_position` that finds the closest object along its path, if it intersects any. +Un raycast rappresenta un raggio dalla sua origine alla sua :ref:`target_position` che trova l'oggetto più vicino lungo il suo percorso, se ne interseca uno. -\ **RayCast2D** can ignore some objects by adding them to an exception list, by making its detection reporting ignore :ref:`Area2D`\ s (:ref:`collide_with_areas`) or :ref:`PhysicsBody2D`\ s (:ref:`collide_with_bodies`), or by configuring physics layers. +\ **RayCast2D** può ignorare alcuni oggetti aggiungendoli a un elenco di eccezioni, facendo in modo che il suoi risultati di rilevamento ignorino :ref:`Area2D` (:ref:`collide_with_areas`) o :ref:`PhysicsBody2D` (:ref:`collide_with_bodies`), o configurando gli strati di fisica. -\ **RayCast2D** calculates intersection every physics frame, and it holds the result until the next physics frame. For an immediate raycast, or if you want to configure a **RayCast2D** multiple times within the same physics frame, use :ref:`force_raycast_update()`. +\ **RayCast2D** calcola l'intersezione a ogni frame di fisica e mantiene il risultato fino al frame di fisica successivo. Per un raycast immediato, o se vuoi configurare un **RayCast2D** più volte all'interno dello stesso frame di fisica, usa :ref:`force_raycast_update()`. -To sweep over a region of 2D space, you can approximate the region with multiple **RayCast2D**\ s or use :ref:`ShapeCast2D`. +Per passare su una regione nello spazio 2D, puoi approssimare la regione con più **RayCast2D** o usare :ref:`ShapeCast2D`. .. rst-class:: classref-introduction-group @@ -179,7 +179,7 @@ Se ``true``, le collisioni saranno riportate. - |void| **set_exclude_parent_body**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_exclude_parent_body**\ (\ ) -If ``true``, this raycast will not report collisions with its parent node. This property only has an effect if the parent node is a :ref:`CollisionObject2D`. See also :ref:`Node.get_parent()` and :ref:`add_exception()`. +Se ``true``, questo raycast non riporterà collisioni con il suo nodo padre. Questa proprietà ha effetto solo se il nodo padre è un :ref:`CollisionObject2D`. Vedi anche :ref:`Node.get_parent()` e :ref:`add_exception()`. .. rst-class:: classref-item-separator @@ -213,7 +213,7 @@ Se ``true``, il raggio rileverà un riscontro se iniziato all'interno di una for - |void| **set_target_position**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_target_position**\ (\ ) -The ray's destination point, relative to this raycast's :ref:`Node2D.position`. +Il punto di destinazione del raggio, relativo alla :ref:`Node2D.position` di questo raycast. .. rst-class:: classref-section-separator @@ -230,7 +230,7 @@ Descrizioni dei metodi |void| **add_exception**\ (\ node\: :ref:`CollisionObject2D`\ ) :ref:`🔗` -Adds a collision exception so the ray does not report collisions with the specified ``node``. +Aggiunge un'eccezione di collisione in modo che il raggio non riporti le collisioni con il nodo ``node``. .. rst-class:: classref-item-separator @@ -280,9 +280,9 @@ Aggiorna immediatamente le informazioni di collisione per il raggio, senza atten :ref:`Object` **get_collider**\ (\ ) |const| :ref:`🔗` -Returns the first object that the ray intersects, or ``null`` if no object is intersecting the ray (i.e. :ref:`is_colliding()` returns ``false``). +Restituisce il primo oggetto che il raggio interseca, oppure ``null`` se nessun oggetto interseca il raggio (ovvero :ref:`is_colliding()` restituisce ``false``). -\ **Note:** This object is not guaranteed to be a :ref:`CollisionObject2D`. For example, if the ray intersects a :ref:`TileMapLayer`, the method will return a :ref:`TileMapLayer` instance. +\ **Nota:** Non è garantito che questo oggetto sia un :ref:`CollisionObject2D`. Ad esempio, se il raggio interseca un :ref:`TileMapLayer`, il metodo restituirà un'istanza di :ref:`TileMapLayer`. .. rst-class:: classref-item-separator @@ -391,7 +391,7 @@ Restituisce se un oggetto interseca il vettore del raggio (considerando la lungh |void| **remove_exception**\ (\ node\: :ref:`CollisionObject2D`\ ) :ref:`🔗` -Removes a collision exception so the ray can report collisions with the specified specified ``node``. +Rimuove un'eccezione di collisione in modo che il raggio possa riportare le collisioni con il nodo ``node``. .. rst-class:: classref-item-separator @@ -403,7 +403,7 @@ Removes a collision exception so the ray can report collisions with the specifie |void| **remove_exception_rid**\ (\ rid\: :ref:`RID`\ ) :ref:`🔗` -Removes a collision exception so the ray can report collisions with the specified :ref:`RID`. +Rimuove un'eccezione di collisione in modo che il raggio possa riportare le collisioni con il :ref:`RID` specificato. .. rst-class:: classref-item-separator diff --git a/classes/it/class_raycast3d.rst b/classes/it/class_raycast3d.rst index b5c8a33c43..511e2dea84 100644 --- a/classes/it/class_raycast3d.rst +++ b/classes/it/class_raycast3d.rst @@ -7,7 +7,7 @@ RayCast3D **Eredita:** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -A ray in 3D space, used to find the first collision object it intersects. +Un raggio nello spazio 3D, utilizzato per trovare il primo oggetto di collisione che interseca. .. rst-class:: classref-introduction-group @@ -225,7 +225,7 @@ Se ``true``, le collisioni saranno riportate. - |void| **set_exclude_parent_body**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_exclude_parent_body**\ (\ ) -If ``true``, this raycast will not report collisions with its parent node. This property only has an effect if the parent node is a :ref:`CollisionObject3D`. See also :ref:`Node.get_parent()` and :ref:`add_exception()`. +Se ``true``, questo raycast non riporterà collisioni con il suo nodo padre. Questa proprietà ha effetto solo se il nodo padre è un :ref:`CollisionObject3D`. Vedi anche :ref:`Node.get_parent()` e :ref:`add_exception()`. .. rst-class:: classref-item-separator @@ -242,7 +242,7 @@ If ``true``, this raycast will not report collisions with its parent node. This - |void| **set_hit_back_faces**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_hit_back_faces_enabled**\ (\ ) -Se ``true``, il raggio colpirà le facce posteriori delle forme di poligoni concave con facce posteriori abilitate o forme di mappa di altezza. +Se ``true``, il raggio colpirà le facce posteriori delle forme di poligoni concave con facce posteriori abilitate o forme di heightmap. .. rst-class:: classref-item-separator @@ -259,7 +259,7 @@ Se ``true``, il raggio colpirà le facce posteriori delle forme di poligoni conc - |void| **set_hit_from_inside**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_hit_from_inside_enabled**\ (\ ) -Se ``true``, il raggio rileverà un riscontro se iniziato all'interno di una forma. In questo caso la normale di collisione sarà ``Vector3(0, 0, 0)``. Non influisce sulle forme senza volume come poligoni concavi o mappe di altezza. +Se ``true``, il raggio rileverà un riscontro se iniziato all'interno di una forma. In questo caso la normale di collisione sarà ``Vector3(0, 0, 0)``. Non influisce sulle forme senza volume come poligoni concavi o heightmap. .. rst-class:: classref-item-separator @@ -276,7 +276,7 @@ Se ``true``, il raggio rileverà un riscontro se iniziato all'interno di una for - |void| **set_target_position**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_target_position**\ (\ ) -The ray's destination point, relative to this raycast's :ref:`Node3D.position`. +Il punto di destinazione del raggio, relativo alla :ref:`Node3D.position` di questo raycast. .. rst-class:: classref-section-separator @@ -293,7 +293,7 @@ Descrizioni dei metodi |void| **add_exception**\ (\ node\: :ref:`CollisionObject3D`\ ) :ref:`🔗` -Adds a collision exception so the ray does not report collisions with the specified ``node``. +Aggiunge un'eccezione di collisione in modo che il raggio non riporti le collisioni con il nodo ``node``. .. rst-class:: classref-item-separator @@ -466,7 +466,7 @@ Restituisce se un oggetto interseca il vettore del raggio (considerando la lungh |void| **remove_exception**\ (\ node\: :ref:`CollisionObject3D`\ ) :ref:`🔗` -Removes a collision exception so the ray can report collisions with the specified ``node``. +Rimuove un'eccezione di collisione in modo che il raggio possa riportare le collisioni con il nodo ``node``. .. rst-class:: classref-item-separator @@ -478,7 +478,7 @@ Removes a collision exception so the ray can report collisions with the specifie |void| **remove_exception_rid**\ (\ rid\: :ref:`RID`\ ) :ref:`🔗` -Removes a collision exception so the ray can report collisions with the specified :ref:`RID`. +Rimuove un'eccezione di collisione in modo che il raggio possa riportare le collisioni con il :ref:`RID` specificato. .. rst-class:: classref-item-separator diff --git a/classes/it/class_rdpipelinemultisamplestate.rst b/classes/it/class_rdpipelinemultisamplestate.rst index 6e680b0be8..7ca0f66868 100644 --- a/classes/it/class_rdpipelinemultisamplestate.rst +++ b/classes/it/class_rdpipelinemultisamplestate.rst @@ -14,7 +14,7 @@ Stato multicampione della pipeline (utilizzato da :ref:`RenderingDevice`. +**RDPipelineMultisampleState** serve per controllare il modo in cui è effettuato l'antialiasing multicampione o supercampione durante il rendering tramite :ref:`RenderingDevice`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_rdshaderspirv.rst b/classes/it/class_rdshaderspirv.rst index dad618fecc..cad1e5152a 100644 --- a/classes/it/class_rdshaderspirv.rst +++ b/classes/it/class_rdshaderspirv.rst @@ -7,16 +7,16 @@ RDShaderSPIRV **Eredita:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -SPIR-V intermediate representation as part of an :ref:`RDShaderFile` (used by :ref:`RenderingDevice`). +Rappresentazione intermedia in SPIR-V, come parte di un :ref:`RDShaderFile` (utilizzato da :ref:`RenderingDevice`). .. rst-class:: classref-introduction-group Descrizione ---------------------- -**RDShaderSPIRV** represents an :ref:`RDShaderFile`'s `SPIR-V `__ code for various shader stages, as well as possible compilation error messages. SPIR-V is a low-level intermediate shader representation. This intermediate representation is not used directly by GPUs for rendering, but it can be compiled into binary shaders that GPUs can understand. Unlike compiled shaders, SPIR-V is portable across GPU models and driver versions. +**RDShaderSPIRV** rappresenta il codice `SPIR-V `__ di un :ref:`RDShaderFile` per le varie fasi di uno shader, nonché possibili messaggi di errore di compilazione. SPIR-V è una rappresentazione intermedia di basso livello per gli shader. Questa rappresentazione intermedia non è utilizzata direttamente dalle GPU per il rendering, ma è possibile compilarla in shader binari che le GPU possono comprendere. A differenza degli shader compilati, SPIR-V è portabile tra modelli di GPU e versioni di driver. -This object is used by :ref:`RenderingDevice`. +Questo oggetto è utilizzato da :ref:`RenderingDevice`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_referencerect.rst b/classes/it/class_referencerect.rst index 23c9eef5fa..3c44419bf0 100644 --- a/classes/it/class_referencerect.rst +++ b/classes/it/class_referencerect.rst @@ -7,14 +7,14 @@ ReferenceRect **Eredita:** :ref:`Control` **<** :ref:`CanvasItem` **<** :ref:`Node` **<** :ref:`Object` -A rectangular box for designing UIs. +Un riferimento rettangolare per progettare le interfacce utente. .. rst-class:: classref-introduction-group Descrizione ---------------------- -A rectangular box that displays only a colored border around its rectangle (see :ref:`Control.get_rect()`). It can be used to visualize the extents of a :ref:`Control` node, for testing purposes. +Un riquadro rettangolare che mostra solo un bordo colorato attorno al suo rettangolo (vedi :ref:`Control.get_rect()`). È utilizzata per visualizzare le estensioni di un :ref:`Control`, a scopi di test. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_reflectionprobe.rst b/classes/it/class_reflectionprobe.rst index 94203fd092..035d7511d8 100644 --- a/classes/it/class_reflectionprobe.rst +++ b/classes/it/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: @@ -17,15 +17,15 @@ Cattura l'ambiente circostante per creare riflessi rapidi e precisi da un punto Descrizione ---------------------- -Captures its surroundings as a cubemap, and stores versions of it with increasing levels of blur to simulate different material roughnesses. +Cattura l'ambiente circostante come una cubemap e ne memorizza versioni con livelli crescenti di sfocatura per simulare diverse rugosità dei materiali. -The **ReflectionProbe** is used to create high-quality reflections at a low performance cost (when :ref:`update_mode` is :ref:`UPDATE_ONCE`). **ReflectionProbe**\ s can be blended together and with the rest of the scene smoothly. **ReflectionProbe**\ s can also be combined with :ref:`VoxelGI`, SDFGI (:ref:`Environment.sdfgi_enabled`) and screen-space reflections (:ref:`Environment.ssr_enabled`) to get more accurate reflections in specific areas. **ReflectionProbe**\ s render all objects within their :ref:`cull_mask`, so updating them can be quite expensive. It is best to update them once with the important static objects and then leave them as-is. +\ **ReflectionProbe** serve per creare riflessi di alta qualità a basso costo sulle prestazioni (quando :ref:`update_mode` è impostato su :ref:`UPDATE_ONCE`). È possibile fondere fluidamente i **ReflectionProbe** tra loro e con il resto della scena. È possibile anche combinare i **ReflectionProbe** con :ref:`VoxelGI`, SDFGI (:ref:`Environment.sdfgi_enabled`) e riflessioni sullo spazio dello schermo (:ref:`Environment.ssr_enabled`) per ottenere riflessi più accurati in aree specifiche. I **ReflectionProbe** renderizzano tutti gli oggetti all'interno della loro :ref:`cull_mask`, quindi aggiornarli può essere piuttosto costoso. È consigliabile aggiornarli una sola volta con gli oggetti statici importanti e poi lasciarli così come sono. -\ **Note:** Unlike :ref:`VoxelGI` and SDFGI, **ReflectionProbe**\ s only source their environment from a :ref:`WorldEnvironment` node. If you specify an :ref:`Environment` resource within a :ref:`Camera3D` node, it will be ignored by the **ReflectionProbe**. This can lead to incorrect lighting within the **ReflectionProbe**. +\ **Nota:** A differenza di :ref:`VoxelGI` e SDFGI, le **ReflectionProbe** ricavano il loro ambiente solo da un nodo :ref:`WorldEnvironment`. Se si specifica una risorsa :ref:`Environment` all'interno di un nodo :ref:`Camera3D`, questa verrà ignorata da **ReflectionProbe**. Ciò può causare un'illuminazione errata all'interno di **ReflectionProbe**. -\ **Note:** When using the Mobile rendering method, only ``8`` reflection probes can be displayed on each mesh resource, while the Compatibility rendering method only supports up to ``2`` reflection probes on each mesh. Attempting to display more than ``8`` reflection probes on a single mesh resource using the Mobile renderer will result in reflection probes flickering in and out as the camera moves, while the Compatibility renderer will not render any additional probes if more than ``2`` reflection probes are being used. +\ **Nota:** Quando si utilizza il metodo di rendering Mobile, è possibile visualizzare solo ``8`` sonde di riflessione su ciascuna risorsa mesh, mentre il metodo di rendering Compatibilità supporta solo fino a ``2`` sonde di riflessione su ciascuna mesh. Tentare di visualizzare più di ``8`` sonde su una singola risorsa mesh tramite il renderer Mobile provocherà uno sfarfallio tra sonde mentre la telecamera si muove, mentre il renderer Compatibilità non renderizzerà alcuna sonda in più se sono utilizzate più di ``2`` sonde. -\ **Note:** When using the Mobile rendering method, reflection probes will only correctly affect meshes whose visibility AABB intersects with the reflection probe's AABB. If using a shader to deform the mesh in a way that makes it go outside its AABB, :ref:`GeometryInstance3D.extra_cull_margin` must be increased on the mesh. Otherwise, the reflection probe may not be visible on the mesh. +\ **Nota:** Quando si utilizza il metodo di rendering Mobile, le sonde di riflessione influenzeranno correttamente solo le mesh il cui AABB di visibilità interseca l'AABB della sonda di riflessione. Se si usa uno shader per deformare la mesh in modo che esca dal suo AABB, è necessario aumentare il valore di :ref:`GeometryInstance3D.extra_cull_margin` sulla mesh. Altrimenti, la sonda di riflessione potrebbe non essere visibile sulla mesh. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_regex.rst b/classes/it/class_regex.rst index 5feb69a1f0..fc7fa779e2 100644 --- a/classes/it/class_regex.rst +++ b/classes/it/class_regex.rst @@ -14,18 +14,18 @@ Classe per la ricerca di modelli nel testo, tramite espressioni regolari. Descrizione ---------------------- -A regular expression (or regex) is a compact language that can be used to recognize strings that follow a specific pattern, such as URLs, email addresses, complete sentences, etc. For example, a regex of ``ab[0-9]`` would find any string that is ``ab`` followed by any number from ``0`` to ``9``. For a more in-depth look, you can easily find various tutorials and detailed explanations on the Internet. +Un'espressione regolare (o regex) è un linguaggio compatto che può essere utilizzato per riconoscere stringhe che seguono uno schema specifico, come URL, indirizzi email, frasi complete, ecc. Ad esempio, un'espressione regolare ``ab[0-9]`` troverebbe qualsiasi stringa che sia ``ab``, seguita da un numero qualsiasi da ``0`` a ``9``. Per un approfondimento, è possibile facilmente trovare vari tutorial e spiegazioni dettagliate su Internet. -To begin, the RegEx object needs to be compiled with the search pattern using :ref:`compile()` before it can be used. +Per iniziare, l'oggetto RegEx deve essere compilato con il pattern di ricerca tramite :ref:`compile()` prima di poterlo utilizzare. :: var regex = RegEx.new() regex.compile("\\w-(\\d+)") -The search pattern must be escaped first for GDScript before it is escaped for the expression. For example, ``compile("\\d+")`` would be read by RegEx as ``\d+``. Similarly, ``compile("\"(?:\\\\.|[^\"])*\"")`` would be read as ``"(?:\\.|[^"])*"``. In GDScript, you can also use raw string literals (r-strings). For example, ``compile(r'"(?:\\.|[^"])*"')`` would be read the same. +Il pattern di ricerca deve essere prima sottoposto a escape per GDScript, prima di essere sottoposto a escape per l'espressione. Ad esempio, ``compile("\\d+")`` sarebbe interpretato da RegEx come ``\d+``. Analogamente, ``compile("\"(?:\\\\.|[^\"])*\"")`` sarebbe interpretato come ``"(?:\\.|[^"])*"``. In GDScript, è anche possibile utilizzare stringhe letterali non elaborate (r-string). Ad esempio, ``compile(r'"(?:\\.|[^"])*"')`` sarebbe interpretato allo stesso modo. -Using :ref:`search()`, you can find the pattern within the given text. If a pattern is found, :ref:`RegExMatch` is returned and you can retrieve details of the results using methods such as :ref:`RegExMatch.get_string()` and :ref:`RegExMatch.get_start()`. +Attraverso :ref:`search()`, è possibile trovare il pattern all'interno del testo specificato. Se viene trovato un pattern, viene restituito :ref:`RegExMatch` ed è possibile recuperare i dettagli dei risultati tramite metodi come :ref:`RegExMatch.get_string()` e :ref:`RegExMatch.get_start()`. :: @@ -33,11 +33,11 @@ Using :ref:`search()`, you can find the pattern withi regex.compile("\\w-(\\d+)") var result = regex.search("abc n-0123") if result: - print(result.get_string()) # Prints "n-0123" + print(result.get_string()) # Stampa"n-0123" -The results of capturing groups ``()`` can be retrieved by passing the group number to the various methods in :ref:`RegExMatch`. Group 0 is the default and will always refer to the entire pattern. In the above example, calling ``result.get_string(1)`` would give you ``0123``. +È possibile recuperare i risultati dell'acquisizione di gruppi ``()`` passando il numero del gruppo ai vari metodi in :ref:`RegExMatch`. Il gruppo 0 è quello predefinito e farà sempre riferimento all'intero pattern. Nell'esempio precedente, la chiamata a ``result.get_string(1)`` restituirebbe ``0123``. -This version of RegEx also supports named capturing groups, and the names can be used to retrieve the results. If two or more groups have the same name, the name would only refer to the first one with a match. +Questa versione di RegEx supporta anche l'acquisizione di gruppi con nome, i cui nomi possono essere utilizzati per recuperare i risultati. Se due o più gruppi hanno lo stesso nome, il nome si riferirà solo al primo corrispondente. :: @@ -45,30 +45,30 @@ This version of RegEx also supports named capturing groups, and the names can be regex.compile("d(?[0-9]+)|x(?[0-9a-f]+)") var result = regex.search("the number is x2f") if result: - print(result.get_string("digit")) # Prints "2f" + print(result.get_string("digit")) # Stampa "2f" -If you need to process multiple results, :ref:`search_all()` generates a list of all non-overlapping results. This can be combined with a ``for`` loop for convenience. +Se è necessario elaborare più risultati, :ref:`search_all()` genera un elenco di tutti i risultati non sovrapposti. Per comodità, è possibile combinare questo metodo con un ciclo ``for``. :: - # Prints "01 03 0 3f 42" + # Stampa "01 03 0 3f 42" for result in regex.search_all("d01, d03, d0c, x3f and x42"): print(result.get_string("digit")) -\ **Example:** Split a string using a RegEx: +\ **Esempio:** Dividi una stringa tramite un'espressione regolare: :: var regex = RegEx.new() - regex.compile("\\S+") # Negated whitespace character class. - var results = [] - for result in regex.search_all("One Two \n\tThree"): - results.push_back(result.get_string()) - print(results) # Prints ["One", "Two", "Three"] + regex.compile("\\S+") # Classe negata di caratteri di spaziatura. + var risultati = [] + for result in regex.search_all("Uno Due \n\tTre"): + risultati.push_back(result.get_string()) + print(results) # Stampa ["Uno", "Due", "Tre"] -\ **Note:** Godot's regex implementation is based on the `PCRE2 `__ library. You can view the full pattern reference `here `__. +\ **Nota:** L'implementazione delle espressioni regolari di Godot si basa sulla libreria `PCRE2 `__. È possibile visualizzare il riferimento completo ai pattern `qui `__. -\ **Tip:** You can use `Regexr `__ to test regular expressions online. +\ **Suggerimento:** È possibile usare `Regexr `__ per testare online le espressioni regolari. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_renderingdevice.rst b/classes/it/class_renderingdevice.rst index 290b58d308..cad4cc9fb8 100644 --- a/classes/it/class_renderingdevice.rst +++ b/classes/it/class_renderingdevice.rst @@ -354,13 +354,13 @@ enum **DriverResource**: :ref:`🔗` :ref:`DriverResource` **DRIVER_RESOURCE_LOGICAL_DEVICE** = ``0`` -Specific device object based on a physical device (``rid`` parameter is ignored). +Oggetto dispositivo specifico basato su un dispositivo fisico (il parametro ``rid`` è ignorato). -- Vulkan: Vulkan device driver resource (``VkDevice``). +- Vulkan: Risorsa driver dispositivo Vulkan (``VkDevice``). -- D3D12: D3D12 device driver resource (``ID3D12Device``). +- D3D12: Risorsa driver dispositivo D3D12 (``ID3D12Device``). -- Metal: Metal device driver resource (``MTLDevice``). +- Metal: Risorsa driver dispositivo Metal (``MTLDevice``). .. _class_RenderingDevice_constant_DRIVER_RESOURCE_PHYSICAL_DEVICE: @@ -368,7 +368,7 @@ Specific device object based on a physical device (``rid`` parameter is ignored) :ref:`DriverResource` **DRIVER_RESOURCE_PHYSICAL_DEVICE** = ``1`` -Physical device the specific logical device is based on (``rid`` parameter is ignored). +Dispositivo fisico su cui si basa il dispositivo logico specifico (il parametro ``rid`` è ignorato). - Vulkan: ``VkPhysicalDevice``. @@ -380,7 +380,7 @@ Physical device the specific logical device is based on (``rid`` parameter is ig :ref:`DriverResource` **DRIVER_RESOURCE_TOPMOST_OBJECT** = ``2`` -Top-most graphics API entry object (``rid`` parameter is ignored). +Oggetto di ingresso di livello superiore nell'API grafica (il parametro ``rid`` è ignorato). - Vulkan: ``VkInstance``. @@ -390,7 +390,7 @@ Top-most graphics API entry object (``rid`` parameter is ignored). :ref:`DriverResource` **DRIVER_RESOURCE_COMMAND_QUEUE** = ``3`` -The main graphics-compute command queue (``rid`` parameter is ignored). +La coda principale dei comandi di elaborazione grafica (il parametro ``rid`` è ignorato). - Vulkan: ``VkQueue``. @@ -402,9 +402,9 @@ The main graphics-compute command queue (``rid`` parameter is ignored). :ref:`DriverResource` **DRIVER_RESOURCE_QUEUE_FAMILY** = ``4`` -The specific family the main queue belongs to (``rid`` parameter is ignored). +La famiglia specifica a cui appartiene la coda principale (il parametro ``rid`` è ignorato). -- Vulkan: The queue family index, a ``uint32_t``. +- Vulkan: l'indice della famiglia di code, un ``uint32_t``. .. _class_RenderingDevice_constant_DRIVER_RESOURCE_TEXTURE: @@ -420,11 +420,11 @@ The specific family the main queue belongs to (``rid`` parameter is ignored). :ref:`DriverResource` **DRIVER_RESOURCE_TEXTURE_VIEW** = ``6`` -The view of an owned or shared texture. +La vista di una texture posseduta o condivisa. - Vulkan: ``VkImageView``. -- D3D12: ``ID3D12Resource``. +- D3D12: ``VkImageView``. .. _class_RenderingDevice_constant_DRIVER_RESOURCE_TEXTURE_DATA_FORMAT: @@ -432,7 +432,7 @@ The view of an owned or shared texture. :ref:`DriverResource` **DRIVER_RESOURCE_TEXTURE_DATA_FORMAT** = ``7`` -The native id of the data format of the texture. +L'ID nativo del formato dati della texture. - Vulkan: ``VkFormat``. @@ -460,7 +460,7 @@ The native id of the data format of the texture. :ref:`DriverResource` **DRIVER_RESOURCE_BUFFER** = ``10`` -Buffer of any kind of (storage, vertex, etc.). +Buffer di qualsiasi tipo (memorizzazione, vertici, ecc.). - Vulkan: ``VkBuffer``. @@ -2802,7 +2802,7 @@ La texture può essere usata come allegato di profondità/stencil in un framebuf :ref:`TextureUsageBits` **TEXTURE_USAGE_STORAGE_BIT** = ``8`` -Texture can be used as a `storage image `__. +La texture può essere usata come `immagine di archiviazione `__. .. _class_RenderingDevice_constant_TEXTURE_USAGE_STORAGE_ATOMIC_BIT: @@ -2810,7 +2810,7 @@ Texture can be used as a `storage image ` **TEXTURE_USAGE_STORAGE_ATOMIC_BIT** = ``16`` -Texture can be used as a `storage image `__ with support for atomic operations. +La texture può essere usata come `immagine di archiviazione `__ con supporto per operazioni atomiche. .. _class_RenderingDevice_constant_TEXTURE_USAGE_CPU_READ_BIT: @@ -3068,7 +3068,7 @@ Restituisce un colore nero trasparente a virgola mobile quando si campiona al di :ref:`SamplerBorderColor` **SAMPLER_BORDER_COLOR_INT_TRANSPARENT_BLACK** = ``1`` -Return an integer transparent black color when sampling outside the ``[0.0, 1.0]`` range. Only effective if the sampler repeat mode is :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. +Restituisce un colore nero trasparente intero quando si campiona al di fuori dell'intervallo ``[0.0, 1.0]``. Efficace solo se la modalità di ripetizione del campionatore è :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. .. _class_RenderingDevice_constant_SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_BLACK: @@ -3084,7 +3084,7 @@ Restituisce un colore nero opaco a virgola mobile quando si campiona al di fuori :ref:`SamplerBorderColor` **SAMPLER_BORDER_COLOR_INT_OPAQUE_BLACK** = ``3`` -Return an integer opaque black color when sampling outside the ``[0.0, 1.0]`` range. Only effective if the sampler repeat mode is :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. +Restituisce un colore nero opaco intero quando si campiona al di fuori dell'intervallo ``[0.0, 1.0]``. Efficace solo se la modalità di ripetizione del campionatore è :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. .. _class_RenderingDevice_constant_SAMPLER_BORDER_COLOR_FLOAT_OPAQUE_WHITE: @@ -3100,7 +3100,7 @@ Restituisce un colore bianco opaco a virgola mobile quando si campiona al di fuo :ref:`SamplerBorderColor` **SAMPLER_BORDER_COLOR_INT_OPAQUE_WHITE** = ``5`` -Return an integer opaque white color when sampling outside the ``[0.0, 1.0]`` range. Only effective if the sampler repeat mode is :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. +Restituisce un colore bianco opaco intero quando si campiona al di fuori dell'intervallo ``[0.0, 1.0]``. Efficace solo se la modalità di ripetizione del campionatore è :ref:`SAMPLER_REPEAT_MODE_CLAMP_TO_BORDER`. .. _class_RenderingDevice_constant_SAMPLER_BORDER_COLOR_MAX: @@ -4455,7 +4455,7 @@ enum **Features**: :ref:`🔗` :ref:`Features` **SUPPORTS_METALFX_SPATIAL** = ``3`` -Support for MetalFX spatial upscaling. +Supporto per lo spatial upscaling di MetalFX. .. _class_RenderingDevice_constant_SUPPORTS_METALFX_TEMPORAL: @@ -4463,7 +4463,7 @@ Support for MetalFX spatial upscaling. :ref:`Features` **SUPPORTS_METALFX_TEMPORAL** = ``4`` -Support for MetalFX temporal upscaling. +Supporto per il temporal upscaling di MetalFX. .. _class_RenderingDevice_constant_SUPPORTS_BUFFER_DEVICE_ADDRESS: @@ -4479,7 +4479,7 @@ Features support for buffer device address extension. :ref:`Features` **SUPPORTS_IMAGE_ATOMIC_32_BIT** = ``7`` -Support for 32-bit image atomic operations. +Supporto per operazioni atomiche su immagini a 32 bit. .. rst-class:: classref-item-separator @@ -4857,7 +4857,7 @@ enum **BreadcrumbMarker**: :ref:`🔗` :ref:`BreadcrumbMarker` **NONE** = ``0`` -No breadcrumb marker will be added. +Non verrà aggiunto alcun indicatore di breadcrumb. .. _class_RenderingDevice_constant_REFLECTION_PROBES: @@ -4865,7 +4865,7 @@ No breadcrumb marker will be added. :ref:`BreadcrumbMarker` **REFLECTION_PROBES** = ``65536`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"REFLECTION_PROBES"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"REFLECTION_PROBES"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_SKY_PASS: @@ -4873,7 +4873,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"R :ref:`BreadcrumbMarker` **SKY_PASS** = ``131072`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"SKY_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"SKY_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_LIGHTMAPPER_PASS: @@ -4881,7 +4881,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"S :ref:`BreadcrumbMarker` **LIGHTMAPPER_PASS** = ``196608`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"LIGHTMAPPER_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"LIGHTMAPPER_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_SHADOW_PASS_DIRECTIONAL: @@ -4889,7 +4889,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"L :ref:`BreadcrumbMarker` **SHADOW_PASS_DIRECTIONAL** = ``262144`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"SHADOW_PASS_DIRECTIONAL"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"SHADOW_PASS_DIRECTIONAL"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_SHADOW_PASS_CUBE: @@ -4897,7 +4897,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"S :ref:`BreadcrumbMarker` **SHADOW_PASS_CUBE** = ``327680`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"SHADOW_PASS_CUBE"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"SHADOW_PASS_CUBE"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_OPAQUE_PASS: @@ -4905,7 +4905,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"S :ref:`BreadcrumbMarker` **OPAQUE_PASS** = ``393216`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"OPAQUE_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"OPAQUE_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_ALPHA_PASS: @@ -4913,7 +4913,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"O :ref:`BreadcrumbMarker` **ALPHA_PASS** = ``458752`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"ALPHA_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"ALPHA_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_TRANSPARENT_PASS: @@ -4921,7 +4921,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"A :ref:`BreadcrumbMarker` **TRANSPARENT_PASS** = ``524288`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"TRANSPARENT_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"TRANSPARENT_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_POST_PROCESSING_PASS: @@ -4929,7 +4929,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"T :ref:`BreadcrumbMarker` **POST_PROCESSING_PASS** = ``589824`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"POST_PROCESSING_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"POST_PROCESSING_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_BLIT_PASS: @@ -4937,7 +4937,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"P :ref:`BreadcrumbMarker` **BLIT_PASS** = ``655360`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"BLIT_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"BLIT_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_UI_PASS: @@ -4945,7 +4945,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"B :ref:`BreadcrumbMarker` **UI_PASS** = ``720896`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"UI_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"UI_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. _class_RenderingDevice_constant_DEBUG_PASS: @@ -4953,7 +4953,7 @@ During a GPU crash in dev or debug mode, Godot's error message will include ``"U :ref:`BreadcrumbMarker` **DEBUG_PASS** = ``786432`` -During a GPU crash in dev or debug mode, Godot's error message will include ``"DEBUG_PASS"`` for added context as to when the crash occurred. +Durante un arresto anomalo della GPU in modalità dev o debug, il messaggio di errore di Godot includerà ``"DEBUG_PASS"`` per ulteriore contesto sul momento in cui si è verificato l'arresto. .. rst-class:: classref-item-separator @@ -6167,7 +6167,7 @@ Questo è utilizzato solo da Vulkan nelle build di debug e può restituire 0 qua :ref:`int` **get_driver_resource**\ (\ resource\: :ref:`DriverResource`, rid\: :ref:`RID`, index\: :ref:`int`\ ) :ref:`🔗` -Returns the unique identifier of the driver ``resource`` for the specified ``rid``. Some driver resource types ignore the specified ``rid``. ``index`` is always ignored but must be specified anyway. +Restituisce l'identificatore univoco della ``resource`` del driver per il ``rid`` specificato. Alcuni tipi di risorse driver ignorano il ``rid`` specificato. ``index`` è sempre ignorato ma deve essere specificato comunque. .. rst-class:: classref-item-separator @@ -6447,9 +6447,9 @@ Compila uno shader binario da ``spirv_data`` e restituisce i dati binari compila :ref:`RDShaderSPIRV` **shader_compile_spirv_from_source**\ (\ shader_source\: :ref:`RDShaderSource`, allow_cache\: :ref:`bool` = true\ ) :ref:`🔗` -Compiles a SPIR-V from the shader source code in ``shader_source`` and returns the SPIR-V as an :ref:`RDShaderSPIRV`. This intermediate language shader is portable across different GPU models and driver versions, but cannot be run directly by GPUs until compiled into a binary shader using :ref:`shader_compile_binary_from_spirv()`. +Compila uno SPIR-V dal codice sorgente dello shader in ``shader_source`` e restituisce lo SPIR-V come :ref:`RDShaderSPIRV`. Questo shader di linguaggio intermedio è portabile su diversi modelli di GPU e versioni di driver, ma non può essere eseguito direttamente dalle GPU finché non viene compilato in uno shader binario attraverso :ref:`shader_compile_binary_from_spirv()`. -If ``allow_cache`` is ``true``, make use of the shader cache generated by Godot. This avoids a potentially lengthy shader compilation step if the shader is already in cache. If ``allow_cache`` is ``false``, Godot's shader cache is ignored and the shader will always be recompiled. +Se ``allow_cache`` è ``true``, utilizza la cache degli shader generata da Godot. Ciò evita un passaggio potenzialmente lungo per compilare lo shader, se lo shader è già nella cache. Se ``allow_cache`` è ``false``, la cache degli shader di Godot è ignorata e lo shader sarà sempre ricompilato. .. rst-class:: classref-item-separator @@ -6527,9 +6527,9 @@ Una volta finito con il RID, si consiglia di liberarlo tramite il metodo :ref:`f |void| **submit**\ (\ ) :ref:`🔗` -Pushes the frame setup and draw command buffers then marks the local device as currently processing (which allows calling :ref:`sync()`). +Inserisce i buffer di configurazione e di comando di disegno del frame, quindi contrassegna il dispositivo locale come in fase di elaborazione (il che consente di chiamare :ref:`sync()`). -\ **Note:** Only available in local RenderingDevices. +\ **Nota:** Disponibile solo nei RenderingDevice locali. .. rst-class:: classref-item-separator @@ -6607,13 +6607,13 @@ Copia la texture ``from_texture`` in ``to_texture`` con le coordinate specificat :ref:`RID` **texture_create**\ (\ format\: :ref:`RDTextureFormat`, view\: :ref:`RDTextureView`, data\: :ref:`Array`\[:ref:`PackedByteArray`\] = []\ ) :ref:`🔗` -Creates a new texture. It can be accessed with the RID that is returned. +Crea una nuova texture. È possibile accedervi con il RID restituito. -Once finished with your RID, you will want to free the RID using the RenderingDevice's :ref:`free_rid()` method. +Una volta finito con il RID, si consiglia di liberarlo tramite il metodo :ref:`free_rid()` del RenderingServer. -\ **Note:** ``data`` takes an :ref:`Array` of :ref:`PackedByteArray`\ s. For :ref:`TEXTURE_TYPE_1D`, :ref:`TEXTURE_TYPE_2D`, and :ref:`TEXTURE_TYPE_3D` types, this array should only have one element, a :ref:`PackedByteArray` containing all the data for the texture. For ``_ARRAY`` and ``_CUBE`` types, the length should be the same as the number of :ref:`RDTextureFormat.array_layers` in ``format``. +\ **Nota:** ``data`` accetta un :ref:`Array` di :ref:`PackedByteArray`. Per i tipi :ref:`TEXTURE_TYPE_1D`, :ref:`TEXTURE_TYPE_2D` e :ref:`TEXTURE_TYPE_3D`, questo array dovrebbe avere un solo elemento, un :ref:`PackedByteArray` contenente tutti i dati per la texture. Per i tipi ``_ARRAY`` e ``_CUBE``, la lunghezza dovrebbe essere uguale al numero di :ref:`RDTextureFormat.array_layers` in ``format``. -\ **Note:** Not to be confused with :ref:`RenderingServer.texture_2d_create()`, which creates the Godot-specific :ref:`Texture2D` resource as opposed to the graphics API's own texture type. +\ **Nota:** Da non confondere con :ref:`RenderingServer.texture_2d_create()`, che crea la risorsa :ref:`Texture2D` specifica di Godot a differenza del tipo texture dell'API grafica. .. rst-class:: classref-item-separator @@ -6625,7 +6625,7 @@ Once finished with your RID, you will want to free the RID using the RenderingDe :ref:`RID` **texture_create_from_extension**\ (\ type\: :ref:`TextureType`, format\: :ref:`DataFormat`, samples\: :ref:`TextureSamples`, usage_flags\: |bitfield|\[:ref:`TextureUsageBits`\], image\: :ref:`int`, width\: :ref:`int`, height\: :ref:`int`, depth\: :ref:`int`, layers\: :ref:`int`, mipmaps\: :ref:`int` = 1\ ) :ref:`🔗` -Returns an RID for an existing ``image`` (``VkImage``) with the given ``type``, ``format``, ``samples``, ``usage_flags``, ``width``, ``height``, ``depth``, ``layers``, and ``mipmaps``. This can be used to allow Godot to render onto foreign images. +Restituisce un RID per un'immagine ``image`` esistente (``VkImage``) con il tipo ``type``, il formato ``format``, i campioni ``samples``, i flag d'utilizzo ``usage_flags``, la larghezza ``width``, l'altezza ``height``, la profondità ``depth``, i livelli ``layers`` e le mipmap ``mipmaps`` specificati. Si può utilizzare per consentire a Godot di renderizzare su immagini esterne. .. rst-class:: classref-item-separator @@ -6649,11 +6649,11 @@ Crea una texture condivisa utilizzando la vista ``view`` e le informazioni sulla :ref:`RID` **texture_create_shared_from_slice**\ (\ view\: :ref:`RDTextureView`, with_texture\: :ref:`RID`, layer\: :ref:`int`, mipmap\: :ref:`int`, mipmaps\: :ref:`int` = 1, slice_type\: :ref:`TextureSliceType` = 0\ ) :ref:`🔗` -Creates a shared texture using the specified ``view`` and the texture information from ``with_texture``'s ``layer`` and ``mipmap``. The number of included mipmaps from the original texture can be controlled using the ``mipmaps`` parameter. Only relevant for textures with multiple layers, such as 3D textures, texture arrays and cubemaps. For single-layer textures, use :ref:`texture_create_shared()`. +Crea una texture condivisa utilizzando la vista ``view`` e le informazioni sulla texture da ``with_texture`` con il livello ``layer`` e la mipmap ``mipmap``. È possibile controllare il numero di mipmap incluse dalla texture originale tramite il parametro ``mipmaps``. Rilevante solo per texture con più livelli, come texture 3D, array di texture e cubemap. Per texture con un singolo livello, usa :ref:`texture_create_shared()`. -For 2D textures (which only have one layer), ``layer`` must be ``0``. +Per texture 2D (che hanno un solo livello), ``layer`` deve essere ``0``. -\ **Note:** Layer slicing is only supported for 2D texture arrays, not 3D textures or cubemaps. +\ **Nota:** Il layer slicing è supportato solo per array di texture 2D, non per texture 3D o cubemap. .. rst-class:: classref-item-separator @@ -6665,13 +6665,13 @@ For 2D textures (which only have one layer), ``layer`` must be ``0``. :ref:`PackedByteArray` **texture_get_data**\ (\ texture\: :ref:`RID`, layer\: :ref:`int`\ ) :ref:`🔗` -Returns the ``texture`` data for the specified ``layer`` as raw binary data. For 2D textures (which only have one layer), ``layer`` must be ``0``. +Restituisce i dati della ``texture`` per il livello ``layer`` come dati binari grezzi. Per le texture 2D (che hanno un solo livello), ``layer`` deve essere ``0``. -\ **Note:** ``texture`` can't be retrieved while a draw list that uses it as part of a framebuffer is being created. Ensure the draw list is finalized (and that the color/depth texture using it is not set to :ref:`FINAL_ACTION_CONTINUE`) to retrieve this texture. Otherwise, an error is printed and an empty :ref:`PackedByteArray` is returned. +\ **Nota:** Non è possibile recuperare la ``texture`` mentre viene creata una lista di disegno che la utilizza come parte di un framebuffer. Assicurati che la lista di disegno sia finalizzata (e che la texture colore/profondità che la usa non sia impostata su :ref:`FINAL_ACTION_CONTINUE`) per recuperare questa texture. Altrimenti, viene stampato un errore e viene restituito un :ref:`PackedByteArray` vuoto. -\ **Note:** ``texture`` requires the :ref:`TEXTURE_USAGE_CAN_COPY_FROM_BIT` to be retrieved. Otherwise, an error is printed and an empty :ref:`PackedByteArray` is returned. +\ **Nota:** ``texture`` richiede che sia recuperato :ref:`TEXTURE_USAGE_CAN_COPY_FROM_BIT`. Altrimenti, viene stampato un errore e viene restituito un :ref:`PackedByteArray` vuoto. -\ **Note:** This method will block the GPU from working until the data is retrieved. Refer to :ref:`texture_get_data_async()` for an alternative that returns the data in more performant way. +\ **Nota:** Questo metodo impedirà alla GPU di funzionare finché i dati non vengono recuperati. Fare riferimento a :ref:`texture_get_data_async()` per un'alternativa che restituisce i dati in modo più performante. .. rst-class:: classref-item-separator @@ -6872,7 +6872,7 @@ Una volta finito con il RID, si consiglia di liberarlo tramite il metodo :ref:`f :ref:`bool` **uniform_set_is_valid**\ (\ uniform_set\: :ref:`RID`\ ) :ref:`🔗` -Checks if the ``uniform_set`` is valid, i.e. is owned. +Verifica se ``uniform_set`` è valido, ovvero se qualcosa lo possiede. .. rst-class:: classref-item-separator diff --git a/classes/it/class_renderingserver.rst b/classes/it/class_renderingserver.rst index 868c77bf39..83aca7cb29 100644 --- a/classes/it/class_renderingserver.rst +++ b/classes/it/class_renderingserver.rst @@ -1711,7 +1711,7 @@ Spostamento di bit del primo flag di compressione. I flag di compressione devono :ref:`ArrayFormat` **ARRAY_FLAG_USE_2D_VERTICES** = ``33554432`` -Flag utilizzato per contrassegnare che l'array contiene vertici 2D. +Flag usato per indicare che l'array contiene vertici 2D. .. _class_RenderingServer_constant_ARRAY_FLAG_USE_DYNAMIC_UPDATE: @@ -1719,7 +1719,7 @@ Flag utilizzato per contrassegnare che l'array contiene vertici 2D. :ref:`ArrayFormat` **ARRAY_FLAG_USE_DYNAMIC_UPDATE** = ``67108864`` -Flag used to mark that the mesh data will use ``GL_DYNAMIC_DRAW`` on GLES. Unused on Vulkan. +Flag usato per indicare che i dati della mesh utilizzeranno ``GL_DYNAMIC_DRAW`` su GLES. Non usato su Vulkan. .. _class_RenderingServer_constant_ARRAY_FLAG_USE_8_BONE_WEIGHTS: @@ -1743,7 +1743,7 @@ Flag utilizzato per indicare che la mesh non ha un array di vertici e che invece :ref:`ArrayFormat` **ARRAY_FLAG_COMPRESS_ATTRIBUTES** = ``536870912`` -Flag utilizzato per contrassegnare che una mesh sta utilizzando attributi compressi (vertici, normali, tangenti, UV). Quando questa forma di compressione è abilitata, le posizioni dei vertici saranno compresse in un attributo RGBA16UNORM e ridimensionate nello shader dei vertici. La normale e la tangente saranno compresse in un RG16UNORM che rappresenta un asse e un float a 16 bit memorizzato nel canale A del vertice. Gli UV utilizzeranno float normalizzati a 16 bit anziché float con segno a 32 bit completi. Quando si utilizza questa modalità di compressione, è necessario utilizzare vertici, normali e tangenti o solo vertici. Non è possibile utilizzare normali senza tangenti. Gli importatori abiliteranno automaticamente questa compressione se possibile. +Flag usato per indicare che una mesh sta usando attributi compressi (vertici, normali, tangenti, UV). Quando questa forma di compressione è abilitata, le posizioni dei vertici saranno compresse in un attributo RGBA16UNORM e ridimensionate nello shader dei vertici. La normale e la tangente saranno compresse in un RG16UNORM che rappresenta un asse e un float a 16 bit memorizzato nel canale A del vertice. Gli UV utilizzeranno float normalizzati a 16 bit anziché float con segno a 32 bit completi. Quando si utilizza questa modalità di compressione, è necessario utilizzare vertici, normali e tangenti o solo vertici. Non è possibile utilizzare normali senza tangenti. Gli importatori abiliteranno automaticamente questa compressione se possibile. .. _class_RenderingServer_constant_ARRAY_FLAG_FORMAT_VERSION_BASE: @@ -3389,7 +3389,7 @@ Usa un antialiasing approssimativo veloce. FXAA è un metodo di antialiasing spa :ref:`ViewportScreenSpaceAA` **VIEWPORT_SCREEN_SPACE_AA_SMAA** = ``2`` -Use subpixel morphological antialiasing. SMAA may produce clearer results than FXAA, but at a slightly higher performance cost. +Utilizza l'antialiasing morfologico subpixel. SMAA può produrre risultati più nitidi di FXAA, ma con un costo in termini di prestazioni leggermente superiore. .. _class_RenderingServer_constant_VIEWPORT_SCREEN_SPACE_AA_MAX: @@ -3587,9 +3587,9 @@ Al posto della scena regolare viene disegnato il buffer delle normali, in modo d :ref:`ViewportDebugDraw` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_ALBEDO** = ``6`` -Objects are displayed with only the albedo value from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il valore di albedo dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_RenderingServer_constant_VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING: @@ -3597,9 +3597,9 @@ Objects are displayed with only the albedo value from :ref:`VoxelGI` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_LIGHTING** = ``7`` -Objects are displayed with only the lighting value from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il valore di illuminazione dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_RenderingServer_constant_VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION: @@ -3607,9 +3607,9 @@ Objects are displayed with only the lighting value from :ref:`VoxelGI` **VIEWPORT_DEBUG_DRAW_VOXEL_GI_EMISSION** = ``8`` -Objects are displayed with only the emission color from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il colore di emissione dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_RenderingServer_constant_VIEWPORT_DEBUG_DRAW_SHADOW_ATLAS: @@ -3709,9 +3709,9 @@ Disegna i dati delle sonde SDFGI. Questa è la struttura dati utilizzata per dar :ref:`ViewportDebugDraw` **VIEWPORT_DEBUG_DRAW_GI_BUFFER** = ``18`` -Draws the global illumination buffer from :ref:`VoxelGI` or SDFGI. Requires :ref:`VoxelGI` (at least one visible baked VoxelGI node) or SDFGI (:ref:`Environment.sdfgi_enabled`) to be enabled to have a visible effect. +Disegna il buffer dell'illuminazione globale da :ref:`VoxelGI` o SDFGI. Richiede che :ref:`VoxelGI` (almeno un nodo VoxelGI elaborato visibile) o SDFGI (:ref:`Environment.sdfgi_enabled`) sia abilitato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_RenderingServer_constant_VIEWPORT_DEBUG_DRAW_DISABLE_LOD: @@ -5145,7 +5145,7 @@ enum **NinePatchAxisMode**: :ref:`🔗` :ref:`NinePatchAxisMode` **NINE_PATCH_STRETCH** = ``0`` -Il nove-sezioni è esteso dove necessario. +Il nove-sezioni è stirato dove necessario. .. _class_RenderingServer_constant_NINE_PATCH_TILE: @@ -5153,7 +5153,7 @@ Il nove-sezioni è esteso dove necessario. :ref:`NinePatchAxisMode` **NINE_PATCH_TILE** = ``1`` -Il nove-toppe è riempito con piastrelle ripetute dove necessario. +Il nove-sezioni è riempito con piastrelle ripetute dove necessario. .. _class_RenderingServer_constant_NINE_PATCH_TILE_FIT: @@ -5161,7 +5161,7 @@ Il nove-toppe è riempito con piastrelle ripetute dove necessario. :ref:`NinePatchAxisMode` **NINE_PATCH_TILE_FIT** = ``2`` -Il nove-toppe è riempito con piastrelle ripetute dove necessario, e le estende un po' se necessario. +Il nove-sezioni è riempito con piastrelle ripetute dove necessario, e le stira un po' se necessario. .. rst-class:: classref-item-separator @@ -5203,9 +5203,9 @@ Il filtro della texture fonde tra i 4 pixel più vicini. Ciò rende la texture l :ref:`CanvasItemTextureFilter` **CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS** = ``3`` -The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look pixelated from up close, and smooth from a distance. +Il filtro della texture legge dal pixel più vicino e lo fonde tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture pixelata da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_RenderingServer_constant_CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS: @@ -5213,9 +5213,9 @@ Use this for non-pixel art textures that may be viewed at a low scale (e.g. due :ref:`CanvasItemTextureFilter` **CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS** = ``4`` -The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look smooth from up close, and smooth from a distance. +Il filtro della texture fonde tra i 4 pixel più vicini e tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture liscia da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_RenderingServer_constant_CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS_ANISOTROPIC: @@ -5717,7 +5717,7 @@ Tipo campionatore di cubemap per un parametro di shader globale (``global unifor :ref:`GlobalShaderParameterType` **GLOBAL_VAR_TYPE_SAMPLEREXT** = ``28`` -External sampler global shader parameter (``global uniform samplerExternalOES ...``). Exposed as an :ref:`ExternalTexture` in the editor UI. +Tipo campionatore esterno per un parametro di shader globale (``global uniform samplerExternalOES ...``). Esposto come :ref:`ExternalTexture` nell'interfaccia utente dell'editor. .. _class_RenderingServer_constant_GLOBAL_VAR_TYPE_MAX: @@ -5807,7 +5807,7 @@ Numero di compilazioni delle pipeline che sono state attivate caricando le mesh. :ref:`RenderingInfo` **RENDERING_INFO_PIPELINE_COMPILATIONS_SURFACE** = ``8`` -Number of pipeline compilations that were triggered by building the surface cache before rendering the scene. These compilations will show up as a stutter when loading a scene the first time a user runs the game and the pipeline is required. +Numero di compilazioni delle pipeline che sono state attivate creando la cache delle superfici prima di renderizzare la scena. Queste compilazioni appariranno come uno stutter quando viene caricata una scena la prima volta che un utente esegue il gioco e la pipeline viene richiesta. .. _class_RenderingServer_constant_RENDERING_INFO_PIPELINE_COMPILATIONS_DRAW: @@ -6137,7 +6137,7 @@ Prepara i dati dei materiali della Mesh passati nel parametro ``base`` con sosti |void| **call_on_render_thread**\ (\ callable\: :ref:`Callable`\ ) :ref:`🔗` -As the RenderingServer actual logic may run on a separate thread, accessing its internals from the main (or any other) thread will result in errors. To make it easier to run code that can safely access the rendering internals (such as :ref:`RenderingDevice` and similar RD classes), push a callable via this function so it will be executed on the render thread. +Poiché è possibile eseguire la logica effettiva del RenderingServer su un thread separato, l'accesso ai suoi componenti interni dal thread principale (o da qualsiasi altro) causerà errori. Per semplificare l'esecuzione di codice che può accedere in modo sicuro ai componenti interni di rendering (come :ref:`RenderingDevice` e classi RD simili), passare un chiamabile attraverso questa funzione affinché sia eseguito sul thread di rendering. .. rst-class:: classref-item-separator @@ -7877,7 +7877,7 @@ Imposta la qualità del filtro per le ombre delle luci direzionali in 3D su ``qu :ref:`Image` **environment_bake_panorama**\ (\ environment\: :ref:`RID`, bake_irradiance\: :ref:`bool`, size\: :ref:`Vector2i`\ ) :ref:`🔗` -Genera e restituisce un':ref:`Image` contenente la mappa di radianza per il cielo dell'ambiente con il RID ``environment``. Supporta i materiali integrati di cielo e gli shader personalizzati di cielo. Se ``bake_irradiance`` è ``true``, viene salvata la mappa di irradianza invece di radianza. La mappa di radianza è utilizzata per renderizzare la luce riflessa, mentre la mappa di irradianza è utilizzata per renderizzare la luce ambientale. Vedi anche :ref:`sky_bake_panorama()`. +Genera e restituisce un':ref:`Image` contenente la mappa di radianza per il cielo dell'ambiente con il RID ``environment``. Supporta i materiali integrati di cielo e gli shader personalizzati di cielo. Se ``bake_irradiance`` è ``true``, viene salvata la mappa di irradianza invece di radianza. La mappa di radianza serve per renderizzare la luce riflessa, mentre la mappa di irradianza serve per renderizzare la luce ambientale. Vedi anche :ref:`sky_bake_panorama()`. \ **Nota:** L'immagine viene salvata nello spazio colore lineare senza alcuna mappatura dei toni, il che significa che apparirà troppo scura se visualizzata direttamente in un editor di immagini. @@ -8079,7 +8079,7 @@ Imposta la frequenza di aggiornamento per l'illuminazione indiretta delle luci d |void| **environment_set_sdfgi_ray_count**\ (\ ray_count\: :ref:`EnvironmentSDFGIRayCount`\ ) :ref:`🔗` -Imposta il numero di raggi da proiettare per frame quando si calcola l'illuminazione globale del campo di distanza con segno. Equivale a :ref:`ProjectSettings.rendering/global enlightenment/sdfgi/probe_ray_count`. +Imposta il numero di raggi da proiettare per frame quando si calcola l'illuminazione globale del campo di distanza con segno. Equivale a :ref:`ProjectSettings.rendering/global_illumination/sdfgi/probe_ray_count`. .. rst-class:: classref-item-separator @@ -8325,13 +8325,13 @@ Prova a liberare un oggetto nel RenderingServer. Per evitare perdite di memoria, :ref:`String` **get_current_rendering_driver_name**\ (\ ) |const| :ref:`🔗` -Returns the name of the current rendering driver. This can be ``vulkan``, ``d3d12``, ``metal``, ``opengl3``, ``opengl3_es``, or ``opengl3_angle``. See also :ref:`get_current_rendering_method()`. +Restituisce il nome del driver di rendering attuale. Può essere ``vulkan``, ``d3d12``, ``metal``, ``opengl3``, ``opengl3_es`` o ``opengl3_angle``. Vedi anche :ref:`get_current_rendering_method()`. -When :ref:`ProjectSettings.rendering/renderer/rendering_method` is ``forward_plus`` or ``mobile``, the rendering driver is determined by :ref:`ProjectSettings.rendering/rendering_device/driver`. +Quando :ref:`ProjectSettings.rendering/renderer/rendering_method` è impostato su ``forward_plus`` o ``mobile``, il driver di rendering è determinato da :ref:`ProjectSettings.rendering/rendering_device/driver`. -When :ref:`ProjectSettings.rendering/renderer/rendering_method` is ``gl_compatibility``, the rendering driver is determined by :ref:`ProjectSettings.rendering/gl_compatibility/driver`. +Quando :ref:`ProjectSettings.rendering/renderer/rendering_method` è impostato su ``gl_compatibility``, il driver di rendering è determinato da :ref:`ProjectSettings.rendering/gl_compatibility/driver`. -The rendering driver is also determined by the ``--rendering-driver`` command line argument that overrides this project setting, or an automatic fallback that is applied depending on the hardware. +Il driver di rendering è determinato anche dall'argomento della riga di comando ``--rendering-driver`` che sovrascrive questa impostazione del progetto, o da un'alternativa applicata automaticamente in base all'hardware. .. rst-class:: classref-item-separator @@ -8963,7 +8963,7 @@ Imposta gli strati di rendering su cui verrà disegnata questa istanza. Equivale |void| **instance_set_pivot_data**\ (\ instance\: :ref:`RID`, sorting_offset\: :ref:`float`, use_aabb_center\: :ref:`bool`\ ) :ref:`🔗` -Imposta l'offset di ordinamento e alterna tra l'utilizzo del bounding box o dell'origine dell'istanza per l'ordinamento in base alla profondità. +Imposta l'offset di ordinamento e alterna tra l'utilizzo della bounding box o dell'origine dell'istanza per l'ordinamento in base alla profondità. .. rst-class:: classref-item-separator @@ -9035,7 +9035,7 @@ Imposta se un'istanza viene disegnata o meno. Equivale a :ref:`Node3D.visible`\ ) :ref:`🔗` -Resets motion vectors and other interpolated values. Use this *after* teleporting a mesh from one position to another to avoid ghosting artifacts. +Ripristina i vettori di movimento e altri valori interpolati. Utilizza questo *dopo* aver teletrasportato una mesh da una posizione all'altra per evitare artefatti di ghosting. .. rst-class:: classref-item-separator @@ -9863,7 +9863,7 @@ Imposta il materiale della superficie di una mesh. |void| **mesh_surface_update_index_region**\ (\ mesh\: :ref:`RID`, surface\: :ref:`int`, offset\: :ref:`int`, data\: :ref:`PackedByteArray`\ ) :ref:`🔗` -Updates the index buffer of the mesh surface with the given ``data``. The expected data are 16 or 32-bit unsigned integers, which can be determined with :ref:`mesh_surface_get_format_index_stride()`. +Aggiorna il buffer di indici della superficie della mesh con i dati ``data`` specificati. I dati previsti sono interi senza segno a 16 o 32 bit, il che si può determinare con :ref:`mesh_surface_get_format_index_stride()`. .. rst-class:: classref-item-separator @@ -11445,7 +11445,7 @@ Restituisce il numero di ossa assegnate a questo scheletro. :ref:`Image` **sky_bake_panorama**\ (\ sky\: :ref:`RID`, energy\: :ref:`float`, bake_irradiance\: :ref:`bool`, size\: :ref:`Vector2i`\ ) :ref:`🔗` -Genera e restituisce un':ref:`Image` contenente la mappa di radianza per il cielo con il RID ``sky``. Supporta i materiali integrati di cielo e gli shader personalizzati di cielo. Se ``bake_irradiance`` è ``true``, viene salvata la mappa di irradianza invece di radianza. La mappa di radianza è utilizzata per renderizzare la luce riflessa, mentre la mappa di irradianza è utilizzata per renderizzare la luce ambientale. Vedi anche :ref:`environment_bake_panorama()`. +Genera e restituisce un':ref:`Image` contenente la mappa di radianza per il cielo con il RID ``sky``. Supporta i materiali integrati di cielo e gli shader personalizzati di cielo. Se ``bake_irradiance`` è ``true``, viene salvata la mappa di irradianza invece di radianza. La mappa di radianza serve per renderizzare la luce riflessa, mentre la mappa di irradianza serve per renderizzare la luce ambientale. Vedi anche :ref:`environment_bake_panorama()`. \ **Nota:** L'immagine viene salvata nello spazio colore lineare senza alcuna mappatura dei toni, il che significa che apparirà troppo scura se visualizzata direttamente in un editor di immagini. È possibile usare valori per ``energy`` superiori a ``1.0`` per schiarire l'immagine risultante. @@ -12474,7 +12474,7 @@ Imposta quando la viewport si dovrebbe aggiornare. |void| **viewport_set_use_debanding**\ (\ viewport\: :ref:`RID`, enable\: :ref:`bool`\ ) :ref:`🔗` -Equivalent to :ref:`Viewport.use_debanding`. See also :ref:`ProjectSettings.rendering/anti_aliasing/quality/use_debanding`. +Equivale a :ref:`Viewport.use_debanding`. Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/use_debanding`. .. rst-class:: classref-item-separator @@ -12486,11 +12486,11 @@ Equivalent to :ref:`Viewport.use_debanding`, enabled\: :ref:`bool`\ ) :ref:`🔗` -If ``true``, 2D rendering will use a high dynamic range (HDR) format framebuffer matching the bit depth of the 3D framebuffer. When using the Forward+ or Compatibility renderer, this will be an ``RGBA16`` framebuffer. When using the Mobile renderer, it will be an ``RGB10_A2`` framebuffer. +Se ``true``, il rendering 2D utilizzerà un framebuffer in formato HDR (High Dynamic Range, o "alta gamma dinamica") corrispondente alla profondità di bit del framebuffer 3D. Quando si utilizza il renderer Forward+ o Compatibilità, questo sarà un framebuffer ``RGBA16``, mentre quando si utilizza il renderer Mobile, sarà un framebuffer ``RGB10_A2``. -Additionally, 2D rendering will take place in linear color space and will be converted to sRGB space immediately before blitting to the screen (if the Viewport is attached to the screen). +Inoltre, il rendering 2D avverrà nello spazio colore lineare e sarà convertito nello spazio sRGB subito prima di essere visualizzato sullo schermo (se la Viewport è collegata allo schermo). -Practically speaking, this means that the end result of the Viewport will not be clamped to the ``0-1`` range and can be used in 3D rendering without color space adjustments. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow) as well as substantially improves the appearance of effects requiring highly detailed gradients. This setting has the same effect as :ref:`Viewport.use_hdr_2d`. +In pratica, ciò significa che il risultato finale della Viewport non sarà limitato nell'intervallo ``0-1`` e si potrà utilizzare nel rendering 3D senza aggiustare lo spazio colore. Ciò consente al rendering 2D di sfruttare gli effetti che richiedono un'elevata gamma dinamica (ad esempio, il bagliore 2D) e migliora sostanzialmente l'aspetto degli effetti che richiedono gradienti molto dettagliati. .. rst-class:: classref-item-separator diff --git a/classes/it/class_renderscenebuffers.rst b/classes/it/class_renderscenebuffers.rst index ebd3b6ca04..58be7b0839 100644 --- a/classes/it/class_renderscenebuffers.rst +++ b/classes/it/class_renderscenebuffers.rst @@ -47,7 +47,7 @@ Descrizioni dei metodi |void| **configure**\ (\ config\: :ref:`RenderSceneBuffersConfiguration`\ ) :ref:`🔗` -This method is called by the rendering server when the associated viewport's configuration is changed. It will discard the old buffers and recreate the internal buffers used. +Questo metodo viene chiamato dal server di rendering quando cambia la configurazione della viewport associata. Scarterà i vecchi buffer e ricreerà i buffer interni utilizzati. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_resource.rst b/classes/it/class_resource.rst index 3e84afffeb..bb0d1e91f0 100644 --- a/classes/it/class_resource.rst +++ b/classes/it/class_resource.rst @@ -149,7 +149,7 @@ enum **DeepDuplicateMode**: :ref:`🔗` :ref:`DeepDuplicateMode` **DEEP_DUPLICATE_NONE** = ``0`` -No subresorces at all are duplicated. This is useful even in a deep duplication to have all the arrays and dictionaries duplicated but still pointing to the original resources. +Non duplicare affatto le sotto-risorse. Ciò è utile anche in caso di duplicazione profonda, in quanto consente di duplicare tutti gli array e i dizionari, ma di puntare comunque alle risorse originali. .. _class_Resource_constant_DEEP_DUPLICATE_INTERNAL: @@ -157,7 +157,7 @@ No subresorces at all are duplicated. This is useful even in a deep duplication :ref:`DeepDuplicateMode` **DEEP_DUPLICATE_INTERNAL** = ``1`` -Only subresources without a path or with a scene-local path will be duplicated. +Solo le sotto-risorse senza percorso o con un percorso locale alla scena saranno duplicate. .. _class_Resource_constant_DEEP_DUPLICATE_ALL: @@ -165,7 +165,7 @@ Only subresources without a path or with a scene-local path will be duplicated. :ref:`DeepDuplicateMode` **DEEP_DUPLICATE_ALL** = ``2`` -Every subresource found will be duplicated, even if it has a non-local path. In other words, even potentially big resources stored separately will be duplicated. +Ogni sotto-risorsa trovata sarà duplicata, anche se ha un percorso non locale. In altre parole, anche risorse grandi, potenzialmente salvate separatamente, saranno duplicate. .. rst-class:: classref-section-separator @@ -244,13 +244,13 @@ Il percorso univoco per questa risorsa. Se è stata salvata su disco, il valore - |void| **set_scene_unique_id**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_scene_unique_id**\ (\ ) -A unique identifier relative to the this resource's scene. If left empty, the ID is automatically generated when this resource is saved inside a :ref:`PackedScene`. If the resource is not inside a scene, this property is empty by default. +Un identificatore univoco relativo alla scena di questa risorsa. Se lasciato vuoto, l'ID viene generato automaticamente quando questa risorsa viene salvata all'interno di un :ref:`PackedScene`. Se la risorsa non è all'interno di una scena, questa proprietà è normalmente vuota. -\ **Note:** When the :ref:`PackedScene` is saved, if multiple resources in the same scene use the same ID, only the earliest resource in the scene hierarchy keeps the original ID. The other resources are assigned new IDs from :ref:`generate_scene_unique_id()`. +\ **Nota:** Quando viene salvato il :ref:`PackedScene`, se più risorse nella stessa scena utilizzano lo stesso ID, solo la risorsa più vecchia nella gerarchia della scena mantiene l'ID originale. Alle altre risorse vengono assegnati nuovi ID da :ref:`generate_scene_unique_id()`. -\ **Note:** Setting this property does not emit the :ref:`changed` signal. +\ **Nota:** L'impostazione di questa proprietà non emette il segnale :ref:`changed`. -\ **Warning:** When setting, the ID must only consist of letters, numbers, and underscores. Otherwise, it will fail and default to a randomly generated ID. +\ **Attenzione:** Quando viene impostato, l'ID deve essere composto solo da lettere, numeri e trattini bassi. Altrimenti, fallirà e sarà utilizzato come predefinito un ID generato casualmente. .. rst-class:: classref-section-separator @@ -279,7 +279,7 @@ Sovrascrivi questo metodo per restituire un :ref:`RID` personalizzato |void| **_reset_state**\ (\ ) |virtual| :ref:`🔗` -For resources that store state in non-exported properties, such as via :ref:`Object._validate_property()` or :ref:`Object._get_property_list()`, this method must be implemented to clear them. +Per le risorse che memorizzano lo stato in proprietà non esportate, ad esempio tramite :ref:`Object._validate_property()` o :ref:`Object._get_property_list()`, si dovrebbe implementare questo metodo per ripulirle. .. rst-class:: classref-item-separator @@ -291,7 +291,7 @@ For resources that store state in non-exported properties, such as via :ref:`Obj |void| **_set_path_cache**\ (\ path\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Override this method to execute additional logic after :ref:`set_path_cache()` is called on this object. +Sovrascrivi questo metodo per eseguire ulteriore logica dopo che :ref:`set_path_cache()` viene chiamato su questo oggetto. .. rst-class:: classref-item-separator @@ -326,21 +326,21 @@ Sovrascrivi questo metodo per personalizzare la risorsa appena duplicata creata :ref:`Resource` **duplicate**\ (\ deep\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Duplicates this resource, returning a new resource with its ``export``\ ed or :ref:`@GlobalScope.PROPERTY_USAGE_STORAGE` properties copied from the original. +Duplica questa risorsa, restituendo una nuova risorsa con le sue proprietà con ``export`` o :ref:`@GlobalScope.PROPERTY_USAGE_STORAGE` copiate dall'originale. -If ``deep`` is ``false``, a **shallow** copy is returned: nested :ref:`Array`, :ref:`Dictionary`, and **Resource** properties are not duplicated and are shared with the original resource. +Se ``deep`` è ``false``, viene restituita una copia **superficiale**: le proprietà innestate di tipo :ref:`Array`, :ref:`Dictionary` e **Resource** non sono duplicate e sono condivise con la risorsa originale. -If ``deep`` is ``true``, a **deep** copy is returned: all nested arrays, dictionaries, and packed arrays are also duplicated (recursively). Any **Resource** found inside will only be duplicated if it's local, like :ref:`DEEP_DUPLICATE_INTERNAL` used with :ref:`duplicate_deep()`. +Se ``deep`` è ``true``, viene restituita una copia **profonda**: tutti gli array innestati, i dizionari e gli array impacchettati sono duplicati (ricorsivamente). Qualsiasi **Resource** trovata all'interno sarà duplicata solo se locale, come con :ref:`DEEP_DUPLICATE_INTERNAL` usato in :ref:`duplicate_deep()`. -The following exceptions apply: +Si applicano le seguenti eccezioni: -- Subresource properties with the :ref:`@GlobalScope.PROPERTY_USAGE_ALWAYS_DUPLICATE` flag are always duplicated (recursively or not, depending on ``deep``). +- Le proprietà delle sotto-risorse con il flag :ref:`@GlobalScope.PROPERTY_USAGE_ALWAYS_DUPLICATE` sono sempre duplicate (ricorsivamente o meno, a seconda di ``deep``). -- Subresource properties with the :ref:`@GlobalScope.PROPERTY_USAGE_NEVER_DUPLICATE` flag are never duplicated. +- Le proprietà delle sotto-risorse con il flag :ref:`@GlobalScope.PROPERTY_USAGE_NEVER_DUPLICATE` non sono mai duplicate. -\ **Note:** For custom resources, this method will fail if :ref:`Object._init()` has been defined with required parameters. +\ **Nota:** Per le risorse personalizzate, questo metodo fallirà se :ref:`Object._init()` è stato definito con parametri obbligatori. -\ **Note:** When duplicating with ``deep`` set to ``true``, each resource found, including the one on which this method is called, will be only duplicated once and referenced as many times as needed in the duplicate. For instance, if you are duplicating resource A that happens to have resource B referenced twice, you'll get a new resource A' referencing a new resource B' twice. +\ **Nota:** Quando si duplica con ``deep`` impostato su ``true``, ogni risorsa trovata, inclusa quella su cui viene chiamato questo metodo, sarà duplicata una sola volta e referenziata quanto necessario nel duplicato. Ad esempio, se si duplica la risorsa A a cui si riferisce due volte la risorsa B, si otterrà una nuova risorsa A' che referenzia due volte una nuova risorsa B'. .. rst-class:: classref-item-separator @@ -352,9 +352,9 @@ The following exceptions apply: :ref:`Resource` **duplicate_deep**\ (\ deep_subresources_mode\: :ref:`DeepDuplicateMode` = 1\ ) |const| :ref:`🔗` -Duplicates this resource, deeply, like :ref:`duplicate()`\ ``(true)``, with extra control over how subresources are handled. +Duplica questa risorsa profondamente, come :ref:`duplicate()`\ ``(true)``, con ulteriore controllo su come le sottorisorse sono gestite. -\ ``deep_subresources_mode`` must be one of the values from :ref:`DeepDuplicateMode`. +\ ``deep_subresources_mode`` deve essere uno dei valori di :ref:`DeepDuplicateMode`. .. rst-class:: classref-item-separator @@ -438,7 +438,7 @@ Restituisce il :ref:`RID` di questa risorsa (o un RID vuoto). Molte r :ref:`bool` **is_built_in**\ (\ ) |const| :ref:`🔗` -Returns ``true`` if the resource is saved on disk as a part of another resource's file. +Restituisce ``true`` se la risorsa è salvata su disco come parte del file di un'altra risorsa. .. rst-class:: classref-item-separator @@ -450,7 +450,7 @@ Returns ``true`` if the resource is saved on disk as a part of another resource' |void| **reset_state**\ (\ ) :ref:`🔗` -Makes the resource clear its non-exported properties. See also :ref:`_reset_state()`. Useful when implementing a custom resource format by extending :ref:`ResourceFormatLoader` and :ref:`ResourceFormatSaver`. +Cancella le proprietà non esportate della risorsa. Vedi anche :ref:`_reset_state()`. Utile quando si implementa un formato di risorsa personalizzato estendendo :ref:`ResourceFormatLoader` e :ref:`ResourceFormatSaver`. .. rst-class:: classref-item-separator @@ -462,9 +462,9 @@ Makes the resource clear its non-exported properties. See also :ref:`_reset_stat |void| **set_id_for_path**\ (\ path\: :ref:`String`, id\: :ref:`String`\ ) :ref:`🔗` -In the internal cache for scene-unique IDs, sets the ID of this resource to ``id`` for the scene at ``path``. If ``id`` is empty, the cache entry for ``path`` is cleared. Useful to keep scene-unique IDs the same when implementing a VCS-friendly custom resource format by extending :ref:`ResourceFormatLoader` and :ref:`ResourceFormatSaver`. +Nella cache interna per gli ID univoci di scena, imposta l'ID di questa risorsa su ``id`` per la scena nel percorso ``path``. Se ``id`` è vuoto, la voce nella cache per ``path`` viene cancellata. Utile per mantenere invariati gli ID univoci di scena quando si implementa un formato di risorsa personalizzato compatibile con VCS estendendo :ref:`ResourceFormatLoader` e :ref:`ResourceFormatSaver`. -\ **Note:** This method is only implemented when running in an editor context. +\ **Nota:** Questo metodo è implementato solo quando è eseguito in un contesto di editor. .. rst-class:: classref-item-separator @@ -476,7 +476,7 @@ In the internal cache for scene-unique IDs, sets the ID of this resource to ``id |void| **set_path_cache**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Sets the resource's path to ``path`` without involving the resource cache. Useful for handling :ref:`CacheMode` values when implementing a custom resource format by extending :ref:`ResourceFormatLoader` and :ref:`ResourceFormatSaver`. +Imposta il percorso della risorsa su ``path`` senza coinvolgere la cache delle risorse. Utile per gestire i valori di :ref:`CacheMode` quando si implementa un formato di risorsa personalizzato estendendo :ref:`ResourceFormatLoader` e :ref:`ResourceFormatSaver`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceformatloader.rst b/classes/it/class_resourceformatloader.rst index ad28dc42df..11f8da7d41 100644 --- a/classes/it/class_resourceformatloader.rst +++ b/classes/it/class_resourceformatloader.rst @@ -150,13 +150,13 @@ Descrizioni dei metodi :ref:`PackedStringArray` **_get_dependencies**\ (\ path\: :ref:`String`, add_types\: :ref:`bool`\ ) |virtual| |const| :ref:`🔗` -Should return the dependencies for the resource at the given ``path``. Each dependency is a string composed of one to three sections separated by ``::``, with trailing empty sections omitted: +Dovrebbe restituire le dipendenze per la risorsa nel percorso ``path``. Ogni dipendenza è una stringa composta da una a tre sezioni separate da ``::``, con le sezioni vuote finali omesse: -- The first section should contain the UID if the resource has one. Otherwise, it should contain the file path. +- La prima sezione dovrebbe contenere l'UID se la risorsa ne ha uno. Se non, dovrebbe contenere il percorso del file. -- The second section should contain the class name of the dependency if ``add_types`` is ``true``. Otherwise, it should be empty. +- La seconda sezione dovrebbe contenere il nome della classe della dipendenza se ``add_types`` è ``true``. Se non, dovrebbe essere vuota. -- The third section should contain the fallback path if the resource has a UID. Otherwise, it should be empty. +- La terza sezione dovrebbe contenere il percorso alternativo se la risorsa ha un UID. Se non, dovrebbe essere vuota. :: @@ -168,7 +168,7 @@ Should return the dependencies for the resource at the given ``path``. Each depe "res://script.gd", ] -\ **Note:** Custom resource types defined by scripts aren't known by the :ref:`ClassDB`, so ``"Resource"`` can be used for the class name. +\ **Nota:** i tipi personalizzati di risorse definiti dagli script non sono noti al :ref:`ClassDB`, quindi è possibile utilizzare ``"Resource"`` per il nome della classe. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceimporter.rst b/classes/it/class_resourceimporter.rst index 662edb1da0..5570898391 100644 --- a/classes/it/class_resourceimporter.rst +++ b/classes/it/class_resourceimporter.rst @@ -83,7 +83,7 @@ Descrizioni dei metodi :ref:`PackedStringArray` **_get_build_dependencies**\ (\ path\: :ref:`String`\ ) |virtual| |const| :ref:`🔗` -Called when the engine compilation profile editor wants to check what build options an imported resource needs. For example, :ref:`ResourceImporterDynamicFont` has a property called :ref:`ResourceImporterDynamicFont.multichannel_signed_distance_field`, that depends on the engine to be build with the "msdfgen" module. If that resource happened to be a custom one, it would be handled like this: +Chiamato quando l'editor del profilo di compilazione del motore desidera verificare quali opzioni di compilazione sono necessarie per una risorsa importata. Ad esempio, :ref:`ResourceImporterDynamicFont` ha una proprietà con il nome :ref:`ResourceImporterDynamicFont.multichannel_signed_distance_field`, che dipende dalla compilazione del motore con il modulo "msdfgen". Se tale risorsa fosse personalizzata, verrebbe gestita in questo modo: :: diff --git a/classes/it/class_resourceimporterdynamicfont.rst b/classes/it/class_resourceimporterdynamicfont.rst index afdf65bfdd..af8d4ce906 100644 --- a/classes/it/class_resourceimporterdynamicfont.rst +++ b/classes/it/class_resourceimporterdynamicfont.rst @@ -226,7 +226,7 @@ Sovrascrivi la lista delle lingue supportate da questo font. Se lasciato vuoto, :ref:`bool` **modulate_color_glyphs** = ``false`` :ref:`🔗` -If set to ``true``, color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only. +Se impostato su ``true``, la modulazione del colore è applicata quando si disegnano glifi colorati, altrimenti è applicata solo ai glifi monocromatici. .. rst-class:: classref-item-separator @@ -288,7 +288,7 @@ Le funzionalità OpenType da abilitare, disabilitare o impostare un valore per q :ref:`float` **oversampling** = ``0.0`` :ref:`🔗` -If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. +Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceimporterimage.rst b/classes/it/class_resourceimporterimage.rst index 988e8fe193..9c662b7133 100644 --- a/classes/it/class_resourceimporterimage.rst +++ b/classes/it/class_resourceimporterimage.rst @@ -7,7 +7,7 @@ ResourceImporterImage **Eredita:** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports an image for use in scripting, with no rendering capabilities. +Importa un'immagine da utilizzare negli script, senza capacità di rendering. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_resourceimporterimagefont.rst b/classes/it/class_resourceimporterimagefont.rst index 98ea8694d5..16c31e7ecd 100644 --- a/classes/it/class_resourceimporterimagefont.rst +++ b/classes/it/class_resourceimporterimagefont.rst @@ -96,13 +96,13 @@ Margine applicato attorno a ogni glifo importato. Se l'immagine del tuo font con :ref:`PackedStringArray` **character_ranges** = ``PackedStringArray()`` :ref:`🔗` -The character ranges to import from the font image. This is an array that maps each position on the image (in tile coordinates, not pixels). The font atlas is traversed from left to right and top to bottom. Characters can be specified with decimal numbers (127), hexadecimal numbers (``0x007f``, or ``U+007f``) or between single quotes (``'~'``). Ranges can be specified with a hyphen between characters. +Gli intervalli dei caratteri da importare dall'immagine del font. Questo è un array che mappa ogni posizione sull'immagine (in coordinate piastrellate, non pixel). L'atlante del font è attraversato da sinistra verso destra e dall'alto verso il basso. È possibile specificare i caratteri con numeri decimali (127), numeri esadecimali (``0x007f`` o ``U+007f``) o tra virgolette singole (``'~'``). È possibile specificare gli intervalli con un trattino tra i caratteri. -For example, ``0-127`` represents the full ASCII range. It can also be written as ``0x0000-0x007f`` (or ``U+0000-U+007f``). As another example, ``' '-'~'`` is equivalent to ``32-127`` and represents the range of printable (visible) ASCII characters. +Ad esempio, ``0-127`` rappresenta l'intervallo ASCII completo. Si può anche scrivere come ``0x0000-0x007f`` (o ``U+0000-U+007f``). Come un altro esempio, ``' '-'~'`` equivale a ``32-127`` e rappresenta l'intervallo di caratteri ASCII stampabili (visibili). -For any range, the character advance and offset can be customized by appending three space-separated integer values (additional advance, x offset, y offset) to the end. For example ``'a'-'b' 4 5 2`` sets the advance to ``char_width + 4`` and offset to ``Vector2(5, 2)`` for both `a` and `b` characters. +Per qualsiasi intervallo, è possibile personalizzare l'avanzamento e l'offset dei caratteri aggiungendo tre valori interi separati da spazi (avanzamento aggiuntivo, offset x, offset y) alla fine. Ad esempio, ``'a'-'b' 4 5 2`` imposta l'avanzamento su ``char_width + 4`` e l'offset su ``Vector2(5, 2)`` per entrambi i caratteri `a` e `b`. -\ **Note:** The overall number of characters must not exceed the number of :ref:`columns` multiplied by :ref:`rows`. Otherwise, the font will fail to import. +\ **Nota:** Il numero totale di caratteri non deve superare il numero di :ref:`columns` moltiplicato per :ref:`rows`. Altrimenti, non sarà possibile importare il font. **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedStringArray` for more details. diff --git a/classes/it/class_resourceimporterlayeredtexture.rst b/classes/it/class_resourceimporterlayeredtexture.rst index 83ab446703..6a342d9024 100644 --- a/classes/it/class_resourceimporterlayeredtexture.rst +++ b/classes/it/class_resourceimporterlayeredtexture.rst @@ -158,11 +158,11 @@ Vedi `Modalità di compressione <../tutorials/assets_pipeline/importing_images.h :ref:`float` **compress/rdo_quality_loss** = ``0.0`` :ref:`🔗` -If greater than or equal to ``0.01``, enables Rate-Distortion Optimization (RDO) to reduce file size. Higher values result in smaller file sizes but lower quality. +Se maggiore o uguale a ``0.01``, abilita il Rate-Distortion Optimization(RDO) per ridurre le dimensioni del file. Valori più elevati risultano in file più piccoli ma di qualità inferiore. -\ **Note:** Enabling RDO makes encoding times significantly longer, especially when the image is large. +\ **Nota:** Abilitare l'RDO allunga notevolmente i tempi di codifica, soprattutto quando l'immagine è grande. -See also :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` and :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` if you want to reduce the file size further. +Vedi anche :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` e :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` se si desidera ridurre ulteriormente le dimensioni del file. .. rst-class:: classref-item-separator @@ -174,7 +174,7 @@ See also :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size< :ref:`int` **compress/uastc_level** = ``0`` :ref:`🔗` -The UASTC encoding level. Higher values result in better quality but make encoding times longer. +Il livello di codifica UASTC. Valori più alti risultano in una qualità migliore, ma allungano i tempi di codifica. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceimporterscene.rst b/classes/it/class_resourceimporterscene.rst index e0f52a7b97..5e1dd64261 100644 --- a/classes/it/class_resourceimporterscene.rst +++ b/classes/it/class_resourceimporterscene.rst @@ -7,7 +7,7 @@ ResourceImporterScene **Eredita:** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports a glTF, FBX, COLLADA, or Blender 3D scene. +Importa una scena 3D da glTF, FBX, COLLADA o Blender. .. rst-class:: classref-introduction-group @@ -186,13 +186,13 @@ Percorso a uno script di importazione, il quale può eseguire codice dopo il com :ref:`int` **materials/extract** = ``0`` :ref:`🔗` -Material extraction mode. +Modalità di estrazione dei materiali. -- ``0 (Keep Internal)``, materials are not extracted. +- ``0 (Keep Internal)``, i materiali non sono estratti. -- ``1 (Extract Once)``, materials are extracted once and reused on subsequent import. +- ``1 (Extract Once)``, i materiali sono estratti una volta e riutilizzati nelle importazioni successive. -- ``2 (Extract and Overwrite)``, materials are extracted and overwritten on every import. +- ``2 (Extract and Overwrite)``, i materiali sono estratti e sovrascritti a ogni importazione. .. rst-class:: classref-item-separator @@ -204,13 +204,13 @@ Material extraction mode. :ref:`int` **materials/extract_format** = ``0`` :ref:`🔗` -Extracted material file format. +Formato dei file dei materiali estratti. -- ``0 (Text)``, text file format (``*.tres``). +- ``0 (Text)``, formato di file testuale (``*.tres``). -- ``1 (Binary)``, binary file format (``*.res``). +- ``1 (Binary)``, formato di file binario (``*.res``). -- ``2 (Material)``, binary file format (``*.material``). +- ``2 (Material)``, formato di file bionario (``*.material``). .. rst-class:: classref-item-separator @@ -222,7 +222,7 @@ Extracted material file format. :ref:`String` **materials/extract_path** = ``""`` :ref:`🔗` -Path extracted materials are saved to. If empty, source scene path is used. +Il percorso in cui i materiali estratti sono salvati. Se vuoto, è utilizzato il percorso della scena sorgente. .. rst-class:: classref-item-separator @@ -358,7 +358,7 @@ La scala uniforme da usare per la radice della scena. Il valore predefinito di ` :ref:`Script` **nodes/root_script** = ``null`` :ref:`🔗` -If set to a valid script, attaches the script to the root node of the imported scene. If the type of the root node is not compatible with the script, the root node will be replaced with a type that is compatible with the script. This setting can also be used on other non-mesh nodes in the scene to attach scripts to them. +Se impostato su uno script valido, allega lo script al nodo radice della scena importata. Se il tipo del nodo radice non è compatibile con lo script, il nodo radice sarà sostituito con un tipo compatibile. È possibile utilizzare questa impostazione anche su altri nodi non mesh nella scena per allegarvi degli script. .. rst-class:: classref-item-separator @@ -382,7 +382,7 @@ Sostituzione per il tipo di nodo radice. Se vuoto, il nodo radice utilizzerà ci :ref:`bool` **nodes/use_name_suffixes** = ``true`` :ref:`🔗` -If ``true``, will use suffixes in the names of imported objects such as nodes and resources to determine types and properties, such as ``-noimp`` to skip import of a node or animation, ``-alpha`` to enable alpha transparency on a material, and ``-vcol`` to enable vertex colors on a material. Disabling this makes editor-imported files more similar to the original files, and more similar to files imported at runtime. See :doc:`Node type customization using name suffixes <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` for more information. +Se ``true``, usa i suffissi nei nomi degli oggetti importati, come nodi e risorse, per determinare i tipi e le proprietà, come ``-noimp`` per saltare l'importazione di un nodo o di un'animazione, ``-alpha`` per abilitare la trasparenza alfa su un materiale, e ``-vcol`` per abilitare i colori dei vertici su un materiale. Disattivando questa opzione, i file importati dall'editor diventano più simili ai file originali e ai file importati in fase di esecuzione. Vedi :doc:`Personalizzazione del tipo di nodo tramite suffissi dei nomi <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` per maggiori informazioni. .. rst-class:: classref-item-separator @@ -394,7 +394,7 @@ If ``true``, will use suffixes in the names of imported objects such as nodes an :ref:`bool` **nodes/use_node_type_suffixes** = ``true`` :ref:`🔗` -If ``true``, will use suffixes in the node names to determine the node type, such as ``-col`` for collision shapes. This is only used when :ref:`nodes/use_name_suffixes` is ``true``. Disabling this makes editor-imported files more similar to the original files, and more similar to files imported at runtime. See :doc:`Node type customization using name suffixes <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` for more information. +Se ``true``, userà i suffissi nei nomi dei nodi per determinare il tipo di nodo, come ``-col`` per le forme di collisione. Questo è utilizzato solo quando :ref:`nodes/use_name_suffixes` è ``true``. Disattivando questa opzione, i file importati dall'editor diventano più simili ai file originali e ai file importati in fase di esecuzione. Vedi :doc:`Personalizzazione del tipo di nodo tramite suffissi dei nomi <../tutorials/assets_pipeline/importing_3d_scenes/node_type_customization>` per maggiori informazioni. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceimportershaderfile.rst b/classes/it/class_resourceimportershaderfile.rst index c4a31d28a2..e43a4881ca 100644 --- a/classes/it/class_resourceimportershaderfile.rst +++ b/classes/it/class_resourceimportershaderfile.rst @@ -7,7 +7,7 @@ ResourceImporterShaderFile **Eredita:** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports native GLSL shaders (not Godot shaders) as an :ref:`RDShaderFile`. +Importa shader GLSL nativi (shader non di Godot) come :ref:`RDShaderFile`. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_resourceimportersvg.rst b/classes/it/class_resourceimportersvg.rst index ff5d71a385..9984e8b310 100644 --- a/classes/it/class_resourceimportersvg.rst +++ b/classes/it/class_resourceimportersvg.rst @@ -7,14 +7,14 @@ ResourceImporterSVG **Eredita:** :ref:`ResourceImporter` **<** :ref:`RefCounted` **<** :ref:`Object` -Imports an SVG file as an automatically scalable texture for use in UI elements and 2D rendering. +Importa un file SVG come texture automaticamente ridimensionabile da usare per gli elementi dell'UI e per il rendering 2D. .. rst-class:: classref-introduction-group Descrizione ---------------------- -This importer imports :ref:`DPITexture` resources. See also :ref:`ResourceImporterTexture` and :ref:`ResourceImporterImage`. +Questo importatore importa risorse :ref:`DPITexture`. Vedi anche :ref:`ResourceImporterTexture` e :ref:`ResourceImporterImage`. .. rst-class:: classref-reftable-group @@ -49,7 +49,7 @@ Descrizioni delle proprietà :ref:`float` **base_scale** = ``1.0`` :ref:`🔗` -Texture scale. ``1.0`` is the original SVG size. Higher values result in a larger image. +Scala della texture. ``1.0`` è la dimensione originale dell'SVG. Valori più alti risultano in un'immagine più grande. .. rst-class:: classref-item-separator @@ -61,7 +61,7 @@ Texture scale. ``1.0`` is the original SVG size. Higher values result in a large :ref:`Dictionary` **color_map** = ``{}`` :ref:`🔗` -If set, remaps texture colors according to :ref:`Color`-:ref:`Color` map. +Se impostato, rimappa i colori della texture in base alla mappa :ref:`Color`-:ref:`Color`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceimportertexture.rst b/classes/it/class_resourceimportertexture.rst index 2f68e36582..aabb3c9303 100644 --- a/classes/it/class_resourceimportertexture.rst +++ b/classes/it/class_resourceimportertexture.rst @@ -202,11 +202,11 @@ Nota che la compressione RGTC influisce sull'immagine della mappa normale risult :ref:`float` **compress/rdo_quality_loss** = ``0.0`` :ref:`🔗` -If greater than or equal to ``0.01``, enables Rate-Distortion Optimization (RDO) to reduce file size. Higher values result in smaller file sizes but lower quality. +Se maggiore o uguale a ``0.01``, abilita il Rate-Distortion Optimization(RDO) per ridurre le dimensioni del file. Valori più elevati risultano in file più piccoli ma di qualità inferiore. -\ **Note:** Enabling RDO makes encoding times significantly longer, especially when the image is large. +\ **Nota:** Abilitare l'RDO allunga notevolmente i tempi di codifica, soprattutto quando l'immagine è grande. -See also :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` and :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` if you want to reduce the file size further. +Vedi anche :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size` e :ref:`ProjectSettings.rendering/textures/basis_universal/zstd_supercompression_level` se si desidera ridurre ulteriormente le dimensioni del file. .. rst-class:: classref-item-separator @@ -218,7 +218,7 @@ See also :ref:`ProjectSettings.rendering/textures/basis_universal/rdo_dict_size< :ref:`int` **compress/uastc_level** = ``0`` :ref:`🔗` -The UASTC encoding level. Higher values result in better quality but make encoding times longer. +Il livello di codifica UASTC. Valori più alti risultano in una qualità migliore, ma allungano i tempi di codifica. .. rst-class:: classref-item-separator @@ -244,9 +244,9 @@ La modifica di questa opzione in **Disabled** e la successiva reimportazione non :ref:`bool` **editor/convert_colors_with_editor_theme** = ``false`` :ref:`🔗` -If ``true``, converts the imported image's colors to match :ref:`EditorSettings.interface/theme/icon_and_font_color`. This assumes the image uses the exact same colors as :doc:`Godot's own color palette for editor icons <../engine_details/editor/creating_icons>`, with the source file designed for a dark editor theme. This should be enabled for editor plugin icons and custom class icons, but should be left disabled otherwise. +Se ``true``, converte i colori dell'immagine importata per abbinarli a :ref:`EditorSettings.interface/theme/icon_and_font_color`. Ciò presuppone che l'immagine utilizzi esattamente gli stessi colori della :doc:`tavolozza di colori di Godot per le icone dell'editor <../contributing/development/editor/creating_icons>`, con il file sorgente progettato per un tema scuro dell'editor. Dovrebbe essere abilitato per le icone delle estensioni dell'editor e le icone delle classi personalizzate, ma dovrebbe essere lasciato disabilitato altrimenti. -\ **Note:** Only available for SVG images. +\ **Nota:** Disponibile solo per le immagini SVG. .. rst-class:: classref-item-separator @@ -304,29 +304,29 @@ Non implementato. Al momento non ha alcun effetto quando viene modificato. :ref:`int` **process/channel_remap/alpha** = ``3`` :ref:`🔗` -Specifies the data source of the output image's alpha channel. +Specifica l'origine dei dati per il canale alfa dell'immagine risultante. -\ **Red:** Use the values from the source image's red channel. +\ **Red:** Usa i valori del canale rosso dell'immagine sorgente. -\ **Green:** Use the values from the source image's green channel. +\ **Green:** Usa i valori del canale verde dell'immagine sorgente. -\ **Blue:** Use the values from the source image's blue channel. +\ **Blue:** Usa i valori del canale blu dell'immagine sorgente. -\ **Alpha:** Use the values from the source image's alpha channel. +\ **Alpha:** Usa i valori del canale alfa dell'immagine sorgente. -\ **Red Inverted:** Use inverted values from the source image's red channel (``1.0 - R``). +\ **Red Inverted:** Usa i valori invertiti del canale rosso dell'immagine sorgente (``1.0 - R``). -\ **Green Inverted:** Use inverted values from the source image's green channel (``1.0 - G``). +\ **Green Inverted:** Usa i valori invertiti del canale verde dell'immagine sorgente (``1.0 - G``). -\ **Blue Inverted:** Use inverted values from the source image's blue channel (``1.0 - B``). +\ **Blue Inverted:** Usa i valori invertiti del canale blu dell'immagine sorgente (``1.0 - B``). -\ **Alpha Inverted:** Use inverted values from the source image's alpha channel (``1.0 - A``). +\ **Alpha Inverted:** Usa i valori invertiti del canale alfa dell'immagine sorgente (``1.0 - A``). -\ **Unused:** Set the color channel's value to the default (``1.0`` for alpha, ``0.0`` for red, green or blue). +\ **Unused:** Imposta il valore del canale colore sul valore predefinito (``1.0`` per alfa, ``0.0`` per rosso, verde o blu). -\ **Zero:** Set the color channel's value to ``0.0``. +\ **Zero:** Imposta il valore del canale colore su ``0.0``. -\ **One:** Set the color channel's value to ``1.0``. +\ **One:** Imposta il valore del canale colore su ``1.0``. .. rst-class:: classref-item-separator @@ -338,29 +338,29 @@ Specifies the data source of the output image's alpha channel. :ref:`int` **process/channel_remap/blue** = ``2`` :ref:`🔗` -Specifies the data source of the output image's blue channel. +Specifica l'origine dei dati per il canale blu dell'immagine risultante. -\ **Red:** Use the values from the source image's red channel. +\ **Red:** Usa i valori del canale rosso dell'immagine sorgente. -\ **Green:** Use the values from the source image's green channel. +\ **Green:** Usa i valori del canale verde dell'immagine sorgente. -\ **Blue:** Use the values from the source image's blue channel. +\ **Blue:** Usa i valori del canale blu dell'immagine sorgente. -\ **Alpha:** Use the values from the source image's alpha channel. +\ **Alpha:** Usa i valori del canale alfa dell'immagine sorgente. -\ **Red Inverted:** Use inverted values from the source image's red channel (``1.0 - R``). +\ **Red Inverted:** Usa i valori invertiti del canale rosso dell'immagine sorgente (``1.0 - R``). -\ **Green Inverted:** Use inverted values from the source image's green channel (``1.0 - G``). +\ **Green Inverted:** Usa i valori invertiti del canale verde dell'immagine sorgente (``1.0 - G``). -\ **Blue Inverted:** Use inverted values from the source image's blue channel (``1.0 - B``). +\ **Blue Inverted:** Usa i valori invertiti del canale blu dell'immagine sorgente (``1.0 - B``). -\ **Alpha Inverted:** Use inverted values from the source image's alpha channel (``1.0 - A``). +\ **Alpha Inverted:** Usa i valori invertiti del canale alfa dell'immagine sorgente (``1.0 - A``). -\ **Unused:** Set the color channel's value to the default (``1.0`` for alpha, ``0.0`` for red, green or blue). +\ **Unused:** Imposta il valore del canale colore sul valore predefinito (``1.0`` per alfa, ``0.0`` per rosso, verde o blu). -\ **Zero:** Set the color channel's value to ``0.0``. +\ **Zero:** Imposta il valore del canale colore su ``0.0``. -\ **One:** Set the color channel's value to ``1.0``. +\ **One:** Imposta il valore del canale colore su ``1.0``. .. rst-class:: classref-item-separator @@ -372,29 +372,29 @@ Specifies the data source of the output image's blue channel. :ref:`int` **process/channel_remap/green** = ``1`` :ref:`🔗` -Specifies the data source of the output image's green channel. +Specifica l'origine dei dati per il canale verde dell'immagine risultante. -\ **Red:** Use the values from the source image's red channel. +\ **Red:** Usa i valori del canale rosso dell'immagine sorgente. -\ **Green:** Use the values from the source image's green channel. +\ **Green:** Usa i valori del canale verde dell'immagine sorgente. -\ **Blue:** Use the values from the source image's blue channel. +\ **Blue:** Usa i valori del canale blu dell'immagine sorgente. -\ **Alpha:** Use the values from the source image's alpha channel. +\ **Alpha:** Usa i valori del canale alfa dell'immagine sorgente. -\ **Red Inverted:** Use inverted values from the source image's red channel (``1.0 - R``). +\ **Red Inverted:** Usa i valori invertiti del canale rosso dell'immagine sorgente (``1.0 - R``). -\ **Green Inverted:** Use inverted values from the source image's green channel (``1.0 - G``). +\ **Green Inverted:** Usa i valori invertiti del canale verde dell'immagine sorgente (``1.0 - G``). -\ **Blue Inverted:** Use inverted values from the source image's blue channel (``1.0 - B``). +\ **Blue Inverted:** Usa i valori invertiti del canale blu dell'immagine sorgente (``1.0 - B``). -\ **Alpha Inverted:** Use inverted values from the source image's alpha channel (``1.0 - A``). +\ **Alpha Inverted:** Usa i valori invertiti del canale alfa dell'immagine sorgente (``1.0 - A``). -\ **Unused:** Set the color channel's value to the default (``1.0`` for alpha, ``0.0`` for red, green or blue). +\ **Unused:** Imposta il valore del canale colore sul valore predefinito (``1.0`` per alfa, ``0.0`` per rosso, verde o blu). -\ **Zero:** Set the color channel's value to ``0.0``. +\ **Zero:** Imposta il valore del canale colore su ``0.0``. -\ **One:** Set the color channel's value to ``1.0``. +\ **One:** Imposta il valore del canale colore su ``1.0``. .. rst-class:: classref-item-separator @@ -406,29 +406,29 @@ Specifies the data source of the output image's green channel. :ref:`int` **process/channel_remap/red** = ``0`` :ref:`🔗` -Specifies the data source of the output image's red channel. +Specifica l'origine dei dati per il canale rosso dell'immagine risultante. -\ **Red:** Use the values from the source image's red channel. +\ **Red:** Usa i valori del canale rosso dell'immagine sorgente. -\ **Green:** Use the values from the source image's green channel. +\ **Green:** Usa i valori del canale verde dell'immagine sorgente. -\ **Blue:** Use the values from the source image's blue channel. +\ **Blue:** Usa i valori del canale blu dell'immagine sorgente. -\ **Alpha:** Use the values from the source image's alpha channel. +\ **Alpha:** Usa i valori del canale alfa dell'immagine sorgente. -\ **Red Inverted:** Use inverted values from the source image's red channel (``1.0 - R``). +\ **Red Inverted:** Usa i valori invertiti del canale rosso dell'immagine sorgente (``1.0 - R``). -\ **Green Inverted:** Use inverted values from the source image's green channel (``1.0 - G``). +\ **Green Inverted:** Usa i valori invertiti del canale verde dell'immagine sorgente (``1.0 - G``). -\ **Blue Inverted:** Use inverted values from the source image's blue channel (``1.0 - B``). +\ **Blue Inverted:** Usa i valori invertiti del canale blu dell'immagine sorgente (``1.0 - B``). -\ **Alpha Inverted:** Use inverted values from the source image's alpha channel (``1.0 - A``). +\ **Alpha Inverted:** Usa i valori invertiti del canale alfa dell'immagine sorgente (``1.0 - A``). -\ **Unused:** Set the color channel's value to the default (``1.0`` for alpha, ``0.0`` for red, green or blue). +\ **Unused:** Imposta il valore del canale colore sul valore predefinito (``1.0`` per alfa, ``0.0`` per rosso, verde o blu). -\ **Zero:** Set the color channel's value to ``0.0``. +\ **Zero:** Imposta il valore del canale colore su ``0.0``. -\ **One:** Set the color channel's value to ``1.0``. +\ **One:** Imposta il valore del canale colore su ``1.0``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourceloader.rst b/classes/it/class_resourceloader.rst index 84fecb8d9d..2acd721459 100644 --- a/classes/it/class_resourceloader.rst +++ b/classes/it/class_resourceloader.rst @@ -223,18 +223,18 @@ Restituisce il riferimento alla risorsa memorizzata nella cache per il percorso :ref:`PackedStringArray` **get_dependencies**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Returns the dependencies for the resource at the given ``path``. +Restituisce le dipendenze per la risorsa nel percorso ``path``. -Each dependency is a string that can be divided into sections by ``::``. There can be either one section or three sections, with the second section always being empty. When there is one section, it contains the file path. When there are three sections, the first section contains the UID and the third section contains the fallback path. +Ogni dipendenza è una stringa che si può dividere in sezioni tra ``::``. Può essere presente una o tre sezioni, con la seconda sezione sempre vuota. Quando è presente una sola sezione, contiene il percorso del file. Quando sono presenti tre sezioni, la prima sezione contiene l'UID e la terza sezione contiene il percorso di riserva. :: for dependency in ResourceLoader.get_dependencies(path): if dependency.contains("::"): - print(dependency.get_slice("::", 0)) # Prints the UID. - print(dependency.get_slice("::", 2)) # Prints the fallback path. + print(dependency.get_slice("::", 0)) # Stampa l'UID. + print(dependency.get_slice("::", 2)) # Stampa il percorso di riserva. else: - print(dependency) # Prints the path. + print(dependency) # Stampa il percorso. .. rst-class:: classref-item-separator @@ -284,16 +284,16 @@ Una volta che una risorsa è stata caricata dal motore, viene memorizzata nella :ref:`PackedStringArray` **list_directory**\ (\ directory_path\: :ref:`String`\ ) :ref:`🔗` -Lists a directory, returning all resources and subdirectories contained within. The resource files have the original file names as visible in the editor before exporting. The directories have ``"/"`` appended. +Elenca una cartella, restituendo tutte le risorse e le sottocartelle in essa contenute. I file di risorse hanno i nomi originali visibili nell'editor prima dell'esportazione. Alle cartelle è aggiunto ``"/"``. :: - # Prints ["extra_data/", "model.gltf", "model.tscn", "model_slime.png"] + # Stampa ["extra_data/", "model.gltf", "model.tscn", "model_slime.png"] print(ResourceLoader.list_directory("res://assets/enemies/slime")) -\ **Note:** The order of files and directories returned by this method is not deterministic, and can vary between operating systems. +\ **Nota:** L'ordine dei file e delle cartelle restituito da questo metodo non è deterministico e può variare a seconda del sistema operativo. -\ **Note:** To normally traverse the filesystem, see :ref:`DirAccess`. +\ **Nota:** Per attraversare normalmente il file system, consultare :ref:`DirAccess`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_resourcepreloader.rst b/classes/it/class_resourcepreloader.rst index bdc4734c63..8ca9eba63a 100644 --- a/classes/it/class_resourcepreloader.rst +++ b/classes/it/class_resourcepreloader.rst @@ -14,7 +14,7 @@ Un nodo utilizzato per precaricare sotto-risorse all'interno di una scena. Descrizione ---------------------- -Questo nodo viene utilizzato per precaricare le sotto-risorse all'interno di una scena, in modo che quando la scena viene caricata, tutte le risorse sono pronte per l'uso e possono essere recuperate dal preloader. Puoi aggiungere le risorse utilizzando la scheda ResourcePreloader quando il nodo è selezionato. +Questo nodo serve per precaricare le sotto-risorse all'interno di una scena, in modo che quando la scena viene caricata, tutte le risorse sono pronte per l'uso e possono essere recuperate dal preloader. È possibile aggiungere le risorse attraverso la scheda ResourcePreloader quando il nodo è selezionato. GDScript fornisce il metodo integrato semplificato :ref:`@GDScript.preload()` che è sufficiente nella maggior parte delle situazioni, lasciando l'uso di **ResourcePreloader** per motivi più avanzati. diff --git a/classes/it/class_resourcesaver.rst b/classes/it/class_resourcesaver.rst index 28eaac1fcf..a8101bb2d3 100644 --- a/classes/it/class_resourcesaver.rst +++ b/classes/it/class_resourcesaver.rst @@ -202,9 +202,9 @@ Restituisce :ref:`@GlobalScope.OK` in caso di su :ref:`Error` **set_uid**\ (\ resource\: :ref:`String`, uid\: :ref:`int`\ ) :ref:`🔗` -Sets the UID of the given ``resource`` path to ``uid``. You can generate a new UID using :ref:`ResourceUID.create_id()`. +Imposta l'UID del percorso ``resource`` di risorsa su ``uid``. È possibile generare un nuovo UID tramite :ref:`ResourceUID.create_id()`. -Since resources will normally get a UID automatically, this method is only useful in very specific cases. +Poiché le risorse normalmente ottengono un UID automaticamente, questo metodo è utile solo in casi molto specifici. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_resourceuid.rst b/classes/it/class_resourceuid.rst index 7b7cb9008e..3ca7b2c162 100644 --- a/classes/it/class_resourceuid.rst +++ b/classes/it/class_resourceuid.rst @@ -114,7 +114,7 @@ Per registrare questo UID, è necessario chiamare :ref:`add_id()` **create_id_for_path**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Like :ref:`create_id()`, but the UID is seeded with the provided ``path`` and project name. UIDs generated for that path will be always the same within the current project. +Simile a :ref:`create_id()`, ma l'UID è generato con il parametro ``path`` fornito e il nome del progetto. Gli UID generati per quel percorso saranno sempre gli stessi all'interno del progetto attuale. .. rst-class:: classref-item-separator @@ -126,7 +126,7 @@ Like :ref:`create_id()`, but the UID is seed :ref:`String` **ensure_path**\ (\ path_or_uid\: :ref:`String`\ ) |static| :ref:`🔗` -Returns a path, converting ``path_or_uid`` if necessary. Prints an error if provided an invalid UID. +Restituisce un percorso, convertendo ``path_or_uid`` se necessario. Stampa un errore se viene fornito un UID non valido. .. rst-class:: classref-item-separator @@ -176,7 +176,7 @@ Converte l'UID specificato in un valore di stringa ``uid://``. :ref:`String` **path_to_uid**\ (\ path\: :ref:`String`\ ) |static| :ref:`🔗` -Converts the provided resource ``path`` to a UID. Returns the unchanged path if it has no associated UID. +Converte la risorsa fornita al percorso ``path`` in un UID. Restituisce il percorso invariato se non ha un UID associato. .. rst-class:: classref-item-separator @@ -228,7 +228,7 @@ Estrae il valore UID dalla stringa ``uid://`` specificata. :ref:`String` **uid_to_path**\ (\ uid\: :ref:`String`\ ) |static| :ref:`🔗` -Converts the provided ``uid`` to a path. Prints an error if the UID is invalid. +Converte l'``uid`` fornito in un percorso. Stampa un errore se l'UID non è valido. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_richtexteffect.rst b/classes/it/class_richtexteffect.rst index 9a016a49b4..b15f116002 100644 --- a/classes/it/class_richtexteffect.rst +++ b/classes/it/class_richtexteffect.rst @@ -71,7 +71,7 @@ Descrizioni dei metodi :ref:`bool` **_process_custom_fx**\ (\ char_fx\: :ref:`CharFXTransform`\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo per modificare le proprietà in ``char_fx``. Il metodo deve restituire ``true`` se il carattere può essere trasformato correttamente. Se il metodo restituisce ``false``, ignorerà la trasformazione per evitare di visualizzare testo incorretto. +Sovrascrivi questo metodo per modificare le proprietà in ``char_fx``. Il metodo deve restituire ``true`` se il carattere può essere trasformato correttamente. Se il metodo restituisce ``false``, ignorerà la trasformazione per evitare di visualizzare testo incorretto. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_richtextlabel.rst b/classes/it/class_richtextlabel.rst index a508061a51..754c4a48ad 100644 --- a/classes/it/class_richtextlabel.rst +++ b/classes/it/class_richtextlabel.rst @@ -14,17 +14,17 @@ Un controllo per visualizzare testo che può contenere diversi stili di font, im Descrizione ---------------------- -A control for displaying text that can contain custom fonts, images, and basic formatting. **RichTextLabel** manages these as an internal tag stack. It also adapts itself to given width/heights. +Un controllo per visualizzare testo che può contenere font personalizzati, immagini e formattazione basilare. **RichTextLabel** li gestisce come uno stack di tag interno. Si adatta anche a larghezze o altezze specificate. -\ **Note:** :ref:`newline()`, :ref:`push_paragraph()`, ``"\n"``, ``"\r\n"``, ``p`` tag, and alignment tags start a new paragraph. Each paragraph is processed independently, in its own BiDi context. If you want to force line wrapping within paragraph, any other line breaking character can be used, for example, Form Feed (U+000C), Next Line (U+0085), Line Separator (U+2028). +\ **Nota:** :ref:`newline()`, :ref:`push_paragraph()`, ``"\n"``, ``"\r\n"``, il tag ``p`` e il tag di allineamento cominciano un nuovo paragrafo. Ogni paragrafo viene elaborato in modo indipendente, nel suo proprio contesto BiDi. Se si desidera forzare un'interruzione di riga all'interno del paragrafo, è possibile utilizzare qualsiasi altro carattere d'interruzione di riga, ad esempio, Form Feed (U+000C), Next Line (U+0085), Line Separator (U+2028). -\ **Note:** Assignments to :ref:`text` clear the tag stack and reconstruct it from the property's contents. Any edits made to :ref:`text` will erase previous edits made from other manual sources such as :ref:`append_text()` and the ``push_*`` / :ref:`pop()` methods. +\ **Nota:** Le assegnazioni a :ref:`text` cancellano lo stack di tag e lo ricostruiscono dai contenuti della proprietà. Qualsiasi modifica apportata a :ref:`text` cancellerà le modifiche precedenti apportate da altre sorgenti manuali come :ref:`append_text()` e i metodi ``push_*`` / :ref:`pop()`. -\ **Note:** RichTextLabel doesn't support entangled BBCode tags. For example, instead of using ``[b]bold[i]bold italic[/b]italic[/i]``, use ``[b]bold[i]bold italic[/i][/b][i]italic[/i]``. +\ **Nota:** RichTextLabel non supporta i tag BBCode aggrovigliati. Ad esempio, invece di usare ``[b]grassetto[i]grassetto corsivo[/b]corsivo[/i]``, usa ``[b]grassetto[i]grassetto corsivo[/i][/b][i]corsivo[/i]``. -\ **Note:** ``push_*/pop_*`` functions won't affect BBCode. +\ **Nota:** Le funzioni ``push_*/pop_*`` non influenzeranno il BBCode. -\ **Note:** While :ref:`bbcode_enabled` is enabled, alignment tags such as ``[center]`` will take priority over the :ref:`horizontal_alignment` setting which determines the default text alignment. +\ **Nota:** Quando :ref:`bbcode_enabled` è abilitato, i tag di allineamento come ``[center]`` avranno la priorità sull'impostazione :ref:`horizontal_alignment` che determina l'allineamento predefinito del testo. .. rst-class:: classref-introduction-group @@ -632,7 +632,7 @@ Descrizioni delle proprietà - |void| **set_autowrap_mode**\ (\ value\: :ref:`AutowrapMode`\ ) - :ref:`AutowrapMode` **get_autowrap_mode**\ (\ ) -Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`, il testo è racchiuso all'interno del rettangolo limite del nodo. +Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`, il testo è racchiuso all'interno del rettangolo di delimitazione del nodo. .. rst-class:: classref-item-separator @@ -649,7 +649,7 @@ Se impostato a un valore diverso da :ref:`TextServer.AUTOWRAP_OFF`\]\ ) - |bitfield|\[:ref:`LineBreakFlag`\] **get_autowrap_trim_flags**\ (\ ) -Autowrap space trimming flags. See :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` and :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` for more info. +Flag di troncamento spazi per il ritorno a capo automatico. Vedi :ref:`TextServer.BREAK_TRIM_START_EDGE_SPACES` e :ref:`TextServer.BREAK_TRIM_END_EDGE_SPACES` per ulteriori informazioni. .. rst-class:: classref-item-separator @@ -806,7 +806,7 @@ Controlla l'allineamento orizzontale del testo. Supporta sinistra, centro, destr - |void| **set_justification_flags**\ (\ value\: |bitfield|\[:ref:`JustificationFlag`\]\ ) - |bitfield|\[:ref:`JustificationFlag`\] **get_justification_flags**\ (\ ) -Line fill alignment rules. +Regole di allineamento del riempimento per le righe. .. rst-class:: classref-item-separator @@ -910,7 +910,7 @@ Se ``true``, la finestra scorre verso il basso per visualizzare automaticamente - |void| **set_scroll_follow_visible_characters**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_scroll_following_visible_characters**\ (\ ) -If ``true``, the window scrolls to display the last visible line when :ref:`visible_characters` or :ref:`visible_ratio` is changed. +Se ``true``, la finestra scorre per visualizzare l'ultima riga visibile quando :ref:`visible_characters` o :ref:`visible_ratio` vengono modificati. .. rst-class:: classref-item-separator @@ -1101,11 +1101,11 @@ Controlla l'allineamento verticale del testo. Supporta sopra, centro, sotto e ri - |void| **set_visible_characters**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_visible_characters**\ (\ ) -The number of characters to display. If set to ``-1``, all characters are displayed. This can be useful when animating the text appearing in a dialog box. +Il numero di caratteri da visualizzare. Se impostato su ``-1``, tutti i caratteri sono visualizzati. Può essere utile quando si anima il testo che appare in una finestra di dialogo. -\ **Note:** Setting this property updates :ref:`visible_ratio` accordingly. +\ **Nota:** Impostando questa proprietà si aggiorna :ref:`visible_ratio` di conseguenza. -\ **Note:** Characters are counted as Unicode codepoints. A single visible grapheme may contain multiple codepoints (e.g. certain emoji use three codepoints). A single codepoint may contain two UTF-16 characters, which are used in C# strings. +\ **Nota:** I caratteri sono conteggiati come codici Unicode. Un singolo grafema visibile può contenere più codici (ad esempio, alcune emoji ne utilizzano tre). Un singolo codice può contenere due caratteri UTF-16, i quali sono utilizzati nelle stringhe C#. .. rst-class:: classref-item-separator @@ -1158,11 +1158,11 @@ Descrizioni dei metodi |void| **add_hr**\ (\ width\: :ref:`int` = 90, height\: :ref:`int` = 2, color\: :ref:`Color` = Color(1, 1, 1, 1), alignment\: :ref:`HorizontalAlignment` = 1, width_in_percent\: :ref:`bool` = true, height_in_percent\: :ref:`bool` = false\ ) :ref:`🔗` -Adds a horizontal rule that can be used to separate content. +Aggiunge una linea orizzontale che si può utilizzare per separare il contenuto. -If ``width_in_percent`` is set, ``width`` values are percentages of the control width instead of pixels. +Se ``width_in_percent`` è impostato, i valori di ``width`` sono percentuali della larghezza del controllo anziché pixel. -If ``height_in_percent`` is set, ``height`` values are percentages of the control width instead of pixels. +Se ``height_in_percent`` è impostato, i valori di ``height`` sono percentuali della larghezza del controllo anziché pixel. .. rst-class:: classref-item-separator @@ -1174,21 +1174,21 @@ If ``height_in_percent`` is set, ``height`` values are percentages of the contro |void| **add_image**\ (\ image\: :ref:`Texture2D`, width\: :ref:`int` = 0, height\: :ref:`int` = 0, color\: :ref:`Color` = Color(1, 1, 1, 1), inline_align\: :ref:`InlineAlignment` = 5, region\: :ref:`Rect2` = Rect2(0, 0, 0, 0), key\: :ref:`Variant` = null, pad\: :ref:`bool` = false, tooltip\: :ref:`String` = "", width_in_percent\: :ref:`bool` = false, height_in_percent\: :ref:`bool` = false, alt_text\: :ref:`String` = ""\ ) :ref:`🔗` -Adds an image's opening and closing tags to the tag stack, optionally providing a ``width`` and ``height`` to resize the image, a ``color`` to tint the image and a ``region`` to only use parts of the image. +Aggiunge i tag di apertura e chiusura di un'immagine allo stack dei tag, fornendo facoltativamente un ``width`` e ``height`` per ridimensionare l'immagine, un ``color`` per colorare l'immagine e un ``region`` per utilizzare solo parti dell'immagine. -If ``width`` or ``height`` is set to 0, the image size will be adjusted in order to keep the original aspect ratio. +Se ``width`` o ``height`` sono impostati su 0, le dimensioni dell'immagine saranno regolate per mantenere le proporzioni originali. -If ``width`` and ``height`` are not set, but ``region`` is, the region's rect will be used. +Se ``width`` e ``height`` non sono impostati, ma ``region`` lo è, sarà utilizzato il rettangolo della regione. -\ ``key`` is an optional identifier, that can be used to modify the image via :ref:`update_image()`. +\ ``key`` è un identificatore facoltativo, che può essere utilizzato per modificare l'immagine tramite :ref:`update_image()`. -If ``pad`` is set, and the image is smaller than the size specified by ``width`` and ``height``, the image padding is added to match the size instead of upscaling. +Se ``pad`` è impostato e l'immagine è più piccola delle dimensioni specificate da ``width`` e ``height``, il padding dell'immagine viene aggiunto per adattarla alle dimensioni anziché ridimensionarla. -If ``width_in_percent`` is set, ``width`` values are percentages of the control width instead of pixels. +Se ``width_in_percent`` è impostato, i valori per ``width`` sono percentuali della larghezza del controllo anziché pixel. -If ``height_in_percent`` is set, ``height`` values are percentages of the control width instead of pixels. +Se ``height_in_percent`` è impostato, i valori per ``height`` sono percentuali della larghezza del controllo anziché pixel. -\ ``alt_text`` is used as the image description for assistive apps. +\ ``alt_text`` è utilizzato come descrizione dell'immagine per le applicazioni assistive. .. rst-class:: classref-item-separator @@ -1280,11 +1280,11 @@ Restituisce il numero di paragrafo della posizione di carattere fornita. I numer :ref:`int` **get_content_height**\ (\ ) |const| :ref:`🔗` -Returns the height of the content. +Restituisce l'altezza del contenuto. -\ **Note:** This method always returns the full content size, and is not affected by :ref:`visible_ratio` and :ref:`visible_characters`. To get the visible content size, use :ref:`get_visible_content_rect()`. +\ **Nota:** Questo metodo restituisce sempre la dimensione completa del contenuto e non è influenzato da :ref:`visible_ratio` e :ref:`visible_characters`. Per ottenere la dimensione visibile del contenuto, utilizzare :ref:`get_visible_content_rect()`. -\ **Note:** If :ref:`threaded` is enabled, this method returns a value for the loaded part of the document. Use :ref:`is_finished()` or :ref:`finished` to determine whether document is fully loaded. +\ **Nota:** Se :ref:`threaded` è abilitato, questo metodo restituisce un valore per la parte caricata del documento. Usa :ref:`is_finished()` o :ref:`finished` per determinare se il documento ha caricato completamente. .. rst-class:: classref-item-separator @@ -1296,11 +1296,11 @@ Returns the height of the content. :ref:`int` **get_content_width**\ (\ ) |const| :ref:`🔗` -Returns the width of the content. +Restituisce la larghezza del contenuto. -\ **Note:** This method always returns the full content size, and is not affected by :ref:`visible_ratio` and :ref:`visible_characters`. To get the visible content size, use :ref:`get_visible_content_rect()`. +\ **Nota:** Questo metodo restituisce sempre la dimensione completa del contenuto e non è influenzato da :ref:`visible_ratio` e :ref:`visible_characters`. Per ottenere la dimensione visibile del contenuto, utilizzare :ref:`get_visible_content_rect()`. -\ **Note:** If :ref:`threaded` is enabled, this method returns a value for the loaded part of the document. Use :ref:`is_finished()` or :ref:`finished` to determine whether document is fully loaded. +\ **Nota:** Se :ref:`threaded` è abilitato, questo metodo restituisce un valore per la parte caricata del documento. Usa :ref:`is_finished()` o :ref:`finished` per determinare se il documento ha caricato completamente. .. rst-class:: classref-item-separator @@ -1312,9 +1312,9 @@ Returns the width of the content. :ref:`int` **get_line_count**\ (\ ) |const| :ref:`🔗` -Returns the total number of lines in the text. Wrapped text is counted as multiple lines. +Restituisce il numero totale di righe nel testo. Il testo avvolto conta come più righe. -\ **Note:** If :ref:`threaded` is enabled, this method returns a value for the loaded part of the document. Use :ref:`is_finished()` or :ref:`finished` to determine whether document is fully loaded. +\ **Nota:** Se :ref:`threaded` è abilitato, questo metodo restituisce un valore per la parte caricata del documento. Usa :ref:`is_finished()` o :ref:`finished` per determinare se il documento ha caricato completamente. .. rst-class:: classref-item-separator @@ -1555,9 +1555,9 @@ Restituisce la barra di scorrimento verticale. :ref:`Rect2i` **get_visible_content_rect**\ (\ ) |const| :ref:`🔗` -Returns the bounding rectangle of the visible content. +Restituisce il rettangolo limite del contenuto visibile. -\ **Note:** This method returns a correct value only after the label has been drawn. +\ **Nota:** Questo metodo restituisce un valore corretto solo dopo che l'etichetta è stata disegnata. .. tabs:: @@ -1600,11 +1600,11 @@ Returns the bounding rectangle of the visible content. :ref:`int` **get_visible_line_count**\ (\ ) |const| :ref:`🔗` -Returns the number of visible lines. +Restituisce il numero di righe visibili. -\ **Note:** This method returns a correct value only after the label has been drawn. +\ **Nota:** Questo metodo restituisce un valore corretto solo dopo che l'etichetta è stata disegnata. -\ **Note:** If :ref:`threaded` is enabled, this method returns a value for the loaded part of the document. Use :ref:`is_finished()` or :ref:`finished` to determine whether document is fully loaded. +\ **Nota:** Se :ref:`threaded` è abilitato, questo metodo restituisce un valore per la parte caricata del documento. Usa :ref:`is_finished()` o :ref:`finished` per determinare se il documento ha caricato completamente. .. rst-class:: classref-item-separator @@ -1616,11 +1616,11 @@ Returns the number of visible lines. :ref:`int` **get_visible_paragraph_count**\ (\ ) |const| :ref:`🔗` -Returns the number of visible paragraphs. A paragraph is considered visible if at least one of its lines is visible. +Restituisce il numero di paragrafi visibili. Un paragrafo è considerato visibile se almeno una delle sue righe è visibile. -\ **Note:** This method returns a correct value only after the label has been drawn. +\ **Nota:** Questo metodo restituisce un valore corretto solo dopo che l'etichetta è stata disegnata. -\ **Note:** If :ref:`threaded` is enabled, this method returns a value for the loaded part of the document. Use :ref:`is_finished()` or :ref:`finished` to determine whether document is fully loaded. +\ **Nota:** Se :ref:`threaded` è abilitato, questo metodo restituisce un valore per la parte caricata del documento. Usa :ref:`is_finished()` o :ref:`finished` per determinare se il documento ha caricato completamente. .. rst-class:: classref-item-separator @@ -1803,9 +1803,9 @@ Termina i tag aperti dopo l'ultima chiamata a :ref:`push_context()`\ ) :ref:`🔗` -Adds a ``[bgcolor]`` tag to the tag stack. +Aggiunge un tag ``[bgcolor]`` allo stack dei tag. -\ **Note:** The background color has padding applied by default, which is controlled using :ref:`text_highlight_h_padding` and :ref:`text_highlight_v_padding`. This can lead to overlapping highlights if background colors are placed on neighboring lines/columns, so consider setting those theme items to ``0`` if you want to avoid this. +\ **Nota:** Al colore di sfondo è applicato un rientro predefinito, che è controllato attraverso :ref:`text_highlight_h_padding` e :ref:`text_highlight_v_padding`. Ciò può portare le evidenziazioni a sovrapporsi se i colori di sfondo si trovano su righe/colonne adiacenti, quindi si consiglia di impostare tali elementi del tema su ``0`` se si desidera evitarlo. .. rst-class:: classref-item-separator @@ -1901,9 +1901,9 @@ Aggiunge un tag ``[dropcap]`` allo stack dei tag. Il capolettera è un elemento |void| **push_fgcolor**\ (\ fgcolor\: :ref:`Color`\ ) :ref:`🔗` -Adds a ``[fgcolor]`` tag to the tag stack. +Aggiunge un tag ``[fgcolor]`` allo stack dei tag. -\ **Note:** The foreground color has padding applied by default, which is controlled using :ref:`text_highlight_h_padding` and :ref:`text_highlight_v_padding`. This can lead to overlapping highlights if foreground colors are placed on neighboring lines/columns, so consider setting those theme items to ``0`` if you want to avoid this. +\ **Nota:** Al colore di primo piano è applicato un rientro predefinito, che è controllato attraverso :ref:`text_highlight_h_padding` e :ref:`text_highlight_v_padding`. Ciò può portare le evidenziazioni a sovrapporsi se i colori di primo piano si trovano su righe/colonne adiacenti, quindi si consiglia di impostare tali elementi del tema su ``0`` se si desidera evitarlo. .. rst-class:: classref-item-separator @@ -2077,7 +2077,7 @@ Aggiunge un tag ``[p]`` allo stack dei tag. |void| **push_strikethrough**\ (\ color\: :ref:`Color` = Color(0, 0, 0, 0)\ ) :ref:`🔗` -Adds a ``[s]`` tag to the tag stack. If ``color`` alpha value is zero, current font color with alpha multiplied by :ref:`strikethrough_alpha` is used. +Aggiunge un tag ``[s]`` allo stack dei tag. Se il valore alfa di ``color`` è zero, è utilizzato il colore del font attuale con alfa moltiplicato per :ref:`strikethrough_alpha`. .. rst-class:: classref-item-separator @@ -2113,7 +2113,7 @@ Aggiunge un tag ``[u]`` allo stack dei tag. Se il valore alfa di ``color`` è ze |void| **reload_effects**\ (\ ) :ref:`🔗` -Reloads custom effects. Useful when :ref:`custom_effects` is modified manually. +Ricarica gli effetti personalizzati. Utile quando :ref:`custom_effects` viene modificato manualmente. .. rst-class:: classref-item-separator @@ -2406,7 +2406,7 @@ La dimensione del contorno del testo. :ref:`int` **paragraph_separation** = ``0`` :ref:`🔗` -Additional vertical spacing between paragraphs (in pixels). Spacing is added after the last line. This value can be negative. +Spaziatura verticale aggiuntiva tra paragrafi (in pixel). La spaziatura è aggiunta dopo l'ultima riga. Questo valore può essere negativo. .. rst-class:: classref-item-separator @@ -2454,7 +2454,7 @@ La dimensione del contorno dell'ombra. :ref:`int` **strikethrough_alpha** = ``50`` :ref:`🔗` -The default strikethrough color transparency (percent). For strikethroughs with a custom color, this theme item is only used if the custom color's alpha is ``0.0`` (fully transparent). +La trasparenza predefinita del colore di barratura (in percentuale). Per le barrature con un colore personalizzato, questo elemento del tema è utilizzato solo se il valore alfa del colore personalizzato è ``0.0`` (completamente trasparente). .. rst-class:: classref-item-separator @@ -2514,7 +2514,7 @@ La spaziatura verticale attorno ai riquadri disegnati dai tag ``[fgcolor]`` e `` :ref:`int` **underline_alpha** = ``50`` :ref:`🔗` -The default underline color transparency (percent). For underlines with a custom color, this theme item is only used if the custom color's alpha is ``0.0`` (fully transparent). +La trasparenza predefinita del colore di sottolineatura (in percentuale). Per le sottolineature con un colore personalizzato, questo elemento del tema è utilizzato solo se il valore alfa del colore personalizzato è ``0.0`` (completamente trasparente). .. rst-class:: classref-item-separator @@ -2646,7 +2646,7 @@ La dimensione predefinita del font. :ref:`Texture2D` **horizontal_rule** :ref:`🔗` -The horizontal rule texture. +La texture della linea orizzontale. .. rst-class:: classref-item-separator diff --git a/classes/it/class_rid.rst b/classes/it/class_rid.rst index b9b2d98e9c..a22bcb2265 100644 --- a/classes/it/class_rid.rst +++ b/classes/it/class_rid.rst @@ -97,7 +97,7 @@ Costruisce un **RID** vuoto con un ID non valido ``0``. :ref:`RID` **RID**\ (\ from\: :ref:`RID`\ ) -Constructs an **RID** as a copy of the given **RID**. +Costruisce un **RID** come copia del **RID** specificato. .. rst-class:: classref-section-separator diff --git a/classes/it/class_rigidbody2d.rst b/classes/it/class_rigidbody2d.rst index 38e26827f3..4d3bdc92fb 100644 --- a/classes/it/class_rigidbody2d.rst +++ b/classes/it/class_rigidbody2d.rst @@ -16,17 +16,17 @@ Un corpo fisico 2D che viene spostato da una simulazione fisica. Descrizione ---------------------- -**RigidBody2D** implements full 2D physics. It cannot be controlled directly, instead, you must apply forces to it (gravity, impulses, etc.), and the physics simulation will calculate the resulting movement, rotation, react to collisions, and affect other physics bodies in its path. +**RigidBody2D** implementa la fisica 2D completa. Non può essere controllato direttamente, ma è necessario applicargli delle forze (gravità, impulsi, ecc.) e la simulazione fisica calcolerà il movimento risultante, la rotazione, reagirà alle collisioni e influenzerà altri corpi fisici sul suo percorso. -The body's behavior can be adjusted via :ref:`lock_rotation`, :ref:`freeze`, and :ref:`freeze_mode`. By changing various properties of the object, such as :ref:`mass`, you can control how the physics simulation acts on it. +Il comportamento del corpo può essere regolato tramite :ref:`lock_rotation`, :ref:`freeze` e :ref:`freeze_mode`. Modificando varie proprietà dell'oggetto, come :ref:`mass`, puoi controllare come la simulazione fisica agisce su di esso. -A rigid body will always maintain its shape and size, even when forces are applied to it. It is useful for objects that can be interacted with in an environment, such as a tree that can be knocked over or a stack of crates that can be pushed around. +Un corpo rigido manterrà sempre la sua forma e dimensione, anche quando gli vengono applicate delle forze. È utile per oggetti con cui è possibile interagire in un ambiente, come un albero che può essere abbattuto o una pila di casse che può essere spinta. -If you need to directly affect the body, prefer :ref:`_integrate_forces()` as it allows you to directly access the physics state. +Se devi influenzare direttamente il corpo, preferisci implementare :ref:`_integrate_forces()` in quanto ti consente di accedere direttamente allo stato fisico. -If you need to override the default physics behavior, you can write a custom force integration function. See :ref:`custom_integrator`. +Se hai bisogno di sovrascrivere il comportamento fisico predefinito, puoi scrivere una funzione di integrazione delle forze personalizzata. Vedi :ref:`custom_integrator`. -\ **Note:** Changing the 2D transform or :ref:`linear_velocity` of a **RigidBody2D** very often may lead to some unpredictable behaviors. This also happens when a **RigidBody2D** is the descendant of a constantly moving node, like another **RigidBody2D**, as that will cause its global transform to be set whenever its ancestor moves. +\ **Nota:** Cambiare la trasformazione 2D o :ref:`linear_velocity` di un **RigidBody2D** molto spesso può portare ad alcuni comportamenti imprevedibili. Questo accade anche quando un **RigidBody2D** è il discendente di un nodo in continuo movimento, come un altro **RigidBody2D**, poiché ciò causerà l'impostazione della sua trasformazione globale ogni volta che il suo antenato si muove. .. rst-class:: classref-introduction-group @@ -35,7 +35,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - `Demo di gioco a piattaforme di fisica 2D `__ @@ -376,7 +376,7 @@ Vedi :ref:`ProjectSettings.physics/2d/default_angular_damp`\ ) - :ref:`DampMode` **get_angular_damp_mode**\ (\ ) -Defines how :ref:`angular_damp` is applied. +Definisce come :ref:`angular_damp` è applicato. .. rst-class:: classref-item-separator @@ -427,9 +427,9 @@ Se ``true``, il corpo può entrare in modalità di riposo quando non c'è movime - |void| **set_center_of_mass**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_center_of_mass**\ (\ ) -The body's custom center of mass, relative to the body's origin position, when :ref:`center_of_mass_mode` is set to :ref:`CENTER_OF_MASS_MODE_CUSTOM`. This is the balanced point of the body, where applied forces only cause linear acceleration. Applying forces outside of the center of mass causes angular acceleration. +Il centro di massa personalizzato del corpo, relativo alla posizione di origine del corpo, quando :ref:`center_of_mass_mode` è impostato su :ref:`CENTER_OF_MASS_MODE_CUSTOM`. Questo è il punto di equilibrio del corpo, dove le forze applicate provocano solo accelerazione lineare. Le forze applicate all'esterno del centro di massa provocano accelerazione angolare. -When :ref:`center_of_mass_mode` is set to :ref:`CENTER_OF_MASS_MODE_AUTO` (default value), the center of mass is automatically determined, but this does not update the value of :ref:`center_of_mass`. +Quando :ref:`center_of_mass_mode` è impostato su :ref:`CENTER_OF_MASS_MODE_AUTO` (valore predefinito), il centro di massa è calcolato automaticamente, ma ciò non aggiorna il valore di :ref:`center_of_mass`. .. rst-class:: classref-item-separator @@ -681,7 +681,7 @@ Consulta :ref:`ProjectSettings.physics/2d/default_linear_damp`\ ) - :ref:`DampMode` **get_linear_damp_mode**\ (\ ) -Defines how :ref:`linear_damp` is applied. +Definisce come :ref:`linear_damp` è applicato. .. rst-class:: classref-item-separator diff --git a/classes/it/class_rigidbody3d.rst b/classes/it/class_rigidbody3d.rst index 31898fab91..7a901a0761 100644 --- a/classes/it/class_rigidbody3d.rst +++ b/classes/it/class_rigidbody3d.rst @@ -16,17 +16,17 @@ Un corpo fisico 2D che viene spostato da una simulazione fisica. Descrizione ---------------------- -**RigidBody3D** implements full 3D physics. It cannot be controlled directly, instead, you must apply forces to it (gravity, impulses, etc.), and the physics simulation will calculate the resulting movement, rotation, react to collisions, and affect other physics bodies in its path. +:ref:`RigidBody2D` implementa la fisica 3D completa. Non può essere controllato direttamente, ma è necessario applicargli delle forze (gravità, impulsi, ecc.) e la simulazione fisica calcolerà il movimento risultante, la rotazione, reagirà alle collisioni e influenzerà altri corpi fisici sul suo percorso. -The body's behavior can be adjusted via :ref:`lock_rotation`, :ref:`freeze`, and :ref:`freeze_mode`. By changing various properties of the object, such as :ref:`mass`, you can control how the physics simulation acts on it. +Il comportamento del corpo può essere regolato tramite :ref:`lock_rotation`, :ref:`freeze` e :ref:`freeze_mode`. Modificando varie proprietà dell'oggetto, come :ref:`mass`, puoi controllare come la simulazione fisica agisce su di esso. -A rigid body will always maintain its shape and size, even when forces are applied to it. It is useful for objects that can be interacted with in an environment, such as a tree that can be knocked over or a stack of crates that can be pushed around. +Un corpo rigido manterrà sempre la sua forma e dimensione, anche quando gli vengono applicate delle forze. È utile per oggetti con cui è possibile interagire in un ambiente, come un albero che può essere abbattuto o una pila di casse che può essere spinta. -If you need to directly affect the body, prefer :ref:`_integrate_forces()` as it allows you to directly access the physics state. +Se devi influenzare direttamente il corpo, preferisci implementare :ref:`_integrate_forces()` in quanto ti consente di accedere direttamente allo stato fisico. -If you need to override the default physics behavior, you can write a custom force integration function. See :ref:`custom_integrator`. +Se hai bisogno di sovrascrivere il comportamento fisico predefinito, puoi scrivere una funzione di integrazione delle forze personalizzata. Vedi :ref:`custom_integrator`. -\ **Note:** Changing the 3D transform or :ref:`linear_velocity` of a **RigidBody3D** very often may lead to some unpredictable behaviors. This also happens when a **RigidBody3D** is the descendant of a constantly moving node, like another **RigidBody3D**, as that will cause its global transform to be set whenever its ancestor moves. +\ **Nota:** Cambiare la trasformazione 3D o :ref:`linear_velocity` di un **RigidBody3D** molto spesso può portare ad alcuni comportamenti imprevedibili. Questo accade anche quando un **RigidBody3D** è il discendente di un nodo in continuo movimento, come un altro **RigidBody3D**, poiché ciò causerà l'impostazione della sua trasformazione globale ogni volta che il suo antenato si muove. .. rst-class:: classref-introduction-group @@ -35,7 +35,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - `Demo 3D "Truck Town" `__ @@ -344,7 +344,7 @@ Vedi :ref:`ProjectSettings.physics/3d/default_angular_damp`\ ) - :ref:`DampMode` **get_angular_damp_mode**\ (\ ) -Defines how :ref:`angular_damp` is applied. +Definisce come :ref:`angular_damp` è applicato. .. rst-class:: classref-item-separator @@ -395,9 +395,9 @@ Se ``true``, il corpo può entrare in modalità di riposo quando non c'è movime - |void| **set_center_of_mass**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_center_of_mass**\ (\ ) -The body's custom center of mass, relative to the body's origin position, when :ref:`center_of_mass_mode` is set to :ref:`CENTER_OF_MASS_MODE_CUSTOM`. This is the balanced point of the body, where applied forces only cause linear acceleration. Applying forces outside of the center of mass causes angular acceleration. +Il centro di massa personalizzato del corpo, relativo alla posizione di origine del corpo, quando :ref:`center_of_mass_mode` è impostato su :ref:`CENTER_OF_MASS_MODE_CUSTOM`. Questo è il punto di equilibrio del corpo, dove le forze applicate provocano solo accelerazione lineare. Le forze applicate all'esterno del centro di massa provocano accelerazione angolare. -When :ref:`center_of_mass_mode` is set to :ref:`CENTER_OF_MASS_MODE_AUTO` (default value), the center of mass is automatically determined, but this does not update the value of :ref:`center_of_mass`. +Quando :ref:`center_of_mass_mode` è impostato su :ref:`CENTER_OF_MASS_MODE_AUTO` (valore predefinito), il centro di massa è calcolato automaticamente, ma ciò non aggiorna il valore di :ref:`center_of_mass`. .. rst-class:: classref-item-separator @@ -649,7 +649,7 @@ Consulta :ref:`ProjectSettings.physics/3d/default_linear_damp`\ ) - :ref:`DampMode` **get_linear_damp_mode**\ (\ ) -Defines how :ref:`linear_damp` is applied. +Definisce come :ref:`linear_damp` è applicato. .. rst-class:: classref-item-separator diff --git a/classes/it/class_rootmotionview.rst b/classes/it/class_rootmotionview.rst index 946278647e..3965f337a5 100644 --- a/classes/it/class_rootmotionview.rst +++ b/classes/it/class_rootmotionview.rst @@ -14,7 +14,7 @@ Classe di supporto solo per l'editor per configurare il movimento di radice in : Descrizione ---------------------- -*Root motion* si riferisce a una tecnica di animazione in cui lo scheletro di una mesh viene utilizzato per dare impulso a un personaggio. Quando si lavora con animazioni in3D, una tecnica popolare per gli animatori è quella di utilizzare l'osso radice dello scheletro per dare movimento al resto dello scheletro. Ciò consente di animare i personaggi in un modo in cui i passi corrispondono effettivamente al pavimento sottostante. Consente inoltre un'interazione precisa con gli oggetti durante le cinematiche. Vedi anche :ref:`AnimationMixer`. +*Root motion* si riferisce a una tecnica di animazione in cui lo scheletro di una mesh è utilizzato per dare impulso a un personaggio. Quando si lavora con animazioni in3D, una tecnica popolare per gli animatori è quella di utilizzare l'osso radice dello scheletro per dare movimento al resto dello scheletro. Ciò consente di animare i personaggi in modo che i passi corrispondano effettivamente al pavimento sottostante. Consente inoltre di interagire precisamente con gli oggetti durante le cinematiche. Vedi anche :ref:`AnimationMixer`. \ **Nota:** **RootMotionView** è visibile solo nell'editor. Sarà nascosto automaticamente nel progetto in esecuzione. diff --git a/classes/it/class_scenetree.rst b/classes/it/class_scenetree.rst index 4e47919527..7c95f794fa 100644 --- a/classes/it/class_scenetree.rst +++ b/classes/it/class_scenetree.rst @@ -208,14 +208,14 @@ Emesso subito prima che :ref:`Node._process()` -Emitted after the new scene is added to scene tree and initialized. Can be used to reliably access :ref:`current_scene` when changing scenes. +Emesso dopo che la nuova scena è stata aggiunta all'albero di scene e inizializzata. È possibile utilizzarlo per accedere in modo sicuro a :ref:`current_scene` quando si cambia scena. :: - # This code should be inside an autoload. + # Questo codice si dovrebbe trovare all'interno di un autoload. get_tree().change_scene_to_file(other_scene_path) await get_tree().scene_changed - print(get_tree().current_scene) # Prints the new scene. + print(get_tree().current_scene) # Stampa la nuova scena. .. rst-class:: classref-item-separator @@ -270,7 +270,7 @@ Chiama i nodi all'interno di un gruppo senza alcun comportamento speciale (prede :ref:`GroupCallFlags` **GROUP_CALL_REVERSE** = ``1`` -Chiama i nodi all'interno di un gruppo in ordine gerarchico ad albero inverso (tutti i nodi figlio nidificati vengono chiamati prima dei rispettivi nodi genitore). +Chiama i nodi all'interno di un gruppo in ordine gerarchico ad albero inverso (tutti i nodi figlio innestati vengono chiamati prima dei rispettivi nodi genitore). .. _class_SceneTree_constant_GROUP_CALL_DEFERRED: @@ -575,19 +575,19 @@ Restituisce :ref:`@GlobalScope.OK` in caso di su :ref:`Error` **change_scene_to_packed**\ (\ packed_scene\: :ref:`PackedScene`\ ) :ref:`🔗` -Changes the running scene to a new instance of the given :ref:`PackedScene` (which must be valid). +Sostituisce la scena in esecuzione con una nuova istanza del :ref:`PackedScene` specificato (che deve essere valido). -Returns :ref:`@GlobalScope.OK` on success, :ref:`@GlobalScope.ERR_CANT_CREATE` if the scene cannot be instantiated, or :ref:`@GlobalScope.ERR_INVALID_PARAMETER` if the scene is invalid. +Restituisce :ref:`@GlobalScope.OK` in caso di successo, :ref:`@GlobalScope.ERR_CANT_CREATE` se la scena non può essere istanziata o :ref:`@GlobalScope.ERR_INVALID_PARAMETER` se la scena non è valida. -\ **Note:** Operations happen in the following order when :ref:`change_scene_to_packed()` is called: +\ **Nota:** Le operazioni vengono eseguite nel seguente ordine quando :ref:`change_scene_to_packed()` viene chiamato: -1. The current scene node is immediately removed from the tree. From that point, :ref:`Node.get_tree()` called on the current (outgoing) scene will return ``null``. :ref:`current_scene` will be ``null``, too, because the new scene is not available yet. +1. Il nodo della scena attuale viene immediatamente rimosso dall'albero. Da quel momento in poi, chiamando :ref:`Node.get_tree()` sulla scena attuale (in uscita) restituirà ``null``. Anche :ref:`current_scene` sarà ``null``, poiché la nuova scena non è ancora disponibile. -2. At the end of the frame, the formerly current scene, already removed from the tree, will be deleted (freed from memory) and then the new scene will be instantiated and added to the tree. :ref:`Node.get_tree()` and :ref:`current_scene` will be back to working as usual. +2. Alla fine del frame, la scena precedentemente attuale, già rimossa dall'albero, verrà eliminata (liberata dalla memoria) e la nuova scena verrà istanziata e aggiunta all'albero. :ref:`Node.get_tree()` e :ref:`current_scene` torneranno a funzionare normalmente. -This ensures that both scenes aren't running at the same time, while still freeing the previous scene in a safe way similar to :ref:`Node.queue_free()`. +Ciò garantisce che entrambe le scene non siano eseguite allo stesso tempo, liberando comunque la scena precedente in modo sicuro, simile a :ref:`Node.queue_free()`. -If you want to reliably access the new scene, await the :ref:`scene_changed` signal. +Se si desidera accedere in modo affidabile alla nuova scena, attendere il segnale :ref:`scene_changed`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_scriptbacktrace.rst b/classes/it/class_scriptbacktrace.rst index 22bfcc606f..d294437b56 100644 --- a/classes/it/class_scriptbacktrace.rst +++ b/classes/it/class_scriptbacktrace.rst @@ -7,16 +7,16 @@ ScriptBacktrace **Eredita:** :ref:`RefCounted` **<** :ref:`Object` -A captured backtrace of a specific script language. +Un backtrace catturato di uno specifico linguaggio di script. .. rst-class:: classref-introduction-group Descrizione ---------------------- -**ScriptBacktrace** holds an already captured backtrace of a specific script language, such as GDScript or C#, which are captured using :ref:`Engine.capture_script_backtraces()`. +**ScriptBacktrace** contiene un backtrace già catturato di uno specifico linguaggio di scripting, come GDScript o C#, che è catturato attraverso :ref:`Engine.capture_script_backtraces()`. -See :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks` and :ref:`ProjectSettings.debug/settings/gdscript/always_track_local_variables` for ways of controlling the contents of this class. +Consultare :ref:`ProjectSettings.debug/settings/gdscript/always_track_call_stacks` e :ref:`ProjectSettings.debug/settings/gdscript/always_track_local_variables` per informazioni su come controllare il contenuto di questa classe. .. rst-class:: classref-reftable-group @@ -75,9 +75,9 @@ Descrizioni dei metodi :ref:`String` **format**\ (\ indent_all\: :ref:`int` = 0, indent_frames\: :ref:`int` = 4\ ) |const| :ref:`🔗` -Converts the backtrace to a :ref:`String`, where the entire string will be indented by ``indent_all`` number of spaces, and the individual stack frames will be additionally indented by ``indent_frames`` number of spaces. +Converte il backtrace in una :ref:`String`, dove l'intera stringa sarà rientrata di un numero di spazi pari a ``indent_all`` e i singoli stack frame saranno ulteriormente rientrati di un numero di spazi pari a ``indent_frames``. -\ **Note:** Calling :ref:`Object.to_string()` on a **ScriptBacktrace** will produce the same output as calling :ref:`format()` with all parameters left at their default values. +\ **Nota:** Chiamare :ref:`Object.to_string()` su uno **ScriptBacktrace** produrrà lo stesso risultato di chiamare :ref:`format()`, con tutti i parametri lasciati ai loro valori predefiniti. .. rst-class:: classref-item-separator @@ -137,9 +137,9 @@ Restituisce il numero di riga del sito di chiamata rappresentato dal frame dello :ref:`int` **get_global_variable_count**\ (\ ) |const| :ref:`🔗` -Returns the number of global variables (e.g. autoload singletons) in the backtrace. +Restituisce il numero di variabili globali (ad esempio, singleton autoload) nel backtrace. -\ **Note:** This will be non-zero only if the ``include_variables`` parameter was ``true`` when capturing the backtrace with :ref:`Engine.capture_script_backtraces()`. +\ **Nota:** Questo valore sarà diverso da zero solo se il parametro ``include_variables`` era ``true`` durante la cattura del backtrace con :ref:`Engine.capture_script_backtraces()`. .. rst-class:: classref-item-separator @@ -163,9 +163,9 @@ Restituisce il nome della variabile globale al frame dello stack all'indice spec :ref:`Variant` **get_global_variable_value**\ (\ variable_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the value of the global variable at the specified index. +Restituisce il valore della variabile globale all'indice specificato. -\ **Warning:** With GDScript backtraces, the returned :ref:`Variant` will be the variable's actual value, including any object references. This means that storing the returned :ref:`Variant` will prevent any such object from being deallocated, so it's generally recommended not to do so. +\ **Attenzione:** Con i backtrace di GDScript, il :ref:`Variant` restituito sarà il valore attuale della variabile, inclusi eventuali riferimenti a oggetti. Ciò significa che memorizzando il :ref:`Variant` restituito si impedirà la deallocazione di tali oggetti, quindi in genere si consiglia di non farlo. .. rst-class:: classref-item-separator @@ -189,9 +189,9 @@ Restituisce il nome del linguaggio di script da cui è stato catturato questo ba :ref:`int` **get_local_variable_count**\ (\ frame_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the number of local variables in the stack frame at the specified index. +Restituisce il numero di variabili locali nello stack frame all'indice specificato. -\ **Note:** This will be non-zero only if the ``include_variables`` parameter was ``true`` when capturing the backtrace with :ref:`Engine.capture_script_backtraces()`. +\ **Nota:** Questo valore sarà diverso da zero solo se il parametro ``include_variables`` era ``true`` durante la cattura del backtrace con :ref:`Engine.capture_script_backtraces()`. .. rst-class:: classref-item-separator @@ -215,9 +215,9 @@ Restituisce il nome della variabile locale all'indice ``variable_index`` nel fra :ref:`Variant` **get_local_variable_value**\ (\ frame_index\: :ref:`int`, variable_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the value of the local variable at the specified ``variable_index`` in the stack frame at the specified ``frame_index``. +Restituisce il valore della variabile locale all'indice ``variable_index`` nello stack frame all'indice ``frame_index``. -\ **Warning:** With GDScript backtraces, the returned :ref:`Variant` will be the variable's actual value, including any object references. This means that storing the returned :ref:`Variant` will prevent any such object from being deallocated, so it's generally recommended not to do so. +\ **Attenzione:** Con i backtrace di GDScript, il :ref:`Variant` restituito sarà il valore attuale della variabile, inclusi eventuali riferimenti a oggetti. Ciò significa che memorizzando il :ref:`Variant` restituito si impedirà la deallocazione di tali oggetti, quindi in genere si consiglia di non farlo. .. rst-class:: classref-item-separator @@ -229,9 +229,9 @@ Returns the value of the local variable at the specified ``variable_index`` in t :ref:`int` **get_member_variable_count**\ (\ frame_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the number of member variables in the stack frame at the specified index. +Restituisce il numero di variabili membro nello stack frame all'indice specificato. -\ **Note:** This will be non-zero only if the ``include_variables`` parameter was ``true`` when capturing the backtrace with :ref:`Engine.capture_script_backtraces()`. +\ **Nota:** Questo valore sarà diverso da zero solo se il parametro ``include_variables`` era ``true`` durante la cattura del backtrace con :ref:`Engine.capture_script_backtraces()`. .. rst-class:: classref-item-separator @@ -255,9 +255,9 @@ Restituisce il nome della variabile membro all'indice ``variable_index`` nel fra :ref:`Variant` **get_member_variable_value**\ (\ frame_index\: :ref:`int`, variable_index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the value of the member variable at the specified ``variable_index`` in the stack frame at the specified ``frame_index``. +Restituisce il valore della variabile membro all'indice ``variable_index`` nello stack frame all'indice ``frame_index``. -\ **Warning:** With GDScript backtraces, the returned :ref:`Variant` will be the variable's actual value, including any object references. This means that storing the returned :ref:`Variant` will prevent any such object from being deallocated, so it's generally recommended not to do so. +\ **Attenzione:** Con i backtrace di GDScript, il :ref:`Variant` restituito sarà il valore attuale della variabile, inclusi eventuali riferimenti a oggetti. Ciò significa che memorizzando il :ref:`Variant` restituito si impedirà la deallocazione di tali oggetti, quindi in genere si consiglia di non farlo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_scripteditor.rst b/classes/it/class_scripteditor.rst index edb91aaa2b..344eb88066 100644 --- a/classes/it/class_scripteditor.rst +++ b/classes/it/class_scripteditor.rst @@ -96,9 +96,9 @@ Descrizioni dei metodi |void| **clear_docs_from_script**\ (\ script\: :ref:`Script`\ ) :ref:`🔗` -Removes the documentation for the given ``script``. +Rimuove la documentazione per lo ``script`` specificato. -\ **Note:** This should be called whenever the script is changed to keep the open documentation state up to date. +\ **Nota:** Questo dovrebbe essere chiamato ogni volta che lo script viene modificato per mantenere aggiornato lo stato della documentazione aperta. .. rst-class:: classref-item-separator @@ -257,9 +257,9 @@ Annulla la registrazione del :ref:`EditorSyntaxHighlighter`\ ) :ref:`🔗` -Updates the documentation for the given ``script``. +Aggiorna la documentazione per lo ``script`` specificato. -\ **Note:** This should be called whenever the script is changed to keep the open documentation state up to date. +\ **Nota:** Questo dovrebbe essere chiamato ogni volta che lo script viene modificato per mantenere aggiornato lo stato della documentazione aperta. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_scripteditorbase.rst b/classes/it/class_scripteditorbase.rst index 6d9f1cf67b..895e93d7cb 100644 --- a/classes/it/class_scripteditorbase.rst +++ b/classes/it/class_scripteditorbase.rst @@ -170,7 +170,7 @@ Descrizioni dei metodi |void| **add_syntax_highlighter**\ (\ highlighter\: :ref:`EditorSyntaxHighlighter`\ ) :ref:`🔗` -Adds an :ref:`EditorSyntaxHighlighter` to the open script. +Aggiunge un :ref:`EditorSyntaxHighlighter` allo script aperto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_scriptextension.rst b/classes/it/class_scriptextension.rst index d809707213..7b94b42ea5 100644 --- a/classes/it/class_scriptextension.rst +++ b/classes/it/class_scriptextension.rst @@ -500,7 +500,7 @@ Restituisce il numero degli argomenti previsti per il metodo ``method``, o ``nul :ref:`bool` **_is_abstract**\ (\ ) |virtual| |const| :ref:`🔗` -Returns ``true`` if the script is an abstract script. Abstract scripts cannot be instantiated directly, instead other scripts should inherit them. Abstract scripts will be either unselectable or hidden in the Create New Node dialog (unselectable if there are non-abstract classes inheriting it, otherwise hidden). +Restituisce ``true`` se lo script è astratto. Gli script astratti non si possono istanziare direttamente, ma altri script dovrebbero ereditarli. Gli script astratti saranno non selezionabili o nascosti nella finestra di dialogo "Crea un nuovo nodo" (non selezionabili se ci sono classi non astratte che lo ereditano, altrimenti nascosti). .. rst-class:: classref-item-separator diff --git a/classes/it/class_shortcut.rst b/classes/it/class_shortcut.rst index 654d3b6844..f857618738 100644 --- a/classes/it/class_shortcut.rst +++ b/classes/it/class_shortcut.rst @@ -14,11 +14,11 @@ Una scorciatoia per associare input. Descrizione ---------------------- -Shortcuts (also known as hotkeys) are containers of :ref:`InputEvent` resources. They are commonly used to interact with a :ref:`Control` element from an :ref:`InputEvent`. +Le scorciatoie (note anche come tasti di scelta rapida) sono contenitori di risorse :ref:`InputEvent`. Sono comunemente utilizzate per interagire con un elemento :ref:`Control` da un :ref:`InputEvent`. -One shortcut can contain multiple :ref:`InputEvent` resources, making it possible to trigger one action with multiple different inputs. +Una scorciatoia può contenere più risorse :ref:`InputEvent`, rendendo possibile attivare un'azione con più input diversi. -\ **Example:** Capture the :kbd:`Ctrl + S` shortcut using a **Shortcut** resource: +\ **Esempio:** Cattura la scorciatoia :kbd:`Ctrl + S` attraverso una risorsa **Shortcut**: .. tabs:: @@ -32,12 +32,12 @@ One shortcut can contain multiple :ref:`InputEvent` resources, var key_event = InputEventKey.new() key_event.keycode = KEY_S key_event.ctrl_pressed = true - key_event.command_or_control_autoremap = true # Swaps Ctrl for Command on Mac. + key_event.command_or_control_autoremap = true # Sostituisce Ctrl per Command su Mac. save_shortcut.events = [key_event] func _input(event): if save_shortcut.matches_event(event) and event.is_pressed() and not event.is_echo(): - print("Save shortcut pressed!") + print("Scorciatoia Salva attivata!") get_viewport().set_input_as_handled() .. code-tab:: csharp @@ -54,7 +54,7 @@ One shortcut can contain multiple :ref:`InputEvent` resources, { Keycode = Key.S, CtrlPressed = true, - CommandOrControlAutoremap = true, // Swaps Ctrl for Command on Mac. + CommandOrControlAutoremap = true, // Sostituisce Ctrl per Command su Mac. }; _saveShortcut.Events = [keyEvent]; @@ -66,7 +66,7 @@ One shortcut can contain multiple :ref:`InputEvent` resources, _saveShortcut.MatchesEvent(@event) && keyEvent.Pressed && !keyEvent.Echo) { - GD.Print("Save shortcut pressed!"); + GD.Print("Scorciatoia Salva attivata!"); GetViewport().SetInputAsHandled(); } } diff --git a/classes/it/class_skeleton3d.rst b/classes/it/class_skeleton3d.rst index 0e3ea80bb4..5baecbacdc 100644 --- a/classes/it/class_skeleton3d.rst +++ b/classes/it/class_skeleton3d.rst @@ -178,7 +178,7 @@ Emesso quando l'osso all'indice ``bone_idx`` viene attivato con :ref:`set_bone_e **bone_list_changed**\ (\ ) :ref:`🔗` -Emitted when the list of bones changes, such as when calling :ref:`add_bone()`, :ref:`set_bone_parent()`, :ref:`unparent_bone_and_rest()`, or :ref:`clear_bones()`. +Emesso quando la lista delle ossa cambia, ad esempio quando si chiama :ref:`add_bone()`, :ref:`set_bone_parent()`, :ref:`unparent_bone_and_rest()` o :ref:`clear_bones()`. .. rst-class:: classref-item-separator @@ -396,9 +396,9 @@ Aggiunge un nuovo osso con il nome specificato. Restituisce l'indice del nuovo o |void| **advance**\ (\ delta\: :ref:`float`\ ) :ref:`🔗` -Manually advance the child :ref:`SkeletonModifier3D`\ s by the specified time (in seconds). +Avanza manualmente gli :ref:`SkeletonModifier3D` figlio del tempo specificato (in secondi). -\ **Note:** The ``delta`` is temporarily accumulated in the **Skeleton3D**, and the deferred process uses the accumulated value to process the modification. +\ **Nota:** Il ``delta`` è temporaneamente accumulato nello **Skeleton3D** e il processo differito utilizza il valore accumulato per elaborare la modificazione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_skeletonik3d.rst b/classes/it/class_skeletonik3d.rst index b1a08e3557..1bdc41e547 100644 --- a/classes/it/class_skeletonik3d.rst +++ b/classes/it/class_skeletonik3d.rst @@ -16,7 +16,7 @@ Un nodo utilizzato per ruotare tutte le ossa di una catena ossea :ref:`Skeleton3 Descrizione ---------------------- -SkeletonIK3D viene utilizzato per ruotare tutte le ossa di una catena d'ossa di uno :ref:`Skeleton3D` in modo da posizionare l'osso finale in una posizione 3D desiderata. Uno scenario tipico per un IK nei giochi è quello di posizionare i piedi di un personaggio a terra o le mani di un personaggio su un oggetto mantenuto. SkeletonIK utilizza FabrikInverseKinematic internamente per risolvere la catena d'ossa e applica il risultato alla proprietà :ref:`Skeleton3D` ``bones_global_pose_override`` per tutte le ossa influenzate nella catena. Se applicato completamente, ciò sovrascrive qualsiasi trasformazione delle ossa dalle :ref:`Animation` o pose personalizzate delle ossa impostate dagli utenti. La quantità applicata può essere controllata con la proprietà :ref:`SkeletonModifier3D.influence`. +SkeletonIK3D serve per ruotare tutte le ossa di una catena d'ossa di uno :ref:`Skeleton3D` in modo da posizionare l'osso finale in una posizione 3D desiderata. Uno scenario tipico per un IK nei giochi è quello di posizionare i piedi di un personaggio a terra o le mani di un personaggio su un oggetto mantenuto. SkeletonIK utilizza FabrikInverseKinematic internamente per risolvere la catena d'ossa e applica il risultato alla proprietà :ref:`Skeleton3D` ``bones_global_pose_override`` per tutte le ossa influenzate nella catena. Se applicato completamente, ciò sovrascrive qualsiasi trasformazione delle ossa dalle :ref:`Animation` o pose personalizzate delle ossa impostate dagli utenti. La quantità applicata può essere controllata con la proprietà :ref:`SkeletonModifier3D.influence`. :: diff --git a/classes/it/class_skeletonmodification2d.rst b/classes/it/class_skeletonmodification2d.rst index c9a1999230..6abddb33fa 100644 --- a/classes/it/class_skeletonmodification2d.rst +++ b/classes/it/class_skeletonmodification2d.rst @@ -20,7 +20,7 @@ Descrizione Questa risorsa fornisce un'interfaccia che può essere ampliata in modo che il codice che opera sui nodi :ref:`Bone2D` in uno :ref:`Skeleton2D` possa essere mescolato e abbinato insieme per creare interazioni complesse. -Questo viene utilizzato per fornire a Godot una soluzione di cinematica inversa flessibile e potente che può essere adattata per molti usi diversi. +Questa serve per fornire a Godot una soluzione di cinematica inversa flessibile e potente che può essere adattata per molti usi diversi. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_skeletonmodifier3d.rst b/classes/it/class_skeletonmodifier3d.rst index f3989bbb90..6647cc70e6 100644 --- a/classes/it/class_skeletonmodifier3d.rst +++ b/classes/it/class_skeletonmodifier3d.rst @@ -16,11 +16,11 @@ Un nodo che potrebbe modificare le ossa di uno Skeleton3D. Descrizione ---------------------- -**SkeletonModifier3D** retrieves a target :ref:`Skeleton3D` by having a :ref:`Skeleton3D` parent. +**SkeletonModifier3D** recupera uno :ref:`Skeleton3D` di destinazione avendo un :ref:`Skeleton3D` genitore. -If there is an :ref:`AnimationMixer`, a modification always performs after playback process of the :ref:`AnimationMixer`. +Se un :ref:`AnimationMixer` è presente, la modificazione è sempre eseguita dopo il processo di riproduzione dell':ref:`AnimationMixer`. -This node should be used to implement custom IK solvers, constraints, or skeleton physics. +Questo nodo si dovrebbe utilizzare per implementare risolutori IK personalizzati, vincoli o fisica per lo scheletro. .. rst-class:: classref-introduction-group @@ -217,11 +217,11 @@ Sostituisci questo metodo virtuale per implementare un modificatore scheletro pe |void| **_process_modification_with_delta**\ (\ delta\: :ref:`float`\ ) |virtual| :ref:`🔗` -Override this virtual method to implement a custom skeleton modifier. You should do things like get the :ref:`Skeleton3D`'s current pose and apply the pose here. +Sostituisci questo metodo virtuale per implementare un modificatore personalizzato di scheletro. Dovresti fare cose come ottenere la posa attuale dello :ref:`Skeleton3D` e applicare la posa qui. -\ :ref:`_process_modification_with_delta()` must not apply :ref:`influence` to bone poses because the :ref:`Skeleton3D` automatically applies influence to all bone poses set by the modifier. +\ :ref:`_process_modification_with_delta()` non deve applicare :ref:`influence` alle pose delle ossa perché lo :ref:`Skeleton3D` applica automaticamente l'influenza a tutte le pose delle ossa impostate dal modificatore. -\ ``delta`` is passed from parent :ref:`Skeleton3D`. See also :ref:`Skeleton3D.advance()`. +\ ``delta`` viene passato dallo :ref:`Skeleton3D` genitore. Vedi anche :ref:`Skeleton3D.advance()`. .. rst-class:: classref-item-separator @@ -245,7 +245,7 @@ Emesso quando lo scheletro è cambiato. |void| **_validate_bone_names**\ (\ ) |virtual| :ref:`🔗` -Called when bone name and index need to be validated such as the timing of the entering tree or changing skeleton. +Chiamato quando è necessario convalidare il nome e l'indice dell'osso, ad esempio nel momento in cui si entra nell'albero o lo scheletro cambia. .. rst-class:: classref-item-separator diff --git a/classes/it/class_skeletonprofile.rst b/classes/it/class_skeletonprofile.rst index f11ebdf3f5..7298e63b45 100644 --- a/classes/it/class_skeletonprofile.rst +++ b/classes/it/class_skeletonprofile.rst @@ -112,7 +112,7 @@ Segnali **profile_updated**\ (\ ) :ref:`🔗` -Questo segnale viene emesso quando si modifica il valore nel profilo. Viene utilizzato per aggiornare il nome della chiave nella :ref:`BoneMap` e per ridisegnare l'editor di :ref:`BoneMap`. +Questo segnale viene emesso quando si modifica il valore nel profilo. È utilizzato per aggiornare il nome della chiave nella :ref:`BoneMap` e per ridisegnare l'editor di :ref:`BoneMap`. \ **Nota:** Questo segnale non è collegato direttamente all'editor per semplificare il riferimento, ma viene invece trasmesso all'editor attraverso la :ref:`BoneMap`. diff --git a/classes/it/class_slider.rst b/classes/it/class_slider.rst index 62cfc614f9..8740e01e99 100644 --- a/classes/it/class_slider.rst +++ b/classes/it/class_slider.rst @@ -122,7 +122,7 @@ enum **TickPosition**: :ref:`🔗` :ref:`TickPosition` **TICK_POSITION_BOTTOM_RIGHT** = ``0`` -Places the ticks at the bottom of the :ref:`HSlider`, or right of the :ref:`VSlider`. +Posiziona le tacche in basso lo :ref:`HSlider` o a destra del :ref:`VSlider`. .. _class_Slider_constant_TICK_POSITION_TOP_LEFT: @@ -130,7 +130,7 @@ Places the ticks at the bottom of the :ref:`HSlider`, or right of :ref:`TickPosition` **TICK_POSITION_TOP_LEFT** = ``1`` -Places the ticks at the top of the :ref:`HSlider`, or left of the :ref:`VSlider`. +Posiziona le tacche in alto lo :ref:`HSlider` o a sinistra del :ref:`VSlider`. .. _class_Slider_constant_TICK_POSITION_BOTH: @@ -138,7 +138,7 @@ Places the ticks at the top of the :ref:`HSlider`, or left of the :ref:`TickPosition` **TICK_POSITION_BOTH** = ``2`` -Places the ticks at the both sides of the slider. +Posiziona le tacche su entrambi i lati dello slider. .. _class_Slider_constant_TICK_POSITION_CENTER: @@ -146,7 +146,7 @@ Places the ticks at the both sides of the slider. :ref:`TickPosition` **TICK_POSITION_CENTER** = ``3`` -Places the ticks at the center of the slider. +Posiziona le tacche al centro dello slider. .. rst-class:: classref-section-separator @@ -236,7 +236,7 @@ Se ``true``, lo slider visualizzerà delle tacche per i valori minimo e massimo. - |void| **set_ticks_position**\ (\ value\: :ref:`TickPosition`\ ) - :ref:`TickPosition` **get_ticks_position**\ (\ ) -Sets the position of the ticks. See :ref:`TickPosition` for details. +Imposta la posizione delle tacche. Vedi :ref:`TickPosition` per i dettagli. .. rst-class:: classref-section-separator @@ -277,7 +277,7 @@ Offset verticale o orizzontale del grabber. :ref:`int` **tick_offset** = ``0`` :ref:`🔗` -Vertical or horizontal offset of the ticks. The offset is reversed for top or left ticks. +Scostamento verticale o orizzontale delle tacche. Lo scostamento è invertito per le tacche superiori o sinistre. .. rst-class:: classref-item-separator diff --git a/classes/it/class_spinbox.rst b/classes/it/class_spinbox.rst index b5d1e975b3..696d8d6782 100644 --- a/classes/it/class_spinbox.rst +++ b/classes/it/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: @@ -17,11 +17,11 @@ Un campo di input per i numeri. Descrizione ---------------------- -**SpinBox** is a numerical input text field. It allows entering integers and floating-point numbers. The **SpinBox** also has up and down buttons that can be clicked increase or decrease the value. The value can also be changed by dragging the mouse up or down over the **SpinBox**'s arrows. +**SpinBox** è un campo di testo di input numerico. Consente di immettere numeri interi e numeri in virgola mobile. **SpinBox** include anche due pulsanti su e giù che si possono cliccare per aumentare o diminuire il valore. Il valore si può cambiare trascinando il mouse verso l'alto o verso il basso sulle frecce dello **SpinBox**. -Additionally, mathematical expressions can be entered. These are evaluated when the user presses :kbd:`Enter` while editing the **SpinBox**'s text field. This uses the :ref:`Expression` class to parse and evaluate the expression. The result of the expression is then set as the value of the **SpinBox**. Some examples of valid expressions are ``5 + 2 * 3``, ``pow(2, 4)``, and ``PI + sin(0.5)``. Expressions are case-sensitive. +Inoltre, è possibile inserire espressioni matematiche. Queste vengono valutate quando l'utente preme :kbd:`Invio` mentre il campo di testo dello **SpinBox** viene modificato. Ciò utilizza la classe :ref:`Expression` per analizzare e valutare l'espressione. Il risultato dell'espressione viene quindi impostato come valore dello **SpinBox**. Alcuni esempi di espressioni valide sono ``5 + 2 * 3``, ``pow(2, 4)`` e ``PI + sin(0.5)``. Le espressioni distinguono tra maiuscole e minuscole. -\ **Example:** Create a **SpinBox**, disable its context menu and set its text alignment to right. +\ **Esempio:** Crea uno **SpinBox**, disattiva il suo menu contestuale e imposta l'allineamento del testo a destra. .. tabs:: @@ -44,13 +44,13 @@ Additionally, mathematical expressions can be entered. These are evaluated when -See :ref:`Range` class for more options over the **SpinBox**. +Consulta la classe :ref:`Range` per altre opzioni su **SpinBox**. -\ **Note:** With the **SpinBox**'s context menu disabled, you can right-click the bottom half of the spinbox to set the value to its minimum, while right-clicking the top half sets the value to its maximum. +\ **Nota:** Con il menu contestuale di **SpinBox** disabilitato, puoi cliccare con il destro sulla metà inferiore dello spinbox per impostare il valore al minimo, mentre cliccando con il destro sulla metà superiore, il valore viene impostato al massimo. -\ **Note:** **SpinBox** relies on an underlying :ref:`LineEdit` node. To theme a **SpinBox**'s background, add theme items for :ref:`LineEdit` and customize them. The :ref:`LineEdit` has the ``SpinBoxInnerLineEdit`` theme variation, so that you can give it a distinct appearance from regular :ref:`LineEdit`\ s. +\ **Nota:** **SpinBox** dipende su un nodo :ref:`LineEdit` sottostante. Per applicare un tema allo sfondo di uno **SpinBox**, aggiungi elementi del tema per :ref:`LineEdit` e personalizzali. Tale :ref:`LineEdit` ha la variazione del tema ``SpinBoxInnerLineEdit``, in modo da potergli dare un aspetto distinto dai normali :ref:`LineEdit`. -\ **Note:** If you want to implement drag and drop for the underlying :ref:`LineEdit`, you can use :ref:`Control.set_drag_forwarding()` on the node returned by :ref:`get_line_edit()`. +\ **Nota:** Se vuoi implementare il trascinamento della selezione per il :ref:`LineEdit` sottostante, puoi usare :ref:`Control.set_drag_forwarding()` sul nodo restituito da :ref:`get_line_edit()`. .. rst-class:: classref-reftable-group @@ -203,9 +203,9 @@ Modifica l'allineamento del :ref:`LineEdit` sottostante. - |void| **set_custom_arrow_step**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_custom_arrow_step**\ (\ ) -If not ``0``, sets the step when interacting with the arrow buttons of the **SpinBox**. +Se diverso da ``0``, imposta il passo quando si interagisce con i pulsanti freccia della **SpinBox**. -\ **Note:** :ref:`Range.value` will still be rounded to a multiple of :ref:`Range.step`. +\ **Nota:** :ref:`Range.value` sarà comunque arrotondato a un multiplo di :ref:`Range.step`. .. rst-class:: classref-item-separator @@ -290,9 +290,9 @@ Aggiunge la stringa di suffisso specificata dopo il valore numerico dello **Spin - |void| **set_update_on_text_changed**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_update_on_text_changed**\ (\ ) -Sets the value of the :ref:`Range` for this **SpinBox** when the :ref:`LineEdit` text is *changed* instead of *submitted*. See :ref:`LineEdit.text_changed` and :ref:`LineEdit.text_submitted`. +Imposta il valore del :ref:`Range` per questa **SpinBox** quando il testo del :ref:`LineEdit` viene *modificato* anziché *inviato*. Vedi :ref:`LineEdit.text_changed` e :ref:`LineEdit.text_submitted`. -\ **Note:** If set to ``true``, this will interfere with entering mathematical expressions in the **SpinBox**. The **SpinBox** will try to evaluate the expression as you type, which means symbols like a trailing ``+`` are removed immediately by the expression being evaluated. +\ **Nota:** Se impostato su ``true``, questo interferirà con l'inserimento di espressioni matematiche nella **SpinBox**. La **SpinBox** tenterà di valutare l'espressione durante la digitazione, il che significa che simboli come ``+`` aggiunti alla fine sono rimossi immediatamente dall'espressione in fase di valutazione. .. rst-class:: classref-section-separator @@ -309,7 +309,7 @@ Descrizioni dei metodi |void| **apply**\ (\ ) :ref:`🔗` -Applies the current value of this **SpinBox**. This is equivalent to pressing :kbd:`Enter` while editing the :ref:`LineEdit` used by the **SpinBox**. This will cause :ref:`LineEdit.text_submitted` to be emitted and its currently contained expression to be evaluated. +Applica il valore attuale di questo **SpinBox**. Equivale a premere :kbd:`Invio` durante la modifica del :ref:`LineEdit` utilizzato dallo **SpinBox**. Ciò causerà l'emissione di :ref:`LineEdit.text_submitted` e la valutazione dell'espressione attualmente contenuta. .. rst-class:: classref-item-separator @@ -580,7 +580,7 @@ Icona del pulsante su quando il pulsante è premuto. :ref:`Texture2D` **updown** :ref:`🔗` -Single texture representing both the up and down buttons icons. It is displayed in the middle of the buttons and does not change upon interaction. If a valid icon is assigned, it will replace :ref:`up` and :ref:`down`. +Texture singola che rappresenta le icone dei pulsanti su e giù. Viene visualizzata al centro dei pulsanti e non cambia durante l'interazione. Se è assegnata un'icona valida, sostituirà :ref:`up` e :ref:`down`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_splitcontainer.rst b/classes/it/class_splitcontainer.rst index b4df3038f4..bd04ef2fc7 100644 --- a/classes/it/class_splitcontainer.rst +++ b/classes/it/class_splitcontainer.rst @@ -347,7 +347,7 @@ L'offset iniziale della separazione tra i due :ref:`Control`, dov - |void| **set_touch_dragger_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_touch_dragger_enabled**\ (\ ) -If ``true``, a touch-friendly drag handle will be enabled for better usability on smaller screens. Unlike the standard grabber, this drag handle overlaps the **SplitContainer**'s children and does not affect their minimum separation. The standard grabber will no longer be drawn when this option is enabled. +Se ``true``, sarà abilitato un trascinatore ottimizzato per il tocco per migliorare l'usabilità su schermi più piccoli. A differenza del grabber standard, questo trascinatore si sovrappone agli elementi figlio del **SplitContainer** e non influisce sulla loro separazione minima. Il grabber standard non sarà più visualizzato quando questa opzione è abilitata. .. rst-class:: classref-item-separator @@ -494,7 +494,7 @@ Spessore della barra di divisione, ovvero lo spazio tra i due elementi figlio de :ref:`Texture2D` **grabber** :ref:`🔗` -The icon used for the grabber drawn in the middle area. This is only used in :ref:`HSplitContainer` and :ref:`VSplitContainer`. For **SplitContainer**, see :ref:`h_grabber` and :ref:`v_grabber` instead. +L'icona utilizzata per il grabber è disegnata nell'area centrale. È utilizzata solo in :ref:`HSplitContainer` e :ref:`VSplitContainer`. Per **SplitContainer**, vedi invece :ref:`h_grabber` e :ref:`v_grabber`. .. rst-class:: classref-item-separator @@ -530,7 +530,7 @@ L'icona utilizzata per il trascinatore quando :ref:`touch_dragger_enabled` **touch_dragger** :ref:`🔗` -The icon used for the drag handle when :ref:`touch_dragger_enabled` is ``true``. This is only used in :ref:`HSplitContainer` and :ref:`VSplitContainer`. For **SplitContainer**, see :ref:`h_touch_dragger` and :ref:`v_touch_dragger` instead. +L'icona utilizzata per il trascinatore quando :ref:`touch_dragger_enabled` è ``true``. Questa è utilizzata solo in :ref:`HSplitContainer` e :ref:`VSplitContainer`. Per **SplitContainer**, vedi invece :ref:`h_touch_dragger` e :ref:`v_touch_dragger`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_spotlight3d.rst b/classes/it/class_spotlight3d.rst index a5b80f92b2..3873d6c63f 100644 --- a/classes/it/class_spotlight3d.rst +++ b/classes/it/class_spotlight3d.rst @@ -14,13 +14,13 @@ Un faretto, come un riflettore di spettacolo o una lanterna. Descrizione ---------------------- -A Spotlight is a type of :ref:`Light3D` node that emits lights in a specific direction, in the shape of a cone. The light is attenuated through the distance. This attenuation can be configured by changing the energy, radius and attenuation parameters of :ref:`Light3D`. +Uno Spotlight è un tipo di nodo :ref:`Light3D` che emette luci in una direzione specifica, a forma di cono. La luce è attenuata in base alla distanza. È possibile configurare questa attenuazione modificando i parametri di energia, raggio e attenuazione di :ref:`Light3D`. -Light is emitted in the -Z direction of the node's global basis. For an unrotated light, this means that the light is emitted forwards, illuminating the front side of a 3D model (see :ref:`Vector3.FORWARD` and :ref:`Vector3.MODEL_FRONT`). +La luce è emessa nella direzione -Z della base globale del nodo. Per una luce non ruotata, ciò significa che la luce è emessa in avanti, illuminando il lato frontale di un modello 3D (vedi :ref:`Vector3.FORWARD` e :ref:`Vector3.MODEL_FRONT`). -\ **Note:** When using the Mobile rendering method, only 8 spot lights can be displayed on each mesh resource. Attempting to display more than 8 spot lights on a single mesh resource will result in spot lights flickering in and out as the camera moves. When using the Compatibility rendering method, only 8 spot lights can be displayed on each mesh resource by default, but this can be increased by adjusting :ref:`ProjectSettings.rendering/limits/opengl/max_lights_per_object`. +\ **Nota:** Quando si utilizza il metodo di rendering Mobile, solo 8 faretti possono essere visualizzati su ogni risorsa mesh. Tentare di visualizzare più di 8 faretti su una singola risorsa mesh provocherà uno sfarfallio dei faretti mentre la telecamera si muove. Quando si utilizza il metodo di rendering Compatibilità, solo 8 faretti possono essere visualizzati su ogni risorsa mesh per impostazione predefinita, ma questo limite può essere aumentato regolando :ref:`ProjectSettings.rendering/limits/opengl/max_lights_per_object`. -\ **Note:** When using the Mobile or Compatibility rendering methods, spot lights will only correctly affect meshes whose visibility AABB intersects with the light's AABB. If using a shader to deform the mesh in a way that makes it go outside its AABB, :ref:`GeometryInstance3D.extra_cull_margin` must be increased on the mesh. Otherwise, the light may not be visible on the mesh. +\ **Nota:** Quando si utilizzano i metodi di rendering Mobile o Compatibilità, i faretti influenzeranno correttamente solo le mesh il cui AABB di visibilità interseca l'AABB della luce. Se si usa uno shader per deformare la mesh in modo che esca dal suo AABB, :ref:`GeometryInstance3D.extra_cull_margin` deve essere aumentato sulla mesh. Altrimenti, la luce potrebbe non essere visibile sulla mesh. .. rst-class:: classref-introduction-group @@ -77,9 +77,9 @@ Descrizioni delle proprietà - |void| **set_param**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_param**\ (\ ) -The spotlight's angle in degrees. This is the angular radius, meaning the angle from the -Z axis, the cone's center, to the edge of the cone. The default angular radius of 45 degrees corresponds to a cone with an angular diameter of 90 degrees. +L'angolo del faretto in gradi. Questo è il raggio angolare, ovvero l'angolo tra l'asse Z, il centro del cono, e il bordo del cono. Il raggio angolare predefinito di 45 gradi corrisponde a un cono con un diametro angolare di 90 gradi. -\ **Note:** :ref:`spot_angle` is not affected by :ref:`Node3D.scale` (the light's scale or its parent's scale). +\ **Nota:** :ref:`spot_angle` non è influenzato da :ref:`Node3D.scale` (la scala della luce o la scala del suo genitore). .. rst-class:: classref-item-separator diff --git a/classes/it/class_springbonecollisioncapsule3d.rst b/classes/it/class_springbonecollisioncapsule3d.rst index 4f28493001..3f4277a64f 100644 --- a/classes/it/class_springbonecollisioncapsule3d.rst +++ b/classes/it/class_springbonecollisioncapsule3d.rst @@ -54,9 +54,9 @@ Descrizioni delle proprietà - |void| **set_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_height**\ (\ ) -The capsule's full height, including the hemispheres. +L'altezza totale della capsula, inclusi gli emisferi. -\ **Note:** The :ref:`height` of a capsule must be at least twice its :ref:`radius`. Otherwise, the capsule becomes a sphere. If the :ref:`height` is less than twice the :ref:`radius`, the properties adjust to a valid value. +\ **Nota:** L':ref:`height` di una capsula deve essere almeno il doppio del suo :ref:`radius`. Se non, la capsula diventa una sfera. Se l':ref:`height` è inferiore al doppio del :ref:`radius`, le proprietà si adattano a un valore valido. .. rst-class:: classref-item-separator @@ -90,7 +90,7 @@ Se ``true``, la collisione agisce intrappolando il giunto all'interno della coll - |void| **set_mid_height**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_mid_height**\ (\ ) -The capsule's height, excluding the hemispheres. This is the height of the central cylindrical part in the middle of the capsule, and is the distance between the centers of the two hemispheres. This is a wrapper for :ref:`height`. +L'altezza della capsula, esclusi gli emisferi. Questa è l'altezza della parte cilindrica centrale in mezzo alla capsula, ed è la distanza tra i centri dei due emisferi. Questo è un wrapper per :ref:`height`. .. rst-class:: classref-item-separator @@ -107,9 +107,9 @@ The capsule's height, excluding the hemispheres. This is the height of the centr - |void| **set_radius**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_radius**\ (\ ) -The capsule's radius. +Il raggio della capsula. -\ **Note:** The :ref:`radius` of a capsule cannot be greater than half of its :ref:`height`. Otherwise, the capsule becomes a sphere. If the :ref:`radius` is greater than half of the :ref:`height`, the properties adjust to a valid value. +\ **Nota:** Il :ref:`radius` di una capsula non può essere maggiore della metà della sua :ref:`height`. Se non, la capsula diventa una sfera. Se il :ref:`radius` è maggiore della metà dell':ref:`height`, le proprietà si adattano a un valore valido. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_springbonecollisionplane3d.rst b/classes/it/class_springbonecollisionplane3d.rst index a6b8cefb15..bfa3c090e2 100644 --- a/classes/it/class_springbonecollisionplane3d.rst +++ b/classes/it/class_springbonecollisionplane3d.rst @@ -7,14 +7,14 @@ SpringBoneCollisionPlane3D **Eredita:** :ref:`SpringBoneCollision3D` **<** :ref:`Node3D` **<** :ref:`Node` **<** :ref:`Object` -An infinite plane collision that interacts with :ref:`SpringBoneSimulator3D`. +Una collisione a forma di piano infinito che interagisce con :ref:`SpringBoneSimulator3D`. .. rst-class:: classref-introduction-group Descrizione ---------------------- -An infinite plane collision that interacts with :ref:`SpringBoneSimulator3D`. It is an infinite size XZ plane, and the +Y direction is treated as normal. +Una collisione a forma di piano infinito che interagisce con :ref:`SpringBoneSimulator3D`. È un piano XZ di dimensioni infinite, e la sua direzione +Y è considerata la normale. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_springbonesimulator3d.rst b/classes/it/class_springbonesimulator3d.rst index 2fdaf9ff3d..10f2bd9ee2 100644 --- a/classes/it/class_springbonesimulator3d.rst +++ b/classes/it/class_springbonesimulator3d.rst @@ -385,9 +385,9 @@ Descrizioni delle proprietà - |void| **set_external_force**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_external_force**\ (\ ) -The constant force that always affected bones. It is equal to the result when the parent :ref:`Skeleton3D` moves at this speed in the opposite direction. +La forza costante che influenza sempre le ossa. È uguale al risultato quando lo :ref:`Skeleton3D` genitore si muove a questa velocità nella direzione opposta. -This is useful for effects such as wind and anti-gravity. +Questo è utile per effetti come il vento e l'antigravità. .. rst-class:: classref-item-separator @@ -769,9 +769,9 @@ Restituisce l'asse di rotazione in ``joint`` nella lista delle articolazioni del :ref:`Vector3` **get_joint_rotation_axis_vector**\ (\ index\: :ref:`int`, joint\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the rotation axis vector for the specified joint in the bone chain. This vector represents the axis around which the joint can rotate. It is determined based on the rotation axis set for the joint. +Restituisce il vettore dell'asse di rotazione per l'articolazione specificata nella catena d'ossa. Questo vettore rappresenta l'asse attorno al quale l'articolazione può ruotare. È determinato in base all'asse di rotazione impostato per l'articolazione. -If :ref:`get_joint_rotation_axis()` is :ref:`ROTATION_AXIS_ALL`, this method returns ``Vector3(0, 0, 0)``. +Se :ref:`get_joint_rotation_axis()` è :ref:`ROTATION_AXIS_ALL`, questo metodo restituisce ``Vector3(0, 0, 0)``. .. rst-class:: classref-item-separator @@ -855,9 +855,9 @@ Restituisce l'asse di rotazione della catena d'ossa. :ref:`Vector3` **get_rotation_axis_vector**\ (\ index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the rotation axis vector of the bone chain. This vector represents the axis around which the bone chain can rotate. It is determined based on the rotation axis set for the bone chain. +Restituisce il vettore dell'asse di rotazione della catena d'ossa. Questo vettore rappresenta l'asse attorno al quale l'articolazione può ruotare. È determinato in base all'asse di rotazione impostato per la catenna d'ossa. -If :ref:`get_rotation_axis()` is :ref:`ROTATION_AXIS_ALL`, this method returns ``Vector3(0, 0, 0)``. +Se :ref:`get_rotation_axis()` è :ref:`ROTATION_AXIS_ALL`, questo metodo restituisce ``Vector3(0, 0, 0)``. .. rst-class:: classref-item-separator @@ -1241,11 +1241,11 @@ Imposta il raggio dell'articolazione in ``joint`` nella lista delle articolazion |void| **set_joint_rotation_axis**\ (\ index\: :ref:`int`, joint\: :ref:`int`, axis\: :ref:`RotationAxis`\ ) :ref:`🔗` -Sets the rotation axis at ``joint`` in the bone chain's joint list when :ref:`is_config_individual()` is ``true``. +Imposta l'asse di rotazione dell'articolazione ``joint`` nell'elenco delle articolazioni della catena d'ossa quando :ref:`is_config_individual()` è ``true``. -The axes are based on the :ref:`Skeleton3D.get_bone_rest()`'s space, if ``axis`` is :ref:`ROTATION_AXIS_CUSTOM`, you can specify any axis. +Gli assi si basano sullo spazio di :ref:`Skeleton3D.get_bone_rest()`. Se ``axis`` è :ref:`ROTATION_AXIS_CUSTOM`, è possibile specificare qualsiasi asse. -\ **Note:** The rotation axis and the forward vector shouldn't be colinear to avoid unintended rotation since **SpringBoneSimulator3D** does not factor in twisting forces. +\ **Nota:** L'asse di rotazione e il vettore in avanti non dovrebbero essere collineari per evitare rotazioni indesiderate poiché **SpringBoneSimulator3D** non tiene conto delle forze di torsione. .. rst-class:: classref-item-separator @@ -1257,11 +1257,11 @@ The axes are based on the :ref:`Skeleton3D.get_bone_rest()`, joint\: :ref:`int`, vector\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the rotation axis vector for the specified joint in the bone chain. +Imposta il vettore dell'asse di rotazione per l'articolazione specificata nella catena d'ossa. -This vector is normalized by an internal process and represents the axis around which the bone chain can rotate. +Questo vettore è normalizzato da un processo interno e rappresenta l'asse attorno al quale la catena d'ossa può ruotare. -If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_AXIS_ALL`. +Se la lunghezza del vettore è ``0``, è considerato come sinonimo di :ref:`ROTATION_AXIS_ALL`. .. rst-class:: classref-item-separator @@ -1285,9 +1285,9 @@ Imposta la forza di rigidità in ``joint`` nella lista delle articolazioni della |void| **set_radius**\ (\ index\: :ref:`int`, radius\: :ref:`float`\ ) :ref:`🔗` -Sets the joint radius of the bone chain. It is used to move and slide with the :ref:`SpringBoneCollision3D` in the collision list. +Imposta il raggio di un'articolazione della catena d'ossa. È utilizzato per muovere e scorrere con il :ref:`SpringBoneCollision3D` nella lista di collisioni. -The value is scaled by :ref:`set_radius_damping_curve()` and cached in each joint setting in the joint list. +Il valore è ridimensionato da :ref:`set_radius_damping_curve()` e memorizzato nella cache in ogni impostazione d'articolazione nella lista delle articolazioni. .. rst-class:: classref-item-separator @@ -1335,11 +1335,11 @@ Imposta il nome dell'osso radice della catena d'ossa. |void| **set_rotation_axis**\ (\ index\: :ref:`int`, axis\: :ref:`RotationAxis`\ ) :ref:`🔗` -Sets the rotation axis of the bone chain. If set to a specific axis, it acts like a hinge joint. The value is cached in each joint setting in the joint list. +Imposta l'asse di rotazione della catena d'ossa. Se impostato su un'asse specifico, si comporta come un giunto a cerniera. Questo valore viene memorizzato nella cache in ogni impostazione d'articolazione nella lista delle articolazioni. -The axes are based on the :ref:`Skeleton3D.get_bone_rest()`'s space, if ``axis`` is :ref:`ROTATION_AXIS_CUSTOM`, you can specify any axis. +Gli assi si basano sullo spazio di :ref:`Skeleton3D.get_bone_rest()`; se ``axis`` è :ref:`ROTATION_AXIS_CUSTOM`, è possibile specificare qualsiasi asse. -\ **Note:** The rotation axis vector and the forward vector shouldn't be colinear to avoid unintended rotation since **SpringBoneSimulator3D** does not factor in twisting forces. +\ **Nota:** L'asse di rotazione e il vettore in avanti non dovrebbero essere collineari per evitare rotazioni indesiderate poiché **SpringBoneSimulator3D** non tiene conto delle forze di torsione. .. rst-class:: classref-item-separator @@ -1351,11 +1351,11 @@ The axes are based on the :ref:`Skeleton3D.get_bone_rest()`, vector\: :ref:`Vector3`\ ) :ref:`🔗` -Sets the rotation axis vector of the bone chain. The value is cached in each joint setting in the joint list. +Imposta il vettore dell'asse di rotazione della catena d'ossa. Il valore è memorizzato nella cache di ogni impostazione di articolazione nella lista di articolazioni. -This vector is normalized by an internal process and represents the axis around which the bone chain can rotate. +Questo vettore è normalizzato da un processo interno e rappresenta l'asse attorno al quale la catena d'ossa può ruotare. -If the vector length is ``0``, it is considered synonymous with :ref:`ROTATION_AXIS_ALL`. +Se la lunghezza del vettore è ``0``, è considerato come sinonimo di :ref:`ROTATION_AXIS_ALL`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_sprite2d.rst b/classes/it/class_sprite2d.rst index e542a7041a..5f63f01469 100644 --- a/classes/it/class_sprite2d.rst +++ b/classes/it/class_sprite2d.rst @@ -224,9 +224,9 @@ Il numero di colonne nello spritesheet. Quando questa proprietà è modificata, - |void| **set_offset**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_offset**\ (\ ) -The texture's drawing offset. +L'offset di disegno della texture. -\ **Note:** When you increase :ref:`offset`.y in Sprite2D, the sprite moves downward on screen (i.e., +Y is down). +\ **Nota:** Quando si aumenta :ref:`offset`.y in Sprite2D, lo sprite si sposta verso il basso sullo schermo (ovvero +Y punta verso il basso). .. rst-class:: classref-item-separator @@ -243,9 +243,9 @@ The texture's drawing offset. - |void| **set_region_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_region_enabled**\ (\ ) -If ``true``, texture is cut from a larger atlas texture. See :ref:`region_rect`. +Se ``true``, la texture è ritagliata da una texture più grande di atlante. Vedi :ref:`region_rect`. -\ **Note:** When using a custom :ref:`Shader` on a **Sprite2D**, the ``UV`` shader built-in will refer to the entire texture space. Use the ``REGION_RECT`` built-in to get the currently visible region defined in :ref:`region_rect` instead. See :doc:`CanvasItem shaders <../tutorials/shaders/shader_reference/canvas_item_shader>` for details. +\ **Nota:** Quando si utilizza uno :ref:`Shader` personalizzato su uno **Sprite2D**, la costante integrata ``UV`` farà riferimento all'intero spazio texture. Utilizza invece la costante integrata ``REGION_RECT`` per ottenere la regione attualmente visibile definita in :ref:`region_rect`. Consulta :doc:`Shader di CanvasItem <../tutorials/shaders/shader_reference/canvas_item_shader>` per i dettagli. .. rst-class:: classref-item-separator diff --git a/classes/it/class_spritebase3d.rst b/classes/it/class_spritebase3d.rst index e1897d89ad..c34b87daa8 100644 --- a/classes/it/class_spritebase3d.rst +++ b/classes/it/class_spritebase3d.rst @@ -366,7 +366,7 @@ Se ``true``, la texture è visibile anche dal retro, se ``false``, è invisibile - |void| **set_draw_flag**\ (\ flag\: :ref:`DrawFlags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_draw_flag**\ (\ flag\: :ref:`DrawFlags`\ ) |const| -If ``true``, the texture is rendered at the same size regardless of distance. The texture's size on screen is the same as if the camera was ``1.0`` units away from the texture's origin, regardless of the actual distance from the camera. The :ref:`Camera3D`'s field of view (or :ref:`Camera3D.size` when in orthogonal/frustum mode) still affects the size the sprite is drawn at. +Se ``true``, la texture viene renderizzata con le stesse dimensioni a prescindere dalla distanza. Le dimensioni della texture sullo schermo sono le stesse che avrebbe se la telecamera fosse a ``1.0`` unità di distanza dall'origine della texture, a prescindere dalla distanza effettiva dalla telecamera. Il campo visivo della :ref:`Camera3D` (o :ref:`Camera3D.size` in modalità ortogonale/tronco) influenza comunque le dimensioni della texture disegnata. .. rst-class:: classref-item-separator @@ -455,9 +455,9 @@ Se ``true``, il test di profondità è disabilitato e l'oggetto sarà disegnato - |void| **set_offset**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_offset**\ (\ ) -The texture's drawing offset. +L'offset di disegno della texture. -\ **Note:** When you increase :ref:`offset`.y in Sprite3D, the sprite moves upward in world space (i.e., +Y is up). +\ **Nota:** Quando si aumenta :ref:`offset`.y in Sprite3D, lo sprite si sposta verso l'alto nello spazio mondiale (ovvero +Y punta verso l'alto). .. rst-class:: classref-item-separator diff --git a/classes/it/class_staticbody2d.rst b/classes/it/class_staticbody2d.rst index c7427db2c9..9ae6f80e53 100644 --- a/classes/it/class_staticbody2d.rst +++ b/classes/it/class_staticbody2d.rst @@ -29,7 +29,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` .. rst-class:: classref-reftable-group diff --git a/classes/it/class_staticbody3d.rst b/classes/it/class_staticbody3d.rst index cd5521ec94..356e4dde29 100644 --- a/classes/it/class_staticbody3d.rst +++ b/classes/it/class_staticbody3d.rst @@ -29,7 +29,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - `Demo dei test di fisica 3D `__ diff --git a/classes/it/class_statusindicator.rst b/classes/it/class_statusindicator.rst index 27c9aade83..2c7f6240c5 100644 --- a/classes/it/class_statusindicator.rst +++ b/classes/it/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: @@ -12,7 +12,7 @@ StatusIndicator L'indicatore di stato dell'applicazione (cioè l'icona nell'area di notifica) -\ **Nota:** Questa proprietà è implementata su macOS and Windows. +\ **Nota:** Questa proprietà è implementata su macOS e Windows. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_streampeertcp.rst b/classes/it/class_streampeertcp.rst index 22c502e346..3088c8d9e1 100644 --- a/classes/it/class_streampeertcp.rst +++ b/classes/it/class_streampeertcp.rst @@ -182,7 +182,7 @@ Restituisce la porta locale a cui questo peer è associato. :ref:`Status` **get_status**\ (\ ) |const| :ref:`🔗` -Returns the status of the connection. +Restituisce lo stato della connessione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_streampeertls.rst b/classes/it/class_streampeertls.rst index ceca4beb02..49b0395f28 100644 --- a/classes/it/class_streampeertls.rst +++ b/classes/it/class_streampeertls.rst @@ -153,7 +153,7 @@ Si disconnette dall'host. :ref:`Status` **get_status**\ (\ ) |const| :ref:`🔗` -Returns the status of the connection. +Restituisce lo stato della connessione. .. rst-class:: classref-item-separator diff --git a/classes/it/class_string.rst b/classes/it/class_string.rst index 43afcba643..1beba783de 100644 --- a/classes/it/class_string.rst +++ b/classes/it/class_string.rst @@ -499,11 +499,11 @@ Cambia l'aspetto della stringa: sostituisce i trattini bassi (``_``) con spazi, :ref:`int` **casecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a case-sensitive comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" and "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. +Esegue un confronto con distinzione tra maiuscole e minuscole con un'altra stringa. Restituisce ``-1`` se minore di, ``1`` se maggiore di, o ``0`` se uguale. "Minore di" e "maggiore di" sono determinati dai `codici Unicode `__ di ogni stringa, che corrispondono approssimativamente all'ordine alfabetico. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Se il confronto tra caratteri raggiunge la fine di una stringa, ma l'altra stringa contiene più caratteri, utilizzerà la lunghezza come fattore decisivo: sarà restituito ``1`` se questa stringa è più lunga della stringa ``to``, oppure ``-1`` se è più corta. Si noti che la lunghezza delle stringhe vuote è sempre ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`nocasecmp_to()`, :ref:`filecasecmp_to()`, and :ref:`naturalcasecmp_to()`. +Per ottenere un risultato :ref:`bool` da un confronto di stringhe, utilizzare invece l'operatore ``==``. Vedi anche :ref:`nocasecmp_to()`, :ref:`filecasecmp_to()` e :ref:`naturalcasecmp_to()`. .. rst-class:: classref-item-separator @@ -515,14 +515,14 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`String` **chr**\ (\ code\: :ref:`int`\ ) |static| :ref:`🔗` -Returns a single Unicode character from the integer ``code``. You may use `unicodelookup.com `__ or `unicode.org `__ as points of reference. +Restituisce un singolo carattere Unicode dall'intero ``code``. Puoi usare `unicodelookup.com `__ o `unicode.org `__ come punti di riferimento. :: - print(String.chr(65)) # Prints "A" - print(String.chr(129302)) # Prints "🤖" (robot face emoji) + print(String.chr(65)) # Stampa "A" + print(String.chr(129302)) # Stampa "🤖" (emoji faccia di robot) -See also :ref:`unicode_at()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Vedi anche :ref:`unicode_at()`, :ref:`@GDScript.char()` e :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -1375,13 +1375,13 @@ Restituisce l'`hash MD5 `__ della stringa sot :ref:`int` **naturalcasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-sensitive**, *natural order* comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. +Esegue un confronto **con distinzione** tra maiuscole e minuscole e in *ordine naturale* con un'altra stringa. Restituisce ``-1`` se minore di, ``1`` se maggiore di, o ``0`` se uguale. "Minore di" e "maggiore di" sono determinati dai `punti di codice Unicode `__ di ogni stringa, che corrispondono approssimativamente all'ordine alfabetico. -When used for sorting, natural order comparison orders sequences of numbers by the combined value of each digit as is often expected, instead of the single digit's value. A sorted sequence of numbered strings will be ``["1", "2", "3", ...]``, not ``["1", "10", "2", "3", ...]``. +Quando viene utilizzato per l'ordinamento, il confronto con l'ordine naturale ordina sequenze di numeri in base al valore combinato di ciascuna cifra, come spesso previsto, anziché al valore della singola cifra. Una sequenza ordinata di stringhe numerate sarà ``["1", "2", "3", ...]``, non ``["1", "10", "2", "3", ...]``. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Se il confronto tra caratteri raggiunge la fine di una stringa, ma l'altra stringa contiene più caratteri, utilizzerà la lunghezza come fattore decisivo: sarà restituito ``1`` se questa stringa è più lunga della stringa ``to``, oppure ``-1`` se è più corta. Si noti che la lunghezza delle stringhe vuote è sempre ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`naturalnocasecmp_to()`, :ref:`filecasecmp_to()`, and :ref:`nocasecmp_to()`. +Per ottenere un risultato :ref:`bool` da un confronto di stringhe, utilizzare invece l'operatore ``==``. Vedi anche :ref:`naturalnocasecmp_to()`, :ref:`filecasecmp_to()` e :ref:`nocasecmp_to()`. .. rst-class:: classref-item-separator @@ -1393,13 +1393,13 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **naturalnocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-insensitive**, *natural order* comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. Internally, lowercase characters are converted to uppercase for the comparison. +Esegue un confronto **senza distinzione** tra maiuscole e minuscole e in *ordine naturale* con un'altra stringa. Restituisce ``-1`` se minore di, ``1`` se maggiore di, o ``0`` se uguale. "Minore di" e "maggiore di" sono determinati dai `punti di codice Unicode `__ di ogni stringa, che corrispondono approssimativamente all'ordine alfabetico. -When used for sorting, natural order comparison orders sequences of numbers by the combined value of each digit as is often expected, instead of the single digit's value. A sorted sequence of numbered strings will be ``["1", "2", "3", ...]``, not ``["1", "10", "2", "3", ...]``. +Quando viene utilizzato per l'ordinamento, il confronto con l'ordine naturale ordina sequenze di numeri in base al valore combinato di ciascuna cifra, come spesso previsto, anziché al valore della singola cifra. Una sequenza ordinata di stringhe numerate sarà ``["1", "2", "3", ...]``, non ``["1", "10", "2", "3", ...]``. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Se il confronto tra caratteri raggiunge la fine di una stringa, ma l'altra stringa contiene più caratteri, utilizzerà la lunghezza come fattore decisivo: sarà restituito ``1`` se questa stringa è più lunga della stringa ``to``, oppure ``-1`` se è più corta. Si noti che la lunghezza delle stringhe vuote è sempre ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`naturalcasecmp_to()`, :ref:`filenocasecmp_to()`, and :ref:`casecmp_to()`. +Per ottenere un risultato :ref:`bool` da un confronto di stringhe, utilizzare invece l'operatore ``==``. Vedi anche :ref:`naturalcasecmp_to()`, :ref:`filenocasecmp_to()` e :ref:`casecmp_to()`. .. rst-class:: classref-item-separator @@ -1411,11 +1411,11 @@ To get a :ref:`bool` result from a string comparison, use the ``==`` :ref:`int` **nocasecmp_to**\ (\ to\: :ref:`String`\ ) |const| :ref:`🔗` -Performs a **case-insensitive** comparison to another string. Returns ``-1`` if less than, ``1`` if greater than, or ``0`` if equal. "Less than" or "greater than" are determined by the `Unicode code points `__ of each string, which roughly matches the alphabetical order. Internally, lowercase characters are converted to uppercase for the comparison. +Esegue un confronto **senza distinzione tra maiuscole e minuscole** con un'altra stringa. Restituisce ``-1`` se minore di, ``1`` se maggiore di, o ``0`` se uguale. "Minore di" e "maggiore di" sono determinati dai `punti di codice Unicode `__ di ogni stringa, che corrispondono approssimativamente all'ordine alfabetico. -If the character comparison reaches the end of one string, but the other string contains more characters, then it will use length as the deciding factor: ``1`` will be returned if this string is longer than the ``to`` string, or ``-1`` if shorter. Note that the length of empty strings is always ``0``. +Se il confronto tra caratteri raggiunge la fine di una stringa, ma l'altra stringa contiene più caratteri, utilizzerà la lunghezza come fattore decisivo: sarà restituito ``1`` se questa stringa è più lunga della stringa ``to``, oppure ``-1`` se è più corta. Si noti che la lunghezza delle stringhe vuote è sempre ``0``. -To get a :ref:`bool` result from a string comparison, use the ``==`` operator instead. See also :ref:`casecmp_to()`, :ref:`filenocasecmp_to()`, and :ref:`naturalnocasecmp_to()`. +Per ottenere un risultato :ref:`bool` da un confronto di stringhe, utilizzare invece l'operatore ``==``. Vedi anche :ref:`casecmp_to()`, :ref:`filenocasecmp_to()` e :ref:`naturalnocasecmp_to()`. .. rst-class:: classref-item-separator @@ -1560,7 +1560,7 @@ Concatena ``path`` alla fine della stringa come sotto-percorso, aggiungendo ``/` :ref:`String` **remove_char**\ (\ what\: :ref:`int`\ ) |const| :ref:`🔗` -Removes all occurrences of the Unicode character with code ``what``. Faster version of :ref:`replace()` when the key is only one character long and the replacement is ``""``. +Rimuove tutte le occorrenze del carattere Unicode con il codice ``what``. Versione più veloce di :ref:`replace()` quando la chiave è lunga un solo carattere e la sostituzione è ``""``. .. rst-class:: classref-item-separator @@ -1608,7 +1608,7 @@ Sostituisce tutte le occorrenze di ``what`` all'interno della stringa con il ``f :ref:`String` **replace_char**\ (\ key\: :ref:`int`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces all occurrences of the Unicode character with code ``key`` with the Unicode character with code ``with``. Faster version of :ref:`replace()` when the key is only one character long. To get a single character use ``"X".unicode_at(0)`` (note that some strings, like compound letters and emoji, can be composed of multiple unicode codepoints, and will not work with this method, use :ref:`length()` to make sure). +Sostituisce tutte le occorrenze del carattere Unicode con codice ``key`` con il carattere Unicode con codice ``with``. Versione più veloce di :ref:`replace()` quando la chiave è lunga un solo carattere. Per ottenere un singolo carattere, utilizzare ``"X".unicode_at(0)`` (si noti che alcune stringhe, come lettere composte ed emoji, possono essere composte da più codici Unicode e non funzioneranno con questo metodo; utilizzare :ref:`length()` per esserne sicuri). .. rst-class:: classref-item-separator @@ -1620,7 +1620,7 @@ Replaces all occurrences of the Unicode character with code ``key`` with the Uni :ref:`String` **replace_chars**\ (\ keys\: :ref:`String`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces any occurrence of the characters in ``keys`` with the Unicode character with code ``with``. See also :ref:`replace_char()`. +Sostituisce qualsiasi occorrenza dei caratteri in ``keys`` con il carattere Unicode con codice ``with``. Vedi anche :ref:`replace_char()`. .. rst-class:: classref-item-separator @@ -1644,7 +1644,7 @@ Sostituisce tutte le occorrenze **senza distinzione tra maiuscole e minuscole** :ref:`String` **reverse**\ (\ ) |const| :ref:`🔗` -Restituisce la copia di questa stringa in ordine inverso. Questa operazione funziona su punti di codice Unicode, piuttosto che su sequenze di punti di codice, e potrebbe spezzare elementi come lettere composte o emoji. +Restituisce la copia di questa stringa in ordine inverso. Questa operazione funziona su codici Unicode, piuttosto che su sequenze di codici, e potrebbe spezzare elementi come lettere composte o emoji. .. rst-class:: classref-item-separator @@ -2046,13 +2046,13 @@ Restituisce la stringa convertita in ``lowercase``. :ref:`PackedByteArray` **to_multibyte_char_buffer**\ (\ encoding\: :ref:`String` = ""\ ) |const| :ref:`🔗` -Converts the string to system multibyte code page encoded :ref:`PackedByteArray`. If conversion fails, empty array is returned. +Converte la stringa in un :ref:`PackedByteArray` codificato con code page multibyte di sistema. Se la conversione fallisce, viene restituito un array vuoto. -The values permitted for ``encoding`` are system dependent. If ``encoding`` is empty string, system default encoding is used. +I valori consentiti per ``encoding`` dipendono dal sistema. Se ``encoding`` è una stringa vuota, viene utilizzata la codifica predefinita del sistema. -- For Windows, see `Code Page Identifiers `__ .NET names. +- Per Windows, consultare i nomi .NET per i `Code Page Identifiers `__. -- For macOS and Linux/BSD, see ``libiconv`` library documentation and ``iconv --list`` for a list of supported encodings. +- Per macOS e Linux/BSD, consultare la documentazione della libreria ``libiconv`` e ``iconv --list`` per un elenco delle codifiche supportate. .. rst-class:: classref-item-separator @@ -2191,9 +2191,9 @@ Rimuove il suffisso ``suffix`` dalla fine della stringa o restituisce la stringa :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Restituisce il codice carattere alla posizione ``at``. -See also :ref:`chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Vedi anche :ref:`chr()`, :ref:`@GDScript.char()` e :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -2265,7 +2265,7 @@ Codifica la stringa in un formato compatibile con URL. Questo metodo è pensato :ref:`String` **uri_file_decode**\ (\ ) |const| :ref:`🔗` -Decodes the file path from its URL-encoded format. Unlike :ref:`uri_decode()` this method leaves ``+`` as is. +Decodifica il percorso di file dal suo formato codificato URL. A differenza di :ref:`uri_decode()`, questo metodo lascia ``+`` invariati. .. rst-class:: classref-item-separator diff --git a/classes/it/class_stringname.rst b/classes/it/class_stringname.rst index aa13aeefa5..f629c605da 100644 --- a/classes/it/class_stringname.rst +++ b/classes/it/class_stringname.rst @@ -1403,7 +1403,7 @@ Concatena ``path`` alla fine della stringa come sotto-percorso, aggiungendo ``/` :ref:`String` **remove_char**\ (\ what\: :ref:`int`\ ) |const| :ref:`🔗` -Removes all occurrences of the Unicode character with code ``what``. Faster version of :ref:`replace()` when the key is only one character long and the replacement is ``""``. +Rimuove tutte le occorrenze del carattere Unicode con il codice ``what``. Versione più veloce di :ref:`replace()` quando la chiave è lunga un solo carattere e la sostituzione è ``""``. .. rst-class:: classref-item-separator @@ -1451,7 +1451,7 @@ Sostituisce tutte le occorrenze di ``what`` all'interno della stringa con il ``f :ref:`String` **replace_char**\ (\ key\: :ref:`int`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces all occurrences of the Unicode character with code ``key`` with the Unicode character with code ``with``. Faster version of :ref:`replace()` when the key is only one character long. To get a single character use ``"X".unicode_at(0)`` (note that some strings, like compound letters and emoji, can be composed of multiple unicode codepoints, and will not work with this method, use :ref:`length()` to make sure). +Sostituisce tutte le occorrenze del carattere Unicode con codice ``key`` con il carattere Unicode con codice ``with``. Versione più veloce di :ref:`replace()` quando la chiave è lunga un solo carattere. Per ottenere un singolo carattere, utilizzare ``"X".unicode_at(0)`` (si noti che alcune stringhe, come lettere composte ed emoji, possono essere composte da più codici Unicode e non funzioneranno con questo metodo; utilizzare :ref:`length()` per esserne sicuri). .. rst-class:: classref-item-separator @@ -1463,7 +1463,7 @@ Replaces all occurrences of the Unicode character with code ``key`` with the Uni :ref:`String` **replace_chars**\ (\ keys\: :ref:`String`, with\: :ref:`int`\ ) |const| :ref:`🔗` -Replaces any occurrence of the characters in ``keys`` with the Unicode character with code ``with``. See also :ref:`replace_char()`. +Sostituisce qualsiasi occorrenza dei caratteri in ``keys`` con il carattere Unicode con codice ``with``. Vedi anche :ref:`replace_char()`. .. rst-class:: classref-item-separator @@ -1487,7 +1487,7 @@ Sostituisce tutte le occorrenze **senza distinzione tra maiuscole e minuscole** :ref:`String` **reverse**\ (\ ) |const| :ref:`🔗` -Restituisce la copia di questa stringa in ordine inverso. Questa operazione funziona su punti di codice Unicode, piuttosto che su sequenze di punti di codice, e potrebbe spezzare elementi come lettere composte o emoji. +Restituisce la copia di questa stringa in ordine inverso. Questa operazione funziona su codici Unicode, piuttosto che su sequenze di codici, e potrebbe spezzare elementi come lettere composte o emoji. .. rst-class:: classref-item-separator @@ -1889,13 +1889,13 @@ Restituisce la stringa convertita in ``lowercase``. :ref:`PackedByteArray` **to_multibyte_char_buffer**\ (\ encoding\: :ref:`String` = ""\ ) |const| :ref:`🔗` -Converts the string to system multibyte code page encoded :ref:`PackedByteArray`. If conversion fails, empty array is returned. +Converte la stringa in un :ref:`PackedByteArray` codificato con code page multibyte di sistema. Se la conversione fallisce, viene restituito un array vuoto. -The values permitted for ``encoding`` are system dependent. If ``encoding`` is empty string, system default encoding is used. +I valori consentiti per ``encoding`` dipendono dal sistema. Se ``encoding`` è una stringa vuota, viene utilizzata la codifica predefinita del sistema. -- For Windows, see `Code Page Identifiers `__ .NET names. +- Per Windows, consultare i nomi .NET per i `Code Page Identifiers `__. -- For macOS and Linux/BSD, see ``libiconv`` library documentation and ``iconv --list`` for a list of supported encodings. +- Per macOS e Linux/BSD, consultare la documentazione della libreria ``libiconv`` e ``iconv --list`` per un elenco delle codifiche supportate. .. rst-class:: classref-item-separator @@ -2034,9 +2034,9 @@ Rimuove il suffisso ``suffix`` dalla fine della stringa o restituisce la stringa :ref:`int` **unicode_at**\ (\ at\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the character code at position ``at``. +Restituisce il codice carattere alla posizione ``at``. -See also :ref:`String.chr()`, :ref:`@GDScript.char()`, and :ref:`@GDScript.ord()`. +Vedi anche :ref:`String.chr()`, :ref:`@GDScript.char()` e :ref:`@GDScript.ord()`. .. rst-class:: classref-item-separator @@ -2108,7 +2108,7 @@ Codifica la stringa in un formato compatibile con URL. Questo metodo è pensato :ref:`String` **uri_file_decode**\ (\ ) |const| :ref:`🔗` -Decodes the file path from its URL-encoded format. Unlike :ref:`uri_decode()` this method leaves ``+`` as is. +Decodifica il percorso di file dal suo formato codificato URL. A differenza di :ref:`uri_decode()`, questo metodo lascia ``+`` invariati. .. rst-class:: classref-item-separator diff --git a/classes/it/class_styleboxtexture.rst b/classes/it/class_styleboxtexture.rst index ec805cb1af..ea3bf4c27e 100644 --- a/classes/it/class_styleboxtexture.rst +++ b/classes/it/class_styleboxtexture.rst @@ -14,7 +14,7 @@ Uno :ref:`StyleBox` divisa in nove sezioni basata su una texture Descrizione ---------------------- -Uno :ref:`StyleBox` a nove sezioni basato su texture, in un modo simile a :ref:`NinePatchRect`. Questo stylebox esegue un ridimensionamento 3×3 di una texture, dove solo la cella centrale è completamente allungata. Ciò rende possibile progettare stili con bordi a prescindere dalle dimensioni dello stylebox. +Uno :ref:`StyleBox` a nove sezioni basato su texture, in un modo simile a :ref:`NinePatchRect`. Questo stylebox esegue un ridimensionamento 3×3 di una texture, dove solo la cella centrale è completamente stirata. Ciò rende possibile progettare stili con bordi a prescindere dalle dimensioni dello stylebox. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_subtweentweener.rst b/classes/it/class_subtweentweener.rst index 30f6f98c3d..8c731a51c6 100644 --- a/classes/it/class_subtweentweener.rst +++ b/classes/it/class_subtweentweener.rst @@ -14,7 +14,7 @@ Esegue un :ref:`Tween` annidato all'interno di un altro :ref:`Tween Descrizione ---------------------- -**SubtweenTweener** è utilizzato per eseguire un :ref:`Tween` come solo passaggio in una sequenza definita da un altro :ref:`Tween`. Vedi :ref:`Tween.tween_subtween()` per maggiori informazioni sull'utilizzo. +**SubtweenTweener** serve per eseguire un :ref:`Tween` come solo passaggio in una sequenza definita da un altro :ref:`Tween`. Vedi :ref:`Tween.tween_subtween()` per maggiori informazioni sull'utilizzo. \ **Nota:** :ref:`Tween.tween_subtween()` è l'unico modo corretto per creare **SubtweenTweener**. Qualsiasi **SubtweenTweener** creato manualmente non funzionerà correttamente. diff --git a/classes/it/class_surfacetool.rst b/classes/it/class_surfacetool.rst index 1bf13a6bbe..c60adecbe1 100644 --- a/classes/it/class_surfacetool.rst +++ b/classes/it/class_surfacetool.rst @@ -14,7 +14,7 @@ Strumento di supporto per la creazione di geometrie. Descrizione ---------------------- -**SurfaceTool** è utilizzato per costruire una :ref:`Mesh` specificando gli attributi dei vertici singolarmente. Può essere utilizzato per costruire una :ref:`Mesh` da uno script. È necessario aggiungere tutte le proprietà, eccetto gli indici, prima di chiamare :ref:`add_vertex()`. Ad esempio, per aggiungere i colori dei vertici e gli UV: +**SurfaceTool** serve per costruire una :ref:`Mesh` specificando gli attributi dei vertici singolarmente. Può essere utilizzato per costruire una :ref:`Mesh` da uno script. È necessario aggiungere tutte le proprietà, eccetto gli indici, prima di chiamare :ref:`add_vertex()`. Ad esempio, per aggiungere i colori dei vertici e gli UV: .. tabs:: diff --git a/classes/it/class_syntaxhighlighter.rst b/classes/it/class_syntaxhighlighter.rst index 5eb06a6f51..6c3765a549 100644 --- a/classes/it/class_syntaxhighlighter.rst +++ b/classes/it/class_syntaxhighlighter.rst @@ -113,7 +113,7 @@ Successivamente richiama il metodo sovrascrivibile :ref:`_clear_highlighting_cac Restituisce i dati di evidenziazione della sintassi per una singola riga. Se la riga non è memorizzata nella cache, chiama :ref:`_get_line_syntax_highlighting()` per calcolare i dati. -Il :ref:`Dictionary` restituito è il numero di colonna da :ref:`Dictionary`. Il numero di colonna indica l'inizio di una regione, la regione terminerà se si trova un'altra regione o alla fine della riga. Il :ref:`Dictionary` nidificato contiene i dati per quella regione, attualmente è supportata solo la chiave ``"color"``. +Il :ref:`Dictionary` restituito è il numero di colonna da :ref:`Dictionary`. Il numero di colonna indica l'inizio di una regione, la regione terminerà se si trova un'altra regione o alla fine della riga. Il :ref:`Dictionary` innestato contiene i dati per quella regione, attualmente è supportata solo la chiave ``"color"``. \ **Esempio:** Possibile valore restituito. Ciò significa che le colonne da ``0`` a ``4`` dovrebbero essere rosse e le colonne da ``5`` alla fine della riga dovrebbero essere verdi: diff --git a/classes/it/class_systemfont.rst b/classes/it/class_systemfont.rst index 3ebb5654c7..189dea638e 100644 --- a/classes/it/class_systemfont.rst +++ b/classes/it/class_systemfont.rst @@ -277,7 +277,7 @@ Se impostato su ``true``, quando si allineano i glifi ai confini dei pixel, il r - |void| **set_modulate_color_glyphs**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_modulate_color_glyphs**\ (\ ) -If set to ``true``, color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only. +Se impostato su ``true``, la modulazione del colore è applicata quando si disegnano glifi colorati, altrimenti è applicata solo ai glifi monocromatici. .. rst-class:: classref-item-separator @@ -345,7 +345,7 @@ Se impostato su ``true``, i glifi di tutte le dimensioni sono renderizzati utili - |void| **set_oversampling**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_oversampling**\ (\ ) -If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. +Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textedit.rst b/classes/it/class_textedit.rst index b280107873..4d9807dc3b 100644 --- a/classes/it/class_textedit.rst +++ b/classes/it/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: @@ -19,19 +19,19 @@ Un editor di testo multilinea. Descrizione ---------------------- -A multiline text editor. It also has limited facilities for editing code, such as syntax highlighting support. For more advanced facilities for editing code, see :ref:`CodeEdit`. +Un editor di testo multilinea. Offre anche funzionalità limitate per la modifica del codice, come il supporto per l'evidenziazione della sintassi. Per funzionalità più avanzate per la modifica del codice, consultare :ref:`CodeEdit`. -While entering text, it is possible to insert special characters using Unicode, OEM or Windows alt codes: +Durante l'inserimento del testo, è possibile inserire caratteri speciali attraverso i codici alt Unicode, OEM o Windows: -- To enter Unicode codepoints, hold :kbd:`Alt` and type the codepoint on the numpad. For example, to enter the character ``á`` (U+00E1), hold :kbd:`Alt` and type :kbd:`+E1` on the numpad (the leading zeroes can be omitted). +- Per inserire codici Unicode, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (U+00E1), tenere premuto :kbd:`Alt` e digitare :kbd:`+E1` sul tastierino numerico (gli zeri iniziali si possono omettere). -- To enter OEM codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (OEM 160), hold :kbd:`Alt` and type ``160`` on the numpad. +- Per inserire codici OEM, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (OEM 160), tenere premuto :kbd:`Alt` e digitare ``160`` sul tastierino numerico. -- To enter Windows codepoints, hold :kbd:`Alt` and type the code on the numpad. For example, to enter the character ``á`` (Windows 0225), hold :kbd:`Alt` and type :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` on the numpad. The leading zero here must **not** be omitted, as this is how Windows codepoints are distinguished from OEM codepoints. +- Per inserire i codici Windows, tenere premuto :kbd:`Alt` e digitare il codice sul tastierino numerico. Ad esempio, per inserire il carattere ``á`` (Windows 0225), tenere premuto :kbd:`Alt` e digitare :kbd:`0`, :kbd:`2`, :kbd:`2`, :kbd:`5` sul tastierino numerico. Lo zero iniziale qui **non** si deve omettere, poiché è questo il modo in cui i codici di Windows si distinguono dai codici OEM. -\ **Note:** Most viewport, caret, and edit methods contain a ``caret_index`` argument for :ref:`caret_multiple` support. The argument should be one of the following: ``-1`` for all carets, ``0`` for the main caret, or greater than ``0`` for secondary carets in the order they were created. +\ **Nota:** La maggior parte dei metodi di viewport, cursori e modifica includono un argomento ``caret_index`` per il supporto di :ref:`caret_multiple`. L'argomento dovrebbe essere uno dei seguenti: ``-1`` per tutti i cursori, ``0`` per il cursore principale o maggiore di ``0`` per i cursori secondari nell'ordine in cui sono stati creati. -\ **Note:** When holding down :kbd:`Alt`, the vertical scroll wheel will scroll 5 times as fast as it would normally do. This also works in the Godot script editor. +\ **Nota:** Tenendo premuto :kbd:`Alt`, la rotellina di scorrimento verticale scorrerà 5 volte più velocemente del normale. Questo funziona anche nell'editor di script Godot. .. rst-class:: classref-reftable-group @@ -1140,7 +1140,7 @@ Se :ref:`wrap_mode` è impostato su :ref:`LIN - |void| **set_backspace_deletes_composite_character_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_backspace_deletes_composite_character_enabled**\ (\ ) -If ``true`` and :ref:`caret_mid_grapheme` is ``false``, backspace deletes an entire composite character such as ❤️‍🩹, instead of deleting part of the composite character. +Se ``true`` e :ref:`caret_mid_grapheme` è ``false``, il tasto backspace elimina un intero carattere composto, ad esempio ❤️‍🩹, anziché eliminare parte del carattere composto. .. rst-class:: classref-item-separator @@ -1796,7 +1796,7 @@ L'evidenziatore di sintassi da usare. - |void| **set_tab_input_mode**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_tab_input_mode**\ (\ ) -If ``true``, :ref:`ProjectSettings.input/ui_text_indent` input ``Tab`` character, otherwise it moves keyboard focus to the next :ref:`Control` in the scene. +Se ``true``, l'input :ref:`ProjectSettings.input/ui_text_indent` inserisce il carattere ``Tab``, altrimenti sposta il focus della tastiera sul :ref:`Control` successivo nella scena. .. rst-class:: classref-item-separator @@ -1881,7 +1881,7 @@ Se ``false``, usando le combinazioni :kbd:`Ctrl + Sinistra` o :kbd:`Ctrl + Destr - |void| **set_virtual_keyboard_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_virtual_keyboard_enabled**\ (\ ) -If ``true``, the native virtual keyboard is enabled on platforms that support it. +Se ``true``, la tastiera virtuale nativa è abilitata sulle piattaforme che la supportano. .. rst-class:: classref-item-separator @@ -1898,7 +1898,7 @@ If ``true``, the native virtual keyboard is enabled on platforms that support it - |void| **set_virtual_keyboard_show_on_focus**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **get_virtual_keyboard_show_on_focus**\ (\ ) -If ``true``, the native virtual keyboard is shown on focus events on platforms that support it. +Se ``true``, la tastiera virtuale nativa è mostrata dopo eventi di focus sulle piattaforme che la supportano. .. rst-class:: classref-item-separator @@ -2778,7 +2778,7 @@ Restituisce il numero di righe che possono essere disegnate sulla minimappa. :ref:`int` **get_next_composite_character_column**\ (\ line\: :ref:`int`, column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the correct column at the end of a composite character like ❤️‍🩹 (mending heart; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) which is comprised of more than one Unicode code point, if the caret is at the start of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters. +Restituisce la colonna corretta alla fine di un carattere composto come ❤️‍🩹 (cuore guarito; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) che è composto da più di un punto di codice Unicode, se il cursore si trova all'inizio del carattere composto. Restituisce anche la colonna corretta con il cursore a metà grafema e per i caratteri non composti. \ **Note:** To check at caret location use ``get_next_composite_character_column(get_caret_line(), get_caret_column())`` @@ -2830,7 +2830,7 @@ Restituisce la posizione locale per la riga ``line`` e la colonna ``column``. Se :ref:`int` **get_previous_composite_character_column**\ (\ line\: :ref:`int`, column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the correct column at the start of a composite character like ❤️‍🩹 (mending heart; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) which is comprised of more than one Unicode code point, if the caret is at the end of the composite character. Also returns the correct column with the caret at mid grapheme and for non-composite characters. +Restituisce la colonna corretta all'inizio di un carattere composto come ❤️‍🩹 (cuore guarito; Unicode: ``U+2764 U+FE0F U+200D U+1FA79``) che è composto da più di un punto di codice Unicode, se il cursore si trova alla fine del carattere composto. Restituisce anche la colonna corretta con il cursore a metà grafema e per i caratteri non composti. \ **Note:** To check at caret location use ``get_previous_composite_character_column(get_caret_line(), get_caret_column())`` diff --git a/classes/it/class_textline.rst b/classes/it/class_textline.rst index 07e74fff8f..e8bafb12f8 100644 --- a/classes/it/class_textline.rst +++ b/classes/it/class_textline.rst @@ -445,7 +445,7 @@ Restituisce le dimensioni del riquadro del testo. :ref:`int` **hit_test**\ (\ coords\: :ref:`float`\ ) |const| :ref:`🔗` -Returns caret character offset at the specified pixel offset at the baseline. This function always returns a valid position. +Restituisce l'offset per il cursore nel pixel specificato sulla linea di base. Questa funzione restituisce sempre una posizione valida. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textmesh.rst b/classes/it/class_textmesh.rst index 84c7c8a76d..305b1a548f 100644 --- a/classes/it/class_textmesh.rst +++ b/classes/it/class_textmesh.rst @@ -7,18 +7,18 @@ TextMesh **Eredita:** :ref:`PrimitiveMesh` **<** :ref:`Mesh` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Generate a :ref:`PrimitiveMesh` from the text. +Genera un :ref:`PrimitiveMesh` dal testo. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Generate a :ref:`PrimitiveMesh` from the text. +Genera un :ref:`PrimitiveMesh` dal testo. -TextMesh can be generated only when using dynamic fonts with vector glyph contours. Bitmap fonts (including bitmap data in the TrueType/OpenType containers, like color emoji fonts) are not supported. +È possibile generare un TextMesh solo quando si utilizzano font dinamici con contorni di glifi vettoriali. I caratteri bitmap (compresi i dati bitmap nei contenitori TrueType/OpenType, come i caratteri emoji a colori) non sono supportati. -The UV layout is arranged in 4 horizontal strips, top to bottom: 40% of the height for the front face, 40% for the back face, 10% for the outer edges and 10% for the inner edges. +Il layout UV è disposto in 4 fasce orizzontali, dall'alto verso il basso: 40% dell'altezza per la faccia anteriore, 40% per la faccia posteriore, 10% per i bordi esterni e 10% per i bordi interni. .. rst-class:: classref-introduction-group @@ -195,7 +195,7 @@ Controlla l'allineamento orizzontale del testo. Supporta sinistra, centro, destr - |void| **set_justification_flags**\ (\ value\: |bitfield|\[:ref:`JustificationFlag`\]\ ) - |bitfield|\[:ref:`JustificationFlag`\] **get_justification_flags**\ (\ ) -Line fill alignment rules. +Regole di allineamento del riempimento per le righe. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textparagraph.rst b/classes/it/class_textparagraph.rst index e59282d320..c088a13c0e 100644 --- a/classes/it/class_textparagraph.rst +++ b/classes/it/class_textparagraph.rst @@ -235,7 +235,7 @@ Carattere di ellissi (puntini di sospensione) utilizzato per ritagliare il testo - |void| **set_justification_flags**\ (\ value\: |bitfield|\[:ref:`JustificationFlag`\]\ ) - |bitfield|\[:ref:`JustificationFlag`\] **get_justification_flags**\ (\ ) -Line fill alignment rules. +Regole di allineamento del riempimento per le righe. .. rst-class:: classref-item-separator @@ -719,7 +719,7 @@ Restituisce le dimensioni del riquadro del paragrafo. :ref:`int` **hit_test**\ (\ coords\: :ref:`Vector2`\ ) |const| :ref:`🔗` -Returns caret character offset at the specified coordinates. This function always returns a valid position. +Restituisce l'offset per il cursore alle coordinate specificate. Questa funzione restituisce sempre una posizione valida. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textserver.rst b/classes/it/class_textserver.rst index 3208bf4157..1eda06c8dd 100644 --- a/classes/it/class_textserver.rst +++ b/classes/it/class_textserver.rst @@ -880,9 +880,9 @@ Sottrai la larghezza del rientro della prima riga da tutte le righe successive a :ref:`LineBreakFlag` **BREAK_TRIM_START_EDGE_SPACES** = ``64`` -Remove spaces and line break characters from the start of broken line segments. +Rimuove spazi e caratteri di interruzione di riga dall'inizio dei segmenti di riga interrotti. -E.g, after line breaking, the second segment of the following text ``test \n next``, is ``next`` if the flag is set, and `` next`` if it is not. +Ad esempio, dopo l'interruzione di riga, il secondo segmento del testo seguente ``test \n next``, è ``next`` se il flag è impostato, e `` next`` se non lo è. .. _class_TextServer_constant_BREAK_TRIM_END_EDGE_SPACES: @@ -890,9 +890,9 @@ E.g, after line breaking, the second segment of the following text ``test \n n :ref:`LineBreakFlag` **BREAK_TRIM_END_EDGE_SPACES** = ``128`` -Remove spaces and line break characters from the end of broken line segments. +Rimuove spazi e caratteri di interruzione di riga dalla fine dei segmenti di riga interrotti. -E.g, after line breaking, the first segment of the following text ``test \n next``, is ``test`` if the flag is set, and ``test \n`` if it is not. +Ad esempio, dopo l'interruzione di riga, il primo segmento del testo seguente ``test \n next``, è ``test`` se il flag è impostato, e ``test \n`` se non lo è. .. rst-class:: classref-item-separator @@ -1282,7 +1282,7 @@ La posizione orizzontale del glifo è arrotondata a un quarto della dimensione d :ref:`SubpixelPositioning` **SUBPIXEL_POSITIONING_ONE_HALF_MAX_SIZE** = ``20`` -Maximum font size which will use "one half of the pixel" subpixel positioning in :ref:`SUBPIXEL_POSITIONING_AUTO` mode. +Dimensione massima per i font che utilizzerà il posizionamento subpixel "metà di un pixel" in modalità :ref:`SUBPIXEL_POSITIONING_AUTO`. .. _class_TextServer_constant_SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE: @@ -1290,7 +1290,7 @@ Maximum font size which will use "one half of the pixel" subpixel positioning in :ref:`SubpixelPositioning` **SUBPIXEL_POSITIONING_ONE_QUARTER_MAX_SIZE** = ``16`` -Maximum font size which will use "one quarter of the pixel" subpixel positioning in :ref:`SUBPIXEL_POSITIONING_AUTO` mode. +Dimensione massima per i font che utilizzerà il posizionamento subpixel "un quarto di un pixel" in modalità :ref:`SUBPIXEL_POSITIONING_AUTO`. .. rst-class:: classref-item-separator @@ -1538,7 +1538,7 @@ Il font è in corsivo o obliquo. :ref:`FontStyle` **FONT_FIXED_WIDTH** = ``4`` -Font has fixed-width characters (also known as monospace). +Il font ha caratteri a larghezza fissa (noti anche come monospace). .. rst-class:: classref-item-separator @@ -1604,7 +1604,7 @@ Sovrascrittura BiDi per GDScript. :ref:`StructuredTextParser` **STRUCTURED_TEXT_CUSTOM** = ``6`` -Funzione di sovrascrittura BiDi del testo strutturato definito dall'utente. +Funzione di sostituzione del BiDi di testo strutturato definito dall'utente. .. rst-class:: classref-item-separator @@ -1745,7 +1745,7 @@ Rimuove tutte le dimensioni del font dalla voce nella cache. |void| **font_clear_system_fallback_cache**\ (\ ) :ref:`🔗` -Frees all automatically loaded system fonts. +Libera tutti i font di sistema caricati automaticamente. .. rst-class:: classref-item-separator @@ -2235,7 +2235,7 @@ Restituisce un :ref:`Dictionary` con le stringhe di nomi di fo :ref:`float` **font_get_oversampling**\ (\ font_rid\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns oversampling factor override. If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. Used by dynamic fonts only. +Restituisce la sostituzione del fattore di sovracampionamento. Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. Utilizzato solo dai font dinamici. .. rst-class:: classref-item-separator @@ -2283,7 +2283,7 @@ Restituisce la lista delle sostituzioni di supporto d'alfabeto. :ref:`Array`\[:ref:`Dictionary`\] **font_get_size_cache_info**\ (\ font_rid\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns font cache information, each entry contains the following fields: ``Vector2i size_px`` - font size in pixels, ``float viewport_oversampling`` - viewport oversampling factor, ``int glyphs`` - number of rendered glyphs, ``int textures`` - number of used textures, ``int textures_size`` - size of texture data in bytes. +Restituisce informazioni sulla cache del font, ogni voce contiene i seguenti campi: ``Vector2i size_px`` - dimensione del font in pixel, ``float viewport_oversampling`` - fattore di sovracampionamento della viewport, ``int glyphs`` - numero di glifi renderizzati, ``int textures`` - numero di texture utilizzate, ``int textures_size`` - dimensione dei dati della texture in byte. .. rst-class:: classref-item-separator @@ -2951,7 +2951,7 @@ Aggiunge una sostituzione per :ref:`font_is_language_supported()`, force_autohinter\: :ref:`bool`\ ) :ref:`🔗` -If set to ``true``, color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only. +Se impostato su ``true``, la modulazione del colore è applicata quando si disegnano glifi colorati, altrimenti è applicata solo ai glifi monocromatici. .. rst-class:: classref-item-separator @@ -3025,7 +3025,7 @@ Imposta la sostituzione dell'insieme di funzionalità OpenType del font. |void| **font_set_oversampling**\ (\ font_rid\: :ref:`RID`, oversampling\: :ref:`float`\ ) :ref:`🔗` -If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. Used by dynamic fonts only. +Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. Utilizzato solo dai font dinamici. .. rst-class:: classref-item-separator @@ -3503,7 +3503,7 @@ Salva il database facoltativo (ad esempio, iteratori di interruzione ICU e dizio :ref:`int` **shaped_get_run_count**\ (\ shaped\: :ref:`RID`\ ) |const| :ref:`🔗` -Returns the number of uniform text runs in the buffer. +Restituisce il numero di sequenze di testo uniformi nel buffer. .. rst-class:: classref-item-separator @@ -3515,7 +3515,7 @@ Returns the number of uniform text runs in the buffer. :ref:`Direction` **shaped_get_run_direction**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the direction of the ``index`` text run (in visual order). +Restituisce la direzione della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3527,7 +3527,7 @@ Returns the direction of the ``index`` text run (in visual order). :ref:`RID` **shaped_get_run_font_rid**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the font RID of the ``index`` text run (in visual order). +Restituisce il RID del font della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3539,7 +3539,7 @@ Returns the font RID of the ``index`` text run (in visual order). :ref:`int` **shaped_get_run_font_size**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the font size of the ``index`` text run (in visual order). +Restituisce la dimensione del font della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3551,7 +3551,7 @@ Returns the font size of the ``index`` text run (in visual order). :ref:`String` **shaped_get_run_language**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the language of the ``index`` text run (in visual order). +Restituisce la lingua della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3563,7 +3563,7 @@ Returns the language of the ``index`` text run (in visual order). :ref:`Variant` **shaped_get_run_object**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the embedded object of the ``index`` text run (in visual order). +Restituisce l'oggetto incorporato della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3575,7 +3575,7 @@ Returns the embedded object of the ``index`` text run (in visual order). :ref:`Vector2i` **shaped_get_run_range**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the source text range of the ``index`` text run (in visual order). +Restituisce l'intervallo di testo sorgente della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3587,7 +3587,7 @@ Returns the source text range of the ``index`` text run (in visual order). :ref:`String` **shaped_get_run_text**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the source text of the ``index`` text run (in visual order). +Restituisce il testo sorgente della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -3731,9 +3731,9 @@ Restituisce la posizione del carattere composito più vicina a ``pos``. |void| **shaped_text_draw**\ (\ shaped\: :ref:`RID`, canvas\: :ref:`RID`, pos\: :ref:`Vector2`, clip_l\: :ref:`float` = -1, clip_r\: :ref:`float` = -1, color\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draw shaped text into a canvas item at a given position, with ``color``. ``pos`` specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Disegna un testo sagomato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. -\ ``clip_l`` and ``clip_r`` are offsets relative to ``pos``, going to the right in horizontal layout and downward in vertical layout. If ``clip_l`` is not negative, glyphs starting before the offset are clipped. If ``clip_r`` is not negative, glyphs ending after the offset are clipped. +\ ``clip_l`` e ``clip_r`` sono offset relativi a ``pos``, che vanno verso destra nel layout orizzontale e verso il basso nel layout verticale. Se ``clip_l`` non è negativo, i glifi che iniziano prima dell'offset vengono troncati. Se ``clip_r`` non è negativo, i glifi che finiscono dopo l'offset sono troncati. .. rst-class:: classref-item-separator @@ -3745,9 +3745,9 @@ Draw shaped text into a canvas item at a given position, with ``color``. ``pos`` |void| **shaped_text_draw_outline**\ (\ shaped\: :ref:`RID`, canvas\: :ref:`RID`, pos\: :ref:`Vector2`, clip_l\: :ref:`float` = -1, clip_r\: :ref:`float` = -1, outline_size\: :ref:`int` = 1, color\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draw the outline of the shaped text into a canvas item at a given position, with ``color``. ``pos`` specifies the leftmost point of the baseline (for horizontal layout) or topmost point of the baseline (for vertical layout). If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Disegna il contorno di un testo sagomato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. -\ ``clip_l`` and ``clip_r`` are offsets relative to ``pos``, going to the right in horizontal layout and downward in vertical layout. If ``clip_l`` is not negative, glyphs starting before the offset are clipped. If ``clip_r`` is not negative, glyphs ending after the offset are clipped. +\ ``clip_l`` e ``clip_r`` sono offset relativi a ``pos``, che vanno verso destra nel layout orizzontale e verso il basso nel layout verticale. Se ``clip_l`` non è negativo, i glifi che iniziano prima dell'offset vengono troncati. Se ``clip_r`` non è negativo, i glifi che finiscono dopo l'offset sono troncati. .. rst-class:: classref-item-separator @@ -4209,7 +4209,7 @@ Restituisce l'indice del grafema allo scostamento specificato in pixel sulla lin :ref:`int` **shaped_text_hit_test_position**\ (\ shaped\: :ref:`RID`, coords\: :ref:`float`\ ) |const| :ref:`🔗` -Returns caret character offset at the specified pixel offset at the baseline. This function always returns a valid position. +Restituisce l'offset per il cursore nel pixel specificato sulla linea di base. Questa funzione restituisce sempre una posizione valida. .. rst-class:: classref-item-separator @@ -4433,7 +4433,7 @@ Restituisce glifi di testo nell'ordine logico. :ref:`RID` **shaped_text_substr**\ (\ shaped\: :ref:`RID`, start\: :ref:`int`, length\: :ref:`int`\ ) |const| :ref:`🔗` -Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo modellato ``shaped`` (includendo gli oggetti in riga). +Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo sagomato ``shaped`` (includendo gli oggetti in riga). .. rst-class:: classref-item-separator @@ -4445,7 +4445,7 @@ Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo :ref:`float` **shaped_text_tab_align**\ (\ shaped\: :ref:`RID`, tab_stops\: :ref:`PackedFloat32Array`\ ) :ref:`🔗` -Allinea il testo modellato alle tabulazioni specificate. +Allinea il testo sagomato alle tabulazioni specificate. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textserverextension.rst b/classes/it/class_textserverextension.rst index 5ae72fcf23..524168f467 100644 --- a/classes/it/class_textserverextension.rst +++ b/classes/it/class_textserverextension.rst @@ -617,7 +617,7 @@ Rimuove tutte le dimensioni del font dalla voce nella cache. |void| **_font_clear_system_fallback_cache**\ (\ ) |virtual| :ref:`🔗` -Frees all automatically loaded system fonts. +Libera tutti i font di sistema caricati automaticamente. .. rst-class:: classref-item-separator @@ -641,7 +641,7 @@ Rimuove tutte le texture dalla voce nella cache di un font. |void| **_font_draw_glyph**\ (\ font_rid\: :ref:`RID`, canvas\: :ref:`RID`, size\: :ref:`int`, pos\: :ref:`Vector2`, index\: :ref:`int`, color\: :ref:`Color`, oversampling\: :ref:`float`\ ) |virtual| |required| |const| :ref:`🔗` -Draws single glyph into a canvas item at the position, using ``font_rid`` at the size ``size``. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +Disegna un singolo glifo in un elemento canvas nella posizione, utilizzando il font ``font_rid`` alla dimensione ``size``. Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -1073,7 +1073,7 @@ Restituisce un :ref:`Dictionary` con le stringhe di nomi di fo :ref:`float` **_font_get_oversampling**\ (\ font_rid\: :ref:`RID`\ ) |virtual| |const| :ref:`🔗` -Returns oversampling factor override. If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. Used by dynamic fonts only. +Restituisce la sostituzione del fattore di sovracampionamento. Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. Utilizzato solo dai font dinamici. .. rst-class:: classref-item-separator @@ -1121,7 +1121,7 @@ Restituisce la lista delle sostituzioni di supporto d'alfabeto. :ref:`Array`\[:ref:`Dictionary`\] **_font_get_size_cache_info**\ (\ font_rid\: :ref:`RID`\ ) |virtual| |const| :ref:`🔗` -Returns font cache information, each entry contains the following fields: ``Vector2i size_px`` - font size in pixels, ``float viewport_oversampling`` - viewport oversampling factor, ``int glyphs`` - number of rendered glyphs, ``int textures`` - number of used textures, ``int textures_size`` - size of texture data in bytes. +Restituisce informazioni sulla cache del font, ogni voce contiene i seguenti campi: ``Vector2i size_px`` - dimensione del font in pixel, ``float viewport_oversampling`` - fattore di sovracampionamento della viewport, ``int glyphs`` - numero di glifi renderizzati, ``int textures`` - numero di texture utilizzate, ``int textures_size`` - dimensione dei dati della texture in byte. .. rst-class:: classref-item-separator @@ -1793,7 +1793,7 @@ Aggiunge una sostituzione per :ref:`_font_is_language_supported()`, modulate\: :ref:`bool`\ ) |virtual| :ref:`🔗` -If set to ``true``, color modulation is applied when drawing colored glyphs, otherwise it's applied to the monochrome glyphs only. +Se impostato su ``true``, la modulazione del colore è applicata quando si disegnano glifi colorati, altrimenti è applicata solo ai glifi monocromatici. .. rst-class:: classref-item-separator @@ -1865,7 +1865,7 @@ Imposta la sostituzione dell'insieme di funzionalità OpenType del font. |void| **_font_set_oversampling**\ (\ font_rid\: :ref:`RID`, oversampling\: :ref:`float`\ ) |virtual| :ref:`🔗` -If set to a positive value, overrides the oversampling factor of the viewport this font is used in. See :ref:`Viewport.oversampling`. This value doesn't override the ``oversampling`` parameter of ``draw_*`` methods. Used by dynamic fonts only. +Se impostato su un valore positivo, sostituisce il fattore di sovracampionamento della viewport in cui è utilizzato questo font. Vedi :ref:`Viewport.oversampling`. Questo valore non sostituisce il parametro ``oversampling`` dei metodi ``draw_*``. Utilizzato solo dai font dinamici. .. rst-class:: classref-item-separator @@ -2323,7 +2323,7 @@ Salva il database facoltativo (ad esempio, iteratori di interruzione ICU e dizio :ref:`int` **_shaped_get_run_count**\ (\ shaped\: :ref:`RID`\ ) |virtual| |const| :ref:`🔗` -Returns the number of uniform text runs in the buffer. +Restituisce il numero di sequenze di testo uniformi nel buffer. .. rst-class:: classref-item-separator @@ -2335,7 +2335,7 @@ Returns the number of uniform text runs in the buffer. :ref:`Direction` **_shaped_get_run_direction**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the direction of the ``index`` text run (in visual order). +Restituisce la direzione della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2347,7 +2347,7 @@ Returns the direction of the ``index`` text run (in visual order). :ref:`RID` **_shaped_get_run_font_rid**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the font RID of the ``index`` text run (in visual order). +Restituisce il RID del font della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2359,7 +2359,7 @@ Returns the font RID of the ``index`` text run (in visual order). :ref:`int` **_shaped_get_run_font_size**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the font size of the ``index`` text run (in visual order). +Restituisce la dimensione del font della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2371,7 +2371,7 @@ Returns the font size of the ``index`` text run (in visual order). :ref:`String` **_shaped_get_run_language**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the language of the ``index`` text run (in visual order). +Restituisce la lingua della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2383,7 +2383,7 @@ Returns the language of the ``index`` text run (in visual order). :ref:`Variant` **_shaped_get_run_object**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the embedded object of the ``index`` text run (in visual order). +Restituisce l'oggetto incorporato della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2395,7 +2395,7 @@ Returns the embedded object of the ``index`` text run (in visual order). :ref:`Vector2i` **_shaped_get_run_range**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the source text range of the ``index`` text run (in visual order). +Restituisce l'intervallo di testo sorgente della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2407,7 +2407,7 @@ Returns the source text range of the ``index`` text run (in visual order). :ref:`String` **_shaped_get_run_text**\ (\ shaped\: :ref:`RID`, index\: :ref:`int`\ ) |virtual| |const| :ref:`🔗` -Returns the source text of the ``index`` text run (in visual order). +Restituisce il testo sorgente della sequenza di testo all'indice ``index`` (in ordine visuale). .. rst-class:: classref-item-separator @@ -2551,7 +2551,7 @@ Restituisce la posizione del carattere composito più vicina a ``pos``. |void| **_shaped_text_draw**\ (\ shaped\: :ref:`RID`, canvas\: :ref:`RID`, pos\: :ref:`Vector2`, clip_l\: :ref:`float`, clip_r\: :ref:`float`, color\: :ref:`Color`, oversampling\: :ref:`float`\ ) |virtual| |const| :ref:`🔗` -Disegna un testo modellato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. +Disegna un testo sagomato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -2563,7 +2563,7 @@ Disegna un testo modellato su un elemento canvas in una posizione specificata, c |void| **_shaped_text_draw_outline**\ (\ shaped\: :ref:`RID`, canvas\: :ref:`RID`, pos\: :ref:`Vector2`, clip_l\: :ref:`float`, clip_r\: :ref:`float`, outline_size\: :ref:`int`, color\: :ref:`Color`, oversampling\: :ref:`float`\ ) |virtual| |const| :ref:`🔗` -Disegna il contorno di un testo modellato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. +Disegna il contorno di un testo sagomato su un elemento canvas in una posizione specificata, con il colore ``color``. ``pos`` specifica il punto più a sinistra della linea di base (per un layout orizzontale) o il punto più in alto della linea di base (per un layout verticale). Se ``oversampling`` è maggiore di zero, è utilizzato come fattore di sovracampionamento del font, altrimenti sono utilizzate le impostazioni di sovracampionamento della viewport. .. rst-class:: classref-item-separator @@ -3007,7 +3007,7 @@ Restituisce l'indice del grafema allo scostamento specificato in pixel sulla lin :ref:`int` **_shaped_text_hit_test_position**\ (\ shaped\: :ref:`RID`, coord\: :ref:`float`\ ) |virtual| |const| :ref:`🔗` -Returns caret character offset at the specified pixel offset at the baseline. This function always returns a valid position. +Restituisce l'offset per il cursore nel pixel specificato sulla linea di base. Questa funzione restituisce sempre una posizione valida. .. rst-class:: classref-item-separator @@ -3223,7 +3223,7 @@ Restituisce glifi di testo nell'ordine logico. :ref:`RID` **_shaped_text_substr**\ (\ shaped\: :ref:`RID`, start\: :ref:`int`, length\: :ref:`int`\ ) |virtual| |required| |const| :ref:`🔗` -Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo modellato ``shaped`` (includendo gli oggetti in riga). +Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo sagomato ``shaped`` (includendo gli oggetti in riga). .. rst-class:: classref-item-separator @@ -3235,7 +3235,7 @@ Restituisce il buffer di testo per la sottostringa del testo nel buffer di testo :ref:`float` **_shaped_text_tab_align**\ (\ shaped\: :ref:`RID`, tab_stops\: :ref:`PackedFloat32Array`\ ) |virtual| :ref:`🔗` -Allinea il testo modellato alle tabulazioni specificate. +Allinea il testo sagomato alle tabulazioni specificate. .. rst-class:: classref-item-separator @@ -3247,7 +3247,7 @@ Allinea il testo modellato alle tabulazioni specificate. :ref:`bool` **_shaped_text_update_breaks**\ (\ shaped\: :ref:`RID`\ ) |virtual| :ref:`🔗` -Aggiorna i punti di interruzione nel testo modellato. Questo metodo è chiamato dall'implementazione predefinita delle funzioni di interruzione del testo. +Aggiorna i punti di interruzione nel testo sagomato. Questo metodo è chiamato dall'implementazione predefinita delle funzioni di interruzione del testo. .. rst-class:: classref-item-separator @@ -3259,7 +3259,7 @@ Aggiorna i punti di interruzione nel testo modellato. Questo metodo è chiamato :ref:`bool` **_shaped_text_update_justification_ops**\ (\ shaped\: :ref:`RID`\ ) |virtual| :ref:`🔗` -Aggiorna i punti di giustificazione nel testo modellato. Questo metodo è chiamato dall'implementazione predefinita delle funzioni di giustificazione del testo. +Aggiorna i punti di giustificazione nel testo sagomato. Questo metodo è chiamato dall'implementazione predefinita delle funzioni di giustificazione del testo. .. rst-class:: classref-item-separator @@ -3367,7 +3367,7 @@ Converte il tag OpenType in un nome leggibile in chiaro di funzionalità, variaz |void| **_unreference_oversampling_level**\ (\ oversampling\: :ref:`float`\ ) |virtual| :ref:`🔗` -Decreases the reference count of the specified oversampling level, and frees the font cache for oversampling level when the reference count reaches zero. This method is called by :ref:`Viewport`, and should not be used directly. +Riduce il conteggio dei riferimenti del livello di sovracampionamento specificato e libera la cache dei font per il livello di sovracampionamento quando il conteggio dei riferimenti raggiunge zero. Questo metodo è chiamato da :ref:`Viewport` e non si dovrebbe utilizzare direttamente. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_textservermanager.rst b/classes/it/class_textservermanager.rst index 69ef060cbf..4962f2baa6 100644 --- a/classes/it/class_textservermanager.rst +++ b/classes/it/class_textservermanager.rst @@ -160,7 +160,7 @@ Restituisce l'interfaccia principale :ref:`TextServer` attualm |void| **remove_interface**\ (\ interface\: :ref:`TextServer`\ ) :ref:`🔗` -Rimuove un'interfaccia. È necessario liberare tutti i font e le cache del testo modellato prima di rimuovere un'interfaccia. +Rimuove un'interfaccia. È necessario liberare tutti i font e le cache del testo sagomato prima di rimuovere un'interfaccia. .. rst-class:: classref-item-separator diff --git a/classes/it/class_textureprogressbar.rst b/classes/it/class_textureprogressbar.rst index c8a6b573fd..2e03ca9d3f 100644 --- a/classes/it/class_textureprogressbar.rst +++ b/classes/it/class_textureprogressbar.rst @@ -202,7 +202,7 @@ La direzione di riempimento. Vedi :ref:`FillMode`\ ) - :ref:`bool` **get_nine_patch_stretch**\ (\ ) -Se ``true``, Godot tratta le texture della barra come in :ref:`NinePatchRect`. Usa le proprietà ``stretch_margin_*`` come :ref:`stretch_margin_bottom` per impostare la griglia 3×3 del nove-sezioni. Quando si usa un :ref:`fill_mode` radiale, questa impostazione abiliterà l'allungamento solo per :ref:`texture_progress`, mentre :ref:`texture_under` e :ref:`texture_over` saranno trattati come in :ref:`NinePatchRect`. +Se ``true``, Godot tratta le texture della barra come in :ref:`NinePatchRect`. Usa le proprietà ``stretch_margin_*`` come :ref:`stretch_margin_bottom` per impostare la griglia 3×3 del nove-sezioni. Quando si usa un :ref:`fill_mode` radiale, questa impostazione abiliterà lo stiramento solo per :ref:`texture_progress`, mentre :ref:`texture_under` e :ref:`texture_over` saranno trattati come in :ref:`NinePatchRect`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_theme.rst b/classes/it/class_theme.rst index 5fffb7ac34..2b542b0300 100644 --- a/classes/it/class_theme.rst +++ b/classes/it/class_theme.rst @@ -1059,9 +1059,9 @@ Fallisce se non esiste, o se una proprietà simile con il nuovo nome esiste già |void| **rename_type**\ (\ old_theme_type\: :ref:`StringName`, theme_type\: :ref:`StringName`\ ) :ref:`🔗` -Renames the theme type ``old_theme_type`` to ``theme_type``, if the old type exists and the new one doesn't exist. +Rinomina il tipo di tema ``old_theme_type`` in ``theme_type``, se il vecchio tipo esiste e quello nuovo non esiste. -\ **Note:** Renaming a theme type to an empty name or a variation to a type associated with a built-in class removes type variation connections in a way that cannot be undone by reversing the rename alone. +\ **Nota:** Rinominare un tipo di tema con un nome vuoto o una variazione con un tipo associato a una classe integrata rimuove le connessioni alle variazioni di tipo in un modo che non si può annullare semplicemente invertendo il cambio di nome. .. rst-class:: classref-item-separator diff --git a/classes/it/class_tilemap.rst b/classes/it/class_tilemap.rst index 857a0514cb..a95068e14f 100644 --- a/classes/it/class_tilemap.rst +++ b/classes/it/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: @@ -19,7 +19,7 @@ Nodo per mappe basate su tasselli 2D. Descrizione ---------------------- -Nodo per mappe basate su tasselli 2D. Le tilemap utilizzano un :ref:`TileSet` che contiene un elenco di tasselli che sono utilizzati per creare mappe basate su una griglia. Una TileMap può avere diversi livelli, disponendo i tasselli uno sopra l'altro. +Nodo per mappe basate su tasselli 2D. Le tilemap utilizzano un :ref:`TileSet` che contiene un elenco di tasselli che servono per creare mappe basate su una griglia. Una TileMap può avere diversi livelli, disponendo i tasselli uno sopra l'altro. Per motivi di prestazioni, tutti gli aggiornamenti di TileMap sono raggruppati alla fine di un frame. In particolare, ciò significa che i tasselli di scena da un :ref:`TileSetScenesCollectionSource` possono essere inizializzate dopo il loro genitore. Ciò viene messo in coda solo quando si trova all'interno dell'albero della scena. diff --git a/classes/it/class_tilemaplayer.rst b/classes/it/class_tilemaplayer.rst index 28c37ca387..a779662761 100644 --- a/classes/it/class_tilemaplayer.rst +++ b/classes/it/class_tilemaplayer.rst @@ -14,13 +14,13 @@ Nodo per mappe basate su tasselli 2D. Descrizione ---------------------- -Node for 2D tile-based maps. A **TileMapLayer** uses a :ref:`TileSet` which contain a list of tiles which are used to create grid-based maps. Unlike the :ref:`TileMap` node, which is deprecated, **TileMapLayer** has only one layer of tiles. You can use several **TileMapLayer** to achieve the same result as a :ref:`TileMap` node. +Nodo per mappe basate su tasselli 2D. Un **TileMapLayer** utilizza un :ref:`TileSet` che contiene un elenco di tasselli che servono per creare mappe basate su griglia. A differenza del nodo :ref:`TileMap`, che è deprecato, **TileMapLayer** ha un solo livello di tasselli. È possibile utilizzare diversi **TileMapLayer** per ottenere lo stesso risultato di un nodo :ref:`TileMap`. -For performance reasons, all TileMap updates are batched at the end of a frame. Notably, this means that scene tiles from a :ref:`TileSetScenesCollectionSource` are initialized after their parent. This is only queued when inside the scene tree. +Per motivi di prestazioni, tutti gli aggiornamenti di TileMap sono raggruppati alla fine di un frame. In particolare, ciò significa che i tasselli di scena da un :ref:`TileSetScenesCollectionSource` sono inizializzati dopo il loro genitore. Ciò viene messo in coda solo quando ci si trova all'interno dell'albero di scene. -To force an update earlier on, call :ref:`update_internals()`. +Per forzare un aggiornamento in anticipo, chiamare :ref:`update_internals()`. -\ **Note:** For performance and compatibility reasons, the coordinates serialized by **TileMapLayer** are limited to 16-bit signed integers, i.e. the range for X and Y coordinates is from ``-32768`` to ``32767``. When saving tile data, tiles outside this range are wrapped. +\ **Nota:** Per motivi di prestazioni e compatibilità, le coordinate serializzate da **TileMapLayer** sono limitate a numeri interi con segno a 16 bit, ovvero l'intervallo per le coordinate X e Y è compreso tra ``-32768`` e ``32767``. Quando si salvano i dati dei tasselli, i tasselli al di fuori di questo intervallo sono avvolti. .. rst-class:: classref-introduction-group @@ -333,11 +333,11 @@ Abilita o disabilita l'occlusione di luce. - |void| **set_physics_quadrant_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_physics_quadrant_size**\ (\ ) -The **TileMapLayer**'s physics quadrant size. Within a physics quadrant, cells with similar physics properties are grouped together and their collision shapes get merged. :ref:`physics_quadrant_size` defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quadrant size groups together ``16 * 16 = 256`` tiles. +La dimensione del quadrante di fisica del **TileMapLayer**. All'interno di un quadrante di fisica, le celle con proprietà fisiche simili sono raggruppate assieme e le loro forme di collisione sono unite. :ref:`rendering_quadrant_size` definisce la lunghezza del lato di un quadrato, nel sistema di coordinate della mappa, che forma il quadrante. Quindi, la dimensione predefinita del quadrante raggruppa insieme ``16 * 16 = 256`` tasselli. -\ **Note:** As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the **TileMapLayer**'s local coordinate system. +\ **Nota:** Poiché i quadranti sono creati secondo il sistema di coordinate della mappa, la "forma quadrata" del quadrante potrebbe non apparire quadrata nel sistema di coordinate locale del **TileMapLayer**. -\ **Note:** This impacts the value returned by :ref:`get_coords_for_body_rid()`. +\ **Nota:** Ciò influisce sul valore restituito da :ref:`get_coords_for_body_rid()`. .. rst-class:: classref-item-separator @@ -354,11 +354,11 @@ The **TileMapLayer**'s physics quadrant size. Within a physics quadrant, cells w - |void| **set_rendering_quadrant_size**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_rendering_quadrant_size**\ (\ ) -The **TileMapLayer**'s rendering quadrant size. A quadrant is a group of tiles to be drawn together on a single canvas item, for optimization purposes. :ref:`rendering_quadrant_size` defines the length of a square's side, in the map's coordinate system, that forms the quadrant. Thus, the default quadrant size groups together ``16 * 16 = 256`` tiles. +La dimensione del quadrante di rendering del **TileMapLayer**. Un quadrante è un gruppo di tasselli da disegnare insieme su un singolo elemento canvas, per scopi di ottimizzazione. :ref:`rendering_quadrant_size` definisce la lunghezza del lato di un quadrato, nel sistema di coordinate della mappa, che forma il quadrante. Quindi, la dimensione predefinita del quadrante raggruppa insieme ``16 * 16 = 256`` tasselli. -The quadrant size does not apply on a Y-sorted **TileMapLayer**, as tiles are grouped by Y position instead in that case. +La dimensione del quadrante non si applica a un **TileMapLayer** ordinato per Y, poiché in quel caso i tasselli sono raggruppati in base alla posizione Y. -\ **Note:** As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the **TileMapLayer**'s local coordinate system. +\ **Nota:** Poiché i quadranti sono creati secondo il sistema di coordinate della mappa, la "forma quadrata" del quadrante potrebbe non apparire quadrata nel sistema di coordinate locale del **TileMapLayer**. .. rst-class:: classref-item-separator diff --git a/classes/it/class_tilemappattern.rst b/classes/it/class_tilemappattern.rst index 77a97ba497..4de5f11e5a 100644 --- a/classes/it/class_tilemappattern.rst +++ b/classes/it/class_tilemappattern.rst @@ -14,9 +14,9 @@ Contiene un motivo da copiare o incollare nei :ref:`TileMap`. Descrizione ---------------------- -This resource holds a set of cells to help bulk manipulations of :ref:`TileMap`. +Questa risorsa contiene un insieme di celle per facilitare le manipolazioni in massa di :ref:`TileMap`. -A pattern always starts at the ``(0, 0)`` coordinates and cannot have cells with negative coordinates. +Un motivo inizia sempre alle coordinate ``(0,0)`` e non può avere celle con coordinate negative. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_tilesetscenescollectionsource.rst b/classes/it/class_tilesetscenescollectionsource.rst index 60382abb90..72f2a2e190 100644 --- a/classes/it/class_tilesetscenescollectionsource.rst +++ b/classes/it/class_tilesetscenescollectionsource.rst @@ -14,13 +14,13 @@ Espone un insieme di scene come tasselli per una risorsa :ref:`TileSet`, tiles from **TileSetScenesCollectionSource** will automatically instantiate an associated scene at the cell's position in the TileMapLayer. +Quando sono posizionati su un :ref:`TileMapLayer`, i tasselli da **TileSetScenesCollectionSource** creeranno automaticamente un'istanza di una scena associata nella posizione della cella nel TileMapLayer. -Scenes are instantiated as children of the :ref:`TileMapLayer` after it enters the tree, at the end of the frame (their creation is deferred). If you add/remove a scene tile in the :ref:`TileMapLayer` that is already inside the tree, the :ref:`TileMapLayer` will automatically instantiate/free the scene accordingly. +Le scene vengono create come figlie del :ref:`TileMapLayer` dopo che entra nell'albero, alla fine del frame (la loro creazione viene differita). Se si aggiunge rimuove un tassello di scena nel :ref:`TileMapLayer` che è già all'interno dell'albero, il :ref:`TileMapLayer` creerà automaticamente un'istanza o libererà la scena di conseguenza. -\ **Note:** Scene tiles all occupy one tile slot and instead use alternate tile ID to identify scene index. :ref:`TileSetSource.get_tiles_count()` will always return ``1``. Use :ref:`get_scene_tiles_count()` to get a number of scenes in a **TileSetScenesCollectionSource**. +\ **Nota:** Tutte i tasselli di scena occupano un solo posto tassello e invece usano l'ID alternativo per identificare l'indice della scena. :ref:`TileSetSource.get_tiles_count()` restituirà sempre ``1``. Usa :ref:`get_scene_tiles_count()` per ottenere un numero di scene in una **TileSetScenesCollectionSource**. -Use this code if you want to find the scene path at a given tile in :ref:`TileMapLayer`: +Usa questo codice se vuoi trovare il percorso della scena contenuta in un determinato tassello in :ref:`TileMapLayer`: .. tabs:: @@ -32,7 +32,7 @@ Use this code if you want to find the scene path at a given tile in :ref:`TileMa var scene_source = tile_map_layer.tile_set.get_source(source_id) if scene_source is TileSetScenesCollectionSource: var alt_id = tile_map_layer.get_cell_alternative_tile(Vector2i(x, y)) - # The assigned PackedScene. + # Il PackedScene assegnato. var scene = scene_source.get_scene_tile_scene(alt_id) .. code-tab:: csharp @@ -44,7 +44,7 @@ Use this code if you want to find the scene path at a given tile in :ref:`TileMa if (source is TileSetScenesCollectionSource sceneSource) { int altId = tileMapLayer.GetCellAlternativeTile(new Vector2I(x, y)); - // The assigned PackedScene. + // Il PackedScene assegnato. PackedScene scene = sceneSource.GetSceneTileScene(altId); } } diff --git a/classes/it/class_time.rst b/classes/it/class_time.rst index 9617c00875..3afb118fc3 100644 --- a/classes/it/class_time.rst +++ b/classes/it/class_time.rst @@ -464,7 +464,7 @@ I valori restituiti sono nell'ora locale del sistema quando ``utc`` è ``false`` :ref:`Dictionary` **get_time_dict_from_unix_time**\ (\ unix_time_val\: :ref:`int`\ ) |const| :ref:`🔗` -Converte l'ora specificata in un dizionario di chiavi: ``hour``, ``minute``, and ``second``. +Converte l'ora specificata in un dizionario di chiavi: ``hour``, ``minute`` e ``second``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_timer.rst b/classes/it/class_timer.rst index cd14247d5e..cd80797c04 100644 --- a/classes/it/class_timer.rst +++ b/classes/it/class_timer.rst @@ -14,20 +14,20 @@ Un timer per il conto alla rovescia. Descrizione ---------------------- -The **Timer** node is a countdown timer and is the simplest way to handle time-based logic in the engine. When a timer reaches the end of its :ref:`wait_time`, it will emit the :ref:`timeout` signal. +Il nodo **Timer** è un timer per il conto alla rovescia ed è il modo più semplice per gestire logica basata sul tempo nel motore. Quando un timer raggiunge la fine del suo :ref:`wait_time`, emetterà il segnale :ref:`timeout`. -After a timer enters the scene tree, it can be manually started with :ref:`start()`. A timer node is also started automatically if :ref:`autostart` is ``true``. +Dopo che un timer entra nell'albero di scene, lo si può avviare manualmente con :ref:`start()`. Inoltre, un nodo timer viene avviato automaticamente se :ref:`autostart` è ``true``. -Without requiring much code, a timer node can be added and configured in the editor. The :ref:`timeout` signal it emits can also be connected through the Node dock in the editor: +Senza richiedere molto codice, un nodo timer può essere aggiunto e configurato nell'editor. Il segnale :ref:`timeout` che emette può anche essere collegato tramite il pannello Nodo nell'editor: :: func _on_timer_timeout(): - print("Time to attack!") + print("È ora di attaccare!") -\ **Note:** To create a one-shot timer without instantiating a node, use :ref:`SceneTree.create_timer()`. +\ **Nota:** Per creare un timer a colpo singolo senza istanziare un nodo, usa :ref:`SceneTree.create_timer()`. -\ **Note:** Timers are affected by :ref:`Engine.time_scale` unless :ref:`ignore_time_scale` is ``true``. The higher the time scale, the sooner timers will end. How often a timer processes may depend on the framerate or :ref:`Engine.physics_ticks_per_second`. +\ **Nota:** I timer sono influenzati da :ref:`Engine.time_scale` a meno che :ref:`ignore_time_scale` non sia ``true``. Più alta è la scala temporale, prima scadranno i timer. La frequenza con cui un timer elabora può dipendere dal frame rate o da :ref:`Engine.physics_ticks_per_second`. .. rst-class:: classref-introduction-group @@ -199,7 +199,7 @@ Se ``true``, il timer si fermerà dopo aver raggiunto la fine. Altrimenti, come - |void| **set_paused**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_paused**\ (\ ) -If ``true``, the timer is paused. A paused timer does not process until this property is set back to ``false``, even when :ref:`start()` is called. See also :ref:`stop()`. +Se ``true``, il timer è in pausa. Un timer in pausa non elabora finché questa proprietà non viene reimpostata su ``false``, anche quando viene chiamato :ref:`start()`. Vedi anche :ref:`stop()`. .. rst-class:: classref-item-separator @@ -282,9 +282,9 @@ Restituisce ``true`` se il timer è fermato o non è iniziato. |void| **start**\ (\ time_sec\: :ref:`float` = -1\ ) :ref:`🔗` -Starts the timer, or resets the timer if it was started already. Fails if the timer is not inside the scene tree. If ``time_sec`` is greater than ``0``, this value is used for the :ref:`wait_time`. +Avvia il timer, o reimposta il timer se è già stato avviato. Fallisce se il timer non è all'interno dell'albero di scene. Se ``time_sec`` è maggiore di ``0``, questo valore viene usato per :ref:`wait_time`. -\ **Note:** This method does not resume a paused timer. See :ref:`paused`. +\ **Nota:** Questo metodo non riprende un timer in pausa. Vedi :ref:`paused`. .. rst-class:: classref-item-separator @@ -296,9 +296,9 @@ Starts the timer, or resets the timer if it was started already. Fails if the ti |void| **stop**\ (\ ) :ref:`🔗` -Stops the timer. See also :ref:`paused`. Unlike :ref:`start()`, this can safely be called if the timer is not inside the scene tree. +Arresta il timer. Vedi anche :ref:`paused`. A differenza di :ref:`start()`, è possibile chiamare questa funzione in sicurezza anche se il timer non si trova nell'albero di scene. -\ **Note:** Calling :ref:`stop()` does not emit the :ref:`timeout` signal, as the timer is not considered to have timed out. If this is desired, use ``$Timer.timeout.emit()`` after calling :ref:`stop()` to manually emit the signal. +\ **Nota:** Chiamare :ref:`stop()` non emette il segnale :ref:`timeout`, poiché il timer non è considerato scaduto. Se ciò si desidera, utilizzare ``$Timer.timeout.emit()`` dopo aver chiamato :ref:`stop()` per emettere manualmente il segnale. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_translation.rst b/classes/it/class_translation.rst index 26a4ef5010..a0c666b897 100644 --- a/classes/it/class_translation.rst +++ b/classes/it/class_translation.rst @@ -25,7 +25,7 @@ Tutorial - :doc:`Internazionalizzazione dei giochi <../tutorials/i18n/internationalizing_games>` -- :doc:`Localization using gettext <../tutorials/i18n/localization_using_gettext>` +- :doc:`Ottimizzazione attraverso gettext <../tutorials/i18n/localization_using_gettext>` - :doc:`Localizzazione <../tutorials/i18n/locales>` @@ -146,11 +146,11 @@ Un contesto aggiuntivo potrebbe essere usato per specificare il contesto della t |void| **add_plural_message**\ (\ src_message\: :ref:`StringName`, xlated_messages\: :ref:`PackedStringArray`, context\: :ref:`StringName` = &""\ ) :ref:`🔗` -Adds a message involving plural translation if nonexistent, followed by its translation. +Aggiunge un messaggio riguardo la traduzione al plurale se non esiste, seguito dalla sua traduzione. -An additional context could be used to specify the translation context or differentiate polysemic words. +Si potrebbe usare un ulteriore contesto per specificare il contesto della traduzione o differenziare le parole polisemiche. -\ **Note:** Plurals are only supported in :doc:`gettext-based translations (PO) <../tutorials/i18n/localization_using_gettext>`, not CSV. +\ **Nota:** I plurali sono supportati solo nelle :doc:`traduzioni basate su gettext (PO) <../tutorials/i18n/localization_using_gettext>`, non in CSV. .. rst-class:: classref-item-separator @@ -210,11 +210,11 @@ Restituisce tutti i messaggi (chiavi). :ref:`StringName` **get_plural_message**\ (\ src_message\: :ref:`StringName`, src_plural_message\: :ref:`StringName`, n\: :ref:`int`, context\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Returns a message's translation involving plurals. +Restituisce la traduzione di un messaggio che include i plurali. -The number ``n`` is the number or quantity of the plural object. It will be used to guide the translation system to fetch the correct plural form for the selected language. +Il numero ``n`` è il numero o la quantità dell'oggetto plurale. Sarà utilizzato per guidare il sistema di traduzione a recuperare la forma plurale corretta per la lingua selezionata. -\ **Note:** Plurals are only supported in :doc:`gettext-based translations (PO) <../tutorials/i18n/localization_using_gettext>`, not CSV. +\ **Nota:** I plurali sono supportati solo nelle :doc:`traduzioni basate su gettext (PO) <../tutorials/i18n/localization_using_gettext>`, non in CSV. .. rst-class:: classref-item-separator diff --git a/classes/it/class_translationdomain.rst b/classes/it/class_translationdomain.rst index 72bfbbd24c..c80d2ed94c 100644 --- a/classes/it/class_translationdomain.rst +++ b/classes/it/class_translationdomain.rst @@ -96,7 +96,7 @@ Descrizioni delle proprietà - |void| **set_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_enabled**\ (\ ) -If ``true``, translation is enabled. Otherwise, :ref:`translate()` and :ref:`translate_plural()` will return the input message unchanged regardless of the current locale. +Se ``true``, la traduzione è abilitata. Altrimenti, :ref:`translate()` e :ref:`translate_plural()` restituiranno il messaggio di ingresso invariato, a prescindere dalle impostazioni locali attuali. .. rst-class:: classref-item-separator @@ -189,7 +189,7 @@ Il rapporto di espansione da usare durante la pseudolocalizzazione. Un valore di - |void| **set_pseudolocalization_fake_bidi_enabled**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_pseudolocalization_fake_bidi_enabled**\ (\ ) -Se ``true``, emula il testo bidirezionale (da destra a sinistra) quando è abilitata la pseudolocalizzazione. Questo può essere utilizzato per individuare problemi con il layout RTL e il rispecchiamento dell'interfaccia utente, i quali si presenteranno se il progetto è localizzato in lingue RTL come l'arabo o l'ebraico. +Se ``true``, emula il testo bidirezionale (da destra a sinistra) quando è abilitata la pseudolocalizzazione. Ciò serve per individuare problemi con il layout RTL e il rispecchiamento dell'interfaccia utente, i quali si presenteranno se il progetto è localizzato in lingue RTL come l'arabo o l'ebraico. \ **Nota:** Aggiornando questa proprietà non si aggiorneranno automaticamente i testi nell'albero di scene. Si prega di propagare manualmente la notifica :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` dopo aver finito di modificare le opzioni che riguardano la pseudolocalizzazione. @@ -320,7 +320,7 @@ Restituisce la sostituzione della localizzazione del dominio. Restituisce una st :ref:`Translation` **get_translation_object**\ (\ locale\: :ref:`String`\ ) |const| :ref:`🔗` -Restituisce l'istanza :ref:`Translation` che corrisponde di più a ``locale``. Restituisce ``null`` se non ci sono corrispondenze. +Restituisce l'istanza di :ref:`Translation` che corrisponde di più alla localizzazione ``locale``. Restituisce ``null`` se non ci sono corrispondenze. .. rst-class:: classref-item-separator @@ -356,11 +356,11 @@ Restituisce la traduzione specificata. |void| **set_locale_override**\ (\ locale\: :ref:`String`\ ) :ref:`🔗` -Sets the locale override of the domain. +Imposta la sostituzione della localizzazione del dominio. -If ``locale`` is an empty string, locale override is disabled. Otherwise, ``locale`` will be standardized to match known locales (e.g. ``en-US`` would be matched to ``en_US``). +Se ``locale`` è una stringa vuota, la sostituzione della localizzazione è disabilitata. Altrimenti, ``locale`` sarà standardizzato per corrispondere alle localizzazioni note (ad esempio, ``en-US`` sarebbe abbinato a ``en_US``). -\ **Note:** Calling this method does not automatically update texts in the scene tree. Please propagate the :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED` signal manually. +\ **Nota:** La chiamata a questo metodo non aggiorna automaticamente i testi nell'albero di scene. Si prega di propagare manualmente il segnale :ref:`MainLoop.NOTIFICATION_TRANSLATION_CHANGED`. .. rst-class:: classref-item-separator diff --git a/classes/it/class_translationserver.rst b/classes/it/class_translationserver.rst index e608674fe0..6dcbf6fd5e 100644 --- a/classes/it/class_translationserver.rst +++ b/classes/it/class_translationserver.rst @@ -242,9 +242,9 @@ Restituisce un array di tutte le impostazioni locali caricate del progetto. :ref:`String` **get_locale**\ (\ ) |const| :ref:`🔗` -Restituisce l'impostazione locale attuale del progetto. +Restituisce la localizzazione attuale del progetto. -Vedi anche :ref:`OS.get_locale()` e :ref:`OS.get_locale language()` per recuperare l'impostazione locale del sistema utente. +Vedi anche :ref:`OS.get_locale()` e :ref:`OS.get_locale_language()` per recuperare la localizzazione del sistema utente. .. rst-class:: classref-item-separator @@ -256,7 +256,7 @@ Vedi anche :ref:`OS.get_locale()` e :ref:`OS.get_loc :ref:`String` **get_locale_name**\ (\ locale\: :ref:`String`\ ) |const| :ref:`🔗` -Restituisce la lingua di un'impostazione locale e la sua variante (ad esempio ``"en_US"`` restituirebbe ``"English (United States)"``). +Restituisce la lingua di una localizzazione e la sua variante (ad esempio ``"it_IT"`` restituirebbe ``"Italiano (Italia)"``). .. rst-class:: classref-item-separator @@ -292,7 +292,7 @@ Restituisce un nome leggibile di alfabeto per il codice alfabeto ``script``. :ref:`String` **get_tool_locale**\ (\ ) :ref:`🔗` -Restituisce l'impostazione locale attuale dell'editor. +Restituisce la localizzazione attuale dell'editor. \ **Nota:** Quando viene chiamato da un progetto esportato, restituisce lo stesso valore di :ref:`get_locale()`. @@ -306,7 +306,7 @@ Restituisce l'impostazione locale attuale dell'editor. :ref:`Translation` **get_translation_object**\ (\ locale\: :ref:`String`\ ) :ref:`🔗` -Restituisce l'istanza :ref:`Translation` che corrisponde di più a ``locale`` nel dominio di traduzione principale. Restituisce ``null`` se non ci sono corrispondenze. +Restituisce l'istanza di :ref:`Translation` che corrisponde di più alla localizzazione ``locale`` nel dominio di traduzione principale. Restituisce ``null`` se non ci sono corrispondenze. .. rst-class:: classref-item-separator @@ -382,9 +382,9 @@ Rimuove la traduzione specificata dal dominio di traduzione principale. |void| **set_locale**\ (\ locale\: :ref:`String`\ ) :ref:`🔗` -Imposta l'impostazione locale del progetto. La stringa ``locale`` sarà standardizzata per corrispondere alle impostazioni locali note (ad esempio, ``en-US`` sarebbe abbinata a ``en_US``). +Imposta la localizzazione del progetto. La stringa ``locale`` sarà standardizzata per corrispondere alle localizzazioni note (ad esempio, ``en-US`` sarebbe abbinata a ``en_US``). -Se sono state caricate traduzioni in precedenza per la nuova impostazione locale, saranno applicate. +Se sono state caricate traduzioni in precedenza per la nuova localizzazione, saranno applicate. .. rst-class:: classref-item-separator @@ -396,7 +396,7 @@ Se sono state caricate traduzioni in precedenza per la nuova impostazione locale :ref:`String` **standardize_locale**\ (\ locale\: :ref:`String`, add_defaults\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Restituisce una stringa ``locale`` standardizzata per corrispondere alle localizzazioni note (ad esempio, ``en-US`` sarebbe abbinato a ``en_US``). Se ``add_defaults`` è ``true``, è possibile che alla localizzazione venga aggiunto un alfabeto o un paese predefinito. +Restituisce una stringa ``locale`` standardizzata per corrispondere alle localizzazioni note (ad esempio, ``en-US`` sarebbe abbinato a ``en_US``). Se ``add_defaults`` è ``true``, è possibile che alla localizzazione sia aggiunto un alfabeto o un paese predefinito. .. rst-class:: classref-item-separator @@ -408,7 +408,7 @@ Restituisce una stringa ``locale`` standardizzata per corrispondere alle localiz :ref:`StringName` **translate**\ (\ message\: :ref:`StringName`, context\: :ref:`StringName` = &""\ ) |const| :ref:`🔗` -Restituisce la traduzione locale attuale per il messaggio e il contesto specificati. +Restituisce la traduzione della lingua attuale per il messaggio e il contesto specificati. \ **Nota:** Questo metodo utilizza sempre il dominio di traduzione principale. diff --git a/classes/it/class_tree.rst b/classes/it/class_tree.rst index df55aec80c..0bc3400231 100644 --- a/classes/it/class_tree.rst +++ b/classes/it/class_tree.rst @@ -438,9 +438,9 @@ Emesso quando un elemento viene cliccato due volte, o lo si seleziona con un eve **item_collapsed**\ (\ item\: :ref:`TreeItem`\ ) :ref:`🔗` -Emitted when an item is expanded or collapsed by clicking on the folding arrow or through code. +Emesso quando un elemento viene espanso o compresso cliccando sulla freccia di riduzione o tramite codice. -\ **Note:** Despite its name, this signal is also emitted when an item is expanded. +\ **Nota:** Nonostante il nome, questo segnale viene emesso anche quando un elemento viene espanso. .. rst-class:: classref-item-separator diff --git a/classes/it/class_treeitem.rst b/classes/it/class_treeitem.rst index 4abe36507a..19601ec9ad 100644 --- a/classes/it/class_treeitem.rst +++ b/classes/it/class_treeitem.rst @@ -419,7 +419,7 @@ Descrizioni dei metodi |void| **add_button**\ (\ column\: :ref:`int`, button\: :ref:`Texture2D`, id\: :ref:`int` = -1, disabled\: :ref:`bool` = false, tooltip_text\: :ref:`String` = "", description\: :ref:`String` = ""\ ) :ref:`🔗` -Adds a button with :ref:`Texture2D` ``button`` to the end of the cell at column ``column``. The ``id`` is used to identify the button in the according :ref:`Tree.button_clicked` signal and can be different from the buttons index. If not specified, the next available index is used, which may be retrieved by calling :ref:`get_button_count()` immediately before this method. Optionally, the button can be ``disabled`` and have a ``tooltip_text``. ``description`` is used as the button description for assistive apps. +Aggiunge un pulsante con :ref:`Texture2D` ``button`` alla fine della cella alla colonna ``column``. L'``id`` è utilizzato per identificare il pulsante nel segnale :ref:`Tree.button_clicked` corrispondente e può essere diverso dall'indice del pulsante. Se non specificato, è utilizzato l'indice successivo disponibile, che si può recuperare chiamando :ref:`get_button_count()` subito prima di questo metodo. Facoltativamente, il pulsante può essere disabilitato (``disabled``) e avere un suggerimento (``tooltip_text``). ``description`` è utilizzato come descrizione del pulsante per le applicazioni assistive. .. rst-class:: classref-item-separator @@ -735,7 +735,7 @@ Restituisce la dimensione personalizzata del font utilizzata per disegnare il te :ref:`String` **get_description**\ (\ column\: :ref:`int`\ ) |const| :ref:`🔗` -Returns the given column's description for assistive apps. +Imposta la descrizione della colonna specificata per le applicazioni assistive. .. rst-class:: classref-item-separator @@ -1329,7 +1329,7 @@ Imposta il colore del pulsante della colonna specificata all'indice ``button_ind |void| **set_button_description**\ (\ column\: :ref:`int`, button_index\: :ref:`int`, description\: :ref:`String`\ ) :ref:`🔗` -Sets the given column's button description at index ``button_index`` for assistive apps. +Imposta la descrizione del pulsante della colonna specificata all'indice ``button_index`` per le applicazioni assistive. .. rst-class:: classref-item-separator @@ -1491,7 +1491,7 @@ Imposta la dimensione personalizzata del font utilizzata per disegnare il testo |void| **set_description**\ (\ column\: :ref:`int`, description\: :ref:`String`\ ) :ref:`🔗` -Sets the given column's description for assistive apps. +Imposta la descrizione della colonna specificata per le applicazioni assistive. .. rst-class:: classref-item-separator diff --git a/classes/it/class_trianglemesh.rst b/classes/it/class_trianglemesh.rst index 5804b15841..95baad21cf 100644 --- a/classes/it/class_trianglemesh.rst +++ b/classes/it/class_trianglemesh.rst @@ -7,20 +7,20 @@ TriangleMesh **Eredita:** :ref:`RefCounted` **<** :ref:`Object` -Triangle geometry for efficient, physicsless intersection queries. +Geometria triangolare per ricerche di intersezione efficienti e senza fisica. .. rst-class:: classref-introduction-group Descrizione ---------------------- -Creates a bounding volume hierarchy (BVH) tree structure around triangle geometry. +Crea una struttura ad albero BVH (bounding volume hierarchy) attorno alla geometria triangolare. -The triangle BVH tree can be used for efficient intersection queries without involving a physics engine. +L'albero BVH triangolare si può utilizzare per query di intersezione efficienti senza aver bisogno di un motore fisico. -For example, this can be used in editor tools to select objects with complex shapes based on the mouse cursor position. +Ad esempio, è possibile utilizzarlo negli strumenti dell'editor per selezionare oggetti con forme complesse in base alla posizione del cursore del mouse. -\ **Performance:** Creating the BVH tree for complex geometry is a slow process and best done in a background thread. +\ **Prestazioni:** La creazione dell'albero BVH per geometrie complesse è un processo lento ed è meglio eseguirlo in un thread in background. .. rst-class:: classref-reftable-group @@ -81,19 +81,19 @@ Restituisce una copia delle facce della geometria. Ogni tre vertici rappresentan :ref:`Dictionary` **intersect_ray**\ (\ begin\: :ref:`Vector3`, dir\: :ref:`Vector3`\ ) |const| :ref:`🔗` -Tests for intersection with a ray starting at ``begin`` and facing ``dir`` and extending toward infinity. +Verifica l'intersezione con un raggio che inizia in ``begin`` ed è rivolto verso ``dir``, estendendosi verso l'infinito. -If an intersection with a triangle happens, returns a :ref:`Dictionary` with the following fields: +Se si verifica un'intersezione con un triangolo, restituisce un :ref:`Dictionary` con i seguenti campi: -\ ``position``: The position on the intersected triangle. +\ ``position``: la posizione sul triangolo intersecato. -\ ``normal``: The normal of the intersected triangle. +\ ``normal``: la normale del triangolo intersecato. -\ ``face_index``: The index of the intersected triangle. +\ ``face_index``: l'indice del triangolo intersecato. -Returns an empty :ref:`Dictionary` if no intersection happens. +Restituisce un :ref:`Dictionary` vuoto se non si verifica alcuna intersezione. -See also :ref:`intersect_segment()`, which is similar but uses a finite-length segment. +Vedi anche :ref:`intersect_segment()`, che è simile ma utilizza un segmento di lunghezza finita. .. rst-class:: classref-item-separator @@ -105,19 +105,19 @@ See also :ref:`intersect_segment()` :ref:`Dictionary` **intersect_segment**\ (\ begin\: :ref:`Vector3`, end\: :ref:`Vector3`\ ) |const| :ref:`🔗` -Tests for intersection with a segment going from ``begin`` to ``end``. +Verifica l'intersezione con un segmento che va da ``begin`` a ``end``. -If an intersection with a triangle happens returns a :ref:`Dictionary` with the following fields: +Se si verifica un'intersezione con un triangolo, restituisce un :ref:`Dictionary` con i seguenti campi: -\ ``position``: The position on the intersected triangle. +\ ``position``: la posizione sul triangolo intersecato. -\ ``normal``: The normal of the intersected triangle. +\ ``normal``: la normale del triangolo intersecato. -\ ``face_index``: The index of the intersected triangle. +\ ``face_index``: l'indice del triangolo intersecato. -Returns an empty :ref:`Dictionary` if no intersection happens. +Restituisce un :ref:`Dictionary` vuoto se non si verifica alcuna intersezione. -See also :ref:`intersect_ray()`, which is similar but uses an infinite-length ray. +Vedi anche :ref:`intersect_ray()`, che è simile ma utilizza un raggio di lunghezza infinita. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_tween.rst b/classes/it/class_tween.rst index 84e65c9bf8..11bcd770ad 100644 --- a/classes/it/class_tween.rst +++ b/classes/it/class_tween.rst @@ -14,13 +14,13 @@ Oggetto leggero utilizzato per animazioni generiche tramite script, utilizzando Descrizione ---------------------- -Tweens are mostly useful for animations requiring a numerical property to be interpolated over a range of values. The name *tween* comes from *in-betweening*, an animation technique where you specify *keyframes* and the computer interpolates the frames that appear between them. Animating something with a **Tween** is called tweening. +I tween sono utili soprattutto per le animazioni che richiedono che una proprietà numerica sia interpolata su un intervallo di valori. Il nome *tween* deriva da *in-betweening*, una tecnica di animazione in cui si specificano i *fotogrammi chiave* e il computer interpola i fotogrammi che compaiono tra di essi. L'animazione di qualcosa con un **Tween** è chiamata tweening. -\ **Tween** is more suited than :ref:`AnimationPlayer` for animations where you don't know the final values in advance. For example, interpolating a dynamically-chosen camera zoom value is best done with a **Tween**; it would be difficult to do the same thing with an :ref:`AnimationPlayer` node. Tweens are also more light-weight than :ref:`AnimationPlayer`, so they are very much suited for simple animations or general tasks that don't require visual tweaking provided by the editor. They can be used in a "fire-and-forget" manner for some logic that normally would be done by code. You can e.g. make something shoot periodically by using a looped :ref:`CallbackTweener` with a delay. +\ **Tween** è più adatto di :ref:`AnimationPlayer` per le animazioni in cui non si conoscono in anticipo i valori finali. Ad esempio, l'interpolazione del valore di zoom di una telecamera scelta dinamicamente è meglio eseguita con un **Tween**; sarebbe difficile fare la stessa cosa con un nodo :ref:`AnimationPlayer`. I tween sono anche più leggeri di :ref:`AnimationPlayer`, quindi sono molto adatti per animazioni semplici o attività generali che non richiedono modifiche visive fornite dall'editor. Possono essere utilizzati in modalità "usa e getta" per una logica che normalmente sarebbe eseguita dal codice. Ad esempio, puoi far in modo che qualcosa spari periodicamente tramite un :ref:`CallbackTweener` in ripetizione con un ritardo. -A **Tween** can be created by using either :ref:`SceneTree.create_tween()` or :ref:`Node.create_tween()`. **Tween**\ s created manually (i.e. by using ``Tween.new()``) are invalid and can't be used for tweening values. +Un **Tween** può essere creato usando :ref:`SceneTree.create_tween()` o :ref:`Node.create_tween()`. I **Tween** creati manualmente (ad esempio usando ``Tween.new()``) non sono validi e non possono essere usati per interpolare i valori. -A tween animation is created by adding :ref:`Tweener`\ s to the **Tween** object, using :ref:`tween_property()`, :ref:`tween_interval()`, :ref:`tween_callback()` or :ref:`tween_method()`: +Un'animazione tween si crea aggiungendo i :ref:`Tweener` all'oggetto **Tween**, tramite :ref:`tween_property()`, :ref:`tween_interval()`, :ref:`tween_callback()` o :ref:`tween_method()`: .. tabs:: @@ -41,9 +41,9 @@ A tween animation is created by adding :ref:`Tweener`\ s to the * -This sequence will make the ``$Sprite`` node turn red, then shrink, before finally calling :ref:`Node.queue_free()` to free the sprite. :ref:`Tweener`\ s are executed one after another by default. This behavior can be changed using :ref:`parallel()` and :ref:`set_parallel()`. +Questa sequenza farà diventare rosso il nodo ``$Sprite``, poi lo restringerà, prima di chiamare infine :ref:`Node.queue_free()` per liberare lo sprite. I :ref:`Tweener` sono eseguiti uno dopo l'altro come comportamento predefinito. Ciò può essere modificato tramite :ref:`parallel()` e :ref:`set_parallel()`. -When a :ref:`Tweener` is created with one of the ``tween_*`` methods, a chained method call can be used to tweak the properties of this :ref:`Tweener`. For example, if you want to set a different transition type in the above example, you can use :ref:`set_trans()`: +Quando un :ref:`Tweener` viene creato con uno dei metodi ``tween_*``, è possibile utilizzare una chiamata di metodo concatenata per modificare le proprietà di questo :ref:`Tweener`. Ad esempio, se si desidera impostare un tipo di transizione diverso nell'esempio precedente, è possibile usare :ref:`set_trans()`: .. tabs:: @@ -64,7 +64,7 @@ When a :ref:`Tweener` is created with one of the ``tween_*`` meth -Most of the **Tween** methods can be chained this way too. In the following example the **Tween** is bound to the running script's node and a default transition is set for its :ref:`Tweener`\ s: +Anche la maggior parte dei metodi di **Tween** possono essere concatenati in questo modo. Nell'esempio seguente, il **Tween** è associato al nodo dello script in esecuzione ed è impostata una transizione predefinita per i suoi :ref:`Tweener`: .. tabs:: @@ -85,7 +85,7 @@ Most of the **Tween** methods can be chained this way too. In the following exam -Another interesting use for **Tween**\ s is animating arbitrary sets of objects: +Un altro uso interessante per i **Tween** è l'animazione di insiemi arbitrari di oggetti: .. tabs:: @@ -104,9 +104,9 @@ Another interesting use for **Tween**\ s is animating arbitrary sets of objects: -In the example above, all children of a node are moved one after another to position ``(0, 0)``. +Nell'esempio precedente, tutti i figli di un nodo sono spostati uno dopo l'altro nella posizione ``(0, 0)``. -You should avoid using more than one **Tween** per object's property. If two or more tweens animate one property at the same time, the last one created will take priority and assign the final value. If you want to interrupt and restart an animation, consider assigning the **Tween** to a variable: +Dovresti evitare di usare più di un **Tween** per proprietà di un oggetto. Se due o più tween animano una proprietà allo stesso tempo, l'ultimo creato avrà la priorità e assegnerà il valore finale. Se vuoi interrompere e riavviare un'animazione, considera di assegnare il **Tween** a una variabile: .. tabs:: @@ -116,7 +116,7 @@ You should avoid using more than one **Tween** per object's property. If two or var tween func animate(): if tween: - tween.kill() # Abort the previous animation. + tween.kill() # Interrompe l'animazione precedente. tween = create_tween() .. code-tab:: csharp @@ -126,19 +126,19 @@ You should avoid using more than one **Tween** per object's property. If two or public void Animate() { if (_tween != null) - _tween.Kill(); // Abort the previous animation + _tween.Kill(); // Interrompe l'animazione precedente. _tween = CreateTween(); } -Some :ref:`Tweener`\ s use transitions and eases. The first accepts a :ref:`TransitionType` constant, and refers to the way the timing of the animation is handled (see `easings.net `__ for some examples). The second accepts an :ref:`EaseType` constant, and controls where the ``trans_type`` is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different :ref:`TransitionType` constants with :ref:`EASE_IN_OUT`, and use the one that looks best. +Alcuni :ref:`Tweener` usano transizioni e allentamenti. La prima accetta una costante :ref:`TransitionType` e si riferisce al modo in cui viene gestita la tempistica dell'animazione (vedi `easings.net `__ per alcuni esempi). La seconda accetta una costante :ref:`EaseType` e controlla dove ``trans_type`` viene applicato all'interpolazione (all'inizio, alla fine o in entrambi). Se non sai quale transizione e allentamento scegliere, puoi provare le diverse costanti :ref:`TransitionType` con :ref:`EASE_IN_OUT` e usare quella che sembri la migliore. -\ `Tween easing and transition types cheatsheet `__\ +\ `Foglio riassuntivo sui tipi di transizione e di allentamento dei Tween `__\ -\ **Note:** Tweens are not designed to be reused and trying to do so results in an undefined behavior. Create a new Tween for each animation and every time you replay an animation from start. Keep in mind that Tweens start immediately, so only create a Tween when you want to start animating. +\ **Nota:** I Tween non sono progettati per essere riutilizzati e tentare di farlo risulta in comportamento indefinito. Crea un nuovo Tween per ogni animazione e ogni volta che riproduci un'animazione dall'inizio. Tieni presente che i Tween si avviano immediatamente, quindi crea un Tween solo quando vuoi iniziare l'animazione. -\ **Note:** The tween is processed after all of the nodes in the current frame, i.e. node's :ref:`Node._process()` method would be called before the tween (or :ref:`Node._physics_process()` depending on the value passed to :ref:`set_process_mode()`). +\ **Nota:** Il Tween è elaborato dopo tutti i nodi nel frame attuale, ovvero il metodo :ref:`Node._process()` del nodo sarebbe chiamato prima del Tween (o :ref:`Node._physics_process()` a seconda del valore passato a :ref:`set_process_mode()`). .. rst-class:: classref-reftable-group diff --git a/classes/it/class_undoredo.rst b/classes/it/class_undoredo.rst index e83ee96645..fef2208099 100644 --- a/classes/it/class_undoredo.rst +++ b/classes/it/class_undoredo.rst @@ -14,11 +14,11 @@ Fornisce un'interfaccia di alto livello per implementare le operazioni di annull Descrizione ---------------------- -UndoRedo works by registering methods and property changes inside "actions". You can create an action, then provide ways to do and undo this action using function calls and property changes, then commit the action. +UndoRedo funziona registrando metodi e modifiche di proprietà all'interno di "azioni". È possibile creare un'azione, quindi fornire modi per eseguire e annullare l'azione attraverso le chiamate di funzione e modifiche di proprietà, quindi confermare l'azione. -When an action is committed, all of the ``do_*`` methods will run. If the :ref:`undo()` method is used, the ``undo_*`` methods will run. If the :ref:`redo()` method is used, once again, all of the ``do_*`` methods will run. +Quando un'azione è eseguita, tutti i metodi ``do_*`` saranno eseguiti. Se è usato il metodo :ref:`undo()`, i metodi ``undo_*`` saranno eseguiti. Se è usato il metodo :ref:`redo()`, ancora una volta, tutti i metodi ``do_*`` saranno eseguiti. -Here's an example on how to add an action: +Ecco un esempio su come aggiungere un'azione: .. tabs:: @@ -28,10 +28,10 @@ Here's an example on how to add an action: var undo_redo = UndoRedo.new() func do_something(): - pass # Put your code here. + pass # Inserisci qui il codice. func undo_something(): - pass # Put here the code that reverts what's done by "do_something()". + pass # Inserisci qui il codice che annulla quanto eseguito da "do_something()". func _on_my_button_pressed(): var node = get_node("MyNode2D") @@ -53,12 +53,12 @@ Here's an example on how to add an action: public void DoSomething() { - // Put your code here. + // Inserisci qui il codice. } public void UndoSomething() { - // Put here the code that reverts what's done by "DoSomething()". + // Inserisci qui il codice che annulla quanto eseguito da "DoSomething()". } private void OnMyButtonPressed() @@ -74,13 +74,13 @@ Here's an example on how to add an action: -Before calling any of the ``add_(un)do_*`` methods, you need to first call :ref:`create_action()`. Afterwards you need to call :ref:`commit_action()`. +Prima di chiamare uno qualsiasi dei metodi ``add_(un)do_*``, bisogna prima chiamare :ref:`create_action()`. Dopodiché bisogna chiamare :ref:`commit_action()`. -If you don't need to register a method, you can leave :ref:`add_do_method()` and :ref:`add_undo_method()` out; the same goes for properties. You can also register more than one method/property. +Se non c'è bisogno di registrare un metodo, è possibile omettere :ref:`add_do_method()` e :ref:`add_undo_method()`; lo stesso vale per le proprietà. È possibile anche registrare più di un metodo/proprietà. -If you are making an :ref:`EditorPlugin` and want to integrate into the editor's undo history, use :ref:`EditorUndoRedoManager` instead. +Se stai creando un :ref:`EditorPlugin` e vuoi integrarlo nella cronologia degli annullamenti dell'editor, usa invece :ref:`EditorUndoRedoManager`. -If you are registering multiple properties/method which depend on one another, be aware that by default undo operation are called in the same order they have been added. Therefore instead of grouping do operation with their undo operations it is better to group do on one side and undo on the other as shown below. +Se stai registrando più proprietà/metodi che dipendono l'uno dall'altro, tieni presente che per impostazione predefinita le operazioni di annullamento sono chiamate nello stesso ordine in cui sono state aggiunte. Pertanto, invece di raggruppare le operazioni di ripetizione con le relative operazioni di annullamento, è meglio raggruppare le ripetizioni da un lato e gli annullamenti dall'altro come mostrato di seguito. .. tabs:: @@ -89,11 +89,11 @@ If you are registering multiple properties/method which depend on one another, b undo_redo.create_action("Add object") - # DO + # DO (Esegui/Ripeti) undo_redo.add_do_method(_create_object) undo_redo.add_do_method(_add_object_to_singleton) - # UNDO + # UNDO (Annulla) undo_redo.add_undo_method(_remove_object_from_singleton) undo_redo.add_undo_method(_destroy_that_object) @@ -103,11 +103,11 @@ If you are registering multiple properties/method which depend on one another, b _undo_redo.CreateAction("Add object"); - // DO + // DO (Esegui/Ripeti) _undo_redo.AddDoMethod(new Callable(this, MethodName.CreateObject)); _undo_redo.AddDoMethod(new Callable(this, MethodName.AddObjectToSingleton)); - // UNDO + // UNDO (Annulla) _undo_redo.AddUndoMethod(new Callable(this, MethodName.RemoveObjectFromSingleton)); _undo_redo.AddUndoMethod(new Callable(this, MethodName.DestroyThatObject)); diff --git a/classes/it/class_upnp.rst b/classes/it/class_upnp.rst index 8b69ffcacf..1b3dc59072 100644 --- a/classes/it/class_upnp.rst +++ b/classes/it/class_upnp.rst @@ -181,7 +181,7 @@ Parametri inconsistenti. :ref:`UPNPResult` **UPNP_RESULT_NO_SUCH_ENTRY_IN_ARRAY** = ``4`` -No such entry in array. May be returned if a given port, protocol combination is not found on a :ref:`UPNPDevice`. +Nessuna voce di questo tipo nell'array. Può essere restituito se una determinata combinazione di porta e protocollo non viene trovata su un :ref:`UPNPDevice`. .. _class_UPNP_constant_UPNP_RESULT_ACTION_FAILED: diff --git a/classes/it/class_upnpdevice.rst b/classes/it/class_upnpdevice.rst index e242d4fd8c..d05e1d1de1 100644 --- a/classes/it/class_upnpdevice.rst +++ b/classes/it/class_upnpdevice.rst @@ -243,7 +243,7 @@ Tipo di servizio IGD. - |void| **set_igd_status**\ (\ value\: :ref:`IGDStatus`\ ) - :ref:`IGDStatus` **get_igd_status**\ (\ ) -IGD status. +Stato del IGD. .. rst-class:: classref-item-separator diff --git a/classes/it/class_vehiclebody3d.rst b/classes/it/class_vehiclebody3d.rst index 875ab075d1..8b848bd8d9 100644 --- a/classes/it/class_vehiclebody3d.rst +++ b/classes/it/class_vehiclebody3d.rst @@ -14,13 +14,13 @@ Un corpo fisico 3D che simula il comportamento di un'auto. Descrizione ---------------------- -This physics body implements all the physics logic needed to simulate a car. It is based on the raycast vehicle system commonly found in physics engines. Aside from a :ref:`CollisionShape3D` for the main body of the vehicle, you must also add a :ref:`VehicleWheel3D` node for each wheel. You should also add a :ref:`MeshInstance3D` to this node for the 3D model of the vehicle, but this model should generally not include meshes for the wheels. You can control the vehicle by using the :ref:`brake`, :ref:`engine_force`, and :ref:`steering` properties. The position or orientation of this node shouldn't be changed directly. +Questo corpo fisico implementa tutta la logica fisica necessaria per simulare un'auto. Si basa sul sistema di veicoli con proiezione di raggi comunemente presente nei motori fisici. Oltre a un :ref:`CollisionShape3D` per il corpo principale del veicolo, bisogna anche aggiungere un nodo :ref:`VehicleWheel3D` per ogni ruota. Bisognerebbe anche aggiungere un :ref:`MeshInstance3D` a questo nodo per il modello 3D del veicolo, ma questo modello in genere non dovrebbe includere mesh per le ruote. È possibile controllare il veicolo attraverso le proprietà :ref:`brake`, :ref:`engine_force` e :ref:`steering`. La posizione o l'orientamento di questo nodo non dovrebbero essere modificati direttamente. -\ **Note:** The local forward for this node is :ref:`Vector3.MODEL_FRONT`. +\ **Nota:** La direzione in avanti locale per questo nodo è :ref:`Vector3.MODEL_FRONT`. -\ **Note:** The origin point of your VehicleBody3D will determine the center of gravity of your vehicle. To make the vehicle more grounded, the origin point is usually kept low, moving the :ref:`CollisionShape3D` and :ref:`MeshInstance3D` upwards. +\ **Nota:** il punto di origine del VehicleBody3D determinerà il baricentro del veicolo. Per rendere il veicolo più ancorato, il punto di origine è solitamente mantenuto basso, spostando :ref:`CollisionShape3D` e :ref:`MeshInstance3D` verso l'alto. -\ **Note:** This class has known issues and isn't designed to provide realistic 3D vehicle physics. If you want advanced vehicle physics, you may have to write your own physics integration using :ref:`CharacterBody3D` or :ref:`RigidBody3D`. +\ **Nota:** Questa classe presenta problemi noti e non è progettata per fornire una fisica realistica dei veicoli 3D. Se desideri una fisica avanzata dei veicoli, potresti dover scrivere la tua integrazione di fisica tramite :ref:`CharacterBody3D` o :ref:`RigidBody3D`. .. rst-class:: classref-introduction-group @@ -29,7 +29,7 @@ Tutorial - :doc:`Introduzione alla fisica <../tutorials/physics/physics_introduction>` -- :doc:`Troubleshooting physics issues <../tutorials/physics/troubleshooting_physics_issues>` +- :doc:`Risolvere i problemi di fisica <../tutorials/physics/troubleshooting_physics_issues>` - `Demo 3D "Truck Town" `__ diff --git a/classes/it/class_videostreamplayer.rst b/classes/it/class_videostreamplayer.rst index 4332d19587..8a3d045de0 100644 --- a/classes/it/class_videostreamplayer.rst +++ b/classes/it/class_videostreamplayer.rst @@ -239,7 +239,7 @@ Se ``true``, il video è messo in pausa. - |void| **set_speed_scale**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_speed_scale**\ (\ ) -The stream's current speed scale. ``1.0`` is the normal speed, while ``2.0`` is double speed and ``0.5`` is half speed. A speed scale of ``0.0`` pauses the video, similar to setting :ref:`paused` to ``true``. +La scala di velocità attuale del flusso. ``1.0`` è la velocità normale, mentre ``2.0`` è una velocità doppia e ``0.5`` è una velocità dimezzata. Una scala di velocità di ``0.0`` mette in pausa il video, come impostare :ref:`paused` su ``true``. .. rst-class:: classref-item-separator diff --git a/classes/it/class_videostreamtheora.rst b/classes/it/class_videostreamtheora.rst index 119776d871..497b0f58b0 100644 --- a/classes/it/class_videostreamtheora.rst +++ b/classes/it/class_videostreamtheora.rst @@ -14,9 +14,9 @@ Risorsa :ref:`VideoStream` per i video in Ogg Theora. Descrizione ---------------------- -:ref:`VideoStream` resource handling the `Ogg Theora `__ video format with ``.ogv`` extension. The Theora codec is decoded on the CPU. +Risorsa :ref:`VideoStream` che gestisce il formato video `Ogg Theora `__ con l'estensione ``.ogv``. Il codec Theora è decodificato sulla CPU. -\ **Note:** While Ogg Theora videos can also have a ``.ogg`` extension, you will have to rename the extension to ``.ogv`` to use those videos within Godot. +\ **Nota:** Sebbene i video Ogg Theora possano avere anche un'estensione ``.ogg``, sarà necessario rinominare l'estensione in ``.ogv`` per utilizzare tali video in Godot. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_viewport.rst b/classes/it/class_viewport.rst index 7442c2a436..d65d60bd93 100644 --- a/classes/it/class_viewport.rst +++ b/classes/it/class_viewport.rst @@ -567,7 +567,7 @@ Usa un antialiasing approssimativo veloce. FXAA è un metodo di antialiasing spa :ref:`ScreenSpaceAA` **SCREEN_SPACE_AA_SMAA** = ``2`` -Use subpixel morphological antialiasing. SMAA may produce clearer results than FXAA, but at a slightly higher performance cost. +Utilizza l'antialiasing morfologico subpixel. SMAA può produrre risultati più nitidi di FXAA, ma con un costo in termini di prestazioni leggermente superiore. .. _class_Viewport_constant_SCREEN_SPACE_AA_MAX: @@ -733,9 +733,9 @@ Gli oggetti sono visualizzati senza informazioni sull'illuminazione e le loro te :ref:`DebugDraw` **DEBUG_DRAW_VOXEL_GI_ALBEDO** = ``6`` -Objects are displayed with only the albedo value from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il valore di albedo dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_Viewport_constant_DEBUG_DRAW_VOXEL_GI_LIGHTING: @@ -743,9 +743,9 @@ Objects are displayed with only the albedo value from :ref:`VoxelGI` **DEBUG_DRAW_VOXEL_GI_LIGHTING** = ``7`` -Objects are displayed with only the lighting value from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il valore di illuminazione dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_Viewport_constant_DEBUG_DRAW_VOXEL_GI_EMISSION: @@ -753,9 +753,9 @@ Objects are displayed with only the lighting value from :ref:`VoxelGI` **DEBUG_DRAW_VOXEL_GI_EMISSION** = ``8`` -Objects are displayed with only the emission color from :ref:`VoxelGI`\ s. Requires at least one visible :ref:`VoxelGI` node that has been baked to have a visible effect. +Gli oggetti sono visualizzati solo con il colore di emissione dai :ref:`VoxelGI`. Richiede almeno un nodo :ref:`VoxelGI` visibile che è stato elaborato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_Viewport_constant_DEBUG_DRAW_SHADOW_ATLAS: @@ -855,9 +855,9 @@ Non fa nulla se :ref:`Environment.sdfgi_enabled` **DEBUG_DRAW_GI_BUFFER** = ``18`` -Draws the buffer used for global illumination from :ref:`VoxelGI` or SDFGI. Requires :ref:`VoxelGI` (at least one visible baked VoxelGI node) or SDFGI (:ref:`Environment.sdfgi_enabled`) to be enabled to have a visible effect. +Disegna il buffer utilizzato per l'illuminazione globale da :ref:`VoxelGI` o SDFGI. Richiede che :ref:`VoxelGI` (almeno un nodo VoxelGI elaborato visibile) o SDFGI (:ref:`Environment.sdfgi_enabled`) sia abilitato affinché abbia un effetto tangibile. -\ **Note:** Only supported when using the Forward+ rendering method. +\ **Nota:** Supportato solo quando si utilizza il metodo di rendering Forward+. .. _class_Viewport_constant_DEBUG_DRAW_DISABLE_LOD: @@ -913,9 +913,9 @@ Disegna il cluster utilizzato dai nodi :ref:`ReflectionProbe` **DEBUG_DRAW_OCCLUDERS** = ``24`` -Draws the buffer used for occlusion culling. +Disegna il buffer utilizzato per l'occlusion culling. -\ **Note:** Only supported when using the Forward+ or Mobile rendering methods. +\ **Nota:** Supportato solo quando si utilizzano i metodi di rendering Forward+ o Mobile. .. _class_Viewport_constant_DEBUG_DRAW_MOTION_VECTORS: @@ -969,9 +969,9 @@ Il filtro della texture fonde tra i 4 pixel più vicini. Ciò rende la texture l :ref:`DefaultCanvasItemTextureFilter` **DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_LINEAR_WITH_MIPMAPS** = ``2`` -The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look smooth from up close, and smooth from a distance. +Il filtro della texture fonde tra i 4 pixel più vicini e tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture liscia da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_Viewport_constant_DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS: @@ -979,9 +979,9 @@ Use this for non-pixel art textures that may be viewed at a low scale (e.g. due :ref:`DefaultCanvasItemTextureFilter` **DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_NEAREST_WITH_MIPMAPS** = ``3`` -The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look pixelated from up close, and smooth from a distance. +Il filtro della texture legge dal pixel più vicino e lo fonde tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture pixelata da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_Viewport_constant_DEFAULT_CANVAS_ITEM_TEXTURE_FILTER_MAX: @@ -1517,7 +1517,7 @@ Per controllare questa proprietà sulla viewport radice, cambia l'impostazione d - |void| **set_msaa_2d**\ (\ value\: :ref:`MSAA`\ ) - :ref:`MSAA` **get_msaa_2d**\ (\ ) -La modalità antialiasing multicampione per il rendering 2D/Canvas. Un numero più alto produce bordi più smussati a scapito di prestazioni notevolmente peggiori. Un valore di :ref:`MSAA_2X` or :ref:`MSAA_4X` è il migliore, a meno che non si punti a sistemi di fascia molto alta. Questo non ha alcun effetto sull'aliasing indotto da uno shader o sull'aliasing delle texture. +La modalità antialiasing multicampione per il rendering 2D/Canvas. Un numero più alto produce bordi più smussati a scapito di prestazioni notevolmente peggiori. Un valore di :ref:`MSAA_2X` o :ref:`MSAA_4X` è il migliore, a meno che non si punti a sistemi di fascia molto alta. Questo non ha alcun effetto sull'aliasing indotto da uno shader o sull'aliasing delle texture. Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/msaa_2d` e :ref:`RenderingServer.viewport_set_msaa_2d()`. @@ -1536,7 +1536,7 @@ Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/msaa_2d`\ ) - :ref:`MSAA` **get_msaa_3d**\ (\ ) -La modalità antialiasing multicampione per il rendering 3D. Un numero più alto produce bordi più smussati a scapito di prestazioni notevolmente peggiori. Un valore di :ref:`MSAA_2X` or :ref:`MSAA_4X` è il migliore, a meno che non si punti a sistemi di fascia molto alta. Vedi anche bilinear scaling 3D :ref:`scaling_3d_mode` per il sovracampionamento, che fornisce una qualità superiore ma è molto più costoso. Questo non ha alcun effetto sull'aliasing indotto da uno shader o sull'aliasing delle texture. +La modalità antialiasing multicampione per il rendering 3D. Un numero più alto produce bordi più smussati a scapito di prestazioni notevolmente peggiori. Un valore di :ref:`MSAA_2X` o :ref:`MSAA_4X` è il migliore, a meno che non si punti a sistemi di fascia molto alta. Vedi anche bilinear scaling 3D :ref:`scaling_3d_mode` per il sovracampionamento, che fornisce una qualità superiore ma è molto più costoso. Questo non ha alcun effetto sull'aliasing indotto da uno shader o sull'aliasing delle texture. Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/msaa_3d` e :ref:`RenderingServer.viewport_set_msaa_3d()`. @@ -1555,7 +1555,7 @@ Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/msaa_3d`\ ) - :ref:`bool` **is_using_oversampling**\ (\ ) -If ``true`` and one of the following conditions are true: :ref:`SubViewport.size_2d_override_stretch` and :ref:`SubViewport.size_2d_override` are set, :ref:`Window.content_scale_factor` is set and scaling is enabled, :ref:`oversampling_override` is set, font and :ref:`DPITexture` oversampling are enabled. +Se ``true`` e una delle seguenti condizioni sono vere: :ref:`SubViewport.size_2d_override_stretch` e :ref:`SubViewport.size_2d_override` sono impostati, :ref:`Window.content_scale_factor` è impostato e il ridimensionamento è abilitato, :ref:`oversampling_override` è impostato, il sovracampionamento dei font e di :ref:`DPITexture` sono abilitati. .. rst-class:: classref-item-separator @@ -1572,7 +1572,7 @@ If ``true`` and one of the following conditions are true: :ref:`SubViewport.size - |void| **set_oversampling_override**\ (\ value\: :ref:`float`\ ) - :ref:`float` **get_oversampling_override**\ (\ ) -If greater than zero, this value is used as the font oversampling factor, otherwise oversampling is equal to viewport scale. +Se maggiore di zero, questo valore è utilizzato come fattore di sovracampionamento dei font, altrimenti il sovracampionamento è uguale alla scala della viewport. .. rst-class:: classref-item-separator @@ -1940,11 +1940,11 @@ Se ``true``, la viewport dovrebbe renderizzare il suo sfondo in modo trasparente - |void| **set_use_debanding**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_using_debanding**\ (\ ) -If ``true``, uses a fast post-processing filter to make banding significantly less visible. If :ref:`use_hdr_2d` is ``false``, 2D rendering is *not* affected by debanding unless the :ref:`Environment.background_mode` is :ref:`Environment.BG_CANVAS`. If :ref:`use_hdr_2d` is ``true``, debanding will only be applied if this is the root **Viewport** and will affect all 2D and 3D rendering, including canvas items. +Se ``true``, utilizza un filtro di post-elaborazione veloce per ridurre notevolmente la visibiltà del banding. Se :ref:`use_hdr_2d` è ``false``, il rendering 2D *non* è influenzato dal debanding a meno che :ref:`Environment.background_mode` non sia :ref:`Environment.BG_CANVAS`. Se :ref:`use_hdr_2d` è ``true``, il debanding sarà applicato solo se questa è la **Viewport** radice e influenzerà tutto i rendering 2D e 3D, inclusi gli elementi canvas. -In some cases, debanding may introduce a slightly noticeable dithering pattern. It's recommended to enable debanding only when actually needed since the dithering pattern will make lossless-compressed screenshots larger. +In alcuni casi, il debanding potrebbe introdurre un leggero motivo di dithering. Si consiglia di abilitare il debanding solo quando è effettivamente necessario, poiché il motivo di dithering renderà più grandi gli screenshot compressi senza perdita di dati. -See also :ref:`ProjectSettings.rendering/anti_aliasing/quality/use_debanding` and :ref:`RenderingServer.viewport_set_use_debanding()`. +Vedi anche :ref:`ProjectSettings.rendering/anti_aliasing/quality/use_debanding` e :ref:`RenderingServer.viewport_set_use_debanding()`. .. rst-class:: classref-item-separator @@ -1961,11 +1961,11 @@ See also :ref:`ProjectSettings.rendering/anti_aliasing/quality/use_debanding`\ ) - :ref:`bool` **is_using_hdr_2d**\ (\ ) -If ``true``, 2D rendering will use a high dynamic range (HDR) format framebuffer matching the bit depth of the 3D framebuffer. When using the Forward+ or Compatibility renderer, this will be an ``RGBA16`` framebuffer. When using the Mobile renderer, it will be an ``RGB10_A2`` framebuffer. +Se ``true``, il rendering 2D utilizzerà un framebuffer in formato HDR (High Dynamic Range, o "alta gamma dinamica") corrispondente alla profondità di bit del framebuffer 3D. Quando si utilizza il renderer Forward+ o Compatibilità, questo sarà un framebuffer ``RGBA16``. Quando si utilizza il renderer Mobile, sarà un framebuffer ``RGB10_A2``. -Additionally, 2D rendering will take place in linear color space and will be converted to sRGB space immediately before blitting to the screen (if the Viewport is attached to the screen). +Inoltre, il rendering 2D avverrà nello spazio colore lineare e sarà convertito nello spazio sRGB subito prima di essere visualizzato sullo schermo (se la Viewport è collegata allo schermo). -Practically speaking, this means that the end result of the Viewport will not be clamped to the ``0-1`` range and can be used in 3D rendering without color space adjustments. This allows 2D rendering to take advantage of effects requiring high dynamic range (e.g. 2D glow) as well as substantially improves the appearance of effects requiring highly detailed gradients. +In pratica, ciò significa che il risultato finale della Viewport non sarà limitato nell'intervallo ``0-1`` e si potrà utilizzare nel rendering 3D senza aggiustare lo spazio colore. Ciò consente al rendering 2D di sfruttare gli effetti che richiedono un'elevata gamma dinamica (ad esempio, il bagliore 2D) e migliora sostanzialmente l'aspetto degli effetti che richiedono gradienti molto dettagliati. .. rst-class:: classref-item-separator @@ -2325,9 +2325,9 @@ Restituisce la trasformazione di allungamento 2D calcolata automaticamente, tene :ref:`ViewportTexture` **get_texture**\ (\ ) |const| :ref:`🔗` -Returns the viewport's texture. +Restituisce la texture della viewport. -\ **Note:** When trying to store the current texture (e.g. in a file), it might be completely black or outdated if used too early, especially when used in e.g. :ref:`Node._ready()`. To make sure the texture you get is correct, you can await :ref:`RenderingServer.frame_post_draw` signal. +\ **Nota:** Quando si tenta di memorizzare la texture attuale (ad esempio in un file), potrebbe essere completamente nera o obsoleta se questo metodo è chiamato troppo presto, specialmente se chiamato ad esempio in :ref:`Node._ready()`. Per assicurarti che la texture ottenuta sia corretta, puoi attendere il segnale :ref:`RenderingServer.frame_post_draw`. .. tabs:: @@ -2349,7 +2349,7 @@ Returns the viewport's texture. -\ **Note:** When :ref:`use_hdr_2d` is ``true`` the returned texture will be an HDR image encoded in linear space. +\ **Nota:** Quando :ref:`use_hdr_2d` è ``true`` la texture restituita sarà un'immagine HDR codificata nello spazio lineare. .. rst-class:: classref-item-separator diff --git a/classes/it/class_visibleonscreennotifier2d.rst b/classes/it/class_visibleonscreennotifier2d.rst index 93aa4a42eb..49d246bb12 100644 --- a/classes/it/class_visibleonscreennotifier2d.rst +++ b/classes/it/class_visibleonscreennotifier2d.rst @@ -121,7 +121,7 @@ Il rettangolo di delimitazione del VisibleOnScreenNotifier2D. - |void| **set_show_rect**\ (\ value\: :ref:`bool`\ ) - :ref:`bool` **is_showing_rect**\ (\ ) -If ``true``, shows the rectangle area of :ref:`rect` in the editor with a translucent magenta fill. Unlike changing the visibility of the VisibleOnScreenNotifier2D, this does not affect the screen culling detection. +Se ``true``, mostra l'area rettangolare di :ref:`rect` nell'editor con un riempimento magenta traslucido. A differenza di cambiare la visibilità del VisibleOnScreenNotifier2D, questo non influisce sul rilevamento dello screen culling. .. rst-class:: classref-section-separator diff --git a/classes/it/class_visibleonscreennotifier3d.rst b/classes/it/class_visibleonscreennotifier3d.rst index 6105c779b0..7b3f4aa1c7 100644 --- a/classes/it/class_visibleonscreennotifier3d.rst +++ b/classes/it/class_visibleonscreennotifier3d.rst @@ -114,7 +114,7 @@ Descrizioni dei metodi Se ``true``, il riquadro di delimitazione è sullo schermo. -\ **Nota:** Ci vuole un frame per determinare la visibilità di **VisibleOnScreenNotifier3D** una volta aggiunto all'albero di scena, quindi questo metodo restituirà sempre ``false`` subito dopo essere stato istanziato, prima del passaggio di disegno. +\ **Nota:** Ci vuole un frame per determinare la visibilità di **VisibleOnScreenNotifier3D** una volta aggiunto all'albero di scene, quindi questo metodo restituirà sempre ``false`` subito dopo essere stato istanziato, prima del passaggio di disegno. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_visualinstance3d.rst b/classes/it/class_visualinstance3d.rst index 1792b43150..cc6e03c153 100644 --- a/classes/it/class_visualinstance3d.rst +++ b/classes/it/class_visualinstance3d.rst @@ -16,7 +16,7 @@ Il padre di tutti i nodi visivi 3D. Descrizione ---------------------- -**VisualInstance3D** viene utilizzato per connettere una risorsa a una rappresentazione visiva. Tutti i nodi visuali 3D ereditano da **VisualInstance3D**. In generale, non dovresti accedere direttamente alle proprietà di **VisualInstance3D** poiché sono accessibili e gestite dai nodi che ereditano da **VisualInstance3D**. **VisualInstance3D** è la rappresentazione nodo dell'istanza :ref:`RenderingServer`. +**VisualInstance3D** serve per connettere una risorsa a una rappresentazione visiva. Tutti i nodi visuali 3D ereditano da **VisualInstance3D**. In generale, non dovresti accedere direttamente alle proprietà di **VisualInstance3D** poiché sono accessibili e gestite dai nodi che ereditano da **VisualInstance3D**. **VisualInstance3D** è la rappresentazione nodo dell'istanza :ref:`RenderingServer`. .. rst-class:: classref-reftable-group diff --git a/classes/it/class_visualshader.rst b/classes/it/class_visualshader.rst index 14c79fe09f..268905211f 100644 --- a/classes/it/class_visualshader.rst +++ b/classes/it/class_visualshader.rst @@ -351,7 +351,7 @@ Descrizioni delle proprietà **Deprecato:** This property does nothing and always equals to zero. -Deprecated. +Deprecato. .. rst-class:: classref-section-separator diff --git a/classes/it/class_visualshadernodecustom.rst b/classes/it/class_visualshadernodecustom.rst index c909b98bdd..52ad5274be 100644 --- a/classes/it/class_visualshadernodecustom.rst +++ b/classes/it/class_visualshadernodecustom.rst @@ -114,7 +114,7 @@ Definire questo metodo è **facoltativo**. Se non sovrascritto, il nodo sarà in :ref:`String` **_get_code**\ (\ input_vars\: :ref:`Array`\[:ref:`String`\], output_vars\: :ref:`Array`\[:ref:`String`\], mode\: :ref:`Mode`, type\: :ref:`Type`\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo per definire il codice di shader effettivo del nodo personalizzato associato. Il codice di shader dovrebbe essere restituito come una stringa, che può avere più righe (per comodità può essere utilizzato il costrutto stringa multilinea ``"""``). +Sovrascrivi questo metodo per definire il codice di shader effettivo del nodo personalizzato associato. Il codice di shader dovrebbe essere restituito come una stringa, che può avere più righe (per comodità può essere utilizzato il costrutto stringa multilinea ``"""``). Gli array ``input_vars`` e ``output_vars`` contengono i nomi stringa delle varie variabili in ingresso e in uscita, come definito dai metodi virtuali ``_get_input_*`` e ``_get_output_*`` in questa classe. @@ -380,7 +380,7 @@ Definire questo metodo è **facoltativo**. Se non sovrascritto, non viene mostra :ref:`bool` **_is_available**\ (\ mode\: :ref:`Mode`, type\: :ref:`Type`\ ) |virtual| |const| :ref:`🔗` -Sostituisci questo metodo per impedire che il nodo sia visibile nella finestra di dialogo dei membri per la modalità ``mode`` (vedi :ref:`Mode`) e/o il tipo ``type``. +Sovrascrivi questo metodo per impedire che il nodo sia visibile nella finestra di dialogo dei membri per la modalità ``mode`` (vedi :ref:`Mode`) e/o il tipo ``type``. Definire questo metodo è **facoltativo**. Se non sovrascritto, è ``true``. diff --git a/classes/it/class_visualshadernodetextureparameter.rst b/classes/it/class_visualshadernodetextureparameter.rst index 8571aea630..9fe2340c5d 100644 --- a/classes/it/class_visualshadernodetextureparameter.rst +++ b/classes/it/class_visualshadernodetextureparameter.rst @@ -175,9 +175,9 @@ Il filtro della texture fonde tra i 4 pixel più vicini. Ciò rende la texture l :ref:`TextureFilter` **FILTER_NEAREST_MIPMAP** = ``3`` -The texture filter reads from the nearest pixel and blends between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look pixelated from up close, and smooth from a distance. +Il filtro della texture legge dal pixel più vicino e lo fonde tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture pixelata da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_VisualShaderNodeTextureParameter_constant_FILTER_LINEAR_MIPMAP: @@ -185,9 +185,9 @@ Use this for non-pixel art textures that may be viewed at a low scale (e.g. due :ref:`TextureFilter` **FILTER_LINEAR_MIPMAP** = ``4`` -The texture filter blends between the nearest 4 pixels and between the nearest 2 mipmaps (or uses the nearest mipmap if :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` is ``true``). This makes the texture look smooth from up close, and smooth from a distance. +Il filtro della texture fonde tra i 4 pixel più vicini e tra le 2 mipmap più vicine (o usa la mipmap più vicina se :ref:`ProjectSettings.rendering/textures/default_filters/use_nearest_mipmap_filter` è ``true``). Ciò rende la texture liscia da vicino, e liscia da lontano. -Use this for non-pixel art textures that may be viewed at a low scale (e.g. due to :ref:`Camera2D` zoom or sprite scaling), as mipmaps are important to smooth out pixels that are smaller than on-screen pixels. +Usa questo filtro per texture non pixel art che potrebbero visualizzarsi a bassa scala (ad esempio a causa dello zoom :ref:`Camera2D` o del ridimensionamento degli sprite), poiché le mipmap sono importanti per smussare i pixel più piccoli dei pixel sullo schermo. .. _class_VisualShaderNodeTextureParameter_constant_FILTER_NEAREST_MIPMAP_ANISOTROPIC: diff --git a/classes/it/class_voxelgi.rst b/classes/it/class_voxelgi.rst index 1683aa5797..88a492bc99 100644 --- a/classes/it/class_voxelgi.rst +++ b/classes/it/class_voxelgi.rst @@ -14,7 +14,7 @@ Sonda di illuminazione globale (GI) in tempo reale. Descrizione ---------------------- -I **VoxelGI** sono utilizzati per fornire alle scene una luce indiretta e riflessi, in tempo reale e in alta qualità. Essi precalcolano l'effetto degli oggetti che emettono luce e l'effetto della geometria statica per simulare il comportamento di luce complessa in tempo reale. I **VoxelGI** devono essere precalcolati prima di avere un effetto visibile. Tuttavia, una volta precalcolati, gli oggetti dinamici riceveranno luce da essi. Inoltre, le luci possono essere completamente dinamiche o precalcolate. +I **VoxelGI** servono per fornire alle scene una luce indiretta e riflessi, in tempo reale e in alta qualità. Essi precalcolano l'effetto degli oggetti che emettono luce e l'effetto della geometria statica per simulare il comportamento di luce complessa in tempo reale. I **VoxelGI** devono essere precalcolati prima di avere un effetto visibile. Tuttavia, una volta precalcolati, gli oggetti dinamici riceveranno luce da essi. Inoltre, le luci possono essere completamente dinamiche o precalcolate. \ **Nota:** **VoxelGI** è supportato solo nel metodo di rendering Forward+, non Mobile o Compatibilità. diff --git a/classes/it/class_webrtcpeerconnection.rst b/classes/it/class_webrtcpeerconnection.rst index c152fd8bd6..2dd31f6ade 100644 --- a/classes/it/class_webrtcpeerconnection.rst +++ b/classes/it/class_webrtcpeerconnection.rst @@ -395,7 +395,7 @@ Le opzioni valide per ``configuration`` sono: "urls": [ "stun:stun.example.com:3478" ], # Uno o più server STUN. }, { - "urls": [ "turn:turn.example.com:3478" ], # One or more TURN servers. + "urls": [ "turn:turn.example.com:3478" ], # Uno o più server TURN. "username": "a_username", # Nome utente facoltativo per il server TURN. "credential": "a_password", # Password facoltativa per il server TURN. } diff --git a/classes/it/class_webxrinterface.rst b/classes/it/class_webxrinterface.rst index 5fb5fc80a4..b6a28a9bf3 100644 --- a/classes/it/class_webxrinterface.rst +++ b/classes/it/class_webxrinterface.rst @@ -437,13 +437,13 @@ Questo può includere funzionalità richieste impostando :ref:`required_features - |void| **set_optional_features**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_optional_features**\ (\ ) -A comma-seperated list of optional features used by :ref:`XRInterface.initialize()` when setting up the WebXR session. +Un elenco separato da virgole di funzionalità opzionali utilizzate da :ref:`XRInterface.initialize()` durante la configurazione della sessione WebXR. -If a user's browser or device doesn't support one of the given features, initialization will continue, but you won't be able to use the requested feature. +Se il browser o il dispositivo di un utente non supporta una delle funzionalità fornite, l'inizializzazione continuerà, ma non sarà possibile utilizzare la funzionalità richiesta. -This doesn't have any effect on the interface when already initialized. +Ciò non ha alcun effetto sull'interfaccia quando è già inizializzata. -See the MDN documentation on `WebXR's session features `__ for a list of possible values. +Consultare la documentazione MDN sulle `funzionalità di sessione WebXR `__ per una lista di possibili valori. .. rst-class:: classref-item-separator @@ -459,7 +459,7 @@ See the MDN documentation on `WebXR's session features ` **get_reference_space_type**\ (\ ) -Il tipo di spazio di riferimento (dall'elenco dei tipi richiesti impostato nella proprietà :ref:`requested_reference_space_types`), che è stato alla fine utilizzato da :ref:`XRInterface.initialize()` durante l'impostazione della sessione WebXR. +Il tipo di spazio di riferimento (dall'elenco dei tipi richiesti impostato nella proprietà :ref:`requested_reference_space_types`), che è stato infine utilizzato da :ref:`XRInterface.initialize()` durante la configurazione della sessione WebXR. I valori possibili provengono da `XRReferenceSpaceType di WebXR `__. Se si desidera utilizzare un particolare tipo di spazio di riferimento, deve essere elencato in :ref:`required_features` o :ref:`optional_features`. @@ -478,13 +478,13 @@ I valori possibili provengono da `XRReferenceSpaceType di WebXR `\ ) - :ref:`String` **get_requested_reference_space_types**\ (\ ) -A comma-seperated list of reference space types used by :ref:`XRInterface.initialize()` when setting up the WebXR session. +Un elenco separato da virgole di tipi di spazio di riferimento utilizzati da :ref:`XRInterface.initialize()` durante la configurazione della sessione WebXR. -The reference space types are requested in order, and the first one supported by the user's device or browser will be used. The :ref:`reference_space_type` property contains the reference space type that was ultimately selected. +I tipi di spazio di riferimento sono richiesti in ordine, e sarà utilizzato il primo supportato dal dispositivo o dal browser dell'utente. La proprietà :ref:`reference_space_type` contiene il tipo di spazio di riferimento che è stato infine selezionato. -This doesn't have any effect on the interface when already initialized. +Ciò non ha alcun effetto sull'interfaccia quando è già inizializzata. -Possible values come from `WebXR's XRReferenceSpaceType `__. If you want to use a particular reference space type, it must be listed in either :ref:`required_features` or :ref:`optional_features`. +I valori possibili provengono da `XRReferenceSpaceType di WebXR `__. Se si desidera utilizzare un particolare tipo di spazio di riferimento, deve essere elencato in :ref:`required_features` o :ref:`optional_features`. .. rst-class:: classref-item-separator @@ -501,13 +501,13 @@ Possible values come from `WebXR's XRReferenceSpaceType `\ ) - :ref:`String` **get_required_features**\ (\ ) -A comma-seperated list of required features used by :ref:`XRInterface.initialize()` when setting up the WebXR session. +Un elenco separato da virgole delle funzionalità richieste utilizzate da :ref:`XRInterface.initialize()` durante la configurazione della sessione WebXR. -If a user's browser or device doesn't support one of the given features, initialization will fail and :ref:`session_failed` will be emitted. +Se il browser o il dispositivo di un utente non supporta una delle funzionalità fornite, l'inizializzazione fallirà e verrà emesso :ref:`session_failed`. -This doesn't have any effect on the interface when already initialized. +Ciò non ha alcun effetto sull'interfaccia quando è già inizializzata. -See the MDN documentation on `WebXR's session features `__ for a list of possible values. +Consultare la documentazione MDN sulle `funzionalità di sessione WebXR `__ per una lista di possibili valori. .. rst-class:: classref-item-separator diff --git a/classes/it/class_window.rst b/classes/it/class_window.rst index f9f27397a9..0fe7f7ccf4 100644 --- a/classes/it/class_window.rst +++ b/classes/it/class_window.rst @@ -536,15 +536,15 @@ Modalità finestra massimizzata, ovvero la **Window** occuperà l'intera area de :ref:`Mode` **MODE_FULLSCREEN** = ``3`` -Full screen mode with full multi-window support. +Modalità a schermo intero con supporto multi-finestra completo. -Full screen window covers the entire display area of a screen and has no decorations. The display's video mode is not changed. +La finestra a schermo intero copre l'intera area di visualizzazione di uno schermo e non ha decorazioni. La modalità video del display non cambia. -\ **On Android:** This enables immersive mode. +\ **Su Android:** Questo abilita la modalità immersiva. -\ **On macOS:** A new desktop is used to display the running project. +\ **Su macOS:** È utilizzato un nuovo desktop per visualizzare il progetto in esecuzione. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Nota:** A prescindere dalla piattaforma, abilitando lo schermo intero si modificheranno le dimensioni della finestra in modo che corrispondano alle dimensioni del monitor. Pertanto, assicurati che il tuo progetto supporti :doc:`diverse risoluzioni <../tutorials/rendering/multiple_resolutions>` quando abiliti la modalità a schermo intero. .. _class_Window_constant_MODE_EXCLUSIVE_FULLSCREEN: @@ -552,23 +552,23 @@ Full screen window covers the entire display area of a screen and has no decorat :ref:`Mode` **MODE_EXCLUSIVE_FULLSCREEN** = ``4`` -A single window full screen mode. This mode has less overhead, but only one window can be open on a given screen at a time (opening a child window or application switching will trigger a full screen transition). +Modalità a schermo intero con una sola finestra. Questa modalità è più efficiente, ma può essere aperta solo una finestra alla volta su un determinato schermo (l'apertura di una finestra secondaria o il cambio dell'applicazione attiverà una transizione dallo schermo intero). -Full screen window covers the entire display area of a screen and has no border or decorations. The display's video mode is not changed. +La finestra a schermo intero copre l'intera area di visualizzazione di uno schermo e non ha bordi o decorazioni. La modalità video del display non cambia. -\ **Note:** This mode might not work with screen recording software. +\ **Nota:** Questa modalità potrebbe non funzionare con il software di registrazione dello schermo. -\ **On Android:** This enables immersive mode. +\ **Su Android:** Questo abilita la modalità immersiva. -\ **On Windows:** Depending on video driver, full screen transition might cause screens to go black for a moment. +\ **Su Windows:** A seconda del driver video, la transizione allo schermo intero potrebbe causare lo spegnimento momentaneo dello schermo. -\ **On macOS:** A new desktop is used to display the running project. Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen. +\ **Su macOS:** È utilizzato un nuovo desktop per visualizzare il progetto in esecuzione. La modalità a schermo intero esclusiva impedisce che Dock e Menu vengano visualizzati quando il puntatore del mouse passa sul bordo dello schermo. -\ **On Linux (X11):** Exclusive full screen mode bypasses compositor. +\ **Su Linux (X11):** La modalità a schermo intero esclusiva ignora il compositore. -\ **On Linux (Wayland):** Equivalent to :ref:`MODE_FULLSCREEN`. +\ **Su Linux (Wayland):** Equivalente a :ref:`MODE_FULLSCREEN`. -\ **Note:** Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports :doc:`multiple resolutions <../tutorials/rendering/multiple_resolutions>` when enabling full screen mode. +\ **Nota:** A prescindere dalla piattaforma, abilitando lo schermo intero si modificheranno le dimensioni della finestra in modo che corrispondano alle dimensioni del monitor. Pertanto, assicurati che il tuo progetto supporti :doc:`diverse risoluzioni <../tutorials/rendering/multiple_resolutions>` quando abiliti la modalità a schermo intero. .. rst-class:: classref-item-separator @@ -672,13 +672,13 @@ Lo stile della finestra è sostituito, forzando angoli acuti. :ref:`Flags` **FLAG_EXCLUDE_FROM_CAPTURE** = ``9`` -Windows is excluded from screenshots taken by :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()`, and :ref:`DisplayServer.screen_get_pixel()`. +La finestra è esclusa dagli screenshot acquisiti da :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()` e :ref:`DisplayServer.screen_get_pixel()`. -\ **Note:** This flag has no effect in embedded windows. +\ **Nota:** Questo flag non ha effetto nelle finestre incorporate. -\ **Note:** This flag is implemented on macOS and Windows (10, 20H1). +\ **Nota:** Questo flag è implementato su macOS e Windows (10, 20H1). -\ **Note:** Setting this flag will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure. +\ **Nota:** L'impostazione di questo flag impedirà ai metodi standard di catturare un'immagine della finestra, ma **NON** garantisce che altre app non siano in grado di catturare un'immagine. Non si dovrebbe utilizzare come DRM o misura di sicurezza. .. _class_Window_constant_FLAG_POPUP_WM_HINT: @@ -686,7 +686,7 @@ Windows is excluded from screenshots taken by :ref:`DisplayServer.screen_get_ima :ref:`Flags` **FLAG_POPUP_WM_HINT** = ``10`` -Signals the window manager that this window is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window). +Segnala al gestore delle finestre che questa finestra dovrebbe essere un "popup" definito dall'implementazione (solitamente una finestra figlia mobile, senza bordi, non ordinabile e non modificabile). .. _class_Window_constant_FLAG_MINIMIZE_DISABLED: @@ -694,9 +694,9 @@ Signals the window manager that this window is supposed to be an implementation- :ref:`Flags` **FLAG_MINIMIZE_DISABLED** = ``11`` -Window minimize button is disabled. +Il pulsante di minimizzazione della finestra è disabilitato. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Nota:** Questo metodo è implementato su macOS e Windows. .. _class_Window_constant_FLAG_MAXIMIZE_DISABLED: @@ -704,9 +704,9 @@ Window minimize button is disabled. :ref:`Flags` **FLAG_MAXIMIZE_DISABLED** = ``12`` -Window maximize button is disabled. +Il pulsante di massimizzazione della finestra è disabilitato. -\ **Note:** This flag is implemented on macOS and Windows. +\ **Nota:** Questo metodo è implementato su macOS e Windows. .. _class_Window_constant_FLAG_MAX: @@ -1005,7 +1005,7 @@ Descrizioni delle proprietà - |void| **set_accessibility_description**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_description**\ (\ ) -The human-readable node description that is reported to assistive apps. +La descrizione del nodo leggibile in chiaro che è riportata alle applicazioni assistive. .. rst-class:: classref-item-separator @@ -1022,7 +1022,7 @@ The human-readable node description that is reported to assistive apps. - |void| **set_accessibility_name**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_accessibility_name**\ (\ ) -The human-readable node name that is reported to assistive apps. +Il nome del nodo leggibile in chiaro che è riportato alle applicazioni assistive. .. rst-class:: classref-item-separator @@ -1194,11 +1194,11 @@ Lo schermo su cui la finestra si trova attualmente. - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** is excluded from screenshots taken by :ref:`DisplayServer.screen_get_image()`, :ref:`DisplayServer.screen_get_image_rect()`, and :ref:`DisplayServer.screen_get_pixel()`. +Se ``true``, il **Window** è escluso dagli screenshot catturati da method DisplayServer.screen_get_image], :ref:`DisplayServer.screen_get_image_rect()` e :ref:`DisplayServer.screen_get_pixel()`. -\ **Note:** This property is implemented on macOS and Windows. +\ **Nota:** Questa proprietà è implementata su macOS e Windows. -\ **Note:** Enabling this setting will prevent standard screenshot methods from capturing a window image, but does **NOT** guarantee that other apps won't be able to capture an image. It should not be used as a DRM or security measure. +\ **Nota:** Abilitare questa impostazione impedirà ai metodi standard di catturare un'immagine della finestra, ma **NON** garantisce che altre app non siano in grado di catturare un'immagine. Non si dovrebbe utilizzare come DRM o misura di sicurezza. .. rst-class:: classref-item-separator @@ -1325,11 +1325,11 @@ Se non zero, il **Window** non può essere ridimensionato per essere più grande - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window**'s maximize button is disabled. +Se ``true``, il pulsante di massimizzazione della **Window** è disabilitato. -\ **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible. +\ **Nota:** Se entrambi i pulsanti di massimizzazione e minimizzazione sono disabilitati, i pulsanti sono completamente nascosti e solo il pulsante di chiusura è visibile. -\ **Note:** This property is implemented only on macOS and Windows. +\ **Nota:** Questa proprietà è implementata solo su macOS e Windows. .. rst-class:: classref-item-separator @@ -1365,11 +1365,11 @@ Se non è zero, il **Window** non può essere ridimensionato per essere più pic - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window**'s minimize button is disabled. +Se ``true``, il pulsante di minimizzazione della **Window** è disabilitato. -\ **Note:** If both minimize and maximize buttons are disabled, buttons are fully hidden, and only close button is visible. +\ **Nota:** Se entrambi i pulsanti di massimizzazione e minimizzazione sono disabilitati, i pulsanti sono completamente nascosti e solo il pulsante di chiusura è visibile. -\ **Note:** This property is implemented only on macOS and Windows. +\ **Nota:** Questa proprietà è implementata solo su macOS e Windows. .. rst-class:: classref-item-separator @@ -1499,7 +1499,7 @@ Se ``true``, il **Window** sarà considerato un popup. I popup sono sottofinestr - |void| **set_flag**\ (\ flag\: :ref:`Flags`, enabled\: :ref:`bool`\ ) - :ref:`bool` **get_flag**\ (\ flag\: :ref:`Flags`\ ) |const| -If ``true``, the **Window** will signal to the window manager that it is supposed to be an implementation-defined "popup" (usually a floating, borderless, untileable and immovable child window). +Se ``true``, la **Window** segnalerà al gestore delle finestre che si tratta di un "popup" definito dall'implementazione (solitamente una finestra figlia fluttuante, senza bordi, non ordinabile e immobile). .. rst-class:: classref-item-separator @@ -2770,7 +2770,7 @@ Il colore del contorno del testo del titolo. :ref:`int` **close_h_offset** = ``18`` :ref:`🔗` -Horizontal position offset of the close button, relative to the end of the title bar, towards the beginning of the title bar. +Scostamento orizzontale della posizione del pulsante di chiusura, rispetto alla fine della barra del titolo, verso l'inizio della barra del titolo. .. rst-class:: classref-item-separator @@ -2782,7 +2782,7 @@ Horizontal position offset of the close button, relative to the end of the title :ref:`int` **close_v_offset** = ``24`` :ref:`🔗` -Vertical position offset of the close button, relative to the bottom of the title bar, towards the top of the title bar. +Scostamento verticale della posizione del pulsante di chiusura, rispetto alla parte inferiore della barra del titolo, verso la parte superiore della barra del titolo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_workerthreadpool.rst b/classes/it/class_workerthreadpool.rst index 4ee7ad43e9..74c7e9014f 100644 --- a/classes/it/class_workerthreadpool.rst +++ b/classes/it/class_workerthreadpool.rst @@ -147,7 +147,7 @@ Restituisce un ID attività che può essere utilizzato da altri metodi. :ref:`int` **get_caller_group_id**\ (\ ) |const| :ref:`🔗` -Returns the task group ID of the current thread calling this method, or ``-1`` if invalid or the current thread is not part of a task group. +Restituisce l'ID del gruppo di attività del thread attuale che chiama questo metodo oppure ``-1`` se non è valido o se il thread attuale non fa parte di un gruppo di attività. .. rst-class:: classref-item-separator @@ -159,11 +159,11 @@ Returns the task group ID of the current thread calling this method, or ``-1`` i :ref:`int` **get_caller_task_id**\ (\ ) |const| :ref:`🔗` -Returns the task ID of the current thread calling this method, or ``-1`` if the task is a group task, invalid or the current thread is not part of the thread pool (e.g. the main thread). +Restituisce l'ID attività del thread attuale che chiama questo metodo, oppure ``-1`` se l'attività è un'attività di gruppo, non valida o se il thread attuale non fa parte del pool di thread (ad esempio, il thread principale). -Can be used by a task to get its own task ID, or to determine whether the current code is running inside the worker thread pool. +È possibile utilizzato da un'attività per ottenere il proprio ID attività o per determinare se il codice attuale è in esecuzione all'interno del pool di thread worker. -\ **Note:** Group tasks have their own IDs, so this method will return ``-1`` for group tasks. +\ **Nota:** Le attività di gruppo hanno i propri ID, quindi questo metodo restituirà ``-1`` per le attività di gruppo. .. rst-class:: classref-item-separator diff --git a/classes/it/class_worldenvironment.rst b/classes/it/class_worldenvironment.rst index 39e6ed486c..01ed4583b3 100644 --- a/classes/it/class_worldenvironment.rst +++ b/classes/it/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: @@ -17,7 +17,7 @@ Proprietà d'ambiente predefinite per l'intera scena (effetti di post-elaborazio Descrizione ---------------------- -Il nodo **WorldEnvironment** viene utilizzato per configurare l':ref:`Environment` predefinito per la scena. +Il nodo **WorldEnvironment** serve per configurare l':ref:`Environment` predefinito per la scena. I parametri definiti nel **WorldEnvironment** possono essere sovrascritti da un nodo :ref:`Environment` impostato sulla :ref:`Camera3D` attuale. Inoltre, solo uno **WorldEnvironment** può essere istanziato alla volta in una qualunque scena. diff --git a/classes/it/class_xranchor3d.rst b/classes/it/class_xranchor3d.rst index c3bf99bb9d..feb914346e 100644 --- a/classes/it/class_xranchor3d.rst +++ b/classes/it/class_xranchor3d.rst @@ -14,11 +14,11 @@ Un punto di ancoraggio nello spazio AR. Descrizione ---------------------- -The **XRAnchor3D** point is an :ref:`XRNode3D` that maps a real world location identified by the AR platform to a position within the game world. For example, as long as plane detection in ARKit is on, ARKit will identify and update the position of planes (tables, floors, etc.) and create anchors for them. +Il punto **XRAnchor3D** è un :ref:`XRNode3D` che mappa una posizione del mondo reale identificata dalla piattaforma AR in una posizione all'interno del mondo di gioco. Ad esempio, finché il rilevamento del piano in ARKit è attivo, ARKit identificherà e aggiornerà la posizione dei piani (tavoli, pavimenti, ecc.) e creerà ancore per essi. -This node is mapped to one of the anchors through its unique ID. When you receive a signal that a new anchor is available, you should add this node to your scene for that anchor. You can predefine nodes and set the ID; the nodes will simply remain on ``(0, 0, 0)`` until a plane is recognized. +Questo nodo è mappato su una delle ancore tramite il suo ID univoco. Quando ricevi un segnale che è disponibile una nuova ancora, dovresti aggiungere questo nodo alla tua scena per quell'ancora. Puoi predefinire i nodi e impostare l'ID; i nodi rimarranno semplicemente su ``(0, 0, 0)`` finché non sarà riconosciuto un piano. -Keep in mind that, as long as plane detection is enabled, the size, placing and orientation of an anchor will be updated as the detection logic learns more about the real world out there especially if only part of the surface is in view. +Tieni presente che, finché il rilevamento del piano è abilitato, le dimensioni, il posizionamento e l'orientamento di un'ancora saranno aggiornati man mano che la logica di rilevamento scopre di più sul mondo reale là fuori, soprattutto se solo una parte della superficie è in vista. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_xrbodytracker.rst b/classes/it/class_xrbodytracker.rst index dcaae0fd4f..ce1696db16 100644 --- a/classes/it/class_xrbodytracker.rst +++ b/classes/it/class_xrbodytracker.rst @@ -724,7 +724,7 @@ Articolazione della punta del mignolo destro. :ref:`Joint` **JOINT_LOWER_CHEST** = ``76`` -Lower chest joint. +Articolazione del torace inferiore. .. _class_XRBodyTracker_constant_JOINT_LEFT_SCAPULA: @@ -732,7 +732,7 @@ Lower chest joint. :ref:`Joint` **JOINT_LEFT_SCAPULA** = ``77`` -Left scapula joint. +Articolazione della scapola sinistra. .. _class_XRBodyTracker_constant_JOINT_LEFT_WRIST_TWIST: @@ -740,7 +740,7 @@ Left scapula joint. :ref:`Joint` **JOINT_LEFT_WRIST_TWIST** = ``78`` -Left wrist twist joint. +Articolazione di torsione del polso sinistro. .. _class_XRBodyTracker_constant_JOINT_RIGHT_SCAPULA: @@ -748,7 +748,7 @@ Left wrist twist joint. :ref:`Joint` **JOINT_RIGHT_SCAPULA** = ``79`` -Right scapula joint. +Articolazione della scapola destra. .. _class_XRBodyTracker_constant_JOINT_RIGHT_WRIST_TWIST: @@ -756,7 +756,7 @@ Right scapula joint. :ref:`Joint` **JOINT_RIGHT_WRIST_TWIST** = ``80`` -Right wrist twist joint. +Articolazione di torsione del polso destro. .. _class_XRBodyTracker_constant_JOINT_LEFT_FOOT_TWIST: @@ -764,7 +764,7 @@ Right wrist twist joint. :ref:`Joint` **JOINT_LEFT_FOOT_TWIST** = ``81`` -Left foot twist joint. +Articolazione di torsione del piede sinistro. .. _class_XRBodyTracker_constant_JOINT_LEFT_HEEL: @@ -772,7 +772,7 @@ Left foot twist joint. :ref:`Joint` **JOINT_LEFT_HEEL** = ``82`` -Left heel joint. +Articolazione del tallone sinistro. .. _class_XRBodyTracker_constant_JOINT_LEFT_MIDDLE_FOOT: @@ -780,7 +780,7 @@ Left heel joint. :ref:`Joint` **JOINT_LEFT_MIDDLE_FOOT** = ``83`` -Left middle foot joint. +Articolazione della parte media del piede sinistro. .. _class_XRBodyTracker_constant_JOINT_RIGHT_FOOT_TWIST: @@ -788,7 +788,7 @@ Left middle foot joint. :ref:`Joint` **JOINT_RIGHT_FOOT_TWIST** = ``84`` -Right foot twist joint. +Articolazione di torsione del piede destro. .. _class_XRBodyTracker_constant_JOINT_RIGHT_HEEL: @@ -796,7 +796,7 @@ Right foot twist joint. :ref:`Joint` **JOINT_RIGHT_HEEL** = ``85`` -Right heel joint. +Articolazione del tallone destro. .. _class_XRBodyTracker_constant_JOINT_RIGHT_MIDDLE_FOOT: @@ -804,7 +804,7 @@ Right heel joint. :ref:`Joint` **JOINT_RIGHT_MIDDLE_FOOT** = ``86`` -Right middle foot joint. +Articolazione della parte media del piede destro. .. _class_XRBodyTracker_constant_JOINT_MAX: diff --git a/classes/it/class_xrcontroller3d.rst b/classes/it/class_xrcontroller3d.rst index ac046aeb55..e332870347 100644 --- a/classes/it/class_xrcontroller3d.rst +++ b/classes/it/class_xrcontroller3d.rst @@ -14,13 +14,13 @@ Un nodo 3D che rappresenta un controller tracciato nello spazio. Descrizione ---------------------- -This is a helper 3D node that is linked to the tracking of controllers. It also offers several handy passthroughs to the state of buttons and such on the controllers. +Questo è un nodo 3D ausiliare collegato al tracciamento dei controller. Offre anche diversi utili passthrough allo stato dei pulsanti e simili sui controller. -Controllers are linked by their ID. You can create controller nodes before the controllers are available. If your game always uses two controllers (one for each hand), you can predefine the controllers with ID 1 and 2; they will become active as soon as the controllers are identified. If you expect additional controllers to be used, you should react to the signals and add XRController3D nodes to your scene. +I controller sono collegati tramite il loro ID. È possibile creare nodi controller prima che i controller siano disponibili. Se il tuo gioco utilizza sempre due controller (uno per ogni mano), puoi predefinire i controller con ID 1 e 2; diventeranno attivi non appena i controller saranno identificati. Se prevedi che siano utilizzati controller aggiuntivi, dovresti reagire ai segnali e aggiungere nodi XRController3D alla tua scena. -The position of the controller node is automatically updated by the :ref:`XRServer`. This makes this node ideal to add child nodes to visualize the controller. +La posizione del nodo controller è aggiornata automaticamente dal :ref:`XRServer`. Ciò rende questo nodo ideale per aggiungere nodi figlio per visualizzare il controller. -The current :ref:`XRInterface` defines the names of inputs. In the case of OpenXR, these are the names of actions in the current action set from the OpenXR action map. +L':ref:`XRInterface` attuale definisce i nomi degli input. Nel caso di OpenXR, questi sono i nomi delle azioni nell'insieme di azioni attuale dalla mappa di azioni di OpenXR. .. rst-class:: classref-introduction-group @@ -129,9 +129,9 @@ Descrizioni dei metodi :ref:`float` **get_float**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns a numeric value for the input with the given ``name``. This is used for triggers and grip sensors. +Restituisce un valore numerico per l'input con il nome ``name``. È utilizzato per grilletti e sensori grip. -\ **Note:** The current :ref:`XRInterface` defines the ``name`` for each input. In the case of OpenXR, these are the names of actions in the current action set. +\ **Nota:** L'attuale :ref:`XRInterface` definisce il ``name`` per ciascun input. Nel caso di OpenXR, questi sono i nomi delle azioni nell'insieme di azioni attuale. .. rst-class:: classref-item-separator @@ -183,9 +183,9 @@ Restituisce un :ref:`Vector2` per l'input con il nome ``name``. :ref:`bool` **is_button_pressed**\ (\ name\: :ref:`StringName`\ ) |const| :ref:`🔗` -Returns ``true`` if the button with the given ``name`` is pressed. +Restituisce ``true`` se il pulsante con il nome ``name`` è premuto. -\ **Note:** The current :ref:`XRInterface` defines the ``name`` for each input. In the case of OpenXR, these are the names of actions in the current action set. +\ **Nota:** L'attuale :ref:`XRInterface` definisce il ``name`` per ciascun input. Nel caso di OpenXR, questi sono i nomi delle azioni nell'insieme di azioni attuale. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_xrfacemodifier3d.rst b/classes/it/class_xrfacemodifier3d.rst index b914ecaffe..79f665e505 100644 --- a/classes/it/class_xrfacemodifier3d.rst +++ b/classes/it/class_xrfacemodifier3d.rst @@ -16,11 +16,11 @@ Un nodo per guidare le mesh di volto standard dai pesi di un :ref:`XRFaceTracker Descrizione ---------------------- -This node applies weights from an :ref:`XRFaceTracker` to a mesh with supporting face blend shapes. +Questo nodo applica i pesi da un :ref:`XRFaceTracker` a una mesh con forme di fusione dei volti supportati. -The `Unified Expressions `__ blend shapes are supported, as well as ARKit and SRanipal blend shapes. +Sono supportate le forme di fusione `Unified Expressions `__, così come le forme di fusione ARKit e SRanipal. -The node attempts to identify blend shapes based on name matching. Blend shapes should match the names listed in the `Unified Expressions Compatibility `__ chart. +Il nodo tenta di identificare le forme di fusione in base alla corrispondenza dei nomi. Le forme di fusione dovrebbero corrispondere ai nomi elencati nel grafico `Unified Expressions Compatibility `__. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_xrinterface.rst b/classes/it/class_xrinterface.rst index 5b05e40a31..53544a3e8f 100644 --- a/classes/it/class_xrinterface.rst +++ b/classes/it/class_xrinterface.rst @@ -293,7 +293,7 @@ Uguale a :ref:`XR_PLAY_AREA_ROOMSCALE` **XR_PLAY_AREA_CUSTOM** = ``2147483647`` -Custom play area set by a GDExtension. +Area di gioco personalizzata impostata da una GDExtension. .. rst-class:: classref-item-separator @@ -345,7 +345,7 @@ enum **VRSTextureFormat**: :ref:`🔗` :ref:`VRSTextureFormat` **XR_VRS_TEXTURE_FORMAT_UNIFIED** = ``0`` -The texture format is the same as returned by :ref:`XRVRS.make_vrs_texture()`. +Il formato di texture è lo stesso restituito da :ref:`XRVRS.make_vrs_texture()`. .. _class_XRInterface_constant_XR_VRS_TEXTURE_FORMAT_FRAGMENT_SHADING_RATE: @@ -353,7 +353,7 @@ The texture format is the same as returned by :ref:`XRVRS.make_vrs_texture()` **XR_VRS_TEXTURE_FORMAT_FRAGMENT_SHADING_RATE** = ``1`` -The texture format is the same as expected by the Vulkan ``VK_KHR_fragment_shading_rate`` extension. +Il formato di texture è lo stesso previsto dall'estensione Vulkan ``VK_KHR_fragment_shading_rate``. .. _class_XRInterface_constant_XR_VRS_TEXTURE_FORMAT_FRAGMENT_DENSITY_MAP: @@ -361,7 +361,7 @@ The texture format is the same as expected by the Vulkan ``VK_KHR_fragment_shadi :ref:`VRSTextureFormat` **XR_VRS_TEXTURE_FORMAT_FRAGMENT_DENSITY_MAP** = ``2`` -The texture format is the same as expected by the Vulkan ``VK_EXT_fragment_density_map`` extension. +Il formato di texture è lo stesso previsto dall'estensione Vulkan ``VK_EXT_fragment_density_map``. .. rst-class:: classref-section-separator diff --git a/classes/it/class_xrinterfaceextension.rst b/classes/it/class_xrinterfaceextension.rst index 7ea9f5a7e1..deb7a016c1 100644 --- a/classes/it/class_xrinterfaceextension.rst +++ b/classes/it/class_xrinterfaceextension.rst @@ -302,7 +302,7 @@ Restituisce un :ref:`Dictionary` con informazioni di sistema r :ref:`TrackingStatus` **_get_tracking_status**\ (\ ) |virtual| |const| :ref:`🔗` -Returns an :ref:`TrackingStatus` specifying the current status of our tracking. +Restituisce un :ref:`TrackingStatus` che specifica lo stato attuale del nostro tracciamento. .. rst-class:: classref-item-separator diff --git a/classes/it/class_xrnode3d.rst b/classes/it/class_xrnode3d.rst index 707b06d93e..96728565ad 100644 --- a/classes/it/class_xrnode3d.rst +++ b/classes/it/class_xrnode3d.rst @@ -16,7 +16,7 @@ Un nodo 3D la cui posizione è aggiornata automaticamente dal :ref:`XRServer` and will automatically have its :ref:`Node3D.transform` updated by the :ref:`XRServer`. Nodes of this type must be added as children of the :ref:`XROrigin3D` node. +Questo nodo si può associare a una posa specifica di un :ref:`XRPositionalTracker` e il suo :ref:`Node3D.transform` sarà automaticamente aggiornato dal :ref:`XRServer`. I nodi di questo tipo si devono aggiungere come figli del nodo :ref:`XROrigin3D`. .. rst-class:: classref-introduction-group diff --git a/classes/it/class_xrpositionaltracker.rst b/classes/it/class_xrpositionaltracker.rst index be391f5138..8f518f552a 100644 --- a/classes/it/class_xrpositionaltracker.rst +++ b/classes/it/class_xrpositionaltracker.rst @@ -307,7 +307,7 @@ Contrassegna questa posizione come non valida, non cancelliamo l'ultimo stato ri **Deprecato:** Use through :ref:`XRControllerTracker`. -Changes the value for the given input. This method is called by an :ref:`XRInterface` implementation and should not be used directly. +Cambia il valore per l'input specificato. Questo metodo è chiamato da un'implementazione di :ref:`XRInterface` e non si dovrebbe usare direttamente. .. rst-class:: classref-item-separator @@ -319,7 +319,7 @@ Changes the value for the given input. This method is called by an :ref:`XRInter |void| **set_pose**\ (\ name\: :ref:`StringName`, transform\: :ref:`Transform3D`, linear_velocity\: :ref:`Vector3`, angular_velocity\: :ref:`Vector3`, tracking_confidence\: :ref:`TrackingConfidence`\ ) :ref:`🔗` -Sets the transform, linear velocity, angular velocity and tracking confidence for the given pose. This method is called by an :ref:`XRInterface` implementation and should not be used directly. +Imposta la trasformazione, velocità lineare, velocità angolare e l'affidabilità di tracciamento per la posa fornita. Questo metodo è chiamato da un'implementazione di :ref:`XRInterface` e non si dovrebbe usare direttamente. .. |virtual| replace:: :abbr:`virtual (Questo metodo dovrebbe solitamente essere sovrascritto dall'utente per aver un effetto.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/it/class_xrserver.rst b/classes/it/class_xrserver.rst index 296ee3a0fe..0431adf238 100644 --- a/classes/it/class_xrserver.rst +++ b/classes/it/class_xrserver.rst @@ -177,7 +177,7 @@ enum **TrackerType**: :ref:`🔗` :ref:`TrackerType` **TRACKER_HEAD** = ``1`` -The tracker tracks the location of the player's head. This is usually a location centered between the player's eyes. Note that for handheld AR devices this can be the current location of the device. +Il tracciatore traccia la posizione della testa del giocatore. Di solito è una posizione centrata tra gli occhi del giocatore. Nota che per i dispositivi AR portatili questa può essere la posizione attuale del dispositivo. .. _class_XRServer_constant_TRACKER_CONTROLLER: @@ -401,17 +401,17 @@ Registra un nuovo :ref:`XRTracker` che traccia un oggetto fisic |void| **center_on_hmd**\ (\ rotation_mode\: :ref:`RotationMode`, keep_height\: :ref:`bool`\ ) :ref:`🔗` -This is an important function to understand correctly. AR and VR platforms all handle positioning slightly differently. +Questa è una funzione importante da capire correttamente. Le piattaforme AR e VR gestiscono tutte il posizionamento in modo leggermente diverso. -For platforms that do not offer spatial tracking, our origin point ``(0, 0, 0)`` is the location of our HMD, but you have little control over the direction the player is facing in the real world. +Per le piattaforme che non offrono il tracciamento spaziale, il nostro punto di origine ``(0, 0, 0)`` è la posizione del nostro HMD, ma hai poco controllo sulla direzione in cui è rivolto il giocatore nel mondo reale. -For platforms that do offer spatial tracking, our origin point depends very much on the system. For OpenVR, our origin point is usually the center of the tracking space, on the ground. For other platforms, it's often the location of the tracking camera. +Per le piattaforme che offrono il tracciamento spaziale, il nostro punto di origine dipende molto dal sistema. Per OpenVR, il nostro punto di origine è solitamente il centro dello spazio di tracciamento, a terra. Per altre piattaforme, è spesso la posizione della telecamera di tracciamento. -This method allows you to center your tracker on the location of the HMD. It will take the current location of the HMD and use that to adjust all your tracking data; in essence, realigning the real world to your player's current position in the game world. +Questo metodo ti consente di centrare il tuo tracciatore sulla posizione dell'HMD. Prenderà la posizione attuale dell'HMD e la utilizzerà per regolare tutti i tuoi dati di tracciamento; in sostanza, riallineando il mondo reale alla posizione attuale del tuo giocatore nel mondo di gioco. -For this method to produce usable results, tracking information must be available. This often takes a few frames after starting your game. +Affinché questo metodo produca risultati utilizzabili, devono essere disponibili informazioni di tracciamento. Spesso ciò richiede qualche frame dopo l'avvio del gioco. -You should call this method after a few seconds have passed. For example, when the user requests a realignment of the display holding a designated button on a controller for a short period of time, or when implementing a teleport mechanism. +Si consiglia di chiamare questo metodo dopo qualche secondo. Ad esempio, quando l'utente richiede un riallineamento del display tenendo premuto un pulsante designato su un controller per un breve periodo di tempo, oppure quando si implementa un meccanismo di teletrasporto. .. rst-class:: classref-item-separator diff --git a/classes/it/class_xrtracker.rst b/classes/it/class_xrtracker.rst index d57454c671..887157aef5 100644 --- a/classes/it/class_xrtracker.rst +++ b/classes/it/class_xrtracker.rst @@ -78,21 +78,21 @@ La descrizione di questo tracciatore. - |void| **set_tracker_name**\ (\ value\: :ref:`StringName`\ ) - :ref:`StringName` **get_tracker_name**\ (\ ) -The unique name of this tracker. The trackers that are available differ between various XR runtimes and can often be configured by the user. Godot maintains a number of reserved names that it expects the :ref:`XRInterface` to implement if applicable: +Il nome univoco di questo tracciatore. I tracciatori disponibili differiscono tra i vari runtime XR e possono spesso essere configurati dall'utente. Godot mantiene un certo numero di nomi riservati che si aspetta che :ref:`XRInterface` implementi se applicabile: -- ``"head"`` identifies the :ref:`XRPositionalTracker` of the player's head +- ``"head"`` identifica il :ref:`XRPositionalTracker` della testa del giocatore -- ``"left_hand"`` identifies the :ref:`XRControllerTracker` in the player's left hand +- ``"left_hand"`` identifica il :ref:`XRControllerTracker` nella mano sinistra del giocatore -- ``"right_hand"`` identifies the :ref:`XRControllerTracker` in the player's right hand +- ``"right_hand"`` identifica il :ref:`XRControllerTracker` nella mano destra del giocatore -- ``"/user/hand_tracker/left"`` identifies the :ref:`XRHandTracker` for the player's left hand +- ``"/user/hand_tracker/left"`` identifica il :ref:`XRHandTracker` per la mano sinistra del giocatore -- ``"/user/hand_tracker/right"`` identifies the :ref:`XRHandTracker` for the player's right hand +- ``"/user/hand_tracker/right"`` identifica il :ref:`XRHandTracker` per la mano destra del giocatore -- ``"/user/body_tracker"`` identifies the :ref:`XRBodyTracker` for the player's body +- ``"/user/body_tracker"`` identifica il :ref:`XRBodyTracker` per il corpo del giocatore -- ``"/user/face_tracker"`` identifies the :ref:`XRFaceTracker` for the player's face +- ``"/user/face_tracker"`` identifica il :ref:`XRFaceTracker` per il viso del giocatore .. rst-class:: classref-item-separator diff --git a/classes/it/class_zippacker.rst b/classes/it/class_zippacker.rst index 133db9c965..6f9fdcb10f 100644 --- a/classes/it/class_zippacker.rst +++ b/classes/it/class_zippacker.rst @@ -118,7 +118,7 @@ enum **CompressionLevel**: :ref:`🔗` :ref:`CompressionLevel` **COMPRESSION_DEFAULT** = ``-1`` -Start a file with the default Deflate compression level (``6``). This is a good compromise between speed and file size. +Comincia un file con il livello di compressione predefinito Deflate (``6``). Questo è un buon compromesso tra velocità e dimensioni del file. .. _class_ZIPPacker_constant_COMPRESSION_NONE: @@ -126,7 +126,7 @@ Start a file with the default Deflate compression level (``6``). This is a good :ref:`CompressionLevel` **COMPRESSION_NONE** = ``0`` -Start a file with no compression. This is also known as the "Store" compression mode and is the fastest method of packing files inside a ZIP archive. Consider using this mode for files that are already compressed (such as JPEG, PNG, MP3, or Ogg Vorbis files). +Comincia un file senza compressione. Questa è anche nota come modalità di compressione "Archivia" ed è il metodo più veloce per comprimere i file in un archivio ZIP. Si consiglia di utilizzare questa modalità per i file già compressi (come JPEG, PNG, MP3 o Ogg Vorbis). .. _class_ZIPPacker_constant_COMPRESSION_FAST: @@ -134,7 +134,7 @@ Start a file with no compression. This is also known as the "Store" compression :ref:`CompressionLevel` **COMPRESSION_FAST** = ``1`` -Start a file with the fastest Deflate compression level (``1``). This is fast to compress, but results in larger file sizes than :ref:`COMPRESSION_DEFAULT`. Decompression speed is generally unaffected by the chosen compression level. +Comincia un file con il livello di compressione Deflate più veloce (``1``). Questo è veloce da comprimere, ma produce file di dimensioni maggiori rispetto a :ref:`COMPRESSION_DEFAULT`. La velocità di decompressione non è generalmente influenzata dal livello di compressione scelto. .. _class_ZIPPacker_constant_COMPRESSION_BEST: @@ -142,7 +142,7 @@ Start a file with the fastest Deflate compression level (``1``). This is fast to :ref:`CompressionLevel` **COMPRESSION_BEST** = ``9`` -Start a file with the best Deflate compression level (``9``). This is slow to compress, but results in smaller file sizes than :ref:`COMPRESSION_DEFAULT`. Decompression speed is generally unaffected by the chosen compression level. +Comincia un file con il miglior livello di compressione Deflate (``9``). Questo è lento da comprimere, ma produce file di dimensioni più piccole di :ref:`COMPRESSION_DEFAULT`. La velocità di decompressione non è generalmente influenzata dal livello di compressione scelto. .. rst-class:: classref-section-separator @@ -164,7 +164,7 @@ Descrizioni delle proprietà - |void| **set_compression_level**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_compression_level**\ (\ ) -The compression level used when :ref:`start_file()` is called. Use :ref:`CompressionLevel` as a reference. +Il livello di compressione utilizzato quando viene chiamato :ref:`start_file()`. Utilizza :ref:`CompressionLevel` come riferimento. .. rst-class:: classref-section-separator diff --git a/classes/it/index.rst b/classes/it/index.rst index b6ebd06607..f3b7760ff0 100644 --- a/classes/it/index.rst +++ b/classes/it/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: Tutte le classi diff --git a/classes/ru/class_area2d.rst b/classes/ru/class_area2d.rst index e22e198745..83f3fd9a55 100644 --- a/classes/ru/class_area2d.rst +++ b/classes/ru/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/ru/class_area3d.rst b/classes/ru/class_area3d.rst index e275359d46..be594cc7b7 100644 --- a/classes/ru/class_area3d.rst +++ b/classes/ru/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/ru/class_array.rst b/classes/ru/class_array.rst index 6911cefcf3..89c2cc413d 100644 --- a/classes/ru/class_array.rst +++ b/classes/ru/class_array.rst @@ -12,7 +12,7 @@ Array Описание ---------------- -Структура данных массива, которая может содержать последовательность элементов любого типа :ref:`Variant`. Доступ к элементам осуществляется по числовому индексу, начиная с ``0``. Отрицательные индексы используются для отсчета с конца (``-1`` — последний элемент, ``-2`` — предпоследний и т. д.). +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). .. tabs:: @@ -28,6 +28,10 @@ Array print(array[1]) # Prints "Second" print(array[-3]) # Prints "Second" + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] + .. code-tab:: csharp Godot.Collections.Array array = ["First", 2, 3, "Last"]; @@ -39,13 +43,17 @@ Array GD.Print(array[1]); // Prints "Second" GD.Print(array[^3]); // Prints "Second" + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; -\ **Примечание:** Массивы всегда передаются по **ссылке**. Чтобы получить копию массива, которую можно изменять независимо от исходного массива, используйте :ref:`duplicate()`. -\ **Примечание:** Стирание элементов при итерации по массивам **не** поддерживается и приведет к непредсказуемому поведению. +\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. -\ **Различия между упакованными массивами, типизированными массивами и нетипизированными массивами:** Упакованные массивы, как правило, быстрее итерируются и изменяются по сравнению с типизированным массивом того же типа (например, :ref:`PackedInt64Array` по сравнению с ``Array[int]``). Кроме того, упакованные массивы потребляют меньше памяти. Недостатком упакованных массивов является то, что они менее гибкие, поскольку не предлагают столько удобных методов, как :ref:`map()`. Типизированные массивы, в свою очередь, быстрее итерируются и изменяются, чем нетипизированные массивы. +\ **Note:** Erasing elements while iterating over arrays is **not** supported and will result in unpredictable behavior. + +\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. :ref:`PackedInt64Array` versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. .. note:: diff --git a/classes/ru/class_audiolistener2d.rst b/classes/ru/class_audiolistener2d.rst index 5d7eb8ff6f..48af8cc867 100644 --- a/classes/ru/class_audiolistener2d.rst +++ b/classes/ru/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/ru/class_audiolistener3d.rst b/classes/ru/class_audiolistener3d.rst index 73b21a4030..4214fcf635 100644 --- a/classes/ru/class_audiolistener3d.rst +++ b/classes/ru/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/ru/class_audiostreamplayer.rst b/classes/ru/class_audiostreamplayer.rst index 54abea1ed9..118e0d89d4 100644 --- a/classes/ru/class_audiostreamplayer.rst +++ b/classes/ru/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/ru/class_audiostreamplayer2d.rst b/classes/ru/class_audiostreamplayer2d.rst index ac48f96d46..1179fefa28 100644 --- a/classes/ru/class_audiostreamplayer2d.rst +++ b/classes/ru/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/ru/class_audiostreamplayer3d.rst b/classes/ru/class_audiostreamplayer3d.rst index d50f68dfce..7b2cfbdf42 100644 --- a/classes/ru/class_audiostreamplayer3d.rst +++ b/classes/ru/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/ru/class_basis.rst b/classes/ru/class_basis.rst index 7b8f47e6b1..40737932b8 100644 --- a/classes/ru/class_basis.rst +++ b/classes/ru/class_basis.rst @@ -366,13 +366,13 @@ Basis :ref:`float` **determinant**\ (\ ) |const| :ref:`🔗` -Возвращает `определитель `__ матрицы этого базиса. Для продвинутой математики это число может использоваться для определения нескольких атрибутов: +Returns the `determinant `__ of this basis's matrix. For advanced math, this number can be used to determine a few attributes: -- Если определитель равен точно ``0.0``, базис необратим (см. :ref:`inverse()`). +- If the determinant is exactly ``0.0``, the basis is not invertible (see :ref:`inverse()`). -- Если определитель — отрицательное число, базис представляет собой отрицательный масштаб. +- If the determinant is a negative number, the basis represents a negative scale. -\ **Примечание:** Если масштаб базиса одинаков для каждой оси, его определитель всегда равен этому масштабу в степени 2. +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator diff --git a/classes/ru/class_boneattachment3d.rst b/classes/ru/class_boneattachment3d.rst index da3e53a166..4cbf1a2ed7 100644 --- a/classes/ru/class_boneattachment3d.rst +++ b/classes/ru/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/ru/class_buttongroup.rst b/classes/ru/class_buttongroup.rst index ced4e81fd5..fafee9e907 100644 --- a/classes/ru/class_buttongroup.rst +++ b/classes/ru/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/ru/class_canvasmodulate.rst b/classes/ru/class_canvasmodulate.rst index 8536d70ab5..7479b64bcf 100644 --- a/classes/ru/class_canvasmodulate.rst +++ b/classes/ru/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/ru/class_characterbody2d.rst b/classes/ru/class_characterbody2d.rst index 36569d217c..db0748f4b5 100644 --- a/classes/ru/class_characterbody2d.rst +++ b/classes/ru/class_characterbody2d.rst @@ -439,7 +439,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -Текущий вектор скорости в пикселях в секунду, используемый и изменяемый во время вызовов :ref:`move_and_slide()`. +Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -702,15 +704,17 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Перемещает тело на основе :ref:`velocity`. Если тело сталкивается с другим, оно будет скользить вдоль другого тела (по умолчанию только по полу), а не останавливаться немедленно. Если другое тело — **CharacterBody2D** или :ref:`RigidBody2D`, оно также будет затронуто движением другого тела. Вы можете использовать это, чтобы создавать движущиеся и вращающиеся платформы или заставлять узлы толкать другие узлы. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Изменяет :ref:`velocity`, если произошло столкновение слайда. Чтобы получить последнее столкновение, вызовите :ref:`get_last_slide_collision()`, для получения подробной информации о произошедших столкновениях используйте :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Когда тело касается движущейся платформы, скорость платформы автоматически добавляется к движению тела. Если столкновение происходит из-за движения платформы, оно всегда будет первым в столкновениях скольжения. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Общее поведение и доступные свойства изменяются в соответствии с :ref:`motion_mode`. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. -Возвращает ``true``, если тело столкнулось, в противном случае возвращает ``false``. +The general behavior and available properties change according to the :ref:`motion_mode`. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Этот метод обычно должен быть переопределен пользователем, чтобы иметь какой-либо эффект.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/ru/class_characterbody3d.rst b/classes/ru/class_characterbody3d.rst index d9f0ab5be1..ac7f1b2889 100644 --- a/classes/ru/class_characterbody3d.rst +++ b/classes/ru/class_characterbody3d.rst @@ -443,7 +443,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -Текущий вектор скорости (обычно метры в секунду), используемый и изменяемый во время вызовов :ref:`move_and_slide()`. +Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -697,13 +699,15 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Перемещает тело на основе :ref:`velocity`. Если тело сталкивается с другим, оно будет скользить вдоль другого тела, а не останавливаться немедленно. Если другое тело является **CharacterBody3D** или :ref:`RigidBody3D`, оно также будет затронуто движением другого тела. Вы можете использовать это, чтобы заставить движущиеся и вращающиеся платформы или заставить узлы толкать другие узлы. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Изменяет :ref:`velocity`, если произошло столкновение скольжения. Чтобы получить последнее столкновение, вызовите :ref:`get_last_slide_collision()`, для получения более подробной информации о произошедших столкновениях используйте :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Когда тело касается движущейся платформы, скорость платформы автоматически добавляется к движению тела. Если столкновение происходит из-за движения платформы, оно всегда будет первым в столкновениях скольжения. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Возвращает ``true``, если тело столкнулось, в противном случае возвращает ``false``. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Этот метод обычно должен быть переопределен пользователем, чтобы иметь какой-либо эффект.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/ru/class_checkbutton.rst b/classes/ru/class_checkbutton.rst index fbc30e153a..80bad51b38 100644 --- a/classes/ru/class_checkbutton.rst +++ b/classes/ru/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/ru/class_decal.rst b/classes/ru/class_decal.rst index b882073777..f5ed7c7e7c 100644 --- a/classes/ru/class_decal.rst +++ b/classes/ru/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/ru/class_dictionary.rst b/classes/ru/class_dictionary.rst index da36d168f2..72a98ef8af 100644 --- a/classes/ru/class_dictionary.rst +++ b/classes/ru/class_dictionary.rst @@ -12,39 +12,39 @@ Dictionary Описание ---------------- -Dictionaries — это ассоциативные контейнеры, содержащие значения, на которые ссылаются уникальные ключи. Словари сохраняют порядок добавления новых записей. В других языках программирования эта структура данных часто называется хэш-картой или ассоциативным массивом. +Dictionaries are associative containers that contain values referenced by unique keys. Dictionaries will preserve the insertion order when adding new entries. In other programming languages, this data structure is often referred to as a hash map or an associative array. -Вы можете определить словарь, поместив список пар ``ключ: значение``, разделённых запятыми, в фигурные скобки ``{}``. +You can define a dictionary by placing a comma-separated list of ``key: value`` pairs inside curly braces ``{}``. -Создание словаря: +Creating a dictionary: .. tabs:: .. code-tab:: gdscript - var my_dict = {} # Создает пустой словарь. + var my_dict = {} # Creates an empty dictionary. - var dict_variable_key = "Еще одно ключевое имя" - var dict_variable_value = "значение2" + var dict_variable_key = "Another key name" + var dict_variable_value = "value2" var another_dict = { - "Какое-то ключевое имя": "значение1", + "Some key name": "value1", dict_variable_key: dict_variable_value, } var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - # Альтернативный синтаксис в стиле Lua. - # Не требует заключения ключей в кавычки, но в качестве имен ключей можно использовать только строковые константы. - # Кроме того, имена ключей должны начинаться с буквы или символа подчеркивания. - # Здесь `some_key` — это строковый литерал, а не переменная! + # Alternative Lua-style syntax. + # Doesn't require quotes around keys, but only string constants can be used as key names. + # Additionally, key names must start with a letter or an underscore. + # Here, `some_key` is a string literal, not a variable! another_dict = { some_key = 42, } .. code-tab:: csharp - var myDict = new Godot.Collections.Dictionary(); // Создает пустой словарь. + var myDict = new Godot.Collections.Dictionary(); // Creates an empty dictionary. var pointsDict = new Godot.Collections.Dictionary { { "White", 50 }, @@ -54,7 +54,7 @@ Dictionaries — это ассоциативные контейнеры, сод -Вы можете получить доступ к значению словаря, указав соответствующий ключ. В примере выше ``points_dict["White"]`` вернёт ``50``. Вы также можете написать ``points_dict.White``, что эквивалентно. Однако вам придётся использовать скобки, если ключ, по которому вы обращаетесь к словарю, не является фиксированной строкой (например, числом или переменной). +You can access a dictionary's value by referencing its corresponding key. In the above example, ``points_dict["White"]`` will return ``50``. You can also write ``points_dict.White``, which is equivalent. However, you'll have to use the bracket syntax if the key you're accessing the dictionary with isn't a fixed string (such as a number or variable). .. tabs:: @@ -64,7 +64,7 @@ Dictionaries — это ассоциативные контейнеры, сод @export_enum("White", "Yellow", "Orange") var my_color: String var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } func _ready(): - # Здесь мы не можем использовать точечный синтаксис, поскольку `my_color` — это переменная. + # We can't use dot syntax here as `my_color` is a variable. var points = points_dict[my_color] .. code-tab:: csharp @@ -85,9 +85,9 @@ Dictionaries — это ассоциативные контейнеры, сод -В приведённом выше коде ``points`` будет присвоено значение, соответствующее цвету, выбранному в ``my_color``. +In the above code, ``points`` will be assigned the value that is paired with the appropriate color selected in ``my_color``. -Словари могут содержать более сложные данные: +Dictionaries can contain more complex data: .. tabs:: @@ -95,7 +95,7 @@ Dictionaries — это ассоциативные контейнеры, сод .. code-tab:: gdscript var my_dict = { - "First Array": [1, 2, 3, 4] # Назначает массив строковому ключу. + "First Array": [1, 2, 3, 4] # Assigns an Array to a String key. } .. code-tab:: csharp @@ -107,7 +107,7 @@ Dictionaries — это ассоциативные контейнеры, сод -Чтобы добавить ключ в существующий словарь, получите к нему доступ как к существующему ключу и назначьте ему: +To add a key to an existing dictionary, access it like an existing key and assign to it: .. tabs:: @@ -115,7 +115,7 @@ Dictionaries — это ассоциативные контейнеры, сод .. code-tab:: gdscript var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - points_dict["Blue"] = 150 # Добавьте "Blue" в качестве ключа и присвойте ему значение 150. + points_dict["Blue"] = 150 # Add "Blue" as a key and assign 150 as its value. .. code-tab:: csharp @@ -125,20 +125,20 @@ Dictionaries — это ассоциативные контейнеры, сод { "Yellow", 75 }, { "Orange", 100 }, }; - pointsDict["Blue"] = 150; // Добавьте "Blue" в качестве ключа и присвойте ему значение 150. + pointsDict["Blue"] = 150; // Add "Blue" as a key and assign 150 as its value. -Наконец, словари могут содержать различные типы ключей и значений в одном и том же словаре: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: .. code-tab:: gdscript - # Это действительный словарь. - # Чтобы получить доступ к строке "Nested value" ниже, используйте `my_dict.sub_dict.sub_key` или `my_dict["sub_dict"]["sub_key"]`. - # Стили индексации можно комбинировать и подбирать в зависимости от ваших потребностей. + # This is a valid dictionary. + # To access the string "Nested value" below, use `my_dict.sub_dict.sub_key` or `my_dict["sub_dict"]["sub_key"]`. + # Indexing styles can be mixed and matched depending on your needs. var my_dict = { "String Key": 5, 4: [1, 2, 3], @@ -148,8 +148,8 @@ Dictionaries — это ассоциативные контейнеры, сод .. code-tab:: csharp - // Это действительный словарь. - // Чтобы получить доступ к строке "Nested value" ниже, используйте `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`. + // This is a valid dictionary. + // To access the string "Nested value" below, use `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`. var myDict = new Godot.Collections.Dictionary { { "String Key", 5 }, { 4, new Godot.Collections.Array { 1, 2, 3 } }, @@ -159,7 +159,7 @@ Dictionaries — это ассоциативные контейнеры, сод -Ключи словаря можно перебирать с помощью ключевого слова ``for``: +The keys of a dictionary can be iterated with the ``for`` keyword: .. tabs:: @@ -175,14 +175,53 @@ Dictionaries — это ассоциативные контейнеры, сод var groceries = new Godot.Collections.Dictionary { { "Orange", 20 }, { "Apple", 2 }, { "Banana", 4 } }; foreach (var (fruit, amount) in groceries) { - // `fruit` — ключ, `amount` — значение. + // `fruit` is the key, `amount` is the value. } -\ **Примечание:** Словари всегда передаются по ссылке. Чтобы получить копию словаря, которую можно изменять независимо от исходного, используйте :ref:`duplicate()`. +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: -\ **Примечание:** Удаление элементов при итерации по словарям **не** поддерживается и приведёт к непредсказуемому поведению. + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + +\ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. + +\ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. .. note:: diff --git a/classes/ru/class_diraccess.rst b/classes/ru/class_diraccess.rst index d86f7365e2..6e7a378771 100644 --- a/classes/ru/class_diraccess.rst +++ b/classes/ru/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/ru/class_directionallight2d.rst b/classes/ru/class_directionallight2d.rst index 7cf41483ea..9f6cb6100b 100644 --- a/classes/ru/class_directionallight2d.rst +++ b/classes/ru/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/ru/class_directionallight3d.rst b/classes/ru/class_directionallight3d.rst index 9861ac8606..a254c16263 100644 --- a/classes/ru/class_directionallight3d.rst +++ b/classes/ru/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/ru/class_foldablecontainer.rst b/classes/ru/class_foldablecontainer.rst index fc6958be6b..6b392ca6f4 100644 --- a/classes/ru/class_foldablecontainer.rst +++ b/classes/ru/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/ru/class_foldablegroup.rst b/classes/ru/class_foldablegroup.rst index 72ea7c0e92..8271918eeb 100644 --- a/classes/ru/class_foldablegroup.rst +++ b/classes/ru/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: diff --git a/classes/ru/class_gridmap.rst b/classes/ru/class_gridmap.rst index dffc22881d..d5cc20cf72 100644 --- a/classes/ru/class_gridmap.rst +++ b/classes/ru/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/ru/class_gridmapeditorplugin.rst b/classes/ru/class_gridmapeditorplugin.rst index 521e43df83..44f262856d 100644 --- a/classes/ru/class_gridmapeditorplugin.rst +++ b/classes/ru/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/ru/class_inputeventjoypadbutton.rst b/classes/ru/class_inputeventjoypadbutton.rst index 98935a1f97..0a5a299be8 100644 --- a/classes/ru/class_inputeventjoypadbutton.rst +++ b/classes/ru/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/ru/class_inputeventjoypadmotion.rst b/classes/ru/class_inputeventjoypadmotion.rst index 0d42866311..941fdf3e15 100644 --- a/classes/ru/class_inputeventjoypadmotion.rst +++ b/classes/ru/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/ru/class_inputeventmousebutton.rst b/classes/ru/class_inputeventmousebutton.rst index ddd85a5c46..1558872d02 100644 --- a/classes/ru/class_inputeventmousebutton.rst +++ b/classes/ru/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/ru/class_ip.rst b/classes/ru/class_ip.rst index 86308d9275..ad8b7ed656 100644 --- a/classes/ru/class_ip.rst +++ b/classes/ru/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/ru/class_label.rst b/classes/ru/class_label.rst index 6b7a3882b8..fa47b22c3f 100644 --- a/classes/ru/class_label.rst +++ b/classes/ru/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: diff --git a/classes/ru/class_label3d.rst b/classes/ru/class_label3d.rst index a48e16b3c2..9fd5fed1e0 100644 --- a/classes/ru/class_label3d.rst +++ b/classes/ru/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: diff --git a/classes/ru/class_light3d.rst b/classes/ru/class_light3d.rst index 1031363b9a..87912013d0 100644 --- a/classes/ru/class_light3d.rst +++ b/classes/ru/class_light3d.rst @@ -508,7 +508,9 @@ enum **BakeMode**: :ref:`🔗` - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -Свет будет влиять на объекты в выбранных слоях. +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator diff --git a/classes/ru/class_lineedit.rst b/classes/ru/class_lineedit.rst index c8defa2901..c8c0fc82f5 100644 --- a/classes/ru/class_lineedit.rst +++ b/classes/ru/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: diff --git a/classes/ru/class_margincontainer.rst b/classes/ru/class_margincontainer.rst index b450f07d7c..32ba0cdebc 100644 --- a/classes/ru/class_margincontainer.rst +++ b/classes/ru/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/ru/class_menubutton.rst b/classes/ru/class_menubutton.rst index 3e3a3c0e74..5f24619be4 100644 --- a/classes/ru/class_menubutton.rst +++ b/classes/ru/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/ru/class_multimesh.rst b/classes/ru/class_multimesh.rst index 608151aaf7..c64fb23ae0 100644 --- a/classes/ru/class_multimesh.rst +++ b/classes/ru/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: diff --git a/classes/ru/class_multimeshinstance2d.rst b/classes/ru/class_multimeshinstance2d.rst index c3a47682c6..d016b0f74e 100644 --- a/classes/ru/class_multimeshinstance2d.rst +++ b/classes/ru/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/ru/class_multimeshinstance3d.rst b/classes/ru/class_multimeshinstance3d.rst index d564a7e067..2def535e19 100644 --- a/classes/ru/class_multimeshinstance3d.rst +++ b/classes/ru/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/ru/class_multiplayerapi.rst b/classes/ru/class_multiplayerapi.rst index c10a97a98f..046c912ca9 100644 --- a/classes/ru/class_multiplayerapi.rst +++ b/classes/ru/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/ru/class_multiplayerapiextension.rst b/classes/ru/class_multiplayerapiextension.rst index b1a0bf1eb8..84fa856d46 100644 --- a/classes/ru/class_multiplayerapiextension.rst +++ b/classes/ru/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/ru/class_multiplayerpeer.rst b/classes/ru/class_multiplayerpeer.rst index 0ae8bb6c92..199a1cc760 100644 --- a/classes/ru/class_multiplayerpeer.rst +++ b/classes/ru/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: diff --git a/classes/ru/class_multiplayerpeerextension.rst b/classes/ru/class_multiplayerpeerextension.rst index ba0ffd83cc..a01da872bd 100644 --- a/classes/ru/class_multiplayerpeerextension.rst +++ b/classes/ru/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/ru/class_multiplayerspawner.rst b/classes/ru/class_multiplayerspawner.rst index 2ad958fd33..e50a65139d 100644 --- a/classes/ru/class_multiplayerspawner.rst +++ b/classes/ru/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/ru/class_multiplayersynchronizer.rst b/classes/ru/class_multiplayersynchronizer.rst index 1a27802649..5a54d3d76c 100644 --- a/classes/ru/class_multiplayersynchronizer.rst +++ b/classes/ru/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/ru/class_node3d.rst b/classes/ru/class_node3d.rst index c6cf945d9a..562e01a96d 100644 --- a/classes/ru/class_node3d.rst +++ b/classes/ru/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/ru/class_omnilight3d.rst b/classes/ru/class_omnilight3d.rst index eb5136d42c..f55dd19e4c 100644 --- a/classes/ru/class_omnilight3d.rst +++ b/classes/ru/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/ru/class_optionbutton.rst b/classes/ru/class_optionbutton.rst index 37de291da3..6cdc0ba84a 100644 --- a/classes/ru/class_optionbutton.rst +++ b/classes/ru/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/ru/class_physicalbone2d.rst b/classes/ru/class_physicalbone2d.rst index 0c06fd6e34..89aa436a67 100644 --- a/classes/ru/class_physicalbone2d.rst +++ b/classes/ru/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/ru/class_physicalbone3d.rst b/classes/ru/class_physicalbone3d.rst index 8b8264e173..57a36360bc 100644 --- a/classes/ru/class_physicalbone3d.rst +++ b/classes/ru/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/ru/class_pointlight2d.rst b/classes/ru/class_pointlight2d.rst index d9260d1900..c83965aa70 100644 --- a/classes/ru/class_pointlight2d.rst +++ b/classes/ru/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/ru/class_reflectionprobe.rst b/classes/ru/class_reflectionprobe.rst index a39e5e49a8..740295aff1 100644 --- a/classes/ru/class_reflectionprobe.rst +++ b/classes/ru/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/ru/class_spinbox.rst b/classes/ru/class_spinbox.rst index a96f052ab0..5e24e15f70 100644 --- a/classes/ru/class_spinbox.rst +++ b/classes/ru/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/ru/class_statusindicator.rst b/classes/ru/class_statusindicator.rst index 5ba0b312c5..6eafa7ed97 100644 --- a/classes/ru/class_statusindicator.rst +++ b/classes/ru/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: diff --git a/classes/ru/class_textedit.rst b/classes/ru/class_textedit.rst index 91b21c237e..ba30e865f7 100644 --- a/classes/ru/class_textedit.rst +++ b/classes/ru/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: diff --git a/classes/ru/class_tilemap.rst b/classes/ru/class_tilemap.rst index 060cb92ad0..b17659086d 100644 --- a/classes/ru/class_tilemap.rst +++ b/classes/ru/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: diff --git a/classes/ru/class_tween.rst b/classes/ru/class_tween.rst index b380910daa..d203744944 100644 --- a/classes/ru/class_tween.rst +++ b/classes/ru/class_tween.rst @@ -14,7 +14,7 @@ Tween Описание ---------------- -Подростки в основном полезны для анимаций, требующих интерполяции числового свойства по диапазону значений. Название *tween* происходит от *in-betweening*, техники анимации, при которой вы указываете *ключевые кадры*, а компьютер интерполирует кадры, которые появляются между ними. Анимация чего-либо с помощью **Tween** называется созданием промежуточных кадров. +Tween, в основном, полезны для анимаций, требующих интерполяции числового свойства по диапазону значений. Название *tween* происходит от *in-betweening*, техники анимации, при которой вы указываете *ключевые кадры*, а компьютер интерполирует кадры, которые появляются между ними. Анимация чего-либо с помощью **Tween** называется созданием промежуточных кадров. \ **Tween** больше подходит, чем :ref:`AnimationPlayer`, для анимаций, где заранее неизвестны конечные значения. Например, интерполяцию динамически выбранного значения масштабирования камеры лучше всего осуществлять с помощью **Tween**; сделать то же самое с помощью узла :ref:`AnimationPlayer` будет сложно. Анимированные анимации также более легковесны, чем :ref:`AnimationPlayer`, поэтому они отлично подходят для простых анимаций или общих задач, не требующих визуальной настройки, предоставляемой редактором. Их можно использовать по принципу «запустил и забыл» для некоторой логики, которая обычно выполняется с помощью кода. Например, можно заставить что-то периодически стрелять, используя циклический :ref:`CallbackTweener` с задержкой. @@ -217,7 +217,7 @@ Tween **finished**\ (\ ) :ref:`🔗` -Вызывается, когда **Tween** завершил все промежуточные кадры. Никогда не вызывается, когда **Tween** установлен на бесконечный цикл (см. :ref:`set_loops()`). +Срабатывает, когда **Tween** завершил все промежуточные кадры. Никогда не срабатывает, когда **Tween** установлен на бесконечный цикл (см. :ref:`set_loops()`). .. rst-class:: classref-item-separator @@ -229,7 +229,7 @@ Tween **loop_finished**\ (\ loop_count\: :ref:`int`\ ) :ref:`🔗` -Выдается при завершении полного цикла (см. :ref:`set_loops()`), предоставляя индекс цикла. Этот сигнал не выдается после последнего цикла, вместо этого используйте :ref:`finished` для этого случая. +Срабатывает при завершении полного цикла (см. :ref:`set_loops()`), предоставляя индекс цикла. Этот сигнал не срабатывает после последнего цикла, вместо этого используйте :ref:`finished` для этого случая. .. rst-class:: classref-item-separator @@ -241,7 +241,7 @@ Tween **step_finished**\ (\ idx\: :ref:`int`\ ) :ref:`🔗` -Выдается, когда один шаг **Tween** завершен, предоставляя индекс шага. Один шаг — это либо один :ref:`Tweener`, либо группа :ref:`Tweener`, работающих параллельно. +Срабатывает, когда один шаг **Tween** завершен, предоставляя индекс шага. Один шаг — это либо один :ref:`Tweener`, либо группа :ref:`Tweener`, работающих параллельно. .. rst-class:: classref-section-separator @@ -1065,13 +1065,13 @@ enum **EaseType**: :ref:`🔗` subtween.tween_property(self, "rotation_degrees", 45.0, 1.0) subtween.tween_property(self, "rotation_degrees", 0.0, 1.0) - # Родительский твин выполнит субтвин как один из своих шагов. + # Родительский tween выполнит subtween как один из своих шагов. var tween = create_tween() tween.tween_property(self, "position:x", 500, 3.0) tween.tween_subtween(subtween) tween.tween_property(self, "position:x", 300, 2.0) -\ **Примечание:** Методы :ref:`pause()`, :ref:`stop()` и :ref:`set_loops()` могут привести к тому, что родительский **Tween** застрянет на шаге субтвина; для получения дополнительной информации см. документацию по этим методам. +\ **Примечание:** Методы :ref:`pause()`, :ref:`stop()` и :ref:`set_loops()` могут привести к тому, что родительский **Tween** застрянет на шаге subtween; для получения дополнительной информации см. документацию по этим методам. \ **Примечание:** Режимы паузы и обработки, установленные :ref:`set_pause_mode()` и :ref:`set_process_mode()` в ``subtween``, будут переопределены настройками родительского **Tween**. diff --git a/classes/ru/class_worldenvironment.rst b/classes/ru/class_worldenvironment.rst index eee2569028..e1a38be797 100644 --- a/classes/ru/class_worldenvironment.rst +++ b/classes/ru/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: diff --git a/classes/ru/index.rst b/classes/ru/index.rst index 54a1c526cf..7233918900 100644 --- a/classes/ru/index.rst +++ b/classes/ru/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: Все классы diff --git a/classes/uk/class_@gdscript.rst b/classes/uk/class_@gdscript.rst index b2a31a9adf..87e6c0aa47 100644 --- a/classes/uk/class_@gdscript.rst +++ b/classes/uk/class_@gdscript.rst @@ -827,7 +827,7 @@ @icon("res://path/to/class/icon.svg") -\ **Примітка:** Лише сценарій може мати спеціальний значок. Внутрішні класи не підтримуються. +\ **Примітка:** Лише скрипти може мати спеціальний значок. Внутрішні класи не підтримуються. \ **Примітка:** Оскільки анотації описують предмет, анотація :ref:`@icon` має бути розміщена перед визначенням класу та успадкуванням. @@ -894,7 +894,7 @@ **@static_unload**\ (\ ) :ref:`🔗` -Створіть сценарій зі статичними змінними, щоб не зберігатися після втрати всіх посилань. Якщо сценарій буде завантажено знову, статичні змінні повернуться до своїх значень за замовчуванням. +Створіть скрипт зі статичними змінними, щоб не зберігатися після втрати всіх посилань. Якщо скрипт буде завантажено знову, статичні змінні повернуться до своїх значень за замовчуванням. \ **Примітка:** Оскільки анотації описують свою тему, анотація :ref:`@static_unload` має бути розміщена перед визначенням класу та успадкуванням. @@ -1222,7 +1222,7 @@ Повертає :ref:`Resource` із файлової системи, розташованої за абсолютним ``path``. Якщо на нього ще нема посилань в іншому місці (наприклад, в іншому сценарії або в сцені), ресурс завантажується з диска під час виклику функції, що може спричинити невелику затримку, особливо під час завантаження великих сцен. Щоб уникнути непотрібних затримок під час багаторазового завантаження чогось, або збережіть ресурс у змінній, або використовуйте :ref:`preload()`. Цей метод еквівалентний використанню :ref:`ResourceLoader.load()` із :ref:`ResourceLoader.CACHE_MODE_REUSE`. -\ **Примітка.** Шляхи до ресурсів можна отримати, клацнувши правою кнопкою миші на ресурсі в док-станції FileSystem і вибравши «Копіювати шлях», або перетягнувши файл із док-станції FileSystem у поточний сценарій. +\ **Примітка.** Шляхи до ресурсів можна отримати, клацнувши правою кнопкою миші на ресурсі в док-станції FileSystem і вибравши «Копіювати шлях», або перетягнувши файл із док-станції FileSystem у поточний скрипт. :: @@ -1266,9 +1266,9 @@ :ref:`Resource` **preload**\ (\ path\: :ref:`String`\ ) :ref:`🔗` -Повертає :ref:`Resource` із файлової системи, розташованої за ``path``. Під час виконання ресурс завантажується під час аналізу сценарію. Ця функція діє як посилання на цей ресурс. Зауважте, що ця функція вимагає, щоб ``path`` був константою :ref:`String`. Якщо ви хочете завантажити ресурс із динамічного/змінного шляху, використовуйте :ref:`load()`. +Повертає :ref:`Resource` із файлової системи, розташованої за ``path``. Під час виконання ресурс завантажується під час аналізу скрипту. Ця функція діє як посилання на цей ресурс. Зауважте, що ця функція вимагає, щоб ``path`` був константою :ref:`String`. Якщо ви хочете завантажити ресурс із динамічного/змінного шляху, використовуйте :ref:`load()`. -\ **Примітка.** Шляхи до ресурсів можна отримати, клацнувши правою кнопкою миші на ресурсі на панелі ресурсів і вибравши «Копіювати шлях» або перетягнувши файл із док-станції FileSystem у поточний сценарій. +\ **Примітка.** Шляхи до ресурсів можна отримати, клацнувши правою кнопкою миші на ресурсі на панелі ресурсів і вибравши «Копіювати шлях» або перетягнувши файл із док-станції FileSystem у поточний скрипт. :: diff --git a/classes/uk/class_area2d.rst b/classes/uk/class_area2d.rst index 98f45fea2b..e25abcbb82 100644 --- a/classes/uk/class_area2d.rst +++ b/classes/uk/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/uk/class_area3d.rst b/classes/uk/class_area3d.rst index 1a3ab7ca47..a415ee592d 100644 --- a/classes/uk/class_area3d.rst +++ b/classes/uk/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/uk/class_array.rst b/classes/uk/class_array.rst index 9f306df52a..f20d9bc343 100644 --- a/classes/uk/class_array.rst +++ b/classes/uk/class_array.rst @@ -12,40 +12,48 @@ Array Опис -------- -Структура даних масиву, яка може містити послідовність елементів будь-якого типу :ref:`Variant`. Доступ до елементів здійснюється за числовим індексом, що починається з ``0``. Від’ємні індекси використовуються для підрахунку ззаду (``-1`` — останній елемент, ``-2`` — передостанній тощо). +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). -.. tabs:: +.. tabs:: .. code-tab:: gdscript - - var array = ["Перший", 2, 3, "Останній"] - print(array[0]) # Виводить "Перший" - print(array[2]) # Виводить 3 - print(array[-1]) # Виводить "Останній" - array[1] = "Другий" - print(array[1]) # Виводить "Другий" - print(array[-3]) # Виводить "Другий" + var array = ["First", 2, 3, "Last"] + print(array[0]) # Prints "First" + print(array[2]) # Prints 3 + print(array[-1]) # Prints "Last" + + array[1] = "Second" + print(array[1]) # Prints "Second" + print(array[-3]) # Prints "Second" + + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] .. code-tab:: csharp - - Godot.Collections.Array array = ["Перший", 2, 3, "Останній"]; - GD.Print(array[0]); // Виводить "Перший" - GD.Print(array[2]); // Виводить 3 - GD.Print(array[^1]); // Виводить "Останній" - array[1] = "Другий"; - GD.Print(array[1]); // Виводить "Другий" - GD.Print(array[^3]); // Виводить "Другий" + Godot.Collections.Array array = ["First", 2, 3, "Last"]; + GD.Print(array[0]); // Prints "First" + GD.Print(array[2]); // Prints 3 + GD.Print(array[^1]); // Prints "Last" - + array[1] = "Second"; + GD.Print(array[1]); // Prints "Second" + GD.Print(array[^3]); // Prints "Second" -\ **Примітка:** Масиви завжди передаються за **посиланням**. Щоб отримати копію масиву, яку можна змінювати незалежно від вихідного масиву, використовуйте :ref:`duplicate()`. + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; -\ **Примітка:** Стирання елементів під час проходження по масиву **не** підтримується та призведе до непередбачуваної поведінки. -\ **Відмінності між упакованими масивами, типізованими масивами та нетипізованими масивами:** Упаковані масиви зазвичай швидше обробляються та змінюються порівняно з типізованими масивами того самого типу (наприклад, :ref:`PackedInt64Array` проти ``Array[int]``). Крім того, упаковані масиви споживають менше пам’яті. Недоліком є те, що упаковані масиви є менш гнучкими, оскільки вони не пропонують стільки зручних методів, як-от :ref:`map()`. Типізовані масиви, своєю чергою, швидше перебираються та змінюються, ніж нетипізовані масиви. + +\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. + +\ **Note:** Erasing elements while iterating over arrays is **not** supported and will result in unpredictable behavior. + +\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. :ref:`PackedInt64Array` versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. .. note:: @@ -256,7 +264,7 @@ Array - ``class_name`` — вбудоване ім’я класу (див. :ref:`Object.get_class()`). - - ``script`` пов’язаний сценарій. Це має бути екземпляр :ref:`Script` або ``null``. + - ``script`` пов’язаний скрипти. Це має бути екземпляр :ref:`Script` або ``null``. Якщо ``type`` не є :ref:`@GlobalScope.TYPE_OBJECT`, ``class_name`` має бути порожнім :ref:`StringName`, а ``script`` має мати значення ``null``. diff --git a/classes/uk/class_astar3d.rst b/classes/uk/class_astar3d.rst index cd8dd81c07..824c5bdac0 100644 --- a/classes/uk/class_astar3d.rst +++ b/classes/uk/class_astar3d.rst @@ -18,7 +18,7 @@ A\* (A star) — це комп’ютерний алгоритм, який ви Ви повинні додати точки вручну за допомогою :ref:`add_point()` і створити сегменти вручну за допомогою :ref:`connect_points()`. Після цього ви можете перевірити, чи існує шлях між двома точками за допомогою функції :ref:`are_points_connected()`, отримати шлях, що містить індекси, за допомогою :ref:`get_id_path()` або той, що містить фактичні координати, за допомогою :ref:`get_point_path()`. -Також можна використовувати неевклідові відстані. Для цього створіть сценарій, який розширює **AStar3D** і перевизначте методи :ref:`_compute_cost()` і :ref:`_estimate_cost()`. Обидва мають брати два ідентифікатори точок і повертати відстань між відповідними точками. +Також можна використовувати неевклідові відстані. Для цього створіть скрипт, який розширює **AStar3D** і перевизначте методи :ref:`_compute_cost()` і :ref:`_estimate_cost()`. Обидва мають брати два ідентифікатори точок і повертати відстань між відповідними точками. \ **Приклад:** Використовуйте манхеттенську відстань замість евклідової відстані: diff --git a/classes/uk/class_audiolistener2d.rst b/classes/uk/class_audiolistener2d.rst index 82cda39572..ae8a9e09b0 100644 --- a/classes/uk/class_audiolistener2d.rst +++ b/classes/uk/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/uk/class_audiolistener3d.rst b/classes/uk/class_audiolistener3d.rst index 79c65b13fc..b83eb8905d 100644 --- a/classes/uk/class_audiolistener3d.rst +++ b/classes/uk/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/uk/class_audiostreamgenerator.rst b/classes/uk/class_audiostreamgenerator.rst index f537000592..0b49962191 100644 --- a/classes/uk/class_audiostreamgenerator.rst +++ b/classes/uk/class_audiostreamgenerator.rst @@ -171,7 +171,7 @@ enum **AudioStreamGeneratorMixRate**: :ref:`🔗`\ ) - :ref:`float` **get_buffer_length**\ (\ ) -Довжина буфера для генерації (у секундах). Менші значення призводять до меншої затримки, але вимагають, щоб сценарій генерував аудіодані швидше, що призвело до збільшення використання ЦП і більшого ризику зламу звуку, якщо ЦП не встигає. +Довжина буфера для генерації (у секундах). Менші значення призводять до меншої затримки, але вимагають, щоб скрипт генерував аудіодані швидше, що призвело до збільшення використання ЦП і більшого ризику зламу звуку, якщо ЦП не встигає. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_audiostreamplayer.rst b/classes/uk/class_audiostreamplayer.rst index 2d52b9e1c0..3c4b29c47f 100644 --- a/classes/uk/class_audiostreamplayer.rst +++ b/classes/uk/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/uk/class_audiostreamplayer2d.rst b/classes/uk/class_audiostreamplayer2d.rst index a605eb6be2..d6876393ed 100644 --- a/classes/uk/class_audiostreamplayer2d.rst +++ b/classes/uk/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/uk/class_audiostreamplayer3d.rst b/classes/uk/class_audiostreamplayer3d.rst index 2b982754de..9b95b3f84c 100644 --- a/classes/uk/class_audiostreamplayer3d.rst +++ b/classes/uk/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/uk/class_basis.rst b/classes/uk/class_basis.rst index f964397848..65e595e531 100644 --- a/classes/uk/class_basis.rst +++ b/classes/uk/class_basis.rst @@ -366,13 +366,13 @@ Basis :ref:`float` **determinant**\ (\ ) |const| :ref:`🔗` -Повертає `визначник `__ цієї базисної матриці. Для поглибленої математики це число можна використовувати для визначення кількох атрибутів: +Returns the `determinant `__ of this basis's matrix. For advanced math, this number can be used to determine a few attributes: -- Якщо визначник дорівнює точно ``0.0``, базис не є оборотним (див. :ref:`inverse()`). +- If the determinant is exactly ``0.0``, the basis is not invertible (see :ref:`inverse()`). -- Якщо визначник є від'ємним числом, основа представляє від'ємну шкалу. +- If the determinant is a negative number, the basis represents a negative scale. -\ **Примітка:** Якщо масштаб базису однаковий для кожної осі, його визначником завжди буде цей масштаб у ступені 2. +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_boneattachment3d.rst b/classes/uk/class_boneattachment3d.rst index da1e074210..f6e79be53d 100644 --- a/classes/uk/class_boneattachment3d.rst +++ b/classes/uk/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/uk/class_buttongroup.rst b/classes/uk/class_buttongroup.rst index f138a35603..7271b3a137 100644 --- a/classes/uk/class_buttongroup.rst +++ b/classes/uk/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/uk/class_canvasmodulate.rst b/classes/uk/class_canvasmodulate.rst index 20bcb1c4b5..bf991eea36 100644 --- a/classes/uk/class_canvasmodulate.rst +++ b/classes/uk/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/uk/class_characterbody2d.rst b/classes/uk/class_characterbody2d.rst index 5a3227af06..be5590631e 100644 --- a/classes/uk/class_characterbody2d.rst +++ b/classes/uk/class_characterbody2d.rst @@ -439,7 +439,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -Вектор поточної швидкості в пікселях на секунду, який використовується та змінюється під час викликів :ref:`move_and_slide()`. +Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -702,15 +704,17 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Рухає тіло на основі :ref:`velocity`. Якщо тіло стикається з іншим, воно ковзатиме вздовж іншого тіла (за замовчуванням лише на підлозі), а не зупинятиметься негайно. Якщо інше тіло є **CharacterBody2D** або :ref:`RigidBody2D`, на нього також впливатиме рух іншого тіла. Ви можете використовувати це, щоб створювати рухомі та обертових платформи або змусити вузли штовхати інші вузли. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Змінює :ref:`velocity`, якщо сталося зіткнення ковзання. Щоб отримати останній виклик зіткнень :ref:`get_last_slide_collision()`, для отримання детальної інформації про зіткнення, які сталися, використовуйте :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Коли тіло торкається рухомої платформи, швидкість платформи автоматично додається до руху тіла. Якщо зіткнення відбувається через рух платформи, вона завжди буде першою в зіткненнях слайдів. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Загальна поведінка та доступні властивості змінюються відповідно до :ref:`motion_mode`. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. -Повертає ``true``, якщо тіло зіткнулося, інакше повертає ``false``. +The general behavior and available properties change according to the :ref:`motion_mode`. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Зазвичай, цей метод перевизначається користувачем, щоб він мав вплив.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/uk/class_characterbody3d.rst b/classes/uk/class_characterbody3d.rst index bd9dd96e6e..e066dae494 100644 --- a/classes/uk/class_characterbody3d.rst +++ b/classes/uk/class_characterbody3d.rst @@ -443,7 +443,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -Вектор поточної швидкості (зазвичай метри за секунду), який використовується та змінюється під час викликів :ref:`move_and_slide()`. +Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -697,13 +699,15 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -Рухає тіло на основі :ref:`velocity`. Якщо тіло зіткнеться з іншим, воно ковзатиме вздовж іншого тіла, а не зупиниться відразу. Якщо інше тіло є **CharacterBody3D** або :ref:`RigidBody3D`, на нього також впливатиме рух іншого тіла. Ви можете використовувати це, щоб створювати рухомі та обертоихі платформи або змусити вузли штовхати інші вузли. +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -Змінює :ref:`velocity`, якщо сталося зіткнення ковзання. Щоб отримати останній виклик зіткнень :ref:`get_last_slide_collision()`, для більш детальної інформації про зіткнення, які сталися, використовуйте :ref:`get_slide_collision()`. +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -Коли тіло торкається рухомої платформи, швидкість платформи автоматично додається до руху тіла. Якщо зіткнення відбувається через рух платформи, вона завжди буде першою в зіткненнях слайдів. +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -Повертає ``true``, якщо тіло зіткнулося, інакше повертає ``false``. +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (Зазвичай, цей метод перевизначається користувачем, щоб він мав вплив.)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/uk/class_checkbutton.rst b/classes/uk/class_checkbutton.rst index 7effacae6f..6e16868ae9 100644 --- a/classes/uk/class_checkbutton.rst +++ b/classes/uk/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/uk/class_codeedit.rst b/classes/uk/class_codeedit.rst index 3d9f9ef886..2792887211 100644 --- a/classes/uk/class_codeedit.rst +++ b/classes/uk/class_codeedit.rst @@ -1081,7 +1081,7 @@ enum **CodeCompletionLocation**: :ref:`🔗`). -Область коду – це частина коду, яка підсвічується під час згортання та може допомогти впорядкувати ваш сценарій. +Область коду – це частина коду, яка підсвічується під час згортання та може допомогти впорядкувати ваш скрипт. Початкові та кінцеві теги регіону коду можна налаштувати (див. :ref:`set_code_region_tags()`). diff --git a/classes/uk/class_decal.rst b/classes/uk/class_decal.rst index cd7c418f6d..714b97f7ac 100644 --- a/classes/uk/class_decal.rst +++ b/classes/uk/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/uk/class_dictionary.rst b/classes/uk/class_dictionary.rst index 2407cef19e..ee48442d4c 100644 --- a/classes/uk/class_dictionary.rst +++ b/classes/uk/class_dictionary.rst @@ -12,18 +12,18 @@ Dictionary Опис -------- -Словники – це асоціативні контейнери, що містять значення, на які посилаються унікальні ключі. Словники зберігають порядок вставки під час додавання нових записів. В інших мовах програмування ця структура даних часто називається хеш-картою або асоціативним масивом. +Dictionaries are associative containers that contain values referenced by unique keys. Dictionaries will preserve the insertion order when adding new entries. In other programming languages, this data structure is often referred to as a hash map or an associative array. -Ви можете визначити словник, помістивши список пар ``ключ:значення``, розділених комами, у фігурні дужки ``{}``. +You can define a dictionary by placing a comma-separated list of ``key: value`` pairs inside curly braces ``{}``. -Створення словника: +Creating a dictionary: .. tabs:: .. code-tab:: gdscript - var my_dict = {} # Створює порожній словник. + var my_dict = {} # Creates an empty dictionary. var dict_variable_key = "Another key name" var dict_variable_value = "value2" @@ -34,17 +34,17 @@ Dictionary var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - # Альтернативний синтаксис у стилі Lua. - # Не вимагає лапок навколо ключів, але як імена ключів можна використовувати лише рядкові константи. - # Крім того, імена ключів повинні починатися з літери або символу підкреслення. - # Тут `some_key` — це рядковий літерал, а не змінна! + # Alternative Lua-style syntax. + # Doesn't require quotes around keys, but only string constants can be used as key names. + # Additionally, key names must start with a letter or an underscore. + # Here, `some_key` is a string literal, not a variable! another_dict = { some_key = 42, } .. code-tab:: csharp - var myDict = new Godot.Collections.Dictionary(); // Створює порожній словник. + var myDict = new Godot.Collections.Dictionary(); // Creates an empty dictionary. var pointsDict = new Godot.Collections.Dictionary { { "White", 50 }, @@ -54,7 +54,7 @@ Dictionary -Ви можете отримати доступ до значення словника, посилаючись на відповідний ключ. У наведеному вище прикладі ``points_dict["White"]`` поверне ``50``. Ви також можете написати ``points_dict.White``, що еквівалентно. Однак, вам доведеться використовувати синтаксис дужок, якщо ключ, за допомогою якого ви звертаєтеся до словника, не є фіксованим рядком (наприклад, числом або змінною). +You can access a dictionary's value by referencing its corresponding key. In the above example, ``points_dict["White"]`` will return ``50``. You can also write ``points_dict.White``, which is equivalent. However, you'll have to use the bracket syntax if the key you're accessing the dictionary with isn't a fixed string (such as a number or variable). .. tabs:: @@ -64,7 +64,7 @@ Dictionary @export_enum("White", "Yellow", "Orange") var my_color: String var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } func _ready(): - # Ми не можемо використовувати тут синтаксис крапки, оскільки `my_color` – це змінна. + # We can't use dot syntax here as `my_color` is a variable. var points = points_dict[my_color] .. code-tab:: csharp @@ -85,9 +85,9 @@ Dictionary -У наведеному вище коді, ``points`` буде присвоєно значення, яке поєднується з відповідним кольором, вибраним у ``my_color``. +In the above code, ``points`` will be assigned the value that is paired with the appropriate color selected in ``my_color``. -Словники можуть містити складніші дані: +Dictionaries can contain more complex data: .. tabs:: @@ -95,7 +95,7 @@ Dictionary .. code-tab:: gdscript var my_dict = { - "First Array": [1, 2, 3, 4] # Призначає масив ключу типу String. + "First Array": [1, 2, 3, 4] # Assigns an Array to a String key. } .. code-tab:: csharp @@ -107,7 +107,7 @@ Dictionary -Щоб додати ключ до існуючого словника, зверніться до нього як до існуючого ключа та призначте йому: +To add a key to an existing dictionary, access it like an existing key and assign to it: .. tabs:: @@ -115,7 +115,7 @@ Dictionary .. code-tab:: gdscript var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - points_dict["Blue"] = 150 # Додайте "Синій" як ключ і призначте йому значення 150. + points_dict["Blue"] = 150 # Add "Blue" as a key and assign 150 as its value. .. code-tab:: csharp @@ -125,20 +125,20 @@ Dictionary { "Yellow", 75 }, { "Orange", 100 }, }; - pointsDict["Blue"] = 150; // Додайте "Синій" як ключ і призначте йому значення 150. + pointsDict["Blue"] = 150; // Add "Blue" as a key and assign 150 as its value. -Зрештою, словники можуть містити різні типи ключів та значень в одному словнику: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: .. code-tab:: gdscript - # Це дійсний словник. - # Щоб отримати доступ до рядка "Вкладене значення" нижче, використовуйте `my_dict.sub_dict.sub_key` або `my_dict["sub_dict"]["sub_key"]`. - # Стилі індексації можна комбінувати та поєднувати залежно від ваших потреб. + # This is a valid dictionary. + # To access the string "Nested value" below, use `my_dict.sub_dict.sub_key` or `my_dict["sub_dict"]["sub_key"]`. + # Indexing styles can be mixed and matched depending on your needs. var my_dict = { "String Key": 5, 4: [1, 2, 3], @@ -148,8 +148,8 @@ Dictionary .. code-tab:: csharp - // Це дійсний словник. - // Щоб отримати доступ до рядка "Вкладене значення" нижче, використовуйте `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`. + // This is a valid dictionary. + // To access the string "Nested value" below, use `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`. var myDict = new Godot.Collections.Dictionary { { "String Key", 5 }, { 4, new Godot.Collections.Array { 1, 2, 3 } }, @@ -159,7 +159,7 @@ Dictionary -Ключі словника можна перебирати за допомогою ключового слова ``for``: +The keys of a dictionary can be iterated with the ``for`` keyword: .. tabs:: @@ -175,14 +175,53 @@ Dictionary var groceries = new Godot.Collections.Dictionary { { "Orange", 20 }, { "Apple", 2 }, { "Banana", 4 } }; foreach (var (fruit, amount) in groceries) { - // `«фрукти» – це ключ, «кількість» – це цінність. + // `fruit` is the key, `amount` is the value. } -\ **Примітка:** Словники завжди передаються за посиланням. Щоб отримати копію словника, яку можна змінювати незалежно від оригінального словника, використовуйте :ref:`duplicate()`. +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: -\ **Примітка:** Стирання елементів під час ітерації по словниках **не** підтримується та призведе до непередбачуваної поведінки. + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + +\ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. + +\ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. .. note:: diff --git a/classes/uk/class_diraccess.rst b/classes/uk/class_diraccess.rst index fb1e166034..fc84f6a54f 100644 --- a/classes/uk/class_diraccess.rst +++ b/classes/uk/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/uk/class_directionallight2d.rst b/classes/uk/class_directionallight2d.rst index ac73891888..f4432fb0f8 100644 --- a/classes/uk/class_directionallight2d.rst +++ b/classes/uk/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/uk/class_directionallight3d.rst b/classes/uk/class_directionallight3d.rst index a168dcf98a..f4df87ef32 100644 --- a/classes/uk/class_directionallight3d.rst +++ b/classes/uk/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/uk/class_editorcontextmenuplugin.rst b/classes/uk/class_editorcontextmenuplugin.rst index 6bb7d968ea..68080d972c 100644 --- a/classes/uk/class_editorcontextmenuplugin.rst +++ b/classes/uk/class_editorcontextmenuplugin.rst @@ -75,7 +75,7 @@ enum **ContextMenuSlot**: :ref:`🔗` **CONTEXT_SLOT_SCRIPT_EDITOR** = ``2`` -Контекстне меню вкладок сценаріїв редактора сценаріїв. Буде викликано :ref:`_popup_menu()` із шляхом до поточного редагованого сценарію, тоді як зворотний виклик опції отримає посилання на цей сценарій. +Контекстне меню вкладок скрипти редактора скрипт. Буде викликано :ref:`_popup_menu()` із шляхом до поточного редагованого скрипту, тоді як зворотний виклик опції отримає посилання на цей скрипт. .. _class_EditorContextMenuPlugin_constant_CONTEXT_SLOT_FILESYSTEM_CREATE: diff --git a/classes/uk/class_editorexportplugin.rst b/classes/uk/class_editorexportplugin.rst index 844fc75645..03d04ce60a 100644 --- a/classes/uk/class_editorexportplugin.rst +++ b/classes/uk/class_editorexportplugin.rst @@ -7,7 +7,7 @@ EditorExportPlugin **Успадковує:** :ref:`RefCounted` **<** :ref:`Object` -Сценарій, який виконується при експорті проекту. +Скрипт, який виконується при експорті проекту. .. rst-class:: classref-introduction-group diff --git a/classes/uk/class_editorplugin.rst b/classes/uk/class_editorplugin.rst index 9358efd2d1..68032bb068 100644 --- a/classes/uk/class_editorplugin.rst +++ b/classes/uk/class_editorplugin.rst @@ -867,7 +867,7 @@ enum **AfterGUIInput**: :ref:`🔗` Перевизначте цей метод у вашому плагіні, щоб відображати назву плагіна в редакторі Godot. -Для плагінів головного екрана це відображається у верхній частині екрана, праворуч від кнопок «2D», «3D», «Сценарій», «Гра» та «AssetLib». +Для плагінів головного екрана це відображається у верхній частині екрана, праворуч від кнопок «2D», «3D», «Скрипт», «Гра» та «AssetLib». .. rst-class:: classref-item-separator diff --git a/classes/uk/class_editorsceneformatimporter.rst b/classes/uk/class_editorsceneformatimporter.rst index 5daf8d3b64..b376a1a8b8 100644 --- a/classes/uk/class_editorsceneformatimporter.rst +++ b/classes/uk/class_editorsceneformatimporter.rst @@ -16,7 +16,7 @@ EditorSceneFormatImporter Опис -------- -**EditorSceneFormatImporter** дозволяє визначити сценарій імпортера для третього формату 3D. +**EditorSceneFormatImporter** дозволяє визначити скрипт імпортера для третього формату 3D. Для використання **EditorSceneFormatImporter**, зареєструйте його за допомогою :ref:`EditorPlugin.add_scene_format_importer_plugin()`. diff --git a/classes/uk/class_editorscenepostimport.rst b/classes/uk/class_editorscenepostimport.rst index 2e1b5d1cc2..78653ee4ac 100644 --- a/classes/uk/class_editorscenepostimport.rst +++ b/classes/uk/class_editorscenepostimport.rst @@ -14,7 +14,7 @@ EditorScenePostImport Опис -------- -Імпортовані сцени можна автоматично змінювати одразу після імпорту, установивши для їхньої властивості **Custom Script** Import у сценарій ``instrument``, який успадковує цей клас. +Імпортовані сцени можна автоматично змінювати одразу після імпорту, установивши для їхньої властивості **Custom Script** Import у скрипти ``instrument``, який успадковує цей клас. Зворотний виклик :ref:`_post_import()` отримує кореневий вузол імпортованої сцени та повертає модифіковану версію сцени: diff --git a/classes/uk/class_editorsettings.rst b/classes/uk/class_editorsettings.rst index c258d621af..24946c111a 100644 --- a/classes/uk/class_editorsettings.rst +++ b/classes/uk/class_editorsettings.rst @@ -3847,7 +3847,7 @@ EditorSettings :ref:`bool` **interface/editor/separate_distraction_mode** :ref:`🔗` -Якщо значення ``true``, вкладка «Сценарій» редактора матиме окремий режим відволікання від вкладок 2D/3D/Game/AssetLib. ресурсів. Якщо значення ``false``, перемикач режиму без відволікання буде спільним для всіх вкладок. +Якщо значення ``true``, вкладка «Скрипт» редактора матиме окремий режим відволікання від вкладок 2D/3D/Game/AssetLib. ресурсів. Якщо значення ``false``, перемикач режиму без відволікання буде спільним для всіх вкладок. .. rst-class:: classref-item-separator @@ -4321,7 +4321,7 @@ EditorSettings :ref:`bool` **interface/scene_tabs/show_script_button** :ref:`🔗` -Якщо ``true``, покажіть кнопку поруч з кожною вкладкою, яка відкриває сценарій сцени "домінант" при натисканні. Сценарій «домінант» – це на найвищому рівні в ієрархії сцени. +Якщо ``true``, покажіть кнопку поруч з кожною вкладкою, яка відкриває скрипт сцени "домінант" при натисканні. Скрипт «домінант» – це на найвищому рівні в ієрархії сцени. .. rst-class:: classref-item-separator @@ -5257,7 +5257,7 @@ EditorSettings :ref:`bool` **text_editor/behavior/files/open_dominant_script_on_scene_change** :ref:`🔗` -Якщо ``true``, відкриття сцени автоматично відкриває сценарій, приєднаний до кореневого вузла, або найвищого вузла, якщо кореневий вузол не має сценарію. +Якщо ``true``, відкриття сцени автоматично відкриває сценарій, приєднаний до кореневого вузла, або найвищого вузла, якщо кореневий вузол не має скрипту. .. rst-class:: classref-item-separator @@ -5901,7 +5901,7 @@ EditorSettings :ref:`Color` **text_editor/theme/highlighting/brace_mismatch_color** :ref:`🔗` -Сценарій редактора брекетного кольору. Використовуються при догляді в даний час на незнімному латуні, парехезі або брекетному характері. +Скрипт редактора брекетного кольору. Використовуються при догляді в даний час на незнімному латуні, парехезі або брекетному характері. .. rst-class:: classref-item-separator @@ -6067,7 +6067,7 @@ EditorSettings :ref:`Color` **text_editor/theme/highlighting/completion_existing_color** :ref:`🔗` -Сценарій редактора для вибору існуючих символів у результатах завершення. Це має бути напівпрозорий колір так, щоб :ref:`text_editor/theme/highlighting/completion_selected_color` можна побачити за. +Скрипт редактора для вибору існуючих символів у результатах завершення. Це має бути напівпрозорий колір так, щоб :ref:`text_editor/theme/highlighting/completion_selected_color` можна побачити за. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_engine.rst b/classes/uk/class_engine.rst index 788db66a6a..977b3fb9b9 100644 --- a/classes/uk/class_engine.rst +++ b/classes/uk/class_engine.rst @@ -659,7 +659,7 @@ Engine :ref:`bool` **is_editor_hint**\ (\ ) |const| :ref:`🔗` -Повертає ``true``, якщо сценарій зараз запущено в редакторі, інакше повертає ``false``. Це корисно для сценаріїв ``@tool`` для умовного малювання помічників редактора або запобігання випадковому запуску «ігрового» коду, який може вплинути на стан сцени під час роботи в редакторі: +Повертає ``true``, якщо скрипт зараз запущено в редакторі, інакше повертає ``false``. Це корисно для сценаріїв ``@tool`` для умовного малювання помічників редактора або запобігання випадковому запуску «ігрового» коду, який може вплинути на стан сцени під час роботи в редакторі: .. tabs:: @@ -682,7 +682,7 @@ Engine Додаткову інформацію див. у документації :doc:`Запуск коду в редакторі <../tutorials/plugins/running_code_in_the_editor>`. -\ **Примітка:** Щоб визначити, чи виконується сценарій у *збірці* редактора (наприклад, під час натискання :kbd:`F5`), замість цього використовуйте :ref:`OS.has_feature()` з аргументом ``"editor"``. ``OS.has_feature("editor")`` має значення ``true`` як під час виконання сценарію в редакторі, так і під час запуску проекту з редактора, але повертає ``false`` під час запуску з експортованого проекту. +\ **Примітка:** Щоб визначити, чи виконується скрипт у *збірці* редактора (наприклад, під час натискання :kbd:`F5`), замість цього використовуйте :ref:`OS.has_feature()` з аргументом ``"editor"``. ``OS.has_feature("editor")`` має значення ``true`` як під час виконання скрипту в редакторі, так і під час запуску проекту з редактора, але повертає ``false`` під час запуску з експортованого проекту. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_enginedebugger.rst b/classes/uk/class_enginedebugger.rst index de6b0e3076..dafd02b648 100644 --- a/classes/uk/class_enginedebugger.rst +++ b/classes/uk/class_enginedebugger.rst @@ -223,7 +223,7 @@ EngineDebugger |void| **line_poll**\ (\ ) :ref:`🔗` -Примусово запускає цикл обробки подій налагоджувача. Метою цього методу є просто обробка подій час від часу, коли сценарій може бути занадто зайнятим, щоб можна було виявити такі помилки, як нескінченні цикли. +Примусово запускає цикл обробки подій налагоджувача. Метою цього методу є просто обробка подій час від часу, коли скрипт може бути занадто зайнятим, щоб можна було виявити такі помилки, як нескінченні цикли. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_foldablecontainer.rst b/classes/uk/class_foldablecontainer.rst index e18b7812cb..3f0d70ab58 100644 --- a/classes/uk/class_foldablecontainer.rst +++ b/classes/uk/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/uk/class_foldablegroup.rst b/classes/uk/class_foldablegroup.rst index cdc3bbfd8e..e4cda0392b 100644 --- a/classes/uk/class_foldablegroup.rst +++ b/classes/uk/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: diff --git a/classes/uk/class_gdscript.rst b/classes/uk/class_gdscript.rst index 2693cc32d6..ad0e966910 100644 --- a/classes/uk/class_gdscript.rst +++ b/classes/uk/class_gdscript.rst @@ -7,7 +7,7 @@ GDScript **Успадковує:** :ref:`Script` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Сценарій, що реалізується мовою програмування GDScript. +Скрипт, що реалізується мовою програмування GDScript. .. rst-class:: classref-introduction-group diff --git a/classes/uk/class_gltfobjectmodelproperty.rst b/classes/uk/class_gltfobjectmodelproperty.rst index 4477903885..31d7fdb9cf 100644 --- a/classes/uk/class_gltfobjectmodelproperty.rst +++ b/classes/uk/class_gltfobjectmodelproperty.rst @@ -14,7 +14,7 @@ GLTFObjectModelProperty Опис -------- -GLTFObjectModelProperty визначає відображення між властивістю в об’єктній моделі glTF і NodePath у дереві сцени Godot. Це можна використовувати для анімації властивостей у файлі glTF за допомогою розширення ``KHR_animation_pointer`` або для доступу до них через сценарій, що не залежить від механізму, наприклад графік поведінки, як визначено розширенням ``KHR_interactivity``. +GLTFObjectModelProperty визначає відображення між властивістю в об’єктній моделі glTF і NodePath у дереві сцени Godot. Це можна використовувати для анімації властивостей у файлі glTF за допомогою розширення ``KHR_animation_pointer`` або для доступу до них через скрипт, що не залежить від механізму, наприклад графік поведінки, як визначено розширенням ``KHR_interactivity``. Властивість glTF ідентифікується покажчиком(-ами) JSON, що зберігається в :ref:`json_pointers`, тоді як властивість Godot, на яку вона відображається, визначається :ref:`node_paths`. У більшості випадків :ref:`json_pointers` і :ref:`node_paths` матимуть лише один елемент, але в деяких випадках один вказівник glTF JSON буде зіставлено з декількома властивостями Godot, або одна властивість Godot буде зіставлена з кількома покажчиками glTF JSON, або це може бути зв’язок «багато-до-багатьох». diff --git a/classes/uk/class_gridmap.rst b/classes/uk/class_gridmap.rst index 607262d1c1..a28a047755 100644 --- a/classes/uk/class_gridmap.rst +++ b/classes/uk/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/uk/class_gridmapeditorplugin.rst b/classes/uk/class_gridmapeditorplugin.rst index 43c5416185..2484b64d6c 100644 --- a/classes/uk/class_gridmapeditorplugin.rst +++ b/classes/uk/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/uk/class_inputeventjoypadbutton.rst b/classes/uk/class_inputeventjoypadbutton.rst index ea451bd745..898ca360e2 100644 --- a/classes/uk/class_inputeventjoypadbutton.rst +++ b/classes/uk/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/uk/class_inputeventjoypadmotion.rst b/classes/uk/class_inputeventjoypadmotion.rst index 92852ed000..ced0d4cceb 100644 --- a/classes/uk/class_inputeventjoypadmotion.rst +++ b/classes/uk/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/uk/class_inputeventmousebutton.rst b/classes/uk/class_inputeventmousebutton.rst index 42cd11770f..da93a5f731 100644 --- a/classes/uk/class_inputeventmousebutton.rst +++ b/classes/uk/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/uk/class_ip.rst b/classes/uk/class_ip.rst index 3d0094e4b5..25f31fea55 100644 --- a/classes/uk/class_ip.rst +++ b/classes/uk/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/uk/class_label.rst b/classes/uk/class_label.rst index e2efa6a163..40124516cc 100644 --- a/classes/uk/class_label.rst +++ b/classes/uk/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: diff --git a/classes/uk/class_label3d.rst b/classes/uk/class_label3d.rst index 168eb1099b..cbea00c864 100644 --- a/classes/uk/class_label3d.rst +++ b/classes/uk/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: diff --git a/classes/uk/class_light3d.rst b/classes/uk/class_light3d.rst index cb14849a6a..b4508aff09 100644 --- a/classes/uk/class_light3d.rst +++ b/classes/uk/class_light3d.rst @@ -508,7 +508,9 @@ enum **BakeMode**: :ref:`🔗` - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -Світло зачіпає об'єкти в обраних шарах. +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_lineedit.rst b/classes/uk/class_lineedit.rst index ddcb3f7ecb..72e5f45f5d 100644 --- a/classes/uk/class_lineedit.rst +++ b/classes/uk/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: diff --git a/classes/uk/class_margincontainer.rst b/classes/uk/class_margincontainer.rst index 137cb4651b..3d04ae27c1 100644 --- a/classes/uk/class_margincontainer.rst +++ b/classes/uk/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: @@ -26,7 +26,7 @@ MarginContainer .. code-tab:: gdscript - # Цей зразок коду передбачає, що поточний сценарій розширює MarginContainer. + # Цей зразок коду передбачає, що поточний скрипт розширює MarginContainer. var margin_value = 100 add_theme_constant_override("margin_top", margin_value) add_theme_constant_override("margin_left", margin_value) @@ -35,7 +35,7 @@ MarginContainer .. code-tab:: csharp - // Цей зразок коду передбачає, що поточний сценарій розширює MarginContainer. + // Цей зразок коду передбачає, що поточний скрипт розширює MarginContainer. int marginValue = 100; AddThemeConstantOverride("margin_top", marginValue); AddThemeConstantOverride("margin_left", marginValue); diff --git a/classes/uk/class_menubutton.rst b/classes/uk/class_menubutton.rst index f66016beee..d3fce79ab0 100644 --- a/classes/uk/class_menubutton.rst +++ b/classes/uk/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/uk/class_meshinstance3d.rst b/classes/uk/class_meshinstance3d.rst index 2a1fa12297..4a5f0e5a9a 100644 --- a/classes/uk/class_meshinstance3d.rst +++ b/classes/uk/class_meshinstance3d.rst @@ -9,7 +9,7 @@ MeshInstance3D **Успадковано від:** :ref:`SoftBody3D` -Немає, що сіточки екземплярів в сценарій. +Немає, що сіточки екземплярів в скрипт. .. rst-class:: classref-introduction-group diff --git a/classes/uk/class_multimesh.rst b/classes/uk/class_multimesh.rst index 5a350f014d..51d04e5e0a 100644 --- a/classes/uk/class_multimesh.rst +++ b/classes/uk/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: diff --git a/classes/uk/class_multimeshinstance2d.rst b/classes/uk/class_multimeshinstance2d.rst index 5e698ab8b5..d9e6938926 100644 --- a/classes/uk/class_multimeshinstance2d.rst +++ b/classes/uk/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/uk/class_multimeshinstance3d.rst b/classes/uk/class_multimeshinstance3d.rst index 890aea0cba..4852382edf 100644 --- a/classes/uk/class_multimeshinstance3d.rst +++ b/classes/uk/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/uk/class_multiplayerapi.rst b/classes/uk/class_multiplayerapi.rst index 2298e62acc..e9f21e08b2 100644 --- a/classes/uk/class_multiplayerapi.rst +++ b/classes/uk/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/uk/class_multiplayerapiextension.rst b/classes/uk/class_multiplayerapiextension.rst index ced84fee6d..a97debe5d7 100644 --- a/classes/uk/class_multiplayerapiextension.rst +++ b/classes/uk/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/uk/class_multiplayerpeer.rst b/classes/uk/class_multiplayerpeer.rst index a1a172514b..60ca3de3ec 100644 --- a/classes/uk/class_multiplayerpeer.rst +++ b/classes/uk/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: diff --git a/classes/uk/class_multiplayerpeerextension.rst b/classes/uk/class_multiplayerpeerextension.rst index f36aec214b..d7d587ec51 100644 --- a/classes/uk/class_multiplayerpeerextension.rst +++ b/classes/uk/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/uk/class_multiplayerspawner.rst b/classes/uk/class_multiplayerspawner.rst index c997cf2167..a3cb7b96af 100644 --- a/classes/uk/class_multiplayerspawner.rst +++ b/classes/uk/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/uk/class_multiplayersynchronizer.rst b/classes/uk/class_multiplayersynchronizer.rst index 806ca72516..d14187378a 100644 --- a/classes/uk/class_multiplayersynchronizer.rst +++ b/classes/uk/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/uk/class_node.rst b/classes/uk/class_node.rst index bbae644366..9159c094bd 100644 --- a/classes/uk/class_node.rst +++ b/classes/uk/class_node.rst @@ -16,17 +16,17 @@ Node Опис -------- -Вузли є будівельними блоками Godot. Вони можуть бути призначені дочірніми елементами іншого вузла, що призводить до розташування дерева. Даний вузол може містити будь-яку кількість дочірніх вузлів з вимогою, щоб усі рідні вузли (прямі дочірні вузли) мали унікальні імена. +Вузли є будівельними блоками Godot. Вони можуть бути призначені як дочірні для іншого вузла, утворюючи деревоподібну структуру. Один вузол може містити будь-яку кількість дочірніх вузлів з вимогою, що всі споріднені вузли (прямі нащадки одного вузла) повинні мати унікальні імена. Дерево вузлів називається *сценою*. Сцени можна зберегти на диску, а потім створити екземпляри інших сцен. Це забезпечує дуже високу гнучкість архітектури та моделі даних проектів Godot. -\ **Дерево сцени: ** ``Дерево сцени`` містить активне дерево вузлів. Коли вузол додається до дерева сцени, він отримує сповіщення :ref:`NOTIFICATION_ENTER_TREE` і запускається його зворотній виклик :ref:`_enter_tree()`. Дочірні вузли завжди додаються *після* їхнього батьківського вузла, тобто зворотний виклик :ref:`_enter_tree()` батьківського вузла буде запущено перед дочірнім. +\ **Дерево сцени: ** :ref:`SceneTree` містить активне дерево вузлів. Коли вузол додається до дерева сцени, він отримує сповіщення :ref:`NOTIFICATION_ENTER_TREE` і запускається його зворотній виклик :ref:`_enter_tree()`. Дочірні вузли завжди додаються *після* їхнього батьківського вузла, тобто зворотний виклик :ref:`_enter_tree()` батьківського вузла буде запущено перед дочірнім. Після додавання всіх вузлів у дерево сцени вони отримують сповіщення :ref:`NOTIFICATION_READY` і запускаються відповідні зворотні виклики :ref:`_ready()`. Для груп вузлів зворотний виклик :ref:`_ready()` викликається у зворотному порядку, починаючи з дочірніх і просуваючись до батьківських вузлів. -Це означає, що під час додавання вузла до дерева сцени такий порядок буде використано для зворотних викликів: :ref:`_enter_tree()` батьківського, :ref:`_enter_tree()` дочірніх, :ref:`_ready()` дочірніх і, нарешті, :ref:`_ready()` батьківського (рекурсивно для всього дерева сцени). +Це означає, що при додаванні вузла до дерева сцени буде використано такий порядок викликів: :ref:`_enter_tree()` батьківського вузла, :ref:`_enter_tree()` дочірніх вузлів, :ref:`_ready()` дочірніх вузлів і, нарешті,\ :ref:`_ready()` батьківського вузла (рекурсивно для всього дерева сцени). -\ **Обробка:** Вузли можуть перевизначати стан «процес», щоб вони отримували зворотний виклик у кожному кадрі із запитом на обробку (щось зробити). Звичайна обробка (зворотний виклик :ref:`_process()`, перемикається за допомогою :ref:`set_process()`) відбувається якомога швидше та залежить від частоти кадрів, тому час обробки *delta* (у секундах) передається як аргумент . Фізична обробка (зворотний виклик :ref:`_physics_process()`, перемикається за допомогою :ref:`set_physics_process()`) відбувається фіксовану кількість разів на секунду (за замовчуванням 60) і корисна для коду, пов’язаного з фізичною системою. +\ **Обробка:** Вузли можуть перевизначати стан «обробки», щоб отримувати зворотний виклик на кожному кадрі, який вимагає від них щось обробити (виконати дію). Звичайна обробка (зворотний виклик :ref:`_process()`, перемикається за допомогою :ref:`set_process()`) відбувається настільки швидко, наскільки це можливо, і залежить від частоти кадрів, тому час обробки *delta* (в секундах) передається як аргумент. Фізична обробка (зворотний виклик :ref:`_physics_process()`, перемикається за допомогою :ref:`set_physics_process()`) відбувається фіксовану кількість разів на секунду (за замовчуванням 60) і є корисною для коду, пов'язаного з фізичним рушієм. Вузли також можуть обробляти вхідні події. Якщо присутня, функція :ref:`_input()` буде викликана для кожного введення, яке отримує програма. У багатьох випадках це може бути надмірним (якщо не використовується для простих проектів), і функція :ref:`_unhandled_input()` може бути кращою; він викликається, коли вхідна подія не була оброблена ніким іншим (як правило, вузлами GUI :ref:`Control`), гарантуючи, що вузол отримує лише ті події, які призначені для нього. @@ -324,9 +324,9 @@ Node **child_entered_tree**\ (\ node\: :ref:`Node`\ ) :ref:`🔗` -Випробувано, коли дитина ``node`` входить до :ref:`SceneTree`, як правило, тому що цей вузол увійшов в дерево (див. :ref:`Tree_entered`), або :ref:`add_child()` був викликаний. +Випромінюється, коли дочірній вузол ``node`` входить до :ref:`SceneTree`, зазвичай тому, що цей вузол увійшов до дерева (дивіться :ref:`tree_entered`), або було викликано :ref:`add_child()`. -Цей сигнал видається *після*, власне дочірня вершина :ref:`NOTIFICATION_ENTER_TREE` і :ref:`Tree_entered`. +Цей сигнал випромінюється *після* :ref:`NOTIFICATION_ENTER_TREE` та :ref:`tree_entered` дочірнього вузла. .. rst-class:: classref-item-separator @@ -338,9 +338,9 @@ Node **child_exiting_tree**\ (\ node\: :ref:`Node`\ ) :ref:`🔗` -Припустимо, коли дитина ``node`` є про вихід :ref:`SceneTree`, як правило, тому що цей вузол виходить на дерево (див. :ref:`tree_exiting`), або тому що дитина ``node`` видаляється або звільняється. +Випромінюється, коли дочірній вузол ``node`` збирається вийти з :ref:`SceneTree`, зазвичай тому, що цей вузол виходить з дерева (дивіться :ref:`tree_exiting`), або тому, що дочірній вузол ``node`` видаляється чи звільняється. -При отриманні цього сигналу дитина ``node`` ще доступна всередині дерева. Цей сигнал видається *після*, власне дочірня вершина :ref:`tree_exiting` і :ref:`NOTIFICATION_EXIT_TREE`. +Коли цей сигнал отримано, дочірній вузол ``node`` все ще доступний усередині дерева. Цей сигнал випромінюється *після* :ref:`tree_exiting` та :ref:`NOTIFICATION_EXIT_TREE` дочірнього вузла. .. rst-class:: classref-item-separator @@ -352,7 +352,7 @@ Node **child_order_changed**\ (\ ) :ref:`🔗` -При зміні переліку дітей. Це відбувається при додаванні дочірніх вузлів, переміщення або видаленні. +Випромінюється, коли змінюється список дочірніх вузлів. Це відбувається, коли дочірні вузли додаються, переміщуються або видаляються. .. rst-class:: classref-item-separator @@ -364,7 +364,7 @@ Node **editor_description_changed**\ (\ node\: :ref:`Node`\ ) :ref:`🔗` -Увімкнено, коли поле опису вершини змінено. +Випромінюється, коли змінюється поле опису вузла в редакторі. .. rst-class:: classref-item-separator @@ -376,7 +376,7 @@ Node **editor_state_changed**\ (\ ) :ref:`🔗` -Видається, коли змінюється атрибут вузла, який має відношення до редактора. Видається тільки в редакторі. +Випромінюється, коли змінюється атрибут вузла, який має відношення до редактора. Випромінюється лише в редакторі. .. rst-class:: classref-item-separator @@ -388,7 +388,7 @@ Node **ready**\ (\ ) :ref:`🔗` -Увімкнено, коли вузол вважається готовим, після :ref:`_ready()`. +Випромінюється, коли вузол вважається готовим, після виклику :ref:`_ready()`. .. rst-class:: classref-item-separator @@ -400,7 +400,7 @@ Node **renamed**\ (\ ) :ref:`🔗` -Увімкнено, якщо вершина знаходиться всередині дерева. +Випромінюється, коли змінюється :ref:`name` вузла, якщо вузол знаходиться в дереві. .. rst-class:: classref-item-separator @@ -412,9 +412,9 @@ Node **replacing_by**\ (\ node\: :ref:`Node`\ ) :ref:`🔗` -Увімкнено, коли цей вузол замінюється ``node``, див. :ref:`replace_by()`. +Випромінюється, коли цей вузол замінюється на ``node``, дивіться :ref:`replace_by()`. -Цей сигнал видається *після* ``node`` був доданий як дитина оригінального материнського вузла, але *before* всі оригінальні дочірні вершини були відремонтовані до ``node``. +Цей сигнал випромінюється *після* того, як ``node`` було додано як дочірній вузол до початкового батьківського вузла, але *перед* тим, як усі початкові дочірні вузли були перепризначені до ``node``. .. rst-class:: classref-item-separator @@ -426,9 +426,9 @@ Node **tree_entered**\ (\ ) :ref:`🔗` -Випробувано, коли вершина надходить в дерево. +Випромінюється, коли вузол входить до дерева. -Цей сигнал видається * після * пов'язаний :ref:`NOTIFICATION_ENTER_TREE` повідомлення. +Цей сигнал випромінюється *після* відповідного сповіщення :ref:`NOTIFICATION_ENTER_TREE`. .. rst-class:: classref-item-separator @@ -440,9 +440,9 @@ Node **tree_exited**\ (\ ) :ref:`🔗` -Випробувано після виходу вершини дерева і більше не діє. +Випромінюється після того, як вузол виходить з дерева і більше не є активним. -Цей сигнал видається *після* пов'язаний :ref:`NOTIFICATION_EXIT_TREE` повідомлення. +Цей сигнал випромінюється *після* відповідного сповіщення :ref:`NOTIFICATION_EXIT_TREE`. .. rst-class:: classref-item-separator @@ -454,9 +454,9 @@ Node **tree_exiting**\ (\ ) :ref:`🔗` -Випробувано, коли вершина просто про вихід з дерева. вузол все ще діє. Так, це правильне місце для деінтиціалізації (або «деструктор», якщо ви будете). +Випромінюється, коли вузол ось-ось вийде з дерева. Вузол все ще дійсний. Таким чином, це відповідне місце для деініціалізації (або "деструктора", якщо хочете). -Цей сигнал видається *після* вершина :ref:`_exit_tree()`, і *before* пов'язаний :ref:`NOTIFICATION_EXIT_TREE`. +Цей сигнал випромінюється *після* :ref:`_exit_tree()` вузла та *перед* відповідним сповіщенням :ref:`NOTIFICATION_EXIT_TREE`. .. rst-class:: classref-section-separator @@ -479,7 +479,7 @@ enum **ProcessMode**: :ref:`🔗` :ref:`ProcessMode` **PROCESS_MODE_INHERIT** = ``0`` -Досліди ``пам'ятний процес_mode`` з батька вершини. Це за замовчуванням для будь-якого новоствореного вузла. +Успадковує :ref:`process_mode` від батьківського вузла. Це значення за замовчуванням для будь-якого новоствореного вузла. .. _class_Node_constant_PROCESS_MODE_PAUSABLE: @@ -487,7 +487,7 @@ enum **ProcessMode**: :ref:`🔗` :ref:`ProcessMode` **PROCESS_MODE_PAUSABLE** = ``1`` -``true``. Це інверс :ref:`PROCESS_MODE_WHEN_PAUSED`, і за замовчуванням для кореневого вузла. +Зупиняє обробку, коли :ref:`SceneTree.paused` дорівнює ``true``. Це протилежне до :ref:`PROCESS_MODE_WHEN_PAUSED` і є значенням за замовчуванням для кореневого вузла. .. _class_Node_constant_PROCESS_MODE_WHEN_PAUSED: @@ -529,7 +529,7 @@ enum **ProcessThreadGroup**: :ref:`🔗` :ref:`ProcessThreadGroup` **PROCESS_THREAD_GROUP_INHERIT** = ``0`` -Обробляємо цю вершину на основі групового режиму першої батьківської (або грандіозної) вершини, яка має режим групи ниток, який не спадкоємний. Див. :ref:`process_thread_group` для отримання додаткової інформації. +Обробляти цей вузол відповідно до режиму групи потоків першого батьківського (або прабатьківського) вузла, у якого цей режим не є успадкованим. Дивіться :ref:`process_thread_group` для отримання додаткової інформації. .. _class_Node_constant_PROCESS_THREAD_GROUP_MAIN_THREAD: @@ -537,7 +537,7 @@ enum **ProcessThreadGroup**: :ref:`🔗` :ref:`ProcessThreadGroup` **PROCESS_THREAD_GROUP_MAIN_THREAD** = ``1`` -Обробляємо цей вузол (і дочірні вузли встановлюються до спадку) на головній нитки. Див. :ref:`process_thread_group` для отримання додаткової інформації. +Обробляти цей вузол (і дочірні вузли, для яких встановлено успадкування) у головному потоці. Дивіться :ref:`process_thread_group` для отримання додаткової інформації. .. _class_Node_constant_PROCESS_THREAD_GROUP_SUB_THREAD: @@ -545,7 +545,7 @@ enum **ProcessThreadGroup**: :ref:`🔗` :ref:`ProcessThreadGroup` **PROCESS_THREAD_GROUP_SUB_THREAD** = ``2`` -Обробляємо цей вузол (і дочірні вузли, встановлені до спадку) на підзаголовку. Див. :ref:`process_thread_group` для отримання додаткової інформації. +Обробляти цей вузол (і дочірні вузли, для яких встановлено успадкування) у дочірньому потоці. Дивіться :ref:`process_thread_group` для отримання додаткової інформації. .. rst-class:: classref-item-separator @@ -563,7 +563,7 @@ flags **ProcessThreadMessages**: :ref:`🔗` :ref:`ProcessThreadMessages` **FLAG_PROCESS_THREAD_MESSAGES** = ``1`` -Дозволяє цю вершину обробляти різьблені повідомлення, створені за допомогою :ref:`call_deferred_thread_group()` прямо перед :ref:`_process()`. +Дозволяє цьому вузлу обробляти потокові повідомлення, створені за допомогою :ref:`call_deferred_thread_group()`, безпосередньо перед викликом :ref:`_process()`. .. _class_Node_constant_FLAG_PROCESS_THREAD_MESSAGES_PHYSICS: @@ -597,7 +597,7 @@ enum **PhysicsInterpolationMode**: :ref:`🔗` **PHYSICS_INTERPOLATION_MODE_INHERIT** = ``0`` -Успадковує :ref:`physics_interpolation_mode` від батьківського вузла. Це значення за замовчуванням для будь-якого щойно створеного вузла. +Успадковує :ref:`physics_interpolation_mode` від батьківського вузла. Це значення за замовчуванням для будь-якого новоствореного вузла. .. _class_Node_constant_PHYSICS_INTERPOLATION_MODE_ON: @@ -631,7 +631,7 @@ enum **DuplicateFlags**: :ref:`🔗` :ref:`DuplicateFlags` **DUPLICATE_SIGNALS** = ``1`` -Продублювати сигнальні з'єднання вузла, які підключені за допомогою прапорця :ref:`Object.CONNECT_PERSIST`. +Дублювати з'єднання сигналів вузла, які підключені з прапорцем :ref:`Object.CONNECT_PERSIST`. .. _class_Node_constant_DUPLICATE_GROUPS: @@ -639,7 +639,7 @@ enum **DuplicateFlags**: :ref:`🔗` :ref:`DuplicateFlags` **DUPLICATE_GROUPS** = ``2`` -Дублюйте групи вузлів. +Дублювати групи вузла. .. _class_Node_constant_DUPLICATE_SCRIPTS: @@ -647,7 +647,7 @@ enum **DuplicateFlags**: :ref:`🔗` :ref:`DuplicateFlags` **DUPLICATE_SCRIPTS** = ``4`` -Дублікат сценарію вершини (також переймаючи дубліковані дитячі скрипти, якщо поєднується з :ref:`DUPLICATE_USE_INSTANTIATION`). +Дублювати скрипт вузла (також перевизначаючи скрипти дубльованих дочірніх вузлів, при поєднанні з :ref:`DUPLICATE_USE_INSTANTIATION`). .. _class_Node_constant_DUPLICATE_USE_INSTANTIATION: @@ -655,7 +655,7 @@ enum **DuplicateFlags**: :ref:`🔗` :ref:`DuplicateFlags` **DUPLICATE_USE_INSTANTIATION** = ``8`` -Дублюйте за допомогою :ref:`PackedScene.instantiate()`. Якщо вузол походить зі сцени, збереженої на диску, повторно використовує :ref:`PackedScene.instantiate()` як основу для дубльованого вузла та його дочірніх елементів. +Дублювати за допомогою :ref:`PackedScene.instantiate()`. Якщо вузол походить зі сцени, збереженої на диску, повторно використовує :ref:`PackedScene.instantiate()` як основу для дубльованого вузла та його дочірніх вузлів. .. rst-class:: classref-item-separator @@ -681,7 +681,7 @@ enum **InternalMode**: :ref:`🔗` :ref:`InternalMode` **INTERNAL_MODE_FRONT** = ``1`` -На початку батьківських дітей буде розміщено вершину, перед будь-яким незворотним рухом. +Вузол буде розміщено на початку списку дочірніх вузлів батька, перед будь-якими не-внутрішніми спорідненими вузлами. .. _class_Node_constant_INTERNAL_MODE_BACK: @@ -689,7 +689,7 @@ enum **InternalMode**: :ref:`🔗` :ref:`InternalMode` **INTERNAL_MODE_BACK** = ``2`` -Наприкінці батьківських дітей буде розміщено вершину, після будь-яких неінтерналних дробів. +Вузол буде розміщено в кінці списку дочірніх вузлів батька, після будь-яких не-внутрішніх споріднених вузлів. .. rst-class:: classref-item-separator @@ -707,7 +707,7 @@ enum **AutoTranslateMode**: :ref:`🔗` :ref:`AutoTranslateMode` **AUTO_TRANSLATE_MODE_INHERIT** = ``0`` -Довідники :ref:`auto_translate_mode` з батька вершини. Це за замовчуванням для будь-якого новоствореного вузла. +Успадковує :ref:`auto_translate_mode` від батьківського вузла. Це значення за замовчуванням для будь-якого новоствореного вузла. .. _class_Node_constant_AUTO_TRANSLATE_MODE_ALWAYS: @@ -715,7 +715,7 @@ enum **AutoTranslateMode**: :ref:`🔗` :ref:`AutoTranslateMode` **AUTO_TRANSLATE_MODE_ALWAYS** = ``1`` -Завжди автоматично перевести. Це інверс :ref:`AUTO_TRANSLATE_MODE_DISABLED`, і за замовчуванням для кореневого вузла. +Завжди автоматично перекладати. Це протилежне до :ref:`AUTO_TRANSLATE_MODE_DISABLED` і є значенням за замовчуванням для кореневого вузла. .. _class_Node_constant_AUTO_TRANSLATE_MODE_DISABLED: @@ -723,9 +723,9 @@ enum **AutoTranslateMode**: :ref:`🔗` :ref:`AutoTranslateMode` **AUTO_TRANSLATE_MODE_DISABLED** = ``2`` -Ніколи не перевести. :ref:`AUTO_TRANSLATE_MODE_ALWAYS`. +Ніколи не перекладати автоматично. Це протилежне до :ref:`AUTO_TRANSLATE_MODE_ALWAYS`. -Для цього вузла та дітей, які встановлюються до :ref:`AUTO_TRANSLATE_MODE_INHERIT`. +Аналіз рядків для генерації POT-файлів буде пропущено для цього вузла та дочірніх вузлів, у яких встановлено :ref:`AUTO_TRANSLATE_MODE_INHERIT`. .. rst-class:: classref-section-separator @@ -742,9 +742,9 @@ enum **AutoTranslateMode**: :ref:`🔗` **NOTIFICATION_ENTER_TREE** = ``10`` :ref:`🔗` -Повідомлення отримано при вході в вузол :ref:`SceneTree`. Див. :ref:`_enter_tree()`. +Сповіщення надходить, коли вузол входить до :ref:`SceneTree`. Дивіться :ref:`_enter_tree()`. -Це повідомлення надійшло *before* пов'язаного :ref:`tree_entered` сигналу. +Це сповіщення надходить *перед* відповідним сигналом :ref:`tree_entered`. .. _class_Node_constant_NOTIFICATION_EXIT_TREE: @@ -752,9 +752,9 @@ enum **AutoTranslateMode**: :ref:`🔗` **NOTIFICATION_EXIT_TREE** = ``11`` :ref:`🔗` -Повідомлення отримано при виході з вузла :ref:`SceneTree`. Див. :ref:`_enter_tree()`\ +Сповіщення надходить, коли вузол збирається вийти з :ref:`SceneTree`. Дивіться :ref:`_exit_tree()`. -Це повідомлення надійшло *після* пов'язаного :ref:`tree_exiting` сигналу. +Це сповіщення надходить *після* відповідного сигналу :ref:`tree_exiting`. .. _class_Node_constant_NOTIFICATION_MOVED_IN_PARENT: @@ -1483,7 +1483,7 @@ enum **AutoTranslateMode**: :ref:`🔗` :ref:`PackedStringArray` **_get_configuration_warnings**\ (\ ) |virtual| |const| :ref:`🔗` -Елементи в масиві, який повертає цей метод, відображаються як попередження в доку Scene, якщо сценарій, який замінює його, є сценарієм ``інструмента``. +Елементи в масиві, який повертає цей метод, відображаються як попередження в доку Scene, якщо скрипт, який замінює його, є скрипти ``tool``. Повернення порожнього масиву не створює попереджень. diff --git a/classes/uk/class_node3d.rst b/classes/uk/class_node3d.rst index 4a6775bc8f..76d316c50c 100644 --- a/classes/uk/class_node3d.rst +++ b/classes/uk/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/uk/class_object.rst b/classes/uk/class_object.rst index adf9b6b4b9..5b158fa98c 100644 --- a/classes/uk/class_object.rst +++ b/classes/uk/class_object.rst @@ -24,7 +24,7 @@ Object У :ref:`Script` :ref:`_get_property_list()` можна замінити, щоб налаштувати властивості кількома способами. Це дозволяє їм бути доступними для редактора, відображатися як списки параметрів, ділитися на групи, зберігати на диску тощо. Мови сценаріїв пропонують прості способи налаштування властивостей, наприклад, за допомогою анотації :ref:`@GDScript.@export`. -Godot дуже динамічний. Сценарій об’єкта, а отже, його властивості, методи та сигнали можна змінювати під час виконання. Через це можуть бути випадки, коли, наприклад, властивість, необхідна для методу, може не існувати. Щоб запобігти помилкам під час виконання, перегляньте такі методи, як :ref:`set()`, :ref:`get()`, :ref:`call()`, :ref:`has_method()`, :ref:`has_signal()` тощо. Зауважте, що ці методи **набагато** повільніші за прямі посилання. +Godot дуже динамічний. Скрипт об’єкта, а отже, його властивості, методи та сигнали можна змінювати під час виконання. Через це можуть бути випадки, коли, наприклад, властивість, необхідна для методу, може не існувати. Щоб запобігти помилкам під час виконання, перегляньте такі методи, як :ref:`set()`, :ref:`get()`, :ref:`call()`, :ref:`has_method()`, :ref:`has_signal()` тощо. Зауважте, що ці методи **набагато** повільніші за прямі посилання. У GDScript ви також можете перевірити, чи властивість, метод або ім’я сигналу існує в об’єкті за допомогою оператора ``in``: @@ -42,7 +42,7 @@ Godot дуже динамічний. Сценарій об’єкта, а отж \ **Примітка:** На відміну від посилань на :ref:`RefCounted`, посилання на об’єкт, що зберігається у змінній, можуть стати недійсними без встановлення значення ``null``. Щоб перевірити, чи об’єкт видалено, *не* порівнюйте його з ``null``. Натомість використовуйте :ref:`@GlobalScope.is_instance_valid()`. Також рекомендується успадкувати від :ref:`RefCounted` для класів, які зберігають дані замість **Object**. -\ **Примітка:** ``сценарій`` не доступний, як більшість властивостей. Щоб встановити або отримати :ref:`Script` об’єкта в коді, використовуйте :ref:`set_script()` і :ref:`get_script()` відповідно. +\ **Примітка:** ``script`` не доступний, як більшість властивостей. Щоб встановити або отримати :ref:`Script` об’єкта в коді, використовуйте :ref:`set_script()` і :ref:`get_script()` відповідно. \ **Примітка: ** У логічному контексті **Object** матиме значення ``false``, якщо він дорівнює ``null`` або його було звільнено. В іншому випадку **Object** завжди матиме значення ``true``. Дивіться також :ref:`@GlobalScope.is_instance_valid()`. @@ -218,7 +218,7 @@ Godot дуже динамічний. Сценарій об’єкта, а отж **script_changed**\ (\ ) :ref:`🔗` -Увімкнено, коли змінено сценарій об’єкта. +Увімкнено, коли змінено скрипт об’єкта. \ **Примітка:** Коли цей сигнал видається, новий скрипт ще не ініціюється. Якщо вам необхідно отримати доступ до нового скрипту, з'єднання знеболюючим сигналом з :ref:`CONNECT_DEFERRED`. @@ -510,9 +510,9 @@ enum **ConnectFlags**: :ref:`🔗` |void| **_init**\ (\ ) |virtual| :ref:`🔗` -Викликається, коли сценарій об'єкта миттєво, часто після того, як об'єкт ініціюється в пам'яті (через ``Object.new()`` в GDScript, або ``new GodotObject`` в C#). Також можна визначитися з параметрами. Цей метод схожий на конструктора у більшості мов програмування. +Викликається, коли скрипт об'єкта миттєво, часто після того, як об'єкт ініціюється в пам'яті (через ``Object.new()`` в GDScript, або ``new GodotObject`` в C#). Також можна визначитися з параметрами. Цей метод схожий на конструктора у більшості мов програмування. -\ **Примітка:** Якщо :ref:`_init()` визначаються *параметри *, об'єкт з скриптом може бути створений безпосередньо. Якщо будь-які інші засоби (наприклад, :ref:`PackedScene.instantiate()` або :ref:`Node.duplicate()`) використовуються, ініціалізація скрипта не буде. +\ **Примітка:** Якщо :ref:`_init()` визначаються *параметри *, об'єкт з скриптом може бути створений безпосередньо. Якщо будь-які інші засоби (наприклад, :ref:`PackedScene.instantiate()` або :ref:`Node.duplicate()`) використовуються, ініціалізація скрипти не буде. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_omnilight3d.rst b/classes/uk/class_omnilight3d.rst index f46269651f..4ca8b83b34 100644 --- a/classes/uk/class_omnilight3d.rst +++ b/classes/uk/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/uk/class_optionbutton.rst b/classes/uk/class_optionbutton.rst index 3f61c24e82..9adc23c77e 100644 --- a/classes/uk/class_optionbutton.rst +++ b/classes/uk/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/uk/class_packedscene.rst b/classes/uk/class_packedscene.rst index e08830338a..2dc3d47029 100644 --- a/classes/uk/class_packedscene.rst +++ b/classes/uk/class_packedscene.rst @@ -29,14 +29,14 @@ PackedScene # Використовуйте load() замість preload(), якщо шлях невідомий під час компіляції. var scene = preload("res://scene.tscn").instantiate() - # Додайте вузол як дочірній вузол, до якого приєднаний сценарій. + # Додайте вузол як дочірній вузол, до якого приєднаний скрипта. add_child (scene) .. code-tab:: csharp // C# не має попереднього завантаження, тому вам потрібно завжди використовувати ResourceLoader.Load(). var scene = ResourceLoader.Load("res://scene.tscn").Instantiate(); - // Додати вузол як дочірній вузол, до якого приєднаний сценарій. + // Додати вузол як дочірній вузол, до якого приєднаний скрипта. AddChild(сцена); diff --git a/classes/uk/class_physicalbone2d.rst b/classes/uk/class_physicalbone2d.rst index 49647a1a66..e6fd9b6fdb 100644 --- a/classes/uk/class_physicalbone2d.rst +++ b/classes/uk/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/uk/class_physicalbone3d.rst b/classes/uk/class_physicalbone3d.rst index cb1738445c..f78822ac6b 100644 --- a/classes/uk/class_physicalbone3d.rst +++ b/classes/uk/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/uk/class_pointlight2d.rst b/classes/uk/class_pointlight2d.rst index e2f040c982..12c8394f4d 100644 --- a/classes/uk/class_pointlight2d.rst +++ b/classes/uk/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/uk/class_projectsettings.rst b/classes/uk/class_projectsettings.rst index a39a817d9d..8dfdcd14ce 100644 --- a/classes/uk/class_projectsettings.rst +++ b/classes/uk/class_projectsettings.rst @@ -3049,7 +3049,7 @@ Safer override для :ref:`audio/driver/mix_rate` **debug/gdscript/warnings/missing_tool** = ``1`` :ref:`🔗` -Якщо встановлено значення ``warn`` або ``error``, створює попередження або помилку відповідно, якщо сценарій базового класу має анотацію ``@tool``, але сценарій поточного класу її не має. +Якщо встановлено значення ``warn`` або ``error``, створює попередження або помилку відповідно, якщо скрипт базового класу має анотацію ``@tool``, але скрипт поточного класу її не має. .. rst-class:: classref-item-separator @@ -4979,7 +4979,7 @@ V-Sync може бути вимкнено на командному рядку Каталог, що містить файл ``.sln``. За замовчуванням файли ``.sln`` знаходяться в корені каталогу проектів, поруч з ``project.godot`` і ``.csproj`` файли. -Зміна цього значення дозволяє налаштувати багатопроектний сценарій, де є кілька ``.csproj``. Враховуйте, що проект Godot вважається одним із проектів C# у робочому просторі, і він повинен містити каталог ``project.godot`` і ``.csproj`` поруч один з одним. +Зміна цього значення дозволяє налаштувати багатопроектний скрипт, де є кілька ``.csproj``. Враховуйте, що проект Godot вважається одним із проектів C# у робочому просторі, і він повинен містити каталог ``project.godot`` і ``.csproj`` поруч один з одним. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_reflectionprobe.rst b/classes/uk/class_reflectionprobe.rst index 0d950b6157..8a5f210317 100644 --- a/classes/uk/class_reflectionprobe.rst +++ b/classes/uk/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/uk/class_renderingserver.rst b/classes/uk/class_renderingserver.rst index 8d8474470e..1104685d81 100644 --- a/classes/uk/class_renderingserver.rst +++ b/classes/uk/class_renderingserver.rst @@ -20,9 +20,9 @@ RenderingServer Ресурси створюються за допомогою функцій ``*_create``. Ці функції повертають :ref:`RID`, які не є посиланнями на самі об'єкти, а непрозорими *вказівниками* на ці об'єкти. -Усі об'єкти малюються у вікні перегляду. Ви можете використовувати :ref:`Viewport`, приєднаний до :ref:`SceneTree`, або створити його самостійно за допомогою :ref:`viewport_create()`. Під час використання власного сценарію або полотна, сценарій або полотно потрібно приєднати до вікна перегляду за допомогою :ref:`viewport_set_scenario()` або :ref:`viewport_attach_canvas()`. +Усі об'єкти малюються у вікні перегляду. Ви можете використовувати :ref:`Viewport`, приєднаний до :ref:`SceneTree`, або створити його самостійно за допомогою :ref:`viewport_create()`. Під час використання власного скрипта або полотна, скрипт або полотно потрібно приєднати до вікна перегляду за допомогою :ref:`viewport_set_scenario()` або :ref:`viewport_attach_canvas()`. -\ **Сценарії:** У 3D усі візуальні об'єкти мають бути пов'язані зі сценарієм. Сценарій – це візуальне представлення світу. Якщо доступ до сервера рендерингу здійснюється з запущеної гри, доступ до сценарію можна отримати з дерева сцен з будь-якого вузла :ref:`Node3D` за допомогою методу ``Node3D.get_world_3d``. В іншому випадку сценарій можна створити за допомогою методу :ref:`scenario_create()`. +\ **Сценарії:** У 3D усі візуальні об'єкти мають бути пов'язані зі скриптою. Скрипт – це візуальне представлення світу. Якщо доступ до сервера рендерингу здійснюється з запущеної гри, доступ до скрипта можна отримати з дерева сцен з будь-якого вузла :ref:`Node3D` за допомогою методу ``Node3D.get_world_3d``. В іншому випадку скрипт можна створити за допомогою методу :ref:`scenario_create()`. Аналогічно, у 2D для малювання всіх елементів полотна потрібне полотно. @@ -8975,7 +8975,7 @@ Canvas не має еквівалента :ref:`Resource` або |void| **instance_set_scenario**\ (\ instance\: :ref:`RID`, scenario\: :ref:`RID`\ ) :ref:`🔗` -Налаштовує сценарій, що екземпляр знаходиться в. Сценарій – 3D світ, який буде відображатися в об’єктах. +Налаштовує скрипт, що екземпляр знаходиться в. Скрипт – 3D світ, який буде відображатися в об’єктах. .. rst-class:: classref-item-separator @@ -9047,7 +9047,7 @@ Canvas не має еквівалента :ref:`Resource` або :ref:`PackedInt64Array` **instances_cull_aabb**\ (\ aabb\: :ref:`AABB`, scenario\: :ref:`RID` = RID()\ ) |const| :ref:`🔗` -Повертає масив ідентифікаторів об'єкта, що перетинаються з наданою AABB. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Сценарій RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. +Повертає масив ідентифікаторів об'єкта, що перетинаються з наданою AABB. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Скрипт RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. \ **Попередження:** Ця функція призначена для використання редактора. Для випадків використання ігор, віддають перевагу фізичним зіткненню. @@ -9061,7 +9061,7 @@ Canvas не має еквівалента :ref:`Resource` або :ref:`PackedInt64Array` **instances_cull_convex**\ (\ convex\: :ref:`Array`\[:ref:`Plane`\], scenario\: :ref:`RID` = RID()\ ) |const| :ref:`🔗` -Повертає масив ідентифікаторів об'єкта, що перетинаються з заданою формою опуклості. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Сценарій RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. +Повертає масив ідентифікаторів об'єкта, що перетинаються з заданою формою опуклості. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Скрипт RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. \ **Попередження:** Ця функція призначена для використання редактора. Для випадків використання ігор, віддають перевагу фізичним зіткненню. @@ -9075,7 +9075,7 @@ Canvas не має еквівалента :ref:`Resource` або :ref:`PackedInt64Array` **instances_cull_ray**\ (\ from\: :ref:`Vector3`, to\: :ref:`Vector3`, scenario\: :ref:`RID` = RID()\ ) |const| :ref:`🔗` -Повертає масив ідентифікаторів об'єкта, що перетинаються з наданою променем 3D. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Сценарій RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. +Повертає масив ідентифікаторів об'єкта, що перетинаються з наданою променем 3D. Тільки 3D-вузли, які успадкують від :ref:`VisualInstance3D`, такі як :ref:`MeshInstance3D` або :ref:`DirectionalLight3D`. Використовуйте :ref:`@GlobalScope.instance_from_id()` для отримання фактичних вузлів. Скрипт RID повинен бути надана, яка доступна в :ref:`World3D`, ви хочете переробити. Це змушує оновлення для всіх ресурсів, що чергуються до оновлення. \ **Попередження:** Ця функція призначена для використання редактора. Для випадків використання ігор, віддають перевагу фізичним зіткненню. @@ -11137,7 +11137,7 @@ Canvas не має еквівалента :ref:`Resource` або :ref:`RID` **scenario_create**\ (\ ) :ref:`🔗` -Створює сценарій і додає його до RenderingServer. Ви можете отримати доступ до RID, який повертається. Цей RID буде використовуватися в усіх ``scenario_*`` Функції RenderingServer. +Створює скрипт і додає його до RenderingServer. Ви можете отримати доступ до RID, який повертається. Цей RID буде використовуватися в усіх ``scenario_*`` Функції RenderingServer. Після закінчення з вашим RID ви хочете звільнити RID за допомогою методу RenderingServer. @@ -11189,7 +11189,7 @@ Canvas не має еквівалента :ref:`Resource` або |void| **scenario_set_fallback_environment**\ (\ scenario\: :ref:`RID`, environment\: :ref:`RID`\ ) :ref:`🔗` -Налаштовує навколишнє середовище, щоб використовувати цей сценарій. У разі відсутності навколишнього середовища використовується навколишнє середовище. Внутрішня, це використовується редактором, щоб забезпечити середовище за замовчуванням. +Налаштовує навколишнє середовище, щоб використовувати цей скрипт. У разі відсутності навколишнього середовища використовується навколишнє середовище. Внутрішня, це використовується редактором, щоб забезпечити середовище за замовчуванням. .. rst-class:: classref-item-separator @@ -12364,7 +12364,7 @@ Canvas не має еквівалента :ref:`Resource` або |void| **viewport_set_scenario**\ (\ viewport\: :ref:`RID`, scenario\: :ref:`RID`\ ) :ref:`🔗` -Налаштовує сценарій перегляду. Сценарій містить інформацію про інформацію про навколишнє середовище, відбиття атласу тощо. +Налаштовує скрипт перегляду. Сценарій містить інформацію про інформацію про навколишнє середовище, відбиття атласу тощо. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_script.rst b/classes/uk/class_script.rst index b25d0a44e0..8c297db750 100644 --- a/classes/uk/class_script.rst +++ b/classes/uk/class_script.rst @@ -16,9 +16,9 @@ Script Опис -------- -Клас зберігається як ресурс. Сценарій розширює функціональність всіх об'єктів, які миттєво переходять її. +Клас зберігається як ресурс. Скрипт розширює функціональність всіх об'єктів, які миттєво переходять її. -Це базовий клас для всіх сценаріїв і не слід використовувати безпосередньо. Намагатися створити новий скрипт з цим класом призведе до помилки. +Це базовий клас для всіх скрипти і не слід використовувати безпосередньо. Намагатися створити новий скрипт з цим класом призведе до помилки. \ ``new`` метод скриптового підкласу створює новий екземпляр. :ref:`Object.set_script()` розширює існуючий об'єкт, якщо цей клас відповідає одному з базових класів скриптів. diff --git a/classes/uk/class_skeletonik3d.rst b/classes/uk/class_skeletonik3d.rst index f48c9af777..ce4e0b6b7b 100644 --- a/classes/uk/class_skeletonik3d.rst +++ b/classes/uk/class_skeletonik3d.rst @@ -16,7 +16,7 @@ SkeletonIK3D Опис -------- -SkeletonIK3D використовується для обертання всіх кісток ланцюга кісток :ref:`Skeleton3D` таким чином, що кінцева кістка розміщується в бажаному 3D-положенні. Типовий сценарій для IK в іграх полягає в тому, щоб покласти ноги персонажа на землю або руки персонажа на предмет, який зараз тримається. SkeletonIK використовує FabrikInverseKinematic внутрішньо для вирішення ланцюжка кісток і застосовує результати до властивості :ref:`Skeleton3D` ``bones_global_pose_override`` для всіх уражених кісток у ланцюжку. Якщо застосовано повністю, це перезаписує будь-яку трансформацію кістки з :ref:`Animation` або спеціальні пози кістки, встановлені користувачами. Застосовувану кількість можна контролювати за допомогою властивості :ref:`SkeletonModifier3D.influence`. +SkeletonIK3D використовується для обертання всіх кісток ланцюга кісток :ref:`Skeleton3D` таким чином, що кінцева кістка розміщується в бажаному 3D-положенні. Типовий скрипт для IK в іграх полягає в тому, щоб покласти ноги персонажа на землю або руки персонажа на предмет, який зараз тримається. SkeletonIK використовує FabrikInverseKinematic внутрішньо для вирішення ланцюжка кісток і застосовує результати до властивості :ref:`Skeleton3D` ``bones_global_pose_override`` для всіх уражених кісток у ланцюжку. Якщо застосовано повністю, це перезаписує будь-яку трансформацію кістки з :ref:`Animation` або спеціальні пози кістки, встановлені користувачами. Застосовувану кількість можна контролювати за допомогою властивості :ref:`SkeletonModifier3D.influence`. :: diff --git a/classes/uk/class_spinbox.rst b/classes/uk/class_spinbox.rst index 9767df0498..71be81e756 100644 --- a/classes/uk/class_spinbox.rst +++ b/classes/uk/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/uk/class_statusindicator.rst b/classes/uk/class_statusindicator.rst index b11f4e1a18..b54cf4b3f8 100644 --- a/classes/uk/class_statusindicator.rst +++ b/classes/uk/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: diff --git a/classes/uk/class_textedit.rst b/classes/uk/class_textedit.rst index bf4455f810..0d9be9531b 100644 --- a/classes/uk/class_textedit.rst +++ b/classes/uk/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: diff --git a/classes/uk/class_tilemap.rst b/classes/uk/class_tilemap.rst index 45fc570e2f..8be66c89d1 100644 --- a/classes/uk/class_tilemap.rst +++ b/classes/uk/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: diff --git a/classes/uk/class_translationserver.rst b/classes/uk/class_translationserver.rst index 9337b9052c..3c160aa9bd 100644 --- a/classes/uk/class_translationserver.rst +++ b/classes/uk/class_translationserver.rst @@ -396,7 +396,7 @@ TranslationServer :ref:`String` **standardize_locale**\ (\ locale\: :ref:`String`, add_defaults\: :ref:`bool` = false\ ) |const| :ref:`🔗` -Повертає рядок ``locale``, стандартизований відповідно до відомих локалей (наприклад, ``en-US`` відповідатиме ``en_US``). Якщо ``add_defaults`` має значення ``true``, можливо, до локалі додано сценарій за умовчанням або країну. +Повертає рядок ``locale``, стандартизований відповідно до відомих локалей (наприклад, ``en-US`` відповідатиме ``en_US``). Якщо ``add_defaults`` має значення ``true``, можливо, до локалі додано скрипт за умовчанням або країну. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_world3d.rst b/classes/uk/class_world3d.rst index 2f4bf2eed3..9d660dd4ce 100644 --- a/classes/uk/class_world3d.rst +++ b/classes/uk/class_world3d.rst @@ -7,14 +7,14 @@ World3D **Успадковує:** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` -Ресурс, який має всі компоненти 3D світу, такі як візуальний сценарій і фізичний простір. +Ресурс, який має всі компоненти 3D світу, такі як візуальний скрипт і фізичний простір. .. rst-class:: classref-introduction-group Опис -------- -Клас, який має все необхідне для світу: фізичний простір, візуальний сценарій та звуковий простір. 3D вершини реєструють свої ресурси в поточний 3D світ. +Клас, який має все необхідне для світу: фізичний простір, візуальний скрипт та звуковий простір. 3D вершини реєструють свої ресурси в поточний 3D світ. .. rst-class:: classref-introduction-group @@ -149,7 +149,7 @@ World3D - :ref:`RID` **get_scenario**\ (\ ) -Візуальний сценарій World3D. +Візуальний скрипт World3D. .. rst-class:: classref-item-separator diff --git a/classes/uk/class_worldenvironment.rst b/classes/uk/class_worldenvironment.rst index 04fcdbb725..163b352562 100644 --- a/classes/uk/class_worldenvironment.rst +++ b/classes/uk/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: diff --git a/classes/uk/index.rst b/classes/uk/index.rst index e220af891c..efe34c8b06 100644 --- a/classes/uk/index.rst +++ b/classes/uk/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: Усі класи diff --git a/classes/zh_CN/class_area2d.rst b/classes/zh_CN/class_area2d.rst index 16f332f10f..ca3a487f9b 100644 --- a/classes/zh_CN/class_area2d.rst +++ b/classes/zh_CN/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/zh_CN/class_area3d.rst b/classes/zh_CN/class_area3d.rst index e5d872374d..2db3265f8a 100644 --- a/classes/zh_CN/class_area3d.rst +++ b/classes/zh_CN/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/zh_CN/class_array.rst b/classes/zh_CN/class_array.rst index 34de33d6e8..f992b63b1a 100644 --- a/classes/zh_CN/class_array.rst +++ b/classes/zh_CN/class_array.rst @@ -12,40 +12,48 @@ Array 描述 ---- -数组数据类型,包含任意 :ref:`Variant` 类型元素的序列。可以使用从 ``0`` 开始的索引号来访问元素。可以使用负的索引号从结尾开始计数(\ ``-1`` 表示倒数第一个元素、\ ``-2`` 表示倒数第二个元素,以此类推)。 +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). .. tabs:: .. code-tab:: gdscript - var array = ["第一", 2, 3, "最后"] - print(array[0]) # 输出“第一” - print(array[2]) # 输出 3 - print(array[-1]) # 输出“最后” + var array = ["First", 2, 3, "Last"] + print(array[0]) # Prints "First" + print(array[2]) # Prints 3 + print(array[-1]) # Prints "Last" - array[1] = "第二" - print(array[1]) # 输出“第二” - print(array[-3]) # 输出“第二” + array[1] = "Second" + print(array[1]) # Prints "Second" + print(array[-3]) # Prints "Second" + + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] .. code-tab:: csharp - Godot.Collections.Array array = ["第一", 2, 3, "最后"]; - GD.Print(array[0]); // 输出“开头” - GD.Print(array[2]); // 输出 3 - GD.Print(array[^1]); // 输出“最后” + Godot.Collections.Array array = ["First", 2, 3, "Last"]; + GD.Print(array[0]); // Prints "First" + GD.Print(array[2]); // Prints 3 + GD.Print(array[^1]); // Prints "Last" - array[2] = "第二"; - GD.Print(array[1]); // 输出“第二” - GD.Print(array[^3]); // 输出“第二” + array[1] = "Second"; + GD.Print(array[1]); // Prints "Second" + GD.Print(array[^3]); // Prints "Second" + + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; -\ **注意:**\ 数组始终按\ **引用**\ 传递。如果要获取数组的副本,让改动独立于原始数组,请使用 :ref:`duplicate()`\ 。 +\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. -\ **注意:**\ **不支持**\ 在遍历数组元素时擦除元素,这样做可能造成预料之外的行为。 +\ **Note:** Erasing elements while iterating over arrays is **not** supported and will result in unpredictable behavior. -\ **紧缩数组、类型数组、无类型数组:**\ 紧缩数组在遍历和修改时通常比同类型的类型数组要快(例如将 :ref:`PackedInt64Array` 和 ``Array[int]`` 相比)。紧缩数组占据的内存也相对较少。但紧缩数组的缺点是不够灵活,因为没有提供 :ref:`map()` 之类的便捷方法。相应地,类型数组在遍历和修改时要比无类型数组要快。 +\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. :ref:`PackedInt64Array` versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. .. note:: diff --git a/classes/zh_CN/class_arraymesh.rst b/classes/zh_CN/class_arraymesh.rst index 91096d6bc8..62a917a4d4 100644 --- a/classes/zh_CN/class_arraymesh.rst +++ b/classes/zh_CN/class_arraymesh.rst @@ -431,7 +431,7 @@ ArrayMesh .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -445,7 +445,7 @@ ArrayMesh .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -459,7 +459,7 @@ ArrayMesh .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audioeffectchorus.rst b/classes/zh_CN/class_audioeffectchorus.rst index 0126a2946c..aee8cfc5cc 100644 --- a/classes/zh_CN/class_audioeffectchorus.rst +++ b/classes/zh_CN/class_audioeffectchorus.rst @@ -602,7 +602,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -616,7 +616,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -630,7 +630,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -644,7 +644,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -658,7 +658,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -672,7 +672,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -686,7 +686,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -700,7 +700,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -714,7 +714,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -728,7 +728,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -742,7 +742,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -756,7 +756,7 @@ AudioEffectChorus .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audioeffectdistortion.rst b/classes/zh_CN/class_audioeffectdistortion.rst index 43fc3b0d5f..55eb72c211 100644 --- a/classes/zh_CN/class_audioeffectdistortion.rst +++ b/classes/zh_CN/class_audioeffectdistortion.rst @@ -78,7 +78,7 @@ enum **Mode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_audioeffectlimiter.rst b/classes/zh_CN/class_audioeffectlimiter.rst index ed43af775b..5307d55fd9 100644 --- a/classes/zh_CN/class_audioeffectlimiter.rst +++ b/classes/zh_CN/class_audioeffectlimiter.rst @@ -101,7 +101,7 @@ AudioEffectLimiter .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_audioeffectspectrumanalyzer.rst b/classes/zh_CN/class_audioeffectspectrumanalyzer.rst index 9f8d1fde60..6336dc25b4 100644 --- a/classes/zh_CN/class_audioeffectspectrumanalyzer.rst +++ b/classes/zh_CN/class_audioeffectspectrumanalyzer.rst @@ -162,7 +162,7 @@ enum **FFTSize**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audiolistener2d.rst b/classes/zh_CN/class_audiolistener2d.rst index dc8c6b602d..a900b6849d 100644 --- a/classes/zh_CN/class_audiolistener2d.rst +++ b/classes/zh_CN/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/zh_CN/class_audiolistener3d.rst b/classes/zh_CN/class_audiolistener3d.rst index 37b56da7d1..cb4c0c47f3 100644 --- a/classes/zh_CN/class_audiolistener3d.rst +++ b/classes/zh_CN/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/zh_CN/class_audiostreammp3.rst b/classes/zh_CN/class_audiostreammp3.rst index 15017f996f..188dd06c53 100644 --- a/classes/zh_CN/class_audiostreammp3.rst +++ b/classes/zh_CN/class_audiostreammp3.rst @@ -76,7 +76,7 @@ MP3 音频流驱动。如果你想要在运行时加载 MP3 文件,请参阅 : .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -95,7 +95,7 @@ MP3 音频流驱动。如果你想要在运行时加载 MP3 文件,请参阅 : .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -114,7 +114,7 @@ MP3 音频流驱动。如果你想要在运行时加载 MP3 文件,请参阅 : .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_audiostreamoggvorbis.rst b/classes/zh_CN/class_audiostreamoggvorbis.rst index e2a9312287..a58c2488fe 100644 --- a/classes/zh_CN/class_audiostreamoggvorbis.rst +++ b/classes/zh_CN/class_audiostreamoggvorbis.rst @@ -83,7 +83,7 @@ AudioStreamOggVorbis 类是专用于处理 Ogg Vorbis 文件格式的 :ref:`Audi .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -102,7 +102,7 @@ AudioStreamOggVorbis 类是专用于处理 Ogg Vorbis 文件格式的 :ref:`Audi .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -121,7 +121,7 @@ AudioStreamOggVorbis 类是专用于处理 Ogg Vorbis 文件格式的 :ref:`Audi .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_audiostreamplaybackoggvorbis.rst b/classes/zh_CN/class_audiostreamplaybackoggvorbis.rst index 83f58ae47e..45a4c17320 100644 --- a/classes/zh_CN/class_audiostreamplaybackoggvorbis.rst +++ b/classes/zh_CN/class_audiostreamplaybackoggvorbis.rst @@ -9,7 +9,7 @@ AudioStreamPlaybackOggVorbis .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audiostreamplaybackresampled.rst b/classes/zh_CN/class_audiostreamplaybackresampled.rst index 30b113b6db..4053c4e084 100644 --- a/classes/zh_CN/class_audiostreamplaybackresampled.rst +++ b/classes/zh_CN/class_audiostreamplaybackresampled.rst @@ -11,7 +11,7 @@ AudioStreamPlaybackResampled .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -46,7 +46,7 @@ AudioStreamPlaybackResampled .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -60,7 +60,7 @@ AudioStreamPlaybackResampled .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -74,7 +74,7 @@ AudioStreamPlaybackResampled .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audiostreamplaybacksynchronized.rst b/classes/zh_CN/class_audiostreamplaybacksynchronized.rst index 5b58ea87bc..104bd3ad47 100644 --- a/classes/zh_CN/class_audiostreamplaybacksynchronized.rst +++ b/classes/zh_CN/class_audiostreamplaybacksynchronized.rst @@ -9,7 +9,7 @@ AudioStreamPlaybackSynchronized .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_audiostreamplayer.rst b/classes/zh_CN/class_audiostreamplayer.rst index b92714d056..e76f25a196 100644 --- a/classes/zh_CN/class_audiostreamplayer.rst +++ b/classes/zh_CN/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/zh_CN/class_audiostreamplayer2d.rst b/classes/zh_CN/class_audiostreamplayer2d.rst index 011e1eee76..4a195b63c3 100644 --- a/classes/zh_CN/class_audiostreamplayer2d.rst +++ b/classes/zh_CN/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/zh_CN/class_audiostreamplayer3d.rst b/classes/zh_CN/class_audiostreamplayer3d.rst index a88b522a7e..4e54ef93d4 100644 --- a/classes/zh_CN/class_audiostreamplayer3d.rst +++ b/classes/zh_CN/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/zh_CN/class_basis.rst b/classes/zh_CN/class_basis.rst index 82c8462752..f2c6e97293 100644 --- a/classes/zh_CN/class_basis.rst +++ b/classes/zh_CN/class_basis.rst @@ -366,13 +366,13 @@ Basis :ref:`float` **determinant**\ (\ ) |const| :ref:`🔗` -返回基矩阵的\ `行列式 `__\ 。在高等数学中,这个数可以用来确定一些性质: +Returns the `determinant `__ of this basis's matrix. For advanced math, this number can be used to determine a few attributes: -- 如果行列式为 ``0.0``\ ,则基不可逆(见 :ref:`inverse()`\ )。 +- If the determinant is exactly ``0.0``, the basis is not invertible (see :ref:`inverse()`). -- 如果行列式为负数,则基表示负缩放。 +- If the determinant is a negative number, the basis represents a negative scale. -\ **注意:**\ 如果基的每个轴缩放都相同,那么这个行列式始终为 2 的该缩放次幂。 +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_boneattachment3d.rst b/classes/zh_CN/class_boneattachment3d.rst index d3df1d727d..86cb27f20b 100644 --- a/classes/zh_CN/class_boneattachment3d.rst +++ b/classes/zh_CN/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/zh_CN/class_buttongroup.rst b/classes/zh_CN/class_buttongroup.rst index 8a5299e690..05eb75afb9 100644 --- a/classes/zh_CN/class_buttongroup.rst +++ b/classes/zh_CN/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/zh_CN/class_canvasitem.rst b/classes/zh_CN/class_canvasitem.rst index 49ea1adde2..7adbb77e60 100644 --- a/classes/zh_CN/class_canvasitem.rst +++ b/classes/zh_CN/class_canvasitem.rst @@ -831,11 +831,11 @@ enum **ClipChildrenMode**: :ref:`🔗` |void| **draw_arc**\ (\ center\: :ref:`Vector2`, radius\: :ref:`float`, start_angle\: :ref:`float`, end_angle\: :ref:`float`, point_count\: :ref:`int`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws an unfilled arc between the given angles with a uniform ``color`` and ``width`` and optional antialiasing (supported only for positive ``width``). The larger the value of ``point_count``, the smoother the curve. ``center`` is defined in local space. See also :ref:`draw_circle()`. +使用一个 uniform ``color`` 和 ``width`` 以及可选的抗锯齿(仅支持正 ``width`` ),在给定的角度之间绘制一条未填充的弧线。\ ``point_count`` 的值越大,该曲线越平滑。\ ``center`` 定义在局部空间。另见 :ref:`draw_circle()`\ 。 -If ``width`` is negative, it will be ignored and the arc will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the arc will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则它将被忽略,并使用 :ref:`RenderingServer.PRIMITIVE_LINE_STRIP` 绘制该弧线。这意味着当缩放 CanvasItem 时,弧线将保持细长。如果不需要此行为,请传递一个正的 ``width``\ ,如 ``1.0``\ 。 -The arc is drawn from ``start_angle`` towards the value of ``end_angle`` so in clockwise direction if ``start_angle < end_angle`` and counter-clockwise otherwise. Passing the same angles but in reversed order will produce the same arc. If absolute difference of ``start_angle`` and ``end_angle`` is greater than :ref:`@GDScript.TAU` radians, then a full circle arc is drawn (i.e. arc will not overlap itself). +如果 ``start_angle < end_angle`` ,则圆弧是从 ``start_angle`` 朝向 ``end_angle`` 的值绘制的,即是顺时针方向;否则为逆时针方向。以相反的顺序传递相同的角度,将产生相同的弧线。如果 ``start_angle`` 和 ``end_angle`` 的差的绝对值大于 :ref:`@GDScript.TAU` 弧度,则绘制一个完整的圆弧(即弧线不会与自身重叠)。 .. rst-class:: classref-item-separator @@ -847,7 +847,7 @@ The arc is drawn from ``start_angle`` towards the value of ``end_angle`` so in c |void| **draw_char**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, char\: :ref:`String`, font_size\: :ref:`int` = 16, modulate\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws a string first character using a custom font. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. ``pos`` is defined in local space. +使用自定义字体绘制字符串中的第一个字符。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。\ ``pos`` 定义在局部空间。 .. rst-class:: classref-item-separator @@ -859,7 +859,7 @@ Draws a string first character using a custom font. If ``oversampling`` is great |void| **draw_char_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, char\: :ref:`String`, font_size\: :ref:`int` = 16, size\: :ref:`int` = -1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws a string first character outline using a custom font. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. ``pos`` is defined in local space. +使用自定义字体绘制字符串中第一个字符的轮廓。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。\ ``pos`` 定义在局部空间。 .. rst-class:: classref-item-separator @@ -871,15 +871,15 @@ Draws a string first character outline using a custom font. If ``oversampling`` |void| **draw_circle**\ (\ position\: :ref:`Vector2`, radius\: :ref:`float`, color\: :ref:`Color`, filled\: :ref:`bool` = true, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a circle, with ``position`` defined in local space. See also :ref:`draw_arc()`, :ref:`draw_polyline()`, and :ref:`draw_polygon()`. +绘制圆形,\ ``position`` 定义在局部空间。另见 :ref:`draw_arc()`\ 、\ :ref:`draw_polyline()`\ 、\ :ref:`draw_polygon()`\ 。 -If ``filled`` is ``true``, the circle will be filled with the ``color`` specified. If ``filled`` is ``false``, the circle will be drawn as a stroke with the ``color`` and ``width`` specified. +如果 ``filled`` 为 ``true``\ ,则圆形将使用指定的 ``color`` 填充。如果 ``filled`` 为 ``false``\ ,则圆形将被绘制为具有指定的 ``color`` 和 ``width`` 的笔划。 -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则将绘制两点图元而不是四点图元。这意味着当缩放 CanvasItem 时,线条将保持细长。如果不需要此行为,请传递一个正的 ``width``\ ,如 ``1.0``\ 。 -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +如果 ``antialiased`` 为 ``true``\ ,则半透明的“羽毛”将附加到边界,使轮廓变得平滑。 -\ **Note:** ``width`` is only effective if ``filled`` is ``false``. +\ **注意:**\ ``width`` 只有在 ``filled`` 为 ``false`` 时才有效。 .. rst-class:: classref-item-separator @@ -891,9 +891,9 @@ If ``antialiased`` is ``true``, half transparent "feathers" will be attached to |void| **draw_colored_polygon**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, uvs\: :ref:`PackedVector2Array` = PackedVector2Array(), texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a colored polygon of any number of points, convex or concave. The points in the ``points`` array are defined in local space. Unlike :ref:`draw_polygon()`, a single color must be specified for the whole polygon. +绘制一个由任意数量的点构成的实心多边形,凹凸均可。\ ``points`` 数组中的点定义在局部空间。与 :ref:`draw_polygon()` 不同,必须为整个多边形制定单一颜色。 -\ **Note:** If you frequently redraw the same polygon with a large number of vertices, consider pre-calculating the triangulation with :ref:`Geometry2D.triangulate_polygon()` and using :ref:`draw_mesh()`, :ref:`draw_multimesh()`, or :ref:`RenderingServer.canvas_item_add_triangle_array()`. +\ **注意:**\ 如果你需要频繁重绘同样的多边形,包含大量顶点,请考虑预先使用 :ref:`Geometry2D.triangulate_polygon()` 进行三角剖分计算,并使用 :ref:`draw_mesh()`\ 、\ :ref:`draw_multimesh()` 或 :ref:`RenderingServer.canvas_item_add_triangle_array()`\ 。 .. rst-class:: classref-item-separator @@ -905,15 +905,15 @@ Draws a colored polygon of any number of points, convex or concave. The points i |void| **draw_dashed_line**\ (\ from\: :ref:`Vector2`, to\: :ref:`Vector2`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, dash\: :ref:`float` = 2.0, aligned\: :ref:`bool` = true, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a dashed line from a 2D point to another, with a given color and width. The ``from`` and ``to`` positions are defined in local space. See also :ref:`draw_line()`, :ref:`draw_multiline()`, and :ref:`draw_polyline()`. +使用给定的颜色和宽度,从一个 2D 点到另一个点绘制一条虚线。\ ``from`` 位置和 ``to`` 位置定义在局部空间。另见 :ref:`draw_line()`\ 、\ :ref:`draw_multiline()` 和 :ref:`draw_polyline()`\ 。 -If ``width`` is negative, then a two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the line parts will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则将绘制一个两点图元而不是一个四点图元。这意味着当缩放 CanvasItem 时,线条部分将保持细长。如果不需要此行为,请传递一个正的 ``width``\ ,如 ``1.0``\ 。 -\ ``dash`` is the length of each dash in pixels, with the gap between each dash being the same length. If ``aligned`` is ``true``, the length of the first and last dashes may be shortened or lengthened to allow the line to begin and end at the precise points defined by ``from`` and ``to``. Both ends are always symmetrical when ``aligned`` is ``true``. If ``aligned`` is ``false``, all dashes will have the same length, but the line may appear incomplete at the end due to the dash length not dividing evenly into the line length. Only full dashes are drawn when ``aligned`` is ``false``. +\ ``dash`` 是每一段的长度,单位为像素,段与段之间的留空使用相同的长度。如果 ``aligned`` 为 ``true``\ ,则可能会缩短第一段和最后一段的长度,使得虚线的两端精确地落在 ``from`` 和 ``to`` 所定义的位置。\ ``aligned`` 为 ``true`` 时虚线两端始终是对称的。如果 ``aligned`` 为 ``false``\ ,则每一段的长度都相同,但是虚线长度无法被段长度整除时,末尾可能看上去不完整。\ ``aligned`` 为 ``false`` 时只会绘制完整的段。 -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +如果 ``antialiased`` 为 ``true``\ ,则半透明的“羽毛”将附加到边界,使轮廓变得平滑。 -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **注意:**\ 仅当 ``width`` 大于 ``0.0`` 时,\ ``antialiased`` 才有效。 .. rst-class:: classref-item-separator @@ -937,9 +937,9 @@ If ``antialiased`` is ``true``, half transparent "feathers" will be attached to |void| **draw_lcd_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a textured rectangle region of the font texture with LCD subpixel anti-aliasing at a given position, optionally modulated by a color. The ``rect`` is defined in local space. +在给定的位置绘制一个带有 LCD 子像素抗锯齿的字体纹理的矩形区域,可以选择用一种颜色来调制。\ ``rect`` 定义在局部空间。 -Texture is drawn using the following blend operation, blend mode of the :ref:`CanvasItemMaterial` is ignored: +纹理是通过以下混合操作绘制的,\ :ref:`CanvasItemMaterial` 的混合模式被忽略: :: @@ -958,9 +958,9 @@ Texture is drawn using the following blend operation, blend mode of the :ref:`Ca |void| **draw_line**\ (\ from\: :ref:`Vector2`, to\: :ref:`Vector2`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a line from a 2D point to another, with a given color and width. It can be optionally antialiased. The ``from`` and ``to`` positions are defined in local space. See also :ref:`draw_dashed_line()`, :ref:`draw_multiline()`, and :ref:`draw_polyline()`. +使用给定的颜色和宽度,从一个 2D 点到另一个点绘制一条直线。它可以选择抗锯齿。\ ``from`` 位置和 ``to`` 位置定义在局部空间。另见 :ref:`draw_dashed_line()`\ 、\ :ref:`draw_multiline()` 和 :ref:`draw_polyline()`\ 。 -If ``width`` is negative, then a two-point primitive will be drawn instead of a four-point one. This means that when the CanvasItem is scaled, the line will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则将绘制一个两点图元而不是一个四点图元。这意味着当缩放 CanvasItem 时,线条将保持细长。如果不需要此行为,请传递一个正的 ``width``\ ,如 ``1.0``\ 。 .. rst-class:: classref-item-separator @@ -972,7 +972,7 @@ If ``width`` is negative, then a two-point primitive will be drawn instead of a |void| **draw_mesh**\ (\ mesh\: :ref:`Mesh`, texture\: :ref:`Texture2D`, transform\: :ref:`Transform2D` = Transform2D(1, 0, 0, 1, 0, 0), modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a :ref:`Mesh` in 2D, using the provided texture. See :ref:`MeshInstance2D` for related documentation. The ``transform`` is defined in local space. +使用所提供的纹理以 2D 方式绘制一个 :ref:`Mesh`\ 。相关文档请参阅 :ref:`MeshInstance2D`\ 。\ ``transform`` 定义在局部空间。 .. rst-class:: classref-item-separator @@ -984,11 +984,11 @@ Draws a :ref:`Mesh` in 2D, using the provided texture. See :ref:`Mes |void| **draw_msdf_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), outline\: :ref:`float` = 0.0, pixel_range\: :ref:`float` = 4.0, scale\: :ref:`float` = 1.0\ ) :ref:`🔗` -Draws a textured rectangle region of the multichannel signed distance field texture at a given position, optionally modulated by a color. The ``rect`` is defined in local space. See :ref:`FontFile.multichannel_signed_distance_field` for more information and caveats about MSDF font rendering. +在给定位置,绘制一条多通道有符号距离场纹理的纹理矩形区域,可以选择用一种颜色来调制。\ ``rect`` 定义在局部空间。有关 MSDF 字体渲染的更多信息和注意事项,请参阅 :ref:`FontFile.multichannel_signed_distance_field`\ 。 -If ``outline`` is positive, each alpha channel value of pixel in region is set to maximum value of true distance in the ``outline`` radius. +如果 ``outline`` 为正,则区域中像素的每个 Alpha 通道值都被设置为 ``outline`` 半径内真实距离的最大值。 -Value of the ``pixel_range`` should the same that was used during distance field texture generation. +\ ``pixel_range`` 的值应该与距离场纹理生成期间使用的值相同。 .. rst-class:: classref-item-separator @@ -1000,11 +1000,11 @@ Value of the ``pixel_range`` should the same that was used during distance field |void| **draw_multiline**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws multiple disconnected lines with a uniform ``width`` and ``color``. Each line is defined by two consecutive points from ``points`` array in local space, i.e. i-th segment consists of ``points[2 * i]``, ``points[2 * i + 1]`` endpoints. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw interconnected lines, use :ref:`draw_polyline()` instead. +使用一致的宽度 ``width`` 和颜色 ``color`` 绘制多条断开的线段。\ ``points`` 数组中相邻的两个点定义一条线段,即第 i 条线段由端点 ``points[2 * i]`` 和 ``points[2 * i + 1]`` 组成,这些点定义在局部空间。绘制大量线段时,这种方法比使用 :ref:`draw_line()` 一条条画要快。要绘制相连的线段,请改用 :ref:`draw_polyline()`\ 。 -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负数,则会绘制由两个点组成的图元,不使用四个点组成的图元。此时如果 CanvasItem 发生缩放,则线段仍然会很细。如果不想要这样的行为,请传入 ``1.0`` 等正数 ``width``\ 。 -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **注意:**\ 仅当 ``width`` 大于 ``0.0`` 时,\ ``antialiased`` 才有效。 .. rst-class:: classref-item-separator @@ -1016,11 +1016,11 @@ If ``width`` is negative, then two-point primitives will be drawn instead of a f |void| **draw_multiline_colors**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws multiple disconnected lines with a uniform ``width`` and segment-by-segment coloring. Each segment is defined by two consecutive points from ``points`` array in local space and a corresponding color from ``colors`` array, i.e. i-th segment consists of ``points[2 * i]``, ``points[2 * i + 1]`` endpoints and has ``colors[i]`` color. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw interconnected lines, use :ref:`draw_polyline_colors()` instead. +使用一致的宽度 ``width`` 分段颜色绘制多条断开的线段。\ ``points`` 数组中相邻的两个点定义一条线段,即第 i 条线段由端点 ``points[2 * i]`` 和 ``points[2 * i + 1]`` 组成,这些点定义在局部空间,使用的颜色为 ``colors[i]``\ 。绘制大量线段时,这种方法比使用 :ref:`draw_line()` 一条条画要快。要绘制相连的线段,请改用 :ref:`draw_polyline_colors()`\ 。 -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负数,则会绘制由两个点组成的图元,不使用四个点组成的图元。此时如果 CanvasItem 发生缩放,则线段仍然会很细。如果不想要这样的行为,请传入 ``1.0`` 等正数 ``width``\ 。 -\ **Note:** ``antialiased`` is only effective if ``width`` is greater than ``0.0``. +\ **注意:**\ 仅当 ``width`` 大于 ``0.0`` 时,\ ``antialiased`` 才有效。 .. rst-class:: classref-item-separator @@ -1032,7 +1032,7 @@ If ``width`` is negative, then two-point primitives will be drawn instead of a f |void| **draw_multiline_string**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, max_lines\: :ref:`int` = -1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), brk_flags\: |bitfield|\[:ref:`LineBreakFlag`\] = 3, justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Breaks ``text`` into lines and draws it using the specified ``font`` at the ``pos`` in local space (top-left corner). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +使用 ``font`` 字体分若干行绘制 ``text`` 文本,以局部空间中的 ``pos`` 作为左上角。文本颜色会与 ``modulate`` 相乘。如果 ``width`` 大于等于 0,则文本超出该宽度的部分会被裁剪。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。 .. rst-class:: classref-item-separator @@ -1044,7 +1044,7 @@ Breaks ``text`` into lines and draws it using the specified ``font`` at the ``po |void| **draw_multiline_string_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, max_lines\: :ref:`int` = -1, size\: :ref:`int` = 1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), brk_flags\: |bitfield|\[:ref:`LineBreakFlag`\] = 3, justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Breaks ``text`` to the lines and draws text outline using the specified ``font`` at the ``pos`` in local space (top-left corner). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +使用 ``font`` 字体分若干行绘制 ``text`` 文本的轮廓,以局部空间中的 ``pos`` 作为左上角。文本颜色会与 ``modulate`` 相乘。如果 ``width`` 大于等于 0,则文本超出该宽度的部分会被裁剪。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。 .. rst-class:: classref-item-separator @@ -1068,9 +1068,9 @@ Breaks ``text`` to the lines and draws text outline using the specified ``font`` |void| **draw_polygon**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, uvs\: :ref:`PackedVector2Array` = PackedVector2Array(), texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a solid polygon of any number of points, convex or concave. Unlike :ref:`draw_colored_polygon()`, each point's color can be changed individually. The ``points`` array is defined in local space. See also :ref:`draw_polyline()` and :ref:`draw_polyline_colors()`. If you need more flexibility (such as being able to use bones), use :ref:`RenderingServer.canvas_item_add_triangle_array()` instead. +绘制一个由任意数量的点构成的实心多边形,凹凸均可。与 :ref:`draw_colored_polygon()` 不同,每个点的颜色都可以单独修改。\ ``points`` 数组定义在局部空间。另见 :ref:`draw_polyline()` 和 :ref:`draw_polyline_colors()`\ 。如果需要更高的灵活度(例如能够用到骨骼),请改用 :ref:`RenderingServer.canvas_item_add_triangle_array()`\ 。 -\ **Note:** If you frequently redraw the same polygon with a large number of vertices, consider pre-calculating the triangulation with :ref:`Geometry2D.triangulate_polygon()` and using :ref:`draw_mesh()`, :ref:`draw_multimesh()`, or :ref:`RenderingServer.canvas_item_add_triangle_array()`. +\ **注意:**\ 如果你需要频繁重绘同样的多边形,包含大量顶点,请考虑预先使用 :ref:`Geometry2D.triangulate_polygon()` 进行三角剖分计算,并使用 :ref:`draw_mesh()`\ 、\ :ref:`draw_multimesh()` 或 :ref:`RenderingServer.canvas_item_add_triangle_array()`\ 。 .. rst-class:: classref-item-separator @@ -1082,9 +1082,9 @@ Draws a solid polygon of any number of points, convex or concave. Unlike :ref:`d |void| **draw_polyline**\ (\ points\: :ref:`PackedVector2Array`, color\: :ref:`Color`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws interconnected line segments with a uniform ``color`` and ``width`` and optional antialiasing (supported only for positive ``width``). The ``points`` array is defined in local space. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw disconnected lines, use :ref:`draw_multiline()` instead. See also :ref:`draw_polygon()`. +使用一致的 ``color`` 和 ``width`` 以及可选的抗锯齿(仅支持正 ``width`` ),绘制相互连接的线段。\ ``points`` 数组定义在局部空间。绘制大量线条时,这比使用单独的 :ref:`draw_line()` 调用更快。要绘制不相连的的线段,请改用 :ref:`draw_multiline()`\ 。另见 :ref:`draw_polygon()`\ 。 -If ``width`` is negative, it will be ignored and the polyline will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the polyline will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则它将被忽略,并使用 :ref:`RenderingServer.PRIMITIVE_LINE_STRIP` 绘制该折线。这意味着当 CanvasItem 被缩放时,折线将保持为细线。如果不需要该行为,请传入一个正的 ``width``\ ,如 ``1.0``\ 。 .. rst-class:: classref-item-separator @@ -1096,9 +1096,9 @@ If ``width`` is negative, it will be ignored and the polyline will be drawn usin |void| **draw_polyline_colors**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws interconnected line segments with a uniform ``width``, point-by-point coloring, and optional antialiasing (supported only for positive ``width``). Colors assigned to line points match by index between ``points`` and ``colors``, i.e. each line segment is filled with a gradient between the colors of the endpoints. The ``points`` array is defined in local space. When drawing large amounts of lines, this is faster than using individual :ref:`draw_line()` calls. To draw disconnected lines, use :ref:`draw_multiline_colors()` instead. See also :ref:`draw_polygon()`. +绘制相连的线段,使用一致的宽度 ``width``\ ,按点指定颜色,还可以开启抗锯齿(仅支持正的 ``width``\ )。将颜色与线段上的点匹配时,使用的是 ``points`` 和 ``colors`` 的索引,即每条线段填充的都是在两个端点之间颜色的渐变色。\ ``points`` 数组定义在局部空间。绘制大量线段时,这种方法比使用 :ref:`draw_line()` 一条条画要快。要绘制不相连的线段,请改用 :ref:`draw_multiline_colors()`\ 。另见 :ref:`draw_polygon()`\ 。 -If ``width`` is negative, it will be ignored and the polyline will be drawn using :ref:`RenderingServer.PRIMITIVE_LINE_STRIP`. This means that when the CanvasItem is scaled, the polyline will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则它将被忽略,并使用 :ref:`RenderingServer.PRIMITIVE_LINE_STRIP` 绘制该折线。这意味着当 CanvasItem 被缩放时,折线将保持为细线。如果不需要该行为,请传入一个正的 ``width``\ ,如 ``1.0``\ 。 .. rst-class:: classref-item-separator @@ -1110,7 +1110,7 @@ If ``width`` is negative, it will be ignored and the polyline will be drawn usin |void| **draw_primitive**\ (\ points\: :ref:`PackedVector2Array`, colors\: :ref:`PackedColorArray`, uvs\: :ref:`PackedVector2Array`, texture\: :ref:`Texture2D` = null\ ) :ref:`🔗` -Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for a triangle, and 4 points for a quad. If 0 points or more than 4 points are specified, nothing will be drawn and an error message will be printed. The ``points`` array is defined in local space. See also :ref:`draw_line()`, :ref:`draw_polyline()`, :ref:`draw_polygon()`, and :ref:`draw_rect()`. +绘制自定义图元。1 个点的是个点,2 个点的是线段,3 个点的是三角形,4 个点的是四边形。如果没有指定点或者指定了超过 4 个点,则不会绘制任何东西,只会输出错误消息。\ ``points`` 数组定义在局部空间。另见 :ref:`draw_line()`\ 、\ :ref:`draw_polyline()`\ 、\ :ref:`draw_polygon()`\ 、\ :ref:`draw_rect()`\ 。 .. rst-class:: classref-item-separator @@ -1122,15 +1122,15 @@ Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for |void| **draw_rect**\ (\ rect\: :ref:`Rect2`, color\: :ref:`Color`, filled\: :ref:`bool` = true, width\: :ref:`float` = -1.0, antialiased\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a rectangle. If ``filled`` is ``true``, the rectangle will be filled with the ``color`` specified. If ``filled`` is ``false``, the rectangle will be drawn as a stroke with the ``color`` and ``width`` specified. The ``rect`` is specified in local space. See also :ref:`draw_texture_rect()`. +绘制一个矩形。如果 ``filled`` 为 ``true``\ ,则矩形将使用指定的 ``color`` 填充。如果 ``filled`` 为 ``false``\ ,则矩形将被绘制为具有指定的 ``color`` 和 ``width`` 的笔划。\ ``rect`` 使用局部空间指定。另见 :ref:`draw_texture_rect()`\ 。 -If ``width`` is negative, then two-point primitives will be drawn instead of a four-point ones. This means that when the CanvasItem is scaled, the lines will remain thin. If this behavior is not desired, then pass a positive ``width`` like ``1.0``. +如果 ``width`` 为负,则将绘制一个两点图元而不是一个四点图元。这意味着当缩放 CanvasItem 时,线条将保持细长。如果不需要此行为,请传递一个正的 ``width``\ ,如 ``1.0``\ 。 -If ``antialiased`` is ``true``, half transparent "feathers" will be attached to the boundary, making outlines smooth. +如果 ``antialiased`` 为 ``true``\ ,则半透明的“羽毛”将附加到边界,使轮廓变得平滑。 -\ **Note:** ``width`` is only effective if ``filled`` is ``false``. +\ **注意:**\ ``width`` 只有在 ``filled`` 为 ``false`` 时才有效。 -\ **Note:** Unfilled rectangles drawn with a negative ``width`` may not display perfectly. For example, corners may be missing or brighter due to overlapping lines (for a translucent ``color``). +\ **注意:**\ 使用负 ``width`` 绘制的未填充矩形可能不会完美显示。例如,由于线条的重叠,角可能会缺失或变亮(对于半透明的 ``color``\ )。 .. rst-class:: classref-item-separator @@ -1142,9 +1142,9 @@ If ``antialiased`` is ``true``, half transparent "feathers" will be attached to |void| **draw_set_transform**\ (\ position\: :ref:`Vector2`, rotation\: :ref:`float` = 0.0, scale\: :ref:`Vector2` = Vector2(1, 1)\ ) :ref:`🔗` -Sets a custom local transform for drawing via components. Anything drawn afterwards will be transformed by this. +使用分量设置用于绘图的自定义局部变换。后续的绘制都会使用这个变换。 -\ **Note:** :ref:`FontFile.oversampling` does *not* take ``scale`` into account. This means that scaling up/down will cause bitmap fonts and rasterized (non-MSDF) dynamic fonts to appear blurry or pixelated. To ensure text remains crisp regardless of scale, you can enable MSDF font rendering by enabling :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field` (applies to the default project font only), or enabling **Multichannel Signed Distance Field** in the import options of a DynamicFont for custom fonts. On system fonts, :ref:`SystemFont.multichannel_signed_distance_field` can be enabled in the inspector. +\ **注意:**\ :ref:`FontFile.oversampling` *不会*\ 考虑 ``scale``\ 。这意味着将位图字体及栅格化(非 MSDF)动态字体放大/缩小会产生模糊或像素化的结果。要让文本无论如何缩放都保持清晰,可以启用 MSDF 字体渲染,方法是启用 :ref:`ProjectSettings.gui/theme/default_font_multichannel_signed_distance_field`\ (仅应用于默认项目字体),或者启用自定义 DynamicFont 的\ **多通道带符号距离场**\ 导入选项。对于系统字体,可以在检查器中启用 :ref:`SystemFont.multichannel_signed_distance_field`\ 。 .. rst-class:: classref-item-separator @@ -1156,7 +1156,7 @@ Sets a custom local transform for drawing via components. Anything drawn afterwa |void| **draw_set_transform_matrix**\ (\ xform\: :ref:`Transform2D`\ ) :ref:`🔗` -Sets a custom local transform for drawing via matrix. Anything drawn afterwards will be transformed by this. +设置通过矩阵绘制时的自定义局部变换。此后绘制的任何东西都将被它变换。 .. rst-class:: classref-item-separator @@ -1168,34 +1168,34 @@ Sets a custom local transform for drawing via matrix. Anything drawn afterwards |void| **draw_string**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, modulate\: :ref:`Color` = Color(1, 1, 1, 1), justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws ``text`` using the specified ``font`` at the ``pos`` in local space (bottom-left corner using the baseline of the font). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +使用 ``font`` 字体绘制 ``text`` 文本,以局部空间中的 ``pos`` 作为左下角,对齐字体基线。文本颜色会与 ``modulate`` 相乘。如果 ``width`` 大于等于 0,则文本超出该宽度的部分会被裁剪。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。 -\ **Example:** Draw "Hello world", using the project's default font: +\ **示例:**\ 使用项目默认字体绘制“Hello world”: .. tabs:: .. code-tab:: gdscript - # If using this method in a script that redraws constantly, move the - # `default_font` declaration to a member variable assigned in `_ready()` - # so the Control is only created once. + # 如果在不断重绘的脚本中使用此方法, + # 则将 `default_font` 声明移动到在 `_ready()` 中赋值的成员变量中 + # 这样 Control 只创建一次。 var default_font = ThemeDB.fallback_font var default_font_size = ThemeDB.fallback_font_size draw_string(default_font, Vector2(64, 64), "Hello world", HORIZONTAL_ALIGNMENT_LEFT, -1, default_font_size) .. code-tab:: csharp - // If using this method in a script that redraws constantly, move the - // `default_font` declaration to a member variable assigned in `_Ready()` - // so the Control is only created once. + // 如果在不断重绘的脚本中使用此方法, + // 则将 `default_font` 声明移动到在 `_ready()` 中赋值的成员变量中 + // 这样 Control 只创建一次。 Font defaultFont = ThemeDB.FallbackFont; int defaultFontSize = ThemeDB.FallbackFontSize; DrawString(defaultFont, new Vector2(64, 64), "Hello world", HORIZONTAL_ALIGNMENT_LEFT, -1, defaultFontSize); -See also :ref:`Font.draw_string()`. +另见 :ref:`Font.draw_string()`\ 。 .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ See also :ref:`Font.draw_string()`. |void| **draw_string_outline**\ (\ font\: :ref:`Font`, pos\: :ref:`Vector2`, text\: :ref:`String`, alignment\: :ref:`HorizontalAlignment` = 0, width\: :ref:`float` = -1, font_size\: :ref:`int` = 16, size\: :ref:`int` = 1, modulate\: :ref:`Color` = Color(1, 1, 1, 1), justification_flags\: |bitfield|\[:ref:`JustificationFlag`\] = 3, direction\: :ref:`Direction` = 0, orientation\: :ref:`Orientation` = 0, oversampling\: :ref:`float` = 0.0\ ) |const| :ref:`🔗` -Draws ``text`` outline using the specified ``font`` at the ``pos`` in local space (bottom-left corner using the baseline of the font). The text will have its color multiplied by ``modulate``. If ``width`` is greater than or equal to 0, the text will be clipped if it exceeds the specified width. If ``oversampling`` is greater than zero, it is used as font oversampling factor, otherwise viewport oversampling settings are used. +使用 ``font`` 字体绘制 ``text`` 文本的轮廓,以局部空间中的 ``pos`` 作为左下角,对齐字体基线。文本颜色会与 ``modulate`` 相乘。如果 ``width`` 大于等于 0,则文本超出该宽度的部分会被裁剪。如果 ``oversampling`` 大于零则会用作字体过采样系数,否则使用视口的过采样设置。 .. rst-class:: classref-item-separator @@ -1219,7 +1219,7 @@ Draws ``text`` outline using the specified ``font`` at the ``pos`` in local spac |void| **draw_style_box**\ (\ style_box\: :ref:`StyleBox`, rect\: :ref:`Rect2`\ ) :ref:`🔗` -Draws a styled rectangle. The ``rect`` is defined in local space. +绘制风格化的矩形。\ ``rect`` 定义在局部空间。 .. rst-class:: classref-item-separator @@ -1231,7 +1231,7 @@ Draws a styled rectangle. The ``rect`` is defined in local space. |void| **draw_texture**\ (\ texture\: :ref:`Texture2D`, position\: :ref:`Vector2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1)\ ) :ref:`🔗` -Draws a texture at a given position. The ``position`` is defined in local space. +在给定的位置绘制纹理。\ ``position`` 定义在局部空间。 .. rst-class:: classref-item-separator @@ -1243,7 +1243,7 @@ Draws a texture at a given position. The ``position`` is defined in local space. |void| **draw_texture_rect**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, tile\: :ref:`bool`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false\ ) :ref:`🔗` -Draws a textured rectangle at a given position, optionally modulated by a color. The ``rect`` is defined in local space. If ``transpose`` is ``true``, the texture will have its X and Y coordinates swapped. See also :ref:`draw_rect()` and :ref:`draw_texture_rect_region()`. +在给定位置绘制一个带纹理的矩形,可以选择用颜色调制。\ ``rect`` 定义在局部空间。如果 ``transpose`` 为 ``true``\ ,则纹理将交换其 X 和 Y 坐标。另见 :ref:`draw_rect()` 和 :ref:`draw_texture_rect_region()`\ 。 .. rst-class:: classref-item-separator @@ -1255,7 +1255,7 @@ Draws a textured rectangle at a given position, optionally modulated by a color. |void| **draw_texture_rect_region**\ (\ texture\: :ref:`Texture2D`, rect\: :ref:`Rect2`, src_rect\: :ref:`Rect2`, modulate\: :ref:`Color` = Color(1, 1, 1, 1), transpose\: :ref:`bool` = false, clip_uv\: :ref:`bool` = true\ ) :ref:`🔗` -Draws a textured rectangle from a texture's region (specified by ``src_rect``) at a given position in local space, optionally modulated by a color. If ``transpose`` is ``true``, the texture will have its X and Y coordinates swapped. See also :ref:`draw_texture_rect()`. +在给定的局部空间位置绘制具有纹理的矩形,可以指定所使用的纹理区域(由 ``src_rect`` 指定),可选择用颜色调制。如果 ``transpose`` 为 ``true``\ ,则纹理将交换其 X 和 Y 坐标。另见 :ref:`draw_texture_rect()`\ 。 .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_canvasmodulate.rst b/classes/zh_CN/class_canvasmodulate.rst index 9ab385db31..e672b0b8bf 100644 --- a/classes/zh_CN/class_canvasmodulate.rst +++ b/classes/zh_CN/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/zh_CN/class_characterbody2d.rst b/classes/zh_CN/class_characterbody2d.rst index 0253f3d134..68fbc986de 100644 --- a/classes/zh_CN/class_characterbody2d.rst +++ b/classes/zh_CN/class_characterbody2d.rst @@ -439,7 +439,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -当前速度向量,单位为像素每秒,调用 :ref:`move_and_slide()` 期间会进行使用并修改。 +Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -702,15 +704,17 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -根据 :ref:`velocity` 移动该物体。该物体如果与其他物体发生碰撞,则会沿着对方滑动(默认只在地板上滑动),不会立即停止移动。如果对方是 **CharacterBody2D** 或 :ref:`RigidBody2D`\ ,还会受到对方运动的影响。可以用于制作移动、旋转的平台,也可用于推动其他节点。 +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -发生滑动碰撞时会改变 :ref:`velocity`\ 。要获取最后一次碰撞,请调用 :ref:`get_last_slide_collision()`\ ,要获取碰撞的更多信息,请使用 :ref:`get_slide_collision()`\ 。 +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -该物体接触到移动平台时,平台的速度会自动加入到该物体的运动中。平台运动所造成的碰撞始终为所有滑动碰撞中的第一个。 +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -通用行为和可用属性会根据 :ref:`motion_mode` 发生改变。 +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. -如果该物体发生了碰撞,则返回 ``true``\ ,否则返回 ``false``\ 。 +The general behavior and available properties change according to the :ref:`motion_mode`. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_characterbody3d.rst b/classes/zh_CN/class_characterbody3d.rst index 27cd78a7ef..897f7163a9 100644 --- a/classes/zh_CN/class_characterbody3d.rst +++ b/classes/zh_CN/class_characterbody3d.rst @@ -443,7 +443,9 @@ enum **PlatformOnLeave**: :ref:`🔗` - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -当前速度向量(通常为米每秒),调用 :ref:`move_and_slide()` 期间会进行使用并修改。 +Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -697,13 +699,15 @@ enum **PlatformOnLeave**: :ref:`🔗` :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -根据 :ref:`velocity` 移动该物体。该物体如果与其他物体发生碰撞,则会沿着对方滑动,不会立即停止移动。如果对方是 **CharacterBody3D** 或 :ref:`RigidBody3D`\ ,还会受到对方运动的影响。可以用于制作移动、旋转的平台,也可用于推动其他节点。 +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -发生滑动碰撞时会改变 :ref:`velocity`\ 。要获取最后一次碰撞,请调用 :ref:`get_last_slide_collision()`\ ,要获取碰撞的更多信息,请使用 :ref:`get_slide_collision()`\ 。 +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -该物体接触到移动平台时,平台的速度会自动加入到该物体的运动中。平台运动所造成的碰撞始终为所有滑动碰撞中的第一个。 +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -如果该物体发生了碰撞,则返回 ``true``\ ,否则返回 ``false``\ 。 +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_checkbutton.rst b/classes/zh_CN/class_checkbutton.rst index 327ecc82c5..43555e9cb1 100644 --- a/classes/zh_CN/class_checkbutton.rst +++ b/classes/zh_CN/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/zh_CN/class_decal.rst b/classes/zh_CN/class_decal.rst index a641739b83..5c4303cc79 100644 --- a/classes/zh_CN/class_decal.rst +++ b/classes/zh_CN/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/zh_CN/class_dictionary.rst b/classes/zh_CN/class_dictionary.rst index 01c5743354..0168578d23 100644 --- a/classes/zh_CN/class_dictionary.rst +++ b/classes/zh_CN/class_dictionary.rst @@ -12,18 +12,18 @@ Dictionary 描述 ---- -字典是关系容器,包含的值(Value)由唯一的键(Key)引用。添加新条目时,字典会保持插入顺序。在其他编程语言中,这种数据结构有时也称为哈希表或关联数组。 +Dictionaries are associative containers that contain values referenced by unique keys. Dictionaries will preserve the insertion order when adding new entries. In other programming languages, this data structure is often referred to as a hash map or an associative array. -在大括号 ``{}`` 中放置用逗号分隔的一对对 ``键: 值`` 列表就可以定义字典。 +You can define a dictionary by placing a comma-separated list of ``key: value`` pairs inside curly braces ``{}``. -字典的创建: +Creating a dictionary: .. tabs:: .. code-tab:: gdscript - var my_dict = {} # 创建空字典。 + var my_dict = {} # Creates an empty dictionary. var dict_variable_key = "Another key name" var dict_variable_value = "value2" @@ -34,17 +34,17 @@ Dictionary var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - # 备选 Lua 分隔语法。 - # 不需要在键周围加引号,但键名只能为字符串常量。 - # 另外,键名必须以字母或下划线开头。 - # 此处的 `some_key` 是字符串字面量,不是变量! + # Alternative Lua-style syntax. + # Doesn't require quotes around keys, but only string constants can be used as key names. + # Additionally, key names must start with a letter or an underscore. + # Here, `some_key` is a string literal, not a variable! another_dict = { some_key = 42, } .. code-tab:: csharp - var myDict = new Godot.Collections.Dictionary(); // 创建空字典。 + var myDict = new Godot.Collections.Dictionary(); // Creates an empty dictionary. var pointsDict = new Godot.Collections.Dictionary { { "White", 50 }, @@ -54,7 +54,7 @@ Dictionary -你可以通过键来访问字典中对应的值。上面的例子中,\ ``points_dict["White"]`` 会返回 ``50``\ 。你也可以写 ``points_dict.White``\ ,和前面的写法是等价的。不过如果用来访问字典的键不是固定字符串的话(例如数字或者变量),那么就只能使用方括号语法。 +You can access a dictionary's value by referencing its corresponding key. In the above example, ``points_dict["White"]`` will return ``50``. You can also write ``points_dict.White``, which is equivalent. However, you'll have to use the bracket syntax if the key you're accessing the dictionary with isn't a fixed string (such as a number or variable). .. tabs:: @@ -64,7 +64,7 @@ Dictionary @export_enum("White", "Yellow", "Orange") var my_color: String var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } func _ready(): - # 不能使用点语法,因为 `my_color` 是变量。 + # We can't use dot syntax here as `my_color` is a variable. var points = points_dict[my_color] .. code-tab:: csharp @@ -85,9 +85,9 @@ Dictionary -在上面的代码中,\ ``points`` 会被赋值为与 ``my_color`` 中选中的颜色相对应的值。 +In the above code, ``points`` will be assigned the value that is paired with the appropriate color selected in ``my_color``. -字典可以包含更复杂的数据: +Dictionaries can contain more complex data: .. tabs:: @@ -95,7 +95,7 @@ Dictionary .. code-tab:: gdscript var my_dict = { - "First Array": [1, 2, 3, 4] # 将 Array 赋给 String 键。 + "First Array": [1, 2, 3, 4] # Assigns an Array to a String key. } .. code-tab:: csharp @@ -107,7 +107,7 @@ Dictionary -要往已有字典中添加键,请像已有键一样进行访问并赋值: +To add a key to an existing dictionary, access it like an existing key and assign to it: .. tabs:: @@ -115,7 +115,7 @@ Dictionary .. code-tab:: gdscript var points_dict = { "White": 50, "Yellow": 75, "Orange": 100 } - points_dict["Blue"] = 150 # 将 "Blue" 添加为键,并将 150 赋为它的值。 + points_dict["Blue"] = 150 # Add "Blue" as a key and assign 150 as its value. .. code-tab:: csharp @@ -125,20 +125,20 @@ Dictionary { "Yellow", 75 }, { "Orange", 100 }, }; - pointsDict["Blue"] = 150; // 将 "Blue" 添加为键,并将 150 赋为它的值。 + pointsDict["Blue"] = 150; // Add "Blue" as a key and assign 150 as its value. -最后,同一个字典里可以包含不同类型的键和值: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: .. code-tab:: gdscript - # 这是有效的字典。 - # 要访问下面的 "Nested value",请使用 `my_dict.sub_dict.sub_key` 或 `my_dict["sub_dict"]["sub_key"]`。 - # 索引风格可以按需混合使用。 + # This is a valid dictionary. + # To access the string "Nested value" below, use `my_dict.sub_dict.sub_key` or `my_dict["sub_dict"]["sub_key"]`. + # Indexing styles can be mixed and matched depending on your needs. var my_dict = { "String Key": 5, 4: [1, 2, 3], @@ -148,8 +148,8 @@ Dictionary .. code-tab:: csharp - // 这是有效的字典。 - // 要访问下面的 "Nested value",请使用 `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`。 + // This is a valid dictionary. + // To access the string "Nested value" below, use `((Godot.Collections.Dictionary)myDict["sub_dict"])["sub_key"]`. var myDict = new Godot.Collections.Dictionary { { "String Key", 5 }, { 4, new Godot.Collections.Array { 1, 2, 3 } }, @@ -159,7 +159,7 @@ Dictionary -字典中的键可以用 ``for`` 关键字进行遍历: +The keys of a dictionary can be iterated with the ``for`` keyword: .. tabs:: @@ -175,14 +175,53 @@ Dictionary var groceries = new Godot.Collections.Dictionary { { "Orange", 20 }, { "Apple", 2 }, { "Banana", 4 } }; foreach (var (fruit, amount) in groceries) { - // `fruit` 为键,`amount` 为值。 + // `fruit` is the key, `amount` is the value. } -\ **注意:**\ 字典始终按引用传递。要获取字典的副本,能独立于原字典进行修改,请使用 :ref:`duplicate()`\ 。 +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: -\ **注意:**\ **不支持**\ 在遍历字典时清除元素,可能造成无法预知的行为。 + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + +\ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. + +\ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. .. note:: diff --git a/classes/zh_CN/class_diraccess.rst b/classes/zh_CN/class_diraccess.rst index ac93e65885..83d84314e0 100644 --- a/classes/zh_CN/class_diraccess.rst +++ b/classes/zh_CN/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/zh_CN/class_directionallight2d.rst b/classes/zh_CN/class_directionallight2d.rst index 0b319d9929..7b311b7c4c 100644 --- a/classes/zh_CN/class_directionallight2d.rst +++ b/classes/zh_CN/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/zh_CN/class_directionallight3d.rst b/classes/zh_CN/class_directionallight3d.rst index 193426e268..152971665a 100644 --- a/classes/zh_CN/class_directionallight3d.rst +++ b/classes/zh_CN/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/zh_CN/class_editorexportplatformvisionos.rst b/classes/zh_CN/class_editorexportplatformvisionos.rst index 5b1097929d..23d86c05c8 100644 --- a/classes/zh_CN/class_editorexportplatformvisionos.rst +++ b/classes/zh_CN/class_editorexportplatformvisionos.rst @@ -546,7 +546,7 @@ Apple 团队 ID,唯一的 10 字符的字符串。要找到你的团队 ID, .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_editorexportpreset.rst b/classes/zh_CN/class_editorexportpreset.rst index 1f74eadc70..1d834afb8a 100644 --- a/classes/zh_CN/class_editorexportpreset.rst +++ b/classes/zh_CN/class_editorexportpreset.rst @@ -99,7 +99,7 @@ enum **ExportFilter**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -111,7 +111,7 @@ enum **ExportFilter**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -123,7 +123,7 @@ enum **ExportFilter**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -135,7 +135,7 @@ enum **ExportFilter**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -147,7 +147,7 @@ enum **ExportFilter**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -169,7 +169,7 @@ enum **FileExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -181,7 +181,7 @@ enum **FileExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -193,7 +193,7 @@ enum **FileExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -205,7 +205,7 @@ enum **FileExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -227,7 +227,7 @@ enum **ScriptExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -239,7 +239,7 @@ enum **ScriptExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -251,7 +251,7 @@ enum **ScriptExportMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_editornode3dgizmo.rst b/classes/zh_CN/class_editornode3dgizmo.rst index edc9065b9d..027a9173e0 100644 --- a/classes/zh_CN/class_editornode3dgizmo.rst +++ b/classes/zh_CN/class_editornode3dgizmo.rst @@ -93,7 +93,7 @@ EditorNode3DGizmo .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_editornode3dgizmoplugin.rst b/classes/zh_CN/class_editornode3dgizmoplugin.rst index b2ae5b5c60..ddad73d4f8 100644 --- a/classes/zh_CN/class_editornode3dgizmoplugin.rst +++ b/classes/zh_CN/class_editornode3dgizmoplugin.rst @@ -98,7 +98,7 @@ EditorNode3DGizmoPlugin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_editorsceneformatimporter.rst b/classes/zh_CN/class_editorsceneformatimporter.rst index 0d33940bc1..aeaff3ed4f 100644 --- a/classes/zh_CN/class_editorsceneformatimporter.rst +++ b/classes/zh_CN/class_editorsceneformatimporter.rst @@ -59,7 +59,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -71,7 +71,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -83,7 +83,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -95,7 +95,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -107,7 +107,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -119,7 +119,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -131,7 +131,7 @@ EditorSceneFormatImporter .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_editorsceneformatimportergltf.rst b/classes/zh_CN/class_editorsceneformatimportergltf.rst index 2058681f38..38cc765cae 100644 --- a/classes/zh_CN/class_editorsceneformatimportergltf.rst +++ b/classes/zh_CN/class_editorsceneformatimportergltf.rst @@ -9,7 +9,7 @@ EditorSceneFormatImporterGLTF .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_editorscenepostimportplugin.rst b/classes/zh_CN/class_editorscenepostimportplugin.rst index 189a73c76c..212606f989 100644 --- a/classes/zh_CN/class_editorscenepostimportplugin.rst +++ b/classes/zh_CN/class_editorscenepostimportplugin.rst @@ -71,7 +71,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -83,7 +83,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -95,7 +95,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -107,7 +107,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -119,7 +119,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -131,7 +131,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -143,7 +143,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -155,7 +155,7 @@ enum **InternalImportCategory**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_editorsettings.rst b/classes/zh_CN/class_editorsettings.rst index 0a35c5593f..478a9af4cc 100644 --- a/classes/zh_CN/class_editorsettings.rst +++ b/classes/zh_CN/class_editorsettings.rst @@ -2452,7 +2452,7 @@ CSG 节点(例如 :ref:`CSGShape3D` 和 :ref:`CSGBox3D`__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2466,7 +2466,7 @@ CSG 节点(例如 :ref:`CSGShape3D` 和 :ref:`CSGBox3D`__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2480,7 +2480,7 @@ CSG 节点(例如 :ref:`CSGShape3D` 和 :ref:`CSGBox3D`__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2494,7 +2494,7 @@ CSG 节点(例如 :ref:`CSGShape3D` 和 :ref:`CSGBox3D`__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3599,9 +3599,9 @@ Blender 进程的最大空闲运行时间(单位为秒)。 :ref:`String` **interface/editor/editor_language** :ref:`🔗` -The language to use for the editor interface. +用于编辑器界面的语言。 -Translations are provided by the community. If you spot a mistake, `contribute to editor translations on Weblate! `__ +翻译由社区提供。如果发现错误,请\ `在 Weblate 上为编辑器翻译作出贡献! `__ .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_foldablecontainer.rst b/classes/zh_CN/class_foldablecontainer.rst index 89ca2896d6..a19c55d097 100644 --- a/classes/zh_CN/class_foldablecontainer.rst +++ b/classes/zh_CN/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/zh_CN/class_foldablegroup.rst b/classes/zh_CN/class_foldablegroup.rst index 9e1b83f188..d088b60334 100644 --- a/classes/zh_CN/class_foldablegroup.rst +++ b/classes/zh_CN/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: diff --git a/classes/zh_CN/class_generic6dofjoint3d.rst b/classes/zh_CN/class_generic6dofjoint3d.rst index 4c84ade3d2..3d43205348 100644 --- a/classes/zh_CN/class_generic6dofjoint3d.rst +++ b/classes/zh_CN/class_generic6dofjoint3d.rst @@ -309,7 +309,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -321,7 +321,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -333,7 +333,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -417,7 +417,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -429,7 +429,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -441,7 +441,7 @@ enum **Param**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -487,7 +487,7 @@ enum **Flag**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -499,7 +499,7 @@ enum **Flag**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1112,7 +1112,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1131,7 +1131,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1150,7 +1150,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1169,7 +1169,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1188,7 +1188,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1226,7 +1226,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1245,7 +1245,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1264,7 +1264,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1283,7 +1283,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1302,7 +1302,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1321,7 +1321,7 @@ Z 轴上电机的目标速度。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1799,7 +1799,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1818,7 +1818,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1837,7 +1837,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1856,7 +1856,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1875,7 +1875,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1894,7 +1894,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1913,7 +1913,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1932,7 +1932,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1951,7 +1951,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1970,7 +1970,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1989,7 +1989,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2008,7 +2008,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-section-separator @@ -2027,7 +2027,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2041,7 +2041,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2055,7 +2055,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2069,7 +2069,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2083,7 +2083,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2097,7 +2097,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2111,7 +2111,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2125,7 +2125,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2139,7 +2139,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2153,7 +2153,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2167,7 +2167,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2181,7 +2181,7 @@ Y 轴运动的恢复量。越低,动量损失越大。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_gltfanimation.rst b/classes/zh_CN/class_gltfanimation.rst index 59cd9806ef..91cf4f16f7 100644 --- a/classes/zh_CN/class_gltfanimation.rst +++ b/classes/zh_CN/class_gltfanimation.rst @@ -9,7 +9,7 @@ GLTFAnimation .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-introduction-group @@ -68,7 +68,7 @@ GLTFAnimation .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_gltfdocumentextensionconvertimportermesh.rst b/classes/zh_CN/class_gltfdocumentextensionconvertimportermesh.rst index c4698573c4..949d6cee0a 100644 --- a/classes/zh_CN/class_gltfdocumentextensionconvertimportermesh.rst +++ b/classes/zh_CN/class_gltfdocumentextensionconvertimportermesh.rst @@ -9,7 +9,7 @@ GLTFDocumentExtensionConvertImporterMesh .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-introduction-group diff --git a/classes/zh_CN/class_gltflight.rst b/classes/zh_CN/class_gltflight.rst index d82d3fd8c3..057ffbe3d7 100644 --- a/classes/zh_CN/class_gltflight.rst +++ b/classes/zh_CN/class_gltflight.rst @@ -223,7 +223,7 @@ GLTFLight .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -237,7 +237,7 @@ GLTFLight .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_gltfskeleton.rst b/classes/zh_CN/class_gltfskeleton.rst index 38b5470cc6..21f789918b 100644 --- a/classes/zh_CN/class_gltfskeleton.rst +++ b/classes/zh_CN/class_gltfskeleton.rst @@ -9,7 +9,7 @@ GLTFSkeleton .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-introduction-group @@ -78,7 +78,7 @@ GLTFSkeleton .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -99,7 +99,7 @@ GLTFSkeleton .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -120,7 +120,7 @@ GLTFSkeleton .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -134,7 +134,7 @@ GLTFSkeleton .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -160,7 +160,7 @@ GLTFSkeleton .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -174,7 +174,7 @@ GLTFSkeleton .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -200,7 +200,7 @@ GLTFSkeleton .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_gltfskin.rst b/classes/zh_CN/class_gltfskin.rst index 2815d1916b..a93ee16800 100644 --- a/classes/zh_CN/class_gltfskin.rst +++ b/classes/zh_CN/class_gltfskin.rst @@ -9,7 +9,7 @@ GLTFSkin .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-introduction-group @@ -86,7 +86,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -105,7 +105,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -126,7 +126,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -147,7 +147,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -168,7 +168,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedInt32Array` for more details. @@ -189,7 +189,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -208,7 +208,7 @@ GLTFSkin .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-section-separator @@ -227,7 +227,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -241,7 +241,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -255,7 +255,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -269,7 +269,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -283,7 +283,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -297,7 +297,7 @@ GLTFSkin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_gltfstate.rst b/classes/zh_CN/class_gltfstate.rst index 5c5ab956cf..9f0e66da39 100644 --- a/classes/zh_CN/class_gltfstate.rst +++ b/classes/zh_CN/class_gltfstate.rst @@ -256,7 +256,7 @@ GLTFState 的填写可以通过 :ref:`GLTFDocument` 读取 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -292,7 +292,7 @@ GLTFState 的填写可以通过 :ref:`GLTFDocument` 读取 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -381,7 +381,7 @@ GLTFState 的填写可以通过 :ref:`GLTFDocument` 读取 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -400,7 +400,7 @@ GLTFState 的填写可以通过 :ref:`GLTFDocument` 读取 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -455,7 +455,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-section-separator @@ -514,7 +514,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -578,7 +578,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -604,7 +604,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -642,7 +642,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -744,7 +744,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -782,7 +782,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -822,7 +822,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -848,7 +848,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -886,7 +886,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -960,7 +960,7 @@ glTF 文件的根节点。通常一个 glTF 文件只有一个场景,因此只 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_gpuparticles3d.rst b/classes/zh_CN/class_gpuparticles3d.rst index 8a49b16688..83c5a8a42d 100644 --- a/classes/zh_CN/class_gpuparticles3d.rst +++ b/classes/zh_CN/class_gpuparticles3d.rst @@ -259,7 +259,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -271,7 +271,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -283,7 +283,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -295,7 +295,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -499,7 +499,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -821,7 +821,7 @@ enum **TransformAlign**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_graphedit.rst b/classes/zh_CN/class_graphedit.rst index 1f780588b9..6475dc2454 100644 --- a/classes/zh_CN/class_graphedit.rst +++ b/classes/zh_CN/class_graphedit.rst @@ -1659,7 +1659,7 @@ enum **GridPattern**: :ref:`🔗` .. container:: contribute - 该主题属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this theme property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_graphnode.rst b/classes/zh_CN/class_graphnode.rst index f2bb5d11f1..afcad28142 100644 --- a/classes/zh_CN/class_graphnode.rst +++ b/classes/zh_CN/class_graphnode.rst @@ -260,7 +260,7 @@ GraphNode .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_gridmap.rst b/classes/zh_CN/class_gridmap.rst index 951b1fc79d..4c8a142b77 100644 --- a/classes/zh_CN/class_gridmap.rst +++ b/classes/zh_CN/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/zh_CN/class_gridmapeditorplugin.rst b/classes/zh_CN/class_gridmapeditorplugin.rst index 96712980b6..9013c3c77b 100644 --- a/classes/zh_CN/class_gridmapeditorplugin.rst +++ b/classes/zh_CN/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/zh_CN/class_imageformatloader.rst b/classes/zh_CN/class_imageformatloader.rst index 0b5184c004..30bfbf940e 100644 --- a/classes/zh_CN/class_imageformatloader.rst +++ b/classes/zh_CN/class_imageformatloader.rst @@ -41,7 +41,7 @@ flags **LoaderFlags**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -53,7 +53,7 @@ flags **LoaderFlags**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -65,7 +65,7 @@ flags **LoaderFlags**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_importermeshinstance3d.rst b/classes/zh_CN/class_importermeshinstance3d.rst index 8ac38b7d93..3bb32bd553 100644 --- a/classes/zh_CN/class_importermeshinstance3d.rst +++ b/classes/zh_CN/class_importermeshinstance3d.rst @@ -9,7 +9,7 @@ ImporterMeshInstance3D .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -63,7 +63,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -82,7 +82,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -101,7 +101,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -120,7 +120,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -139,7 +139,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -158,7 +158,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -177,7 +177,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -196,7 +196,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -215,7 +215,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -234,7 +234,7 @@ ImporterMeshInstance3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_inputeventjoypadbutton.rst b/classes/zh_CN/class_inputeventjoypadbutton.rst index 9b47cbc7b7..15973d20ad 100644 --- a/classes/zh_CN/class_inputeventjoypadbutton.rst +++ b/classes/zh_CN/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/zh_CN/class_inputeventjoypadmotion.rst b/classes/zh_CN/class_inputeventjoypadmotion.rst index 9c1d335b3f..e9ae6f14fe 100644 --- a/classes/zh_CN/class_inputeventjoypadmotion.rst +++ b/classes/zh_CN/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/zh_CN/class_inputeventmousebutton.rst b/classes/zh_CN/class_inputeventmousebutton.rst index 166f6cf418..3479083e37 100644 --- a/classes/zh_CN/class_inputeventmousebutton.rst +++ b/classes/zh_CN/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/zh_CN/class_ip.rst b/classes/zh_CN/class_ip.rst index 96fbfd1416..86d2afc486 100644 --- a/classes/zh_CN/class_ip.rst +++ b/classes/zh_CN/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/zh_CN/class_javascriptbridge.rst b/classes/zh_CN/class_javascriptbridge.rst index 1d4cfc8355..63b6ec9157 100644 --- a/classes/zh_CN/class_javascriptbridge.rst +++ b/classes/zh_CN/class_javascriptbridge.rst @@ -14,9 +14,9 @@ JavaScriptBridge 描述 ---- -The JavaScriptBridge singleton is implemented only in the Web export. It's used to access the browser's JavaScript context. This allows interaction with embedding pages or calling third-party JavaScript APIs. +JavaScriptBridge 单例仅在 Web 导出中实现。它用于访问浏览器的 JavaScript 上下文。这允许与嵌入页面或调用第三方 JavaScript API 进行交互。 -\ **Note:** This singleton can be disabled at build-time to improve security. By default, the JavaScriptBridge singleton is enabled. Official export templates also have the JavaScriptBridge singleton enabled. See :doc:`Compiling for the Web <../engine_details/development/compiling/compiling_for_web>` in the documentation for more information. +\ **注意:**\ 可以在构建时禁用该单例以提高安全性。默认情况下,启用 JavaScriptBridge 单例。官方导出模板也启用了 JavaScriptBridge 单例。有关详细信息,请参阅文档中的\ :doc:`《为 Web 平台编译》 <../engine_details/development/compiling/compiling_for_web>`\ 。 .. rst-class:: classref-introduction-group diff --git a/classes/zh_CN/class_jsonrpc.rst b/classes/zh_CN/class_jsonrpc.rst index d1855ba8e2..cf0a426b41 100644 --- a/classes/zh_CN/class_jsonrpc.rst +++ b/classes/zh_CN/class_jsonrpc.rst @@ -196,7 +196,7 @@ enum **ErrorCode**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_label.rst b/classes/zh_CN/class_label.rst index 2c9ddfb924..5bdf8c074c 100644 --- a/classes/zh_CN/class_label.rst +++ b/classes/zh_CN/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: diff --git a/classes/zh_CN/class_label3d.rst b/classes/zh_CN/class_label3d.rst index 6ea86fb34f..dfbcc60b48 100644 --- a/classes/zh_CN/class_label3d.rst +++ b/classes/zh_CN/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: diff --git a/classes/zh_CN/class_light3d.rst b/classes/zh_CN/class_light3d.rst index 266d8cd2ef..768fa404d5 100644 --- a/classes/zh_CN/class_light3d.rst +++ b/classes/zh_CN/class_light3d.rst @@ -508,7 +508,9 @@ enum **BakeMode**: :ref:`🔗` - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -灯光将影响所选图层中的对象。 +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator @@ -836,7 +838,7 @@ enum **BakeMode**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-section-separator diff --git a/classes/zh_CN/class_lineedit.rst b/classes/zh_CN/class_lineedit.rst index 7d577c602d..98c9321ebe 100644 --- a/classes/zh_CN/class_lineedit.rst +++ b/classes/zh_CN/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: diff --git a/classes/zh_CN/class_margincontainer.rst b/classes/zh_CN/class_margincontainer.rst index a234f94b59..ee94186df5 100644 --- a/classes/zh_CN/class_margincontainer.rst +++ b/classes/zh_CN/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/zh_CN/class_menubutton.rst b/classes/zh_CN/class_menubutton.rst index a4751646fe..27148906b2 100644 --- a/classes/zh_CN/class_menubutton.rst +++ b/classes/zh_CN/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/zh_CN/class_multimesh.rst b/classes/zh_CN/class_multimesh.rst index 7b42653c06..722d62fd34 100644 --- a/classes/zh_CN/class_multimesh.rst +++ b/classes/zh_CN/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: @@ -187,7 +187,7 @@ enum **PhysicsInterpolationQuality**: :ref:`🔗`__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! **Note:** The returned array is *copied* and any changes to it will not update the original property value. See :ref:`PackedFloat32Array` for more details. diff --git a/classes/zh_CN/class_multimeshinstance2d.rst b/classes/zh_CN/class_multimeshinstance2d.rst index 3febb690f7..16ff2924bb 100644 --- a/classes/zh_CN/class_multimeshinstance2d.rst +++ b/classes/zh_CN/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/zh_CN/class_multimeshinstance3d.rst b/classes/zh_CN/class_multimeshinstance3d.rst index 92e1252840..f9fe9c3ca2 100644 --- a/classes/zh_CN/class_multimeshinstance3d.rst +++ b/classes/zh_CN/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/zh_CN/class_multiplayerapi.rst b/classes/zh_CN/class_multiplayerapi.rst index 9790c60e64..5c10f67ef4 100644 --- a/classes/zh_CN/class_multiplayerapi.rst +++ b/classes/zh_CN/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/zh_CN/class_multiplayerapiextension.rst b/classes/zh_CN/class_multiplayerapiextension.rst index 8ae0e6188d..4b02e682b9 100644 --- a/classes/zh_CN/class_multiplayerapiextension.rst +++ b/classes/zh_CN/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/zh_CN/class_multiplayerpeer.rst b/classes/zh_CN/class_multiplayerpeer.rst index e09e36d1bd..f61eb90d49 100644 --- a/classes/zh_CN/class_multiplayerpeer.rst +++ b/classes/zh_CN/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: diff --git a/classes/zh_CN/class_multiplayerpeerextension.rst b/classes/zh_CN/class_multiplayerpeerextension.rst index 38dab6537f..9aae76f94f 100644 --- a/classes/zh_CN/class_multiplayerpeerextension.rst +++ b/classes/zh_CN/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/zh_CN/class_multiplayerspawner.rst b/classes/zh_CN/class_multiplayerspawner.rst index 7ca00417d4..f5cd871644 100644 --- a/classes/zh_CN/class_multiplayerspawner.rst +++ b/classes/zh_CN/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/zh_CN/class_multiplayersynchronizer.rst b/classes/zh_CN/class_multiplayersynchronizer.rst index 6bbb72e44d..5e97d1b497 100644 --- a/classes/zh_CN/class_multiplayersynchronizer.rst +++ b/classes/zh_CN/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/zh_CN/class_node3d.rst b/classes/zh_CN/class_node3d.rst index 1272ef34bb..0ed16b1890 100644 --- a/classes/zh_CN/class_node3d.rst +++ b/classes/zh_CN/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/zh_CN/class_oggpacketsequenceplayback.rst b/classes/zh_CN/class_oggpacketsequenceplayback.rst index 035037faa6..bb0fbe79ad 100644 --- a/classes/zh_CN/class_oggpacketsequenceplayback.rst +++ b/classes/zh_CN/class_oggpacketsequenceplayback.rst @@ -9,7 +9,7 @@ OggPacketSequencePlayback .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_omnilight3d.rst b/classes/zh_CN/class_omnilight3d.rst index 16ab03a8b9..67649c9cca 100644 --- a/classes/zh_CN/class_omnilight3d.rst +++ b/classes/zh_CN/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: @@ -147,7 +147,7 @@ enum **ShadowMode**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_openxraction.rst b/classes/zh_CN/class_openxraction.rst index 7dadab0c42..bc556d7736 100644 --- a/classes/zh_CN/class_openxraction.rst +++ b/classes/zh_CN/class_openxraction.rst @@ -85,7 +85,7 @@ enum **ActionType**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_optionbutton.rst b/classes/zh_CN/class_optionbutton.rst index 63818095e3..6b1df93ac8 100644 --- a/classes/zh_CN/class_optionbutton.rst +++ b/classes/zh_CN/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/zh_CN/class_packetpeerextension.rst b/classes/zh_CN/class_packetpeerextension.rst index 02e5c2522b..09d6415738 100644 --- a/classes/zh_CN/class_packetpeerextension.rst +++ b/classes/zh_CN/class_packetpeerextension.rst @@ -9,7 +9,7 @@ PacketPeerExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -46,7 +46,7 @@ PacketPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -60,7 +60,7 @@ PacketPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -74,7 +74,7 @@ PacketPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -88,7 +88,7 @@ PacketPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_packetpeerstream.rst b/classes/zh_CN/class_packetpeerstream.rst index ade28c26e2..43e5bc65a2 100644 --- a/classes/zh_CN/class_packetpeerstream.rst +++ b/classes/zh_CN/class_packetpeerstream.rst @@ -56,7 +56,7 @@ PacketStreamPeer 提供了一个在流中使用数据包的包装器。这样就 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -75,7 +75,7 @@ PacketStreamPeer 提供了一个在流中使用数据包的包装器。这样就 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_particleprocessmaterial.rst b/classes/zh_CN/class_particleprocessmaterial.rst index 85d4b59820..10b9f8fb8a 100644 --- a/classes/zh_CN/class_particleprocessmaterial.rst +++ b/classes/zh_CN/class_particleprocessmaterial.rst @@ -476,7 +476,7 @@ enum **ParticleFlags**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -580,7 +580,7 @@ enum **SubEmitterMode**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -592,7 +592,7 @@ enum **SubEmitterMode**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -604,7 +604,7 @@ enum **SubEmitterMode**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -616,7 +616,7 @@ enum **SubEmitterMode**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -628,7 +628,7 @@ enum **SubEmitterMode**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_physicalbone2d.rst b/classes/zh_CN/class_physicalbone2d.rst index 1cbc08f0a2..6fcb792917 100644 --- a/classes/zh_CN/class_physicalbone2d.rst +++ b/classes/zh_CN/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/zh_CN/class_physicalbone3d.rst b/classes/zh_CN/class_physicalbone3d.rst index 3f514aca51..0836f5de02 100644 --- a/classes/zh_CN/class_physicalbone3d.rst +++ b/classes/zh_CN/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/zh_CN/class_physicsdirectbodystate2dextension.rst b/classes/zh_CN/class_physicsdirectbodystate2dextension.rst index 3189e53fa4..1b2fa85ba8 100644 --- a/classes/zh_CN/class_physicsdirectbodystate2dextension.rst +++ b/classes/zh_CN/class_physicsdirectbodystate2dextension.rst @@ -285,7 +285,7 @@ PhysicsDirectBodyState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -299,7 +299,7 @@ PhysicsDirectBodyState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -637,7 +637,7 @@ PhysicsDirectBodyState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -651,7 +651,7 @@ PhysicsDirectBodyState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_physicsdirectbodystate3d.rst b/classes/zh_CN/class_physicsdirectbodystate3d.rst index 008b6a5c57..5ba7997efe 100644 --- a/classes/zh_CN/class_physicsdirectbodystate3d.rst +++ b/classes/zh_CN/class_physicsdirectbodystate3d.rst @@ -304,7 +304,7 @@ PhysicsDirectBodyState3D .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_physicsdirectbodystate3dextension.rst b/classes/zh_CN/class_physicsdirectbodystate3dextension.rst index 6c5c4b2754..3f5765eba1 100644 --- a/classes/zh_CN/class_physicsdirectbodystate3dextension.rst +++ b/classes/zh_CN/class_physicsdirectbodystate3dextension.rst @@ -145,7 +145,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -159,7 +159,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -173,7 +173,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -187,7 +187,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -201,7 +201,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -215,7 +215,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -229,7 +229,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -243,7 +243,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -257,7 +257,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -271,7 +271,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -285,7 +285,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -299,7 +299,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -313,7 +313,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -327,7 +327,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -341,7 +341,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -355,7 +355,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -369,7 +369,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -383,7 +383,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -397,7 +397,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -411,7 +411,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -425,7 +425,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -439,7 +439,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -453,7 +453,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -467,7 +467,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -481,7 +481,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -495,7 +495,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -509,7 +509,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -523,7 +523,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -537,7 +537,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -551,7 +551,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -565,7 +565,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -579,7 +579,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -593,7 +593,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -607,7 +607,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -621,7 +621,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -635,7 +635,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -649,7 +649,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -663,7 +663,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -677,7 +677,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -691,7 +691,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -705,7 +705,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -719,7 +719,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -733,7 +733,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -747,7 +747,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -761,7 +761,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -775,7 +775,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -789,7 +789,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -803,7 +803,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -817,7 +817,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -831,7 +831,7 @@ PhysicsDirectBodyState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_physicsdirectspacestate2dextension.rst b/classes/zh_CN/class_physicsdirectspacestate2dextension.rst index 603bf04aa0..d8fc0e6fd8 100644 --- a/classes/zh_CN/class_physicsdirectspacestate2dextension.rst +++ b/classes/zh_CN/class_physicsdirectspacestate2dextension.rst @@ -59,7 +59,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -73,7 +73,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -87,7 +87,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -101,7 +101,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -115,7 +115,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -129,7 +129,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -143,7 +143,7 @@ PhysicsDirectSpaceState2DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_physicsdirectspacestate3dextension.rst b/classes/zh_CN/class_physicsdirectspacestate3dextension.rst index 1ccce35008..05f0a1fd3c 100644 --- a/classes/zh_CN/class_physicsdirectspacestate3dextension.rst +++ b/classes/zh_CN/class_physicsdirectspacestate3dextension.rst @@ -61,7 +61,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -75,7 +75,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -89,7 +89,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -103,7 +103,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -117,7 +117,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -131,7 +131,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -145,7 +145,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -159,7 +159,7 @@ PhysicsDirectSpaceState3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_physicsserver3d.rst b/classes/zh_CN/class_physicsserver3d.rst index cd6259d63a..14cb1d6505 100644 --- a/classes/zh_CN/class_physicsserver3d.rst +++ b/classes/zh_CN/class_physicsserver3d.rst @@ -543,7 +543,7 @@ enum **HingeJointParam**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -925,7 +925,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -937,7 +937,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -949,7 +949,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1033,7 +1033,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1045,7 +1045,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1057,7 +1057,7 @@ enum **G6DOFJointAxisParam**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1103,7 +1103,7 @@ enum **G6DOFJointAxisFlag**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1115,7 +1115,7 @@ enum **G6DOFJointAxisFlag**: :ref:`🔗 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1783,7 +1783,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1795,7 +1795,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1807,7 +1807,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1819,7 +1819,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1831,7 +1831,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -1843,7 +1843,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2106,7 +2106,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2156,7 +2156,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2578,7 +2578,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2654,7 +2654,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2854,7 +2854,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2934,7 +2934,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2948,7 +2948,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2962,7 +2962,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3000,7 +3000,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3014,7 +3014,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3028,7 +3028,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3114,7 +3114,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3176,7 +3176,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3190,7 +3190,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3252,7 +3252,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3278,7 +3278,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3292,7 +3292,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3306,7 +3306,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3404,7 +3404,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -4070,7 +4070,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -4084,7 +4084,7 @@ enum **BodyAxis**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_physicsserver3dextension.rst b/classes/zh_CN/class_physicsserver3dextension.rst index 0d9dd767e0..0b7786ee1e 100644 --- a/classes/zh_CN/class_physicsserver3dextension.rst +++ b/classes/zh_CN/class_physicsserver3dextension.rst @@ -437,7 +437,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -451,7 +451,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -465,7 +465,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -479,7 +479,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -493,7 +493,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -507,7 +507,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -521,7 +521,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -535,7 +535,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -549,7 +549,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -563,7 +563,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -577,7 +577,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -591,7 +591,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -605,7 +605,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -619,7 +619,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -633,7 +633,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -647,7 +647,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -661,7 +661,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -675,7 +675,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -689,7 +689,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -703,7 +703,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -717,7 +717,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -731,7 +731,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -745,7 +745,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -759,7 +759,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -773,7 +773,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -787,7 +787,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -801,7 +801,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -815,7 +815,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -829,7 +829,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -843,7 +843,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -857,7 +857,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -871,7 +871,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -885,7 +885,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -899,7 +899,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -913,7 +913,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -927,7 +927,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -941,7 +941,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -955,7 +955,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -969,7 +969,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -983,7 +983,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -997,7 +997,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1011,7 +1011,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1025,7 +1025,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1039,7 +1039,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1053,7 +1053,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1067,7 +1067,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1081,7 +1081,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1095,7 +1095,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1109,7 +1109,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1123,7 +1123,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1137,7 +1137,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1151,7 +1151,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1165,7 +1165,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1179,7 +1179,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1193,7 +1193,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1221,7 +1221,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1235,7 +1235,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1249,7 +1249,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1263,7 +1263,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1277,7 +1277,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1291,7 +1291,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1305,7 +1305,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1319,7 +1319,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1333,7 +1333,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1347,7 +1347,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1361,7 +1361,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1375,7 +1375,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1389,7 +1389,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1403,7 +1403,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1417,7 +1417,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1431,7 +1431,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1445,7 +1445,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1459,7 +1459,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1473,7 +1473,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1487,7 +1487,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1501,7 +1501,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1515,7 +1515,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1529,7 +1529,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1543,7 +1543,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1557,7 +1557,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1571,7 +1571,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1585,7 +1585,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1599,7 +1599,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1613,7 +1613,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1627,7 +1627,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1641,7 +1641,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1655,7 +1655,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1669,7 +1669,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1683,7 +1683,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1697,7 +1697,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1711,7 +1711,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1725,7 +1725,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1739,7 +1739,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1753,7 +1753,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1767,7 +1767,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1781,7 +1781,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1795,7 +1795,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1809,7 +1809,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1823,7 +1823,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1837,7 +1837,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1851,7 +1851,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1865,7 +1865,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1879,7 +1879,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1893,7 +1893,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1907,7 +1907,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1921,7 +1921,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1935,7 +1935,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1949,7 +1949,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1963,7 +1963,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1977,7 +1977,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1991,7 +1991,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2005,7 +2005,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2019,7 +2019,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2033,7 +2033,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2047,7 +2047,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2061,7 +2061,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2075,7 +2075,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2089,7 +2089,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2103,7 +2103,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2117,7 +2117,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2131,7 +2131,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2145,7 +2145,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2159,7 +2159,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2173,7 +2173,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2187,7 +2187,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2201,7 +2201,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2215,7 +2215,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2229,7 +2229,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2243,7 +2243,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2257,7 +2257,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2271,7 +2271,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2285,7 +2285,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2299,7 +2299,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2313,7 +2313,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2327,7 +2327,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2341,7 +2341,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2355,7 +2355,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2369,7 +2369,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2383,7 +2383,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2397,7 +2397,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2411,7 +2411,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2425,7 +2425,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2439,7 +2439,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2453,7 +2453,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2467,7 +2467,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2481,7 +2481,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2495,7 +2495,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2509,7 +2509,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2523,7 +2523,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2537,7 +2537,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2551,7 +2551,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2565,7 +2565,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2579,7 +2579,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2593,7 +2593,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2607,7 +2607,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2621,7 +2621,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2635,7 +2635,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2649,7 +2649,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2663,7 +2663,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2677,7 +2677,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2691,7 +2691,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2705,7 +2705,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2719,7 +2719,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2733,7 +2733,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2747,7 +2747,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2761,7 +2761,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2775,7 +2775,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2789,7 +2789,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2803,7 +2803,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2817,7 +2817,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2831,7 +2831,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2845,7 +2845,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2859,7 +2859,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2873,7 +2873,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2887,7 +2887,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2901,7 +2901,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2915,7 +2915,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2929,7 +2929,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2943,7 +2943,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2957,7 +2957,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2971,7 +2971,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2985,7 +2985,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -2999,7 +2999,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3013,7 +3013,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3027,7 +3027,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3041,7 +3041,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3055,7 +3055,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3069,7 +3069,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3083,7 +3083,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3097,7 +3097,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3111,7 +3111,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3125,7 +3125,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3139,7 +3139,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3153,7 +3153,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -3167,7 +3167,7 @@ PhysicsServer3DExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_pointlight2d.rst b/classes/zh_CN/class_pointlight2d.rst index e289151cc3..c6e623b39d 100644 --- a/classes/zh_CN/class_pointlight2d.rst +++ b/classes/zh_CN/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/zh_CN/class_polygonpathfinder.rst b/classes/zh_CN/class_polygonpathfinder.rst index 5dbffd06cc..13185d8acc 100644 --- a/classes/zh_CN/class_polygonpathfinder.rst +++ b/classes/zh_CN/class_polygonpathfinder.rst @@ -9,7 +9,7 @@ PolygonPathFinder .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -54,7 +54,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -68,7 +68,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -82,7 +82,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -96,7 +96,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -110,7 +110,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -164,7 +164,7 @@ PolygonPathFinder .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_portablecompressedtexture2d.rst b/classes/zh_CN/class_portablecompressedtexture2d.rst index 29799d2924..8f20e13881 100644 --- a/classes/zh_CN/class_portablecompressedtexture2d.rst +++ b/classes/zh_CN/class_portablecompressedtexture2d.rst @@ -85,7 +85,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -97,7 +97,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -109,7 +109,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -121,7 +121,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -133,7 +133,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -145,7 +145,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -157,7 +157,7 @@ enum **CompressionMode**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_projectsettings.rst b/classes/zh_CN/class_projectsettings.rst index 83d28f6efd..690c4de041 100644 --- a/classes/zh_CN/class_projectsettings.rst +++ b/classes/zh_CN/class_projectsettings.rst @@ -4855,7 +4855,7 @@ Zstandard 的默认压缩级别。影响压缩的场景和资源。较高的级 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -5021,7 +5021,7 @@ Zstandard 的默认压缩级别。影响压缩的场景和资源。较高的级 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -5291,7 +5291,7 @@ Godot 内置的 :ref:`MovieWriter` 有 3 个: .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -5305,7 +5305,7 @@ Godot 内置的 :ref:`MovieWriter` 有 3 个: .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12393,7 +12393,7 @@ OIDN 将在可用时使用 GPU 加速。与使用计算着色器进行加速的 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -13095,7 +13095,7 @@ Direct3D 12 渲染驱动每帧所使用的采样器描述符堆中的条目数 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -13121,7 +13121,7 @@ Direct3D 12 渲染驱动每帧所使用的采样器描述符堆中的条目数 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -13135,7 +13135,7 @@ Direct3D 12 渲染驱动每帧所使用的采样器描述符堆中的条目数 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -13149,7 +13149,7 @@ Direct3D 12 渲染驱动每帧所使用的采样器描述符堆中的条目数 .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_reflectionprobe.rst b/classes/zh_CN/class_reflectionprobe.rst index 90bfe84a75..03770638bb 100644 --- a/classes/zh_CN/class_reflectionprobe.rst +++ b/classes/zh_CN/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/zh_CN/class_renderingdevice.rst b/classes/zh_CN/class_renderingdevice.rst index cc83d92e1d..c64083270b 100644 --- a/classes/zh_CN/class_renderingdevice.rst +++ b/classes/zh_CN/class_renderingdevice.rst @@ -2380,7 +2380,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2392,7 +2392,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2404,7 +2404,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2416,7 +2416,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2428,7 +2428,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2440,7 +2440,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2452,7 +2452,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2464,7 +2464,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2476,7 +2476,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2488,7 +2488,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2500,7 +2500,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2512,7 +2512,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2524,7 +2524,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2536,7 +2536,7 @@ Alpha、红、绿、蓝通道数据格式,Alpha 占 1 位、红占 5 位、绿 .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -3180,7 +3180,7 @@ flags **StorageBufferUsage**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4069,7 +4069,7 @@ flags **PipelineDynamicStateFlags**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4081,7 +4081,7 @@ flags **PipelineDynamicStateFlags**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4093,7 +4093,7 @@ flags **PipelineDynamicStateFlags**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4105,7 +4105,7 @@ flags **PipelineDynamicStateFlags**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4117,7 +4117,7 @@ flags **PipelineDynamicStateFlags**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_renderingserver.rst b/classes/zh_CN/class_renderingserver.rst index d6f63746cd..16160793cb 100644 --- a/classes/zh_CN/class_renderingserver.rst +++ b/classes/zh_CN/class_renderingserver.rst @@ -2191,7 +2191,7 @@ enum **LightParam**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2645,7 +2645,7 @@ enum **ParticlesTransformAlign**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2657,7 +2657,7 @@ enum **ParticlesTransformAlign**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2669,7 +2669,7 @@ enum **ParticlesTransformAlign**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2681,7 +2681,7 @@ enum **ParticlesTransformAlign**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2745,7 +2745,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2757,7 +2757,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2769,7 +2769,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2781,7 +2781,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2793,7 +2793,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2805,7 +2805,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2817,7 +2817,7 @@ enum **ParticlesCollisionType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2839,7 +2839,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2851,7 +2851,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2863,7 +2863,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2875,7 +2875,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2887,7 +2887,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -2899,7 +2899,7 @@ enum **ParticlesCollisionHeightfieldResolution**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -4027,7 +4027,7 @@ enum **CompositorEffectCallbackType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -5337,7 +5337,7 @@ enum **CanvasGroupMode**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -6036,7 +6036,7 @@ enum **Features**: :ref:`🔗` .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -6048,7 +6048,7 @@ enum **Features**: :ref:`🔗` .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -6060,7 +6060,7 @@ enum **Features**: :ref:`🔗` .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -6072,7 +6072,7 @@ enum **Features**: :ref:`🔗` .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -6084,7 +6084,7 @@ enum **Features**: :ref:`🔗` .. container:: contribute - 该常量目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this constant. Please help us by `contributing one `__! @@ -7083,7 +7083,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -7467,7 +7467,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -8177,7 +8177,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9311,7 +9311,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9325,7 +9325,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9339,7 +9339,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9353,7 +9353,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9379,7 +9379,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9393,7 +9393,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9407,7 +9407,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9421,7 +9421,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9547,7 +9547,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9561,7 +9561,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9605,7 +9605,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9655,7 +9655,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9705,7 +9705,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9851,7 +9851,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9877,7 +9877,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9891,7 +9891,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -9905,7 +9905,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -10593,7 +10593,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -10739,7 +10739,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -10839,7 +10839,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -10853,7 +10853,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -10879,7 +10879,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11345,7 +11345,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11433,7 +11433,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11757,7 +11757,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11835,7 +11835,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11849,7 +11849,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -11863,7 +11863,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12596,7 +12596,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12610,7 +12610,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12624,7 +12624,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12654,7 +12654,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12668,7 +12668,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12682,7 +12682,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12696,7 +12696,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12710,7 +12710,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -12724,7 +12724,7 @@ RID 使用结束后,应该使用 RenderingServer 的 :ref:`free_rid()`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_resourceformatloader.rst b/classes/zh_CN/class_resourceformatloader.rst index 5a26075a5c..81c9ecdf17 100644 --- a/classes/zh_CN/class_resourceformatloader.rst +++ b/classes/zh_CN/class_resourceformatloader.rst @@ -124,7 +124,7 @@ enum **CacheMode**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -138,7 +138,7 @@ enum **CacheMode**: :ref:`🔗` .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_resourceimportertexture.rst b/classes/zh_CN/class_resourceimportertexture.rst index 264eebf003..1f37f127c4 100644 --- a/classes/zh_CN/class_resourceimportertexture.rst +++ b/classes/zh_CN/class_resourceimportertexture.rst @@ -244,9 +244,9 @@ UASTC 编码级别。值越高质量越好,但编码耗时更长。 :ref:`bool` **editor/convert_colors_with_editor_theme** = ``false`` :ref:`🔗` -If ``true``, converts the imported image's colors to match :ref:`EditorSettings.interface/theme/icon_and_font_color`. This assumes the image uses the exact same colors as :doc:`Godot's own color palette for editor icons <../engine_details/editor/creating_icons>`, with the source file designed for a dark editor theme. This should be enabled for editor plugin icons and custom class icons, but should be left disabled otherwise. +如果为 ``true``\ ,则转换导入图像的颜色以匹配 :ref:`EditorSettings.interface/theme/icon_and_font_color`\ 。这假设该图像使用与 :doc:`Godot 自己的编辑器图标调色板 <../engine_details/editor/creating_icons>`\ 完全相同的颜色,源文件是为深色编辑器主题设计的。应该为编辑器插件图标和自定义类图标启用该功能,否则应保持禁用状态。 -\ **Note:** Only available for SVG images. +\ **注意:**\ 仅适用于 SVG 图像。 .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_scriptextension.rst b/classes/zh_CN/class_scriptextension.rst index 03a26401f0..256506357d 100644 --- a/classes/zh_CN/class_scriptextension.rst +++ b/classes/zh_CN/class_scriptextension.rst @@ -9,7 +9,7 @@ ScriptExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -112,7 +112,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -126,7 +126,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -140,7 +140,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -154,7 +154,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -168,7 +168,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -182,7 +182,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -196,7 +196,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -210,7 +210,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -224,7 +224,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -238,7 +238,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -252,7 +252,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -266,7 +266,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -280,7 +280,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -294,7 +294,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -308,7 +308,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -334,7 +334,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -348,7 +348,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -362,7 +362,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -376,7 +376,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -390,7 +390,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -404,7 +404,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -418,7 +418,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -432,7 +432,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -446,7 +446,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -460,7 +460,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -474,7 +474,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -488,7 +488,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -514,7 +514,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -528,7 +528,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -542,7 +542,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -556,7 +556,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -570,7 +570,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -584,7 +584,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -598,7 +598,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -612,7 +612,7 @@ ScriptExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_scriptlanguage.rst b/classes/zh_CN/class_scriptlanguage.rst index 4c5c1f8992..ad615ade7f 100644 --- a/classes/zh_CN/class_scriptlanguage.rst +++ b/classes/zh_CN/class_scriptlanguage.rst @@ -11,7 +11,7 @@ ScriptLanguage .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-section-separator @@ -36,7 +36,7 @@ enum **ScriptNameCasing**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -48,7 +48,7 @@ enum **ScriptNameCasing**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -60,7 +60,7 @@ enum **ScriptNameCasing**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -72,7 +72,7 @@ enum **ScriptNameCasing**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -84,7 +84,7 @@ enum **ScriptNameCasing**: :ref:`🔗` .. container:: contribute - 该枚举目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! diff --git a/classes/zh_CN/class_scriptlanguageextension.rst b/classes/zh_CN/class_scriptlanguageextension.rst index c9b9110ff4..5e51300e27 100644 --- a/classes/zh_CN/class_scriptlanguageextension.rst +++ b/classes/zh_CN/class_scriptlanguageextension.rst @@ -9,7 +9,7 @@ ScriptLanguageExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -164,7 +164,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -176,7 +176,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -188,7 +188,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -200,7 +200,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -212,7 +212,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -224,7 +224,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -236,7 +236,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -258,7 +258,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -270,7 +270,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -282,7 +282,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -294,7 +294,7 @@ enum **LookupResultType**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -358,7 +358,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -370,7 +370,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -382,7 +382,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -394,7 +394,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -406,7 +406,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -418,7 +418,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -430,7 +430,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -442,7 +442,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -454,7 +454,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -466,7 +466,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -478,7 +478,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this enum. Please help us by `contributing one `__! @@ -499,7 +499,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -513,7 +513,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -527,7 +527,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -541,7 +541,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -555,7 +555,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -569,7 +569,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -583,7 +583,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -597,7 +597,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -611,7 +611,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -625,7 +625,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -639,7 +639,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -653,7 +653,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -667,7 +667,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -681,7 +681,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -695,7 +695,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -709,7 +709,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -735,7 +735,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -761,7 +761,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -775,7 +775,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -789,7 +789,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -803,7 +803,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -817,7 +817,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -831,7 +831,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -845,7 +845,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -859,7 +859,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -873,7 +873,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -887,7 +887,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -901,7 +901,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -915,7 +915,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -929,7 +929,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -943,7 +943,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -957,7 +957,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -971,7 +971,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -997,7 +997,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1011,7 +1011,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1025,7 +1025,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1039,7 +1039,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1053,7 +1053,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1067,7 +1067,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1081,7 +1081,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1095,7 +1095,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1109,7 +1109,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1123,7 +1123,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1137,7 +1137,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1151,7 +1151,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1165,7 +1165,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1179,7 +1179,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1193,7 +1193,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1207,7 +1207,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1221,7 +1221,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1235,7 +1235,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1249,7 +1249,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1263,7 +1263,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1277,7 +1277,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1291,7 +1291,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1305,7 +1305,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -1319,7 +1319,7 @@ enum **CodeCompletionKind**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_skeleton3d.rst b/classes/zh_CN/class_skeleton3d.rst index 1d6f5c5f6f..2cb9bc88e5 100644 --- a/classes/zh_CN/class_skeleton3d.rst +++ b/classes/zh_CN/class_skeleton3d.rst @@ -438,7 +438,7 @@ enum **ModifierCallbackModeProcess**: :ref:`🔗`__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_skin.rst b/classes/zh_CN/class_skin.rst index 2624cb6425..ba9bc60eb3 100644 --- a/classes/zh_CN/class_skin.rst +++ b/classes/zh_CN/class_skin.rst @@ -9,7 +9,7 @@ Skin .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -60,7 +60,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -74,7 +74,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -88,7 +88,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -102,7 +102,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -116,7 +116,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -130,7 +130,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -144,7 +144,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -158,7 +158,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -200,7 +200,7 @@ Skin .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_spinbox.rst b/classes/zh_CN/class_spinbox.rst index 8842bd9241..fd35b38cd7 100644 --- a/classes/zh_CN/class_spinbox.rst +++ b/classes/zh_CN/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/zh_CN/class_statusindicator.rst b/classes/zh_CN/class_statusindicator.rst index 2fc0d67a0a..2496d2c7c8 100644 --- a/classes/zh_CN/class_statusindicator.rst +++ b/classes/zh_CN/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: diff --git a/classes/zh_CN/class_streampeerextension.rst b/classes/zh_CN/class_streampeerextension.rst index 03d2b26fce..b1ba7d14b7 100644 --- a/classes/zh_CN/class_streampeerextension.rst +++ b/classes/zh_CN/class_streampeerextension.rst @@ -9,7 +9,7 @@ StreamPeerExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -48,7 +48,7 @@ StreamPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -62,7 +62,7 @@ StreamPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -76,7 +76,7 @@ StreamPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -90,7 +90,7 @@ StreamPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -104,7 +104,7 @@ StreamPeerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_stylebox.rst b/classes/zh_CN/class_stylebox.rst index e4cf3c0bb5..567bdb6832 100644 --- a/classes/zh_CN/class_stylebox.rst +++ b/classes/zh_CN/class_stylebox.rst @@ -176,7 +176,7 @@ StyleBox .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -190,7 +190,7 @@ StyleBox .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -216,7 +216,7 @@ StyleBox .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_textedit.rst b/classes/zh_CN/class_textedit.rst index 556223570e..c1509781f8 100644 --- a/classes/zh_CN/class_textedit.rst +++ b/classes/zh_CN/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: diff --git a/classes/zh_CN/class_textserverextension.rst b/classes/zh_CN/class_textserverextension.rst index 4799fbd457..1e58d49421 100644 --- a/classes/zh_CN/class_textserverextension.rst +++ b/classes/zh_CN/class_textserverextension.rst @@ -2227,7 +2227,7 @@ TextServerExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_tilemap.rst b/classes/zh_CN/class_tilemap.rst index 55df22340f..ed376fdba5 100644 --- a/classes/zh_CN/class_tilemap.rst +++ b/classes/zh_CN/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: diff --git a/classes/zh_CN/class_visualinstance3d.rst b/classes/zh_CN/class_visualinstance3d.rst index cd652044af..3382290270 100644 --- a/classes/zh_CN/class_visualinstance3d.rst +++ b/classes/zh_CN/class_visualinstance3d.rst @@ -141,7 +141,7 @@ VisualInstance3D .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_visualshadernoderemap.rst b/classes/zh_CN/class_visualshadernoderemap.rst index 457d6c8727..ec8d097c70 100644 --- a/classes/zh_CN/class_visualshadernoderemap.rst +++ b/classes/zh_CN/class_visualshadernoderemap.rst @@ -129,7 +129,7 @@ enum **OpType**: :ref:`🔗` .. container:: contribute - 该属性目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this property. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_voxelgidata.rst b/classes/zh_CN/class_voxelgidata.rst index 3b5b5f2526..93c9f0a3d8 100644 --- a/classes/zh_CN/class_voxelgidata.rst +++ b/classes/zh_CN/class_voxelgidata.rst @@ -214,7 +214,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -242,7 +242,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -256,7 +256,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -270,7 +270,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -284,7 +284,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -298,7 +298,7 @@ VoxelGIData .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_webrtcdatachannel.rst b/classes/zh_CN/class_webrtcdatachannel.rst index 9752b651c1..10beb43b10 100644 --- a/classes/zh_CN/class_webrtcdatachannel.rst +++ b/classes/zh_CN/class_webrtcdatachannel.rst @@ -11,7 +11,7 @@ WebRTCDataChannel .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group diff --git a/classes/zh_CN/class_webrtcdatachannelextension.rst b/classes/zh_CN/class_webrtcdatachannelextension.rst index bbb957dd91..57f9b1d725 100644 --- a/classes/zh_CN/class_webrtcdatachannelextension.rst +++ b/classes/zh_CN/class_webrtcdatachannelextension.rst @@ -9,7 +9,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -74,7 +74,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -88,7 +88,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -102,7 +102,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -116,7 +116,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -130,7 +130,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -144,7 +144,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -158,7 +158,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -200,7 +200,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -214,7 +214,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -228,7 +228,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -242,7 +242,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -256,7 +256,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -270,7 +270,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -284,7 +284,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -298,7 +298,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -312,7 +312,7 @@ WebRTCDataChannelExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_webrtcpeerconnectionextension.rst b/classes/zh_CN/class_webrtcpeerconnectionextension.rst index d13178657f..11020eddeb 100644 --- a/classes/zh_CN/class_webrtcpeerconnectionextension.rst +++ b/classes/zh_CN/class_webrtcpeerconnectionextension.rst @@ -9,7 +9,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该类目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this class. Please help us by `contributing one `__! .. rst-class:: classref-reftable-group @@ -60,7 +60,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -74,7 +74,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -88,7 +88,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -102,7 +102,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -116,7 +116,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -130,7 +130,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -144,7 +144,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -158,7 +158,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -172,7 +172,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -186,7 +186,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -200,7 +200,7 @@ WebRTCPeerConnectionExtension .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/class_webxrinterface.rst b/classes/zh_CN/class_webxrinterface.rst index 99ce3936ce..e9ed0bf297 100644 --- a/classes/zh_CN/class_webxrinterface.rst +++ b/classes/zh_CN/class_webxrinterface.rst @@ -437,13 +437,13 @@ enum **TargetRayMode**: :ref:`🔗` - |void| **set_optional_features**\ (\ value\: :ref:`String`\ ) - :ref:`String` **get_optional_features**\ (\ ) -A comma-seperated list of optional features used by :ref:`XRInterface.initialize()` when setting up the WebXR session. +:ref:`XRInterface.initialize()` 在设置 WebXR 会话时使用的以逗号分隔的可选功能列表。 -If a user's browser or device doesn't support one of the given features, initialization will continue, but you won't be able to use the requested feature. +如果用户的浏览器或设备,不支持给定的任一功能,初始化将继续,但将无法使用所请求的功能。 -This doesn't have any effect on the interface when already initialized. +这对已经初始化的接口没有任何影响。 -See the MDN documentation on `WebXR's session features `__ for a list of possible values. +可能的值见 MDN 文档中的 `WebXR 的会话功能 `__\ 。 .. rst-class:: classref-item-separator @@ -501,13 +501,13 @@ See the MDN documentation on `WebXR's session features `\ ) - :ref:`String` **get_required_features**\ (\ ) -A comma-seperated list of required features used by :ref:`XRInterface.initialize()` when setting up the WebXR session. +:ref:`XRInterface.initialize()` 在设置 WebXR 会话时使用的以逗号分隔的所需功能列表。 -If a user's browser or device doesn't support one of the given features, initialization will fail and :ref:`session_failed` will be emitted. +如果用户的浏览器或设备不支持给定的任一功能,则初始化将失败并发出 :ref:`session_failed` 。 -This doesn't have any effect on the interface when already initialized. +这对已经初始化的接口没有任何影响。 -See the MDN documentation on `WebXR's session features `__ for a list of possible values. +可能的值见 MDN 文档中的 `WebXR 的会话功能 `__\ 。 .. rst-class:: classref-item-separator diff --git a/classes/zh_CN/class_worldenvironment.rst b/classes/zh_CN/class_worldenvironment.rst index 85e9bf2a68..a1e41bd66e 100644 --- a/classes/zh_CN/class_worldenvironment.rst +++ b/classes/zh_CN/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: diff --git a/classes/zh_CN/class_xrinterfaceextension.rst b/classes/zh_CN/class_xrinterfaceextension.rst index a332e5b91b..8db0edabc5 100644 --- a/classes/zh_CN/class_xrinterfaceextension.rst +++ b/classes/zh_CN/class_xrinterfaceextension.rst @@ -352,7 +352,7 @@ XR 接口扩展(插件)的基类。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -522,7 +522,7 @@ XR 接口扩展(插件)的基类。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -536,7 +536,7 @@ XR 接口扩展(插件)的基类。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. rst-class:: classref-item-separator @@ -562,7 +562,7 @@ XR 接口扩展(插件)的基类。 .. container:: contribute - 该方法目前没有描述,请帮我们\ `贡献一个 `__\ 吧! + There is currently no description for this method. Please help us by `contributing one `__! .. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_CN/index.rst b/classes/zh_CN/index.rst index da76438cd1..892aff3aa7 100644 --- a/classes/zh_CN/index.rst +++ b/classes/zh_CN/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: 所有类 diff --git a/classes/zh_TW/class_@gdscript.rst b/classes/zh_TW/class_@gdscript.rst index 2a061e921a..a554eaabaa 100644 --- a/classes/zh_TW/class_@gdscript.rst +++ b/classes/zh_TW/class_@gdscript.rst @@ -249,7 +249,7 @@ Inheriting classes must either provide implementations for all abstract methods, @export_custom(PROPERTY_HINT_NONE, "suffix:m") var suffix: Vector3 -\ **注意:**\ 無論 ``usage`` 的值如何, ``常數 PROPERTY_USAGE_SCRIPT_VARIABLE`` 標誌總是會被添加,就像任何顯式聲明的腳本變量一樣。 +\ **注意:**\ 無論 ``usage`` 的值如何, :ref:`@GlobalScope.PROPERTY_USAGE_SCRIPT_VARIABLE` 標誌總是會被添加,就像任何顯式聲明的腳本變量一樣。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_area2d.rst b/classes/zh_TW/class_area2d.rst index fc5b0e1808..bd2a82d400 100644 --- a/classes/zh_TW/class_area2d.rst +++ b/classes/zh_TW/class_area2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area2D.xml. +.. meta:: + :keywords: trigger .. _class_Area2D: diff --git a/classes/zh_TW/class_area3d.rst b/classes/zh_TW/class_area3d.rst index ebb4bb1f21..321216ad62 100644 --- a/classes/zh_TW/class_area3d.rst +++ b/classes/zh_TW/class_area3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Area3D.xml. +.. meta:: + :keywords: trigger .. _class_Area3D: diff --git a/classes/zh_TW/class_array.rst b/classes/zh_TW/class_array.rst index 8f7272cac6..8b9657e8d3 100644 --- a/classes/zh_TW/class_array.rst +++ b/classes/zh_TW/class_array.rst @@ -12,7 +12,7 @@ Array 說明 ---- -通用陣列,可容納任意 :ref:`Variant` 型別的元素。元素以從 ``0`` 開始的數值索引存取。負索引用於從尾端反向計數(\ ``-1`` 為最後一個元素、\ ``-2`` 為倒數第二個,如此類推)。 +An array data structure that can contain a sequence of elements of any :ref:`Variant` type by default. Values can optionally be constrained to a specific type by creating a *typed array*. Elements are accessed by a numerical index starting at ``0``. Negative indices are used to count from the back (``-1`` is the last element, ``-2`` is the second to last, etc.). .. tabs:: @@ -20,32 +20,40 @@ Array .. code-tab:: gdscript var array = ["First", 2, 3, "Last"] - print(array[0]) # 輸出 "First" - print(array[2]) # 輸出 3 - print(array[-1]) # 輸出 "Last" + print(array[0]) # Prints "First" + print(array[2]) # Prints 3 + print(array[-1]) # Prints "Last" array[1] = "Second" - print(array[1]) # 輸出 "Second" - print(array[-3]) # 輸出 "Second" + print(array[1]) # Prints "Second" + print(array[-3]) # Prints "Second" + + # This typed array can only contain integers. + # Attempting to add any other type will result in an error. + var typed_array: Array[int] = [1, 2, 3] .. code-tab:: csharp Godot.Collections.Array array = ["First", 2, 3, "Last"]; - GD.Print(array[0]); // 輸出 "First" - GD.Print(array[2]); // 輸出 3 - GD.Print(array[^1]); // 輸出 "Last" + GD.Print(array[0]); // Prints "First" + GD.Print(array[2]); // Prints 3 + GD.Print(array[^1]); // Prints "Last" array[1] = "Second"; - GD.Print(array[1]); // 輸出 "Second" - GD.Print(array[^3]); // 輸出 "Second" + GD.Print(array[1]); // Prints "Second" + GD.Print(array[^3]); // Prints "Second" + + // This typed array can only contain integers. + // Attempting to add any other type will result in an error. + Godot.Collections.Array typedArray = [1, 2, 3]; -\ **注意:** 陣列一律以 **參照** 傳遞。若需可獨立於原始陣列修改的副本,請使用 :ref:`duplicate()`\ 。 +\ **Note:** Arrays are always passed by **reference**. To get a copy of an array that can be modified independently of the original array, use :ref:`duplicate()`. -\ **注意:** 於迭代陣列時刪除元素\ **不被支援**\ ,將導致不可預期的行為。 +\ **Note:** Erasing elements while iterating over arrays is **not** supported and will result in unpredictable behavior. -\ **Packed 陣列、型別化陣列與未型別化陣列差異:** 相較同型別的型別化陣列(如 ``Array[int]``\ ),Packed 陣列(如 :ref:`PackedInt64Array`\ )在迭代與修改時通常更快且佔用更少記憶體,缺點是缺乏如 :ref:`map()` 等便利方法。型別化陣列則比未型別化陣列更快。 +\ **Differences between packed arrays, typed arrays, and untyped arrays:** Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. :ref:`PackedInt64Array` versus ``Array[int]``). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don't offer as many convenience methods such as :ref:`map()`. Typed arrays are in turn faster to iterate on and modify than untyped arrays. .. note:: diff --git a/classes/zh_TW/class_audiolistener2d.rst b/classes/zh_TW/class_audiolistener2d.rst index 2d7f22bab9..56c42bd9db 100644 --- a/classes/zh_TW/class_audiolistener2d.rst +++ b/classes/zh_TW/class_audiolistener2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener2D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener2D: diff --git a/classes/zh_TW/class_audiolistener3d.rst b/classes/zh_TW/class_audiolistener3d.rst index aeffcc8d83..54a5ab58d2 100644 --- a/classes/zh_TW/class_audiolistener3d.rst +++ b/classes/zh_TW/class_audiolistener3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioListener3D.xml. +.. meta:: + :keywords: sound .. _class_AudioListener3D: diff --git a/classes/zh_TW/class_audiostreamplayer.rst b/classes/zh_TW/class_audiostreamplayer.rst index 4be42a8e09..417f565fde 100644 --- a/classes/zh_TW/class_audiostreamplayer.rst +++ b/classes/zh_TW/class_audiostreamplayer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer.xml. +.. meta:: + :keywords: sound, music, song .. _class_AudioStreamPlayer: diff --git a/classes/zh_TW/class_audiostreamplayer2d.rst b/classes/zh_TW/class_audiostreamplayer2d.rst index a2d7cf6115..4fb554decd 100644 --- a/classes/zh_TW/class_audiostreamplayer2d.rst +++ b/classes/zh_TW/class_audiostreamplayer2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer2D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer2D: diff --git a/classes/zh_TW/class_audiostreamplayer3d.rst b/classes/zh_TW/class_audiostreamplayer3d.rst index 2d9c46097d..9310a56843 100644 --- a/classes/zh_TW/class_audiostreamplayer3d.rst +++ b/classes/zh_TW/class_audiostreamplayer3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioStreamPlayer3D.xml. +.. meta:: + :keywords: sound, sfx .. _class_AudioStreamPlayer3D: diff --git a/classes/zh_TW/class_basematerial3d.rst b/classes/zh_TW/class_basematerial3d.rst index dd3489c596..bb7ebfd5d0 100644 --- a/classes/zh_TW/class_basematerial3d.rst +++ b/classes/zh_TW/class_basematerial3d.rst @@ -2934,9 +2934,9 @@ Determines which comparison operator is used when testing depth. See :ref:`Depth \ **注意:**\ 網格頂點必須同時具有法線與切線,否則法線貼圖只會使表面變暗而無法正常顯示。若使用 :ref:`SurfaceTool` 產生幾何,可呼叫 :ref:`SurfaceTool.generate_normals()` 與 :ref:`SurfaceTool.generate_tangents()` 自動生成。 -\ **注意:**\ Godot 預期法線貼圖使用 X+、Y+、Z+ 座標;可參考此頁比較各引擎要求:[url=http://wiki.polycount.com/wiki/Normal_Map_Technical_Details#Common_Swizzle_Coordinates]。 +\ **注意:** Godot 期望使用 X+、Y+、Z+ 座標系,可參考 `此頁 `__ 了解各引擎差異。 -[b]注意:[/b]若 [member detail_enabled] 為 [code]true[/code],[member detail_albedo] 會繪製在 [member normal_texture][i]之下[/i];如需相反效果,請改用 [member detail_normal]。 +\ **注意:**\ 若 :ref:`detail_enabled` 為 ``true``\ ,\ :ref:`detail_albedo` 會繪製在 :ref:`normal_texture`\ *之下*\ ;如需相反效果,請改用 :ref:`detail_normal`\ 。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_basis.rst b/classes/zh_TW/class_basis.rst index 2d43d4752e..65dc6a4470 100644 --- a/classes/zh_TW/class_basis.rst +++ b/classes/zh_TW/class_basis.rst @@ -368,13 +368,13 @@ Basis :ref:`float` **determinant**\ (\ ) |const| :ref:`🔗` -傳回此基矩陣的\ `行列式值(determinant) `__\ 。該值可用於判斷下列性質: +Returns the `determinant `__ of this basis's matrix. For advanced math, this number can be used to determine a few attributes: -- 行列式若為 ``0.0``\ ,代表矩陣無法取逆(參閱 :ref:`inverse()`\ )。 +- If the determinant is exactly ``0.0``, the basis is not invertible (see :ref:`inverse()`). -- 行列式若為負,代表基底包含負縮放。 +- If the determinant is a negative number, the basis represents a negative scale. -\ **注意:** 若三軸縮放相同,行列式必為「縮放值的二次方」。 +\ **Note:** If the basis's scale is the same for every axis, its determinant is always that scale by the power of 3. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_boneattachment3d.rst b/classes/zh_TW/class_boneattachment3d.rst index 1a9607709d..2deeecbbba 100644 --- a/classes/zh_TW/class_boneattachment3d.rst +++ b/classes/zh_TW/class_boneattachment3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/BoneAttachment3D.xml. +.. meta:: + :keywords: tag .. _class_BoneAttachment3D: diff --git a/classes/zh_TW/class_buttongroup.rst b/classes/zh_TW/class_buttongroup.rst index a42abe033d..09dcb83d67 100644 --- a/classes/zh_TW/class_buttongroup.rst +++ b/classes/zh_TW/class_buttongroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ButtonGroup.xml. +.. meta:: + :keywords: radio .. _class_ButtonGroup: diff --git a/classes/zh_TW/class_canvasmodulate.rst b/classes/zh_TW/class_canvasmodulate.rst index 2bf2ffe18f..37ed873ef6 100644 --- a/classes/zh_TW/class_canvasmodulate.rst +++ b/classes/zh_TW/class_canvasmodulate.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CanvasModulate.xml. +.. meta:: + :keywords: color .. _class_CanvasModulate: diff --git a/classes/zh_TW/class_canvastexture.rst b/classes/zh_TW/class_canvastexture.rst index bb6af2dbcb..7f548879ad 100644 --- a/classes/zh_TW/class_canvastexture.rst +++ b/classes/zh_TW/class_canvastexture.rst @@ -90,7 +90,7 @@ CanvasTexture 要使用的法線貼圖紋理。僅在有 :ref:`Light2D` 影響該 **CanvasTexture** 時才有可見的效果。 -\ **注意:**\ Godot 期望法線貼圖使用 X+、Y+、Z+ 坐標系。比較流行的引擎所期望的法線貼圖坐標系見\ `這個頁面 `__\ 。 +\ **注意:** Godot 期望使用 X+、Y+、Z+ 座標系,可參考 `此頁 `__ 了解各引擎差異。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_characterbody2d.rst b/classes/zh_TW/class_characterbody2d.rst index 49272f3a7a..00f701e265 100644 --- a/classes/zh_TW/class_characterbody2d.rst +++ b/classes/zh_TW/class_characterbody2d.rst @@ -439,7 +439,9 @@ Vector pointing upwards, used to determine what is a wall and what is a floor (o - |void| **set_velocity**\ (\ value\: :ref:`Vector2`\ ) - :ref:`Vector2` **get_velocity**\ (\ ) -目前速度向量,單位為圖元每秒,呼叫 :ref:`move_and_slide()` 期間會進行使用並修改。 +Current velocity vector in pixels per second, used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -702,15 +704,17 @@ Returns the collision normal of the wall at the last collision point. Only valid :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -根據 :ref:`velocity` 移動該物體。該物體如果與其他物體發生碰撞,則會沿著對方滑動(預設只在地板上滑動),不會立即停止移動。如果對方是 **CharacterBody2D** 或 :ref:`RigidBody2D`\ ,還會受到對方運動的影響。可以用於製作移動、旋轉的平臺,也可用於推動其他節點。 +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body (by default only on floor) rather than stop immediately. If the other body is a **CharacterBody2D** or :ref:`RigidBody2D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -發生滑動碰撞時會改變 :ref:`velocity`\ 。要獲取最後一次碰撞,請呼叫 :ref:`get_last_slide_collision()`\ ,要獲取碰撞的更多資訊,請使用 :ref:`get_slide_collision()`\ 。 +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -該物體接觸到移動平臺時,平臺的速度會自動加入到該物體的運動中。平臺運動所造成的碰撞始終為所有滑動碰撞中的第一個。 +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -通用行為和可用屬性會根據 :ref:`motion_mode` 發生改變。 +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. -如果該物體發生了碰撞,則返回 ``true``\ ,否則返回 ``false``\ 。 +The general behavior and available properties change according to the :ref:`motion_mode`. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_TW/class_characterbody3d.rst b/classes/zh_TW/class_characterbody3d.rst index c6364b193d..6e413795a4 100644 --- a/classes/zh_TW/class_characterbody3d.rst +++ b/classes/zh_TW/class_characterbody3d.rst @@ -443,7 +443,9 @@ Vector pointing upwards, used to determine what is a wall and what is a floor (o - |void| **set_velocity**\ (\ value\: :ref:`Vector3`\ ) - :ref:`Vector3` **get_velocity**\ (\ ) -目前速度向量(通常為米每秒),呼叫 :ref:`move_and_slide()` 期間會進行使用並修改。 +Current velocity vector (typically meters per second), used and modified during calls to :ref:`move_and_slide()`. + +This property should not be set to a value multiplied by ``delta``, because this happens internally in :ref:`move_and_slide()`. Otherwise, the simulation will run at an incorrect speed. .. rst-class:: classref-item-separator @@ -697,13 +699,15 @@ Returns the collision normal of the wall at the last collision point. Only valid :ref:`bool` **move_and_slide**\ (\ ) :ref:`🔗` -根據 :ref:`velocity` 移動該物體。該物體如果與其他物體發生碰撞,則會沿著對方滑動,不會立即停止移動。如果對方是 **CharacterBody3D** 或 :ref:`RigidBody3D`\ ,還會受到對方運動的影響。可以用於製作移動、旋轉的平臺,也可用於推動其他節點。 +Moves the body based on :ref:`velocity`. If the body collides with another, it will slide along the other body rather than stop immediately. If the other body is a **CharacterBody3D** or :ref:`RigidBody3D`, it will also be affected by the motion of the other body. You can use this to make moving and rotating platforms, or to make nodes push other nodes. -發生滑動碰撞時會改變 :ref:`velocity`\ 。要獲取最後一次碰撞,請呼叫 :ref:`get_last_slide_collision()`\ ,要獲取碰撞的更多資訊,請使用 :ref:`get_slide_collision()`\ 。 +This method should be used in :ref:`Node._physics_process()` (or in a method called by :ref:`Node._physics_process()`), as it uses the physics step's ``delta`` value automatically in calculations. Otherwise, the simulation will run at an incorrect speed. -該物體接觸到移動平臺時,平臺的速度會自動加入到該物體的運動中。平臺運動所造成的碰撞始終為所有滑動碰撞中的第一個。 +Modifies :ref:`velocity` if a slide collision occurred. To get the latest collision call :ref:`get_last_slide_collision()`, for more detailed information about collisions that occurred, use :ref:`get_slide_collision()`. -如果該物體發生了碰撞,則返回 ``true``\ ,否則返回 ``false``\ 。 +When the body touches a moving platform, the platform's velocity is automatically added to the body motion. If a collision occurs due to the platform's motion, it will always be first in the slide collisions. + +Returns ``true`` if the body collided, otherwise, returns ``false``. .. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_TW/class_checkbutton.rst b/classes/zh_TW/class_checkbutton.rst index 634f9b521d..085573719b 100644 --- a/classes/zh_TW/class_checkbutton.rst +++ b/classes/zh_TW/class_checkbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/CheckButton.xml. +.. meta:: + :keywords: switch, toggle .. _class_CheckButton: diff --git a/classes/zh_TW/class_decal.rst b/classes/zh_TW/class_decal.rst index 0e7f359bab..a2ce88d728 100644 --- a/classes/zh_TW/class_decal.rst +++ b/classes/zh_TW/class_decal.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Decal.xml. +.. meta:: + :keywords: stain .. _class_Decal: diff --git a/classes/zh_TW/class_dictionary.rst b/classes/zh_TW/class_dictionary.rst index 617ea39d1d..b6e9b812dc 100644 --- a/classes/zh_TW/class_dictionary.rst +++ b/classes/zh_TW/class_dictionary.rst @@ -129,7 +129,7 @@ To add a key to an existing dictionary, access it like an existing key and assig -Finally, dictionaries can contain different types of keys and values in the same dictionary: +Finally, untyped dictionaries can contain different types of keys and values in the same dictionary: .. tabs:: @@ -180,6 +180,45 @@ The keys of a dictionary can be iterated with the ``for`` keyword: +To enforce a certain type for keys and values, you can create a *typed dictionary*. Typed dictionaries can only contain keys and values of the given types, or that inherit from the given classes: + + +.. tabs:: + + .. code-tab:: gdscript + + # Creates a typed dictionary with String keys and int values. + # Attempting to use any other type for keys or values will result in an error. + var typed_dict: Dictionary[String, int] = { + "some_key": 1, + "some_other_key": 2, + } + + # Creates a typed dictionary with String keys and values of any type. + # Attempting to use any other type for keys will result in an error. + var typed_dict_key_only: Dictionary[String, Variant] = { + "some_key": 12.34, + "some_other_key": "string", + } + + .. code-tab:: csharp + + // Creates a typed dictionary with String keys and int values. + // Attempting to use any other type for keys or values will result in an error. + var typedDict = new Godot.Collections.Dictionary { + {"some_key", 1}, + {"some_other_key", 2}, + }; + + // Creates a typed dictionary with String keys and values of any type. + // Attempting to use any other type for keys will result in an error. + var typedDictKeyOnly = new Godot.Collections.Dictionary { + {"some_key", 12.34}, + {"some_other_key", "string"}, + }; + + + \ **Note:** Dictionaries are always passed by reference. To get a copy of a dictionary which can be modified independently of the original dictionary, use :ref:`duplicate()`. \ **Note:** Erasing elements while iterating over dictionaries is **not** supported and will result in unpredictable behavior. diff --git a/classes/zh_TW/class_diraccess.rst b/classes/zh_TW/class_diraccess.rst index 8b84dedd04..d6ef875d78 100644 --- a/classes/zh_TW/class_diraccess.rst +++ b/classes/zh_TW/class_diraccess.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirAccess.xml. +.. meta:: + :keywords: directory, path, folder .. _class_DirAccess: diff --git a/classes/zh_TW/class_directionallight2d.rst b/classes/zh_TW/class_directionallight2d.rst index 117e5572a5..3a8adb69a2 100644 --- a/classes/zh_TW/class_directionallight2d.rst +++ b/classes/zh_TW/class_directionallight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight2D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight2D: diff --git a/classes/zh_TW/class_directionallight3d.rst b/classes/zh_TW/class_directionallight3d.rst index c7adac2ecd..edba79bf8f 100644 --- a/classes/zh_TW/class_directionallight3d.rst +++ b/classes/zh_TW/class_directionallight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/DirectionalLight3D.xml. +.. meta:: + :keywords: sun .. _class_DirectionalLight3D: diff --git a/classes/zh_TW/class_editorexportplugin.rst b/classes/zh_TW/class_editorexportplugin.rst index 1e6a935be7..c83132451c 100644 --- a/classes/zh_TW/class_editorexportplugin.rst +++ b/classes/zh_TW/class_editorexportplugin.rst @@ -498,7 +498,7 @@ Return ``true`` if the result of :ref:`_get_export_options()` **_supports_platform**\ (\ platform\: :ref:`EditorExportPlatform`\ ) |virtual| |const| :ref:`🔗` -如果外掛程式要處理給定的 :ref:`Resource` 型別 ``type``\ ,則返回 ``true``\ 。 +Return ``true`` if the plugin supports the given ``platform``. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_editorfeatureprofile.rst b/classes/zh_TW/class_editorfeatureprofile.rst index ef19734647..4641e43cc6 100644 --- a/classes/zh_TW/class_editorfeatureprofile.rst +++ b/classes/zh_TW/class_editorfeatureprofile.rst @@ -260,7 +260,7 @@ The Game tab, which allows embedding the game window and selecting nodes by clic |void| **set_disable_class_editor**\ (\ class_name\: :ref:`StringName`, disable\: :ref:`bool`\ ) :ref:`🔗` -如果 ``disable`` 為 ``true``\ ,則會禁用由 ``class_name`` 指定的類別的編輯功能。禁用時,該類別仍然會出現在建立新節點對話框中,但選取繼承該類別的節點時,\ ``Inspector`` 將會是唯讀。 +If ``disable`` is ``true``, disables editing for the class specified by ``class_name``. When disabled, the class will still appear in the Create New Node dialog but the Inspector will be read-only when selecting a node that extends the class. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_foldablecontainer.rst b/classes/zh_TW/class_foldablecontainer.rst index 4b935e6f03..7da2d03f95 100644 --- a/classes/zh_TW/class_foldablecontainer.rst +++ b/classes/zh_TW/class_foldablecontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableContainer.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableContainer: diff --git a/classes/zh_TW/class_foldablegroup.rst b/classes/zh_TW/class_foldablegroup.rst index 570fb5c771..4b91894b7b 100644 --- a/classes/zh_TW/class_foldablegroup.rst +++ b/classes/zh_TW/class_foldablegroup.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/FoldableGroup.xml. +.. meta:: + :keywords: expandable, collapsible, collapse .. _class_FoldableGroup: diff --git a/classes/zh_TW/class_font.rst b/classes/zh_TW/class_font.rst index f724bb7604..ce08386330 100644 --- a/classes/zh_TW/class_font.rst +++ b/classes/zh_TW/class_font.rst @@ -124,7 +124,7 @@ Font - |void| **set_fallbacks**\ (\ value\: :ref:`Array`\[:ref:`Font`\]\ ) - :ref:`Array`\[:ref:`Font`\] **get_fallbacks**\ (\ ) -如果在該 :ref:`FontVariation` 中找不到字形,則用作替代的退回 **Font** 陣列。如果沒有設定,則使用 :ref:`base_font` 的退回字形。 +如果在該 :ref:`FontVariation` 中找不到字形,則用作替代的退回 **Font** 陣列。如果沒有設定,則使用 :ref:`FontVariation.base_font` 的退回字形。 .. rst-class:: classref-section-separator diff --git a/classes/zh_TW/class_gridmap.rst b/classes/zh_TW/class_gridmap.rst index c1c97cffc4..123f3d3fac 100644 --- a/classes/zh_TW/class_gridmap.rst +++ b/classes/zh_TW/class_gridmap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMap.xml. +.. meta:: + :keywords: tilemap .. _class_GridMap: diff --git a/classes/zh_TW/class_gridmapeditorplugin.rst b/classes/zh_TW/class_gridmapeditorplugin.rst index ddbaa7213a..b4961c9e0b 100644 --- a/classes/zh_TW/class_gridmapeditorplugin.rst +++ b/classes/zh_TW/class_gridmapeditorplugin.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/gridmap/doc_classes/GridMapEditorPlugin.xml. +.. meta:: + :keywords: tilemap .. _class_GridMapEditorPlugin: diff --git a/classes/zh_TW/class_input.rst b/classes/zh_TW/class_input.rst index c339eae6c7..4119b47600 100644 --- a/classes/zh_TW/class_input.rst +++ b/classes/zh_TW/class_input.rst @@ -881,11 +881,11 @@ If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref: :ref:`bool` **is_action_pressed**\ (\ action\: :ref:`StringName`, exact_match\: :ref:`bool` = false\ ) |const| :ref:`🔗` -如果給定的動作正被按下,則返回 ``true``\ (除非 ``allow_echo`` 為 ``true``\ ,否則不是 :ref:`InputEventKey` 事件中的回顯事件)。與 :ref:`InputEventMouseMotion` 或 :ref:`InputEventScreenDrag` 型別的事件無關。 +Returns ``true`` if you are pressing the action event. -如果 ``exact_match`` 為 ``false``\ ,則它會忽略 :ref:`InputEventKey` 和 :ref:`InputEventMouseButton` 事件的額外輸入修飾鍵,以及 :ref:`InputEventJoypadMotion` 事件的方向。 +If ``exact_match`` is ``false``, it ignores additional input modifiers for :ref:`InputEventKey` and :ref:`InputEventMouseButton` events, and the direction for :ref:`InputEventJoypadMotion` events. -\ **注意:**\ 由於鍵盤重影,\ :ref:`is_action_pressed()` 可能會返回 ``false``\ ,即使動作的某個鍵被按下時也是如此。有關詳細資訊,請參閱文檔中的 `《輸入範例》 <../tutorials/inputs/input_examples.html#keyboard-events>`__\ 。 +\ **Note:** Due to keyboard ghosting, :ref:`is_action_pressed()` may return ``false`` even if one of the action's keys is pressed. See `Input examples <../tutorials/inputs/input_examples.html#keyboard-events>`__ in the documentation for more information. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_inputeventjoypadbutton.rst b/classes/zh_TW/class_inputeventjoypadbutton.rst index a4dc1abffc..f8ad635e8c 100644 --- a/classes/zh_TW/class_inputeventjoypadbutton.rst +++ b/classes/zh_TW/class_inputeventjoypadbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadButton.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadButton: diff --git a/classes/zh_TW/class_inputeventjoypadmotion.rst b/classes/zh_TW/class_inputeventjoypadmotion.rst index 6b75732cea..409f931a37 100644 --- a/classes/zh_TW/class_inputeventjoypadmotion.rst +++ b/classes/zh_TW/class_inputeventjoypadmotion.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventJoypadMotion.xml. +.. meta:: + :keywords: gamepad, controller .. _class_InputEventJoypadMotion: diff --git a/classes/zh_TW/class_inputeventmousebutton.rst b/classes/zh_TW/class_inputeventmousebutton.rst index b950719c85..5d9a5ab19b 100644 --- a/classes/zh_TW/class_inputeventmousebutton.rst +++ b/classes/zh_TW/class_inputeventmousebutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/InputEventMouseButton.xml. +.. meta:: + :keywords: click, press .. _class_InputEventMouseButton: diff --git a/classes/zh_TW/class_ip.rst b/classes/zh_TW/class_ip.rst index 864aac01ad..efa7c8fb60 100644 --- a/classes/zh_TW/class_ip.rst +++ b/classes/zh_TW/class_ip.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/IP.xml. +.. meta:: + :keywords: dns .. _class_IP: diff --git a/classes/zh_TW/class_label.rst b/classes/zh_TW/class_label.rst index 6445ad5b52..1f7081ef7c 100644 --- a/classes/zh_TW/class_label.rst +++ b/classes/zh_TW/class_label.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label.xml. +.. meta:: + :keywords: text .. _class_Label: diff --git a/classes/zh_TW/class_label3d.rst b/classes/zh_TW/class_label3d.rst index 7ffb840ba9..8734291289 100644 --- a/classes/zh_TW/class_label3d.rst +++ b/classes/zh_TW/class_label3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Label3D.xml. +.. meta:: + :keywords: text .. _class_Label3D: diff --git a/classes/zh_TW/class_light3d.rst b/classes/zh_TW/class_light3d.rst index 9a3ac88a0e..11d9fe4d64 100644 --- a/classes/zh_TW/class_light3d.rst +++ b/classes/zh_TW/class_light3d.rst @@ -508,7 +508,9 @@ The light's color in the nonlinear sRGB color space. An *overbright* color can b - |void| **set_cull_mask**\ (\ value\: :ref:`int`\ ) - :ref:`int` **get_cull_mask**\ (\ ) -燈光將影響所選圖層中的物件。 +The light will affect objects in the selected layers. + +\ **Note:** The light cull mask is ignored by :ref:`VoxelGI`, SDFGI, :ref:`LightmapGI`, and volumetric fog. These will always render lights in a way that ignores the cull mask. See also :ref:`VisualInstance3D.layers`. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_line2d.rst b/classes/zh_TW/class_line2d.rst index 332fd317f3..8221f7fc62 100644 --- a/classes/zh_TW/class_line2d.rst +++ b/classes/zh_TW/class_line2d.rst @@ -126,7 +126,7 @@ enum **LineJointMode**: :ref:`🔗` :ref:`LineJointMode` **LINE_JOINT_ROUND** = ``2`` -使折線的關節變圓,用圓弧連接兩個線段的側面。此圓弧的細部取決於\ :ref:`round_ precision`\ 。 +使折線的關節變圓,用圓弧連接兩個線段的側面。此圓弧的細部取決於\ :ref:`round_precision`\ 。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_lineedit.rst b/classes/zh_TW/class_lineedit.rst index 05e5227450..d12242bcc2 100644 --- a/classes/zh_TW/class_lineedit.rst +++ b/classes/zh_TW/class_lineedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/LineEdit.xml. +.. meta:: + :keywords: text, input .. _class_LineEdit: diff --git a/classes/zh_TW/class_margincontainer.rst b/classes/zh_TW/class_margincontainer.rst index 34c9940561..e9249c9050 100644 --- a/classes/zh_TW/class_margincontainer.rst +++ b/classes/zh_TW/class_margincontainer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MarginContainer.xml. +.. meta:: + :keywords: padding .. _class_MarginContainer: diff --git a/classes/zh_TW/class_menubutton.rst b/classes/zh_TW/class_menubutton.rst index 480bf6e39e..c18270d7f7 100644 --- a/classes/zh_TW/class_menubutton.rst +++ b/classes/zh_TW/class_menubutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MenuButton.xml. +.. meta:: + :keywords: dropdown .. _class_MenuButton: diff --git a/classes/zh_TW/class_multimesh.rst b/classes/zh_TW/class_multimesh.rst index 4bd1d891da..f3e5292bf6 100644 --- a/classes/zh_TW/class_multimesh.rst +++ b/classes/zh_TW/class_multimesh.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMesh.xml. +.. meta:: + :keywords: batch .. _class_MultiMesh: diff --git a/classes/zh_TW/class_multimeshinstance2d.rst b/classes/zh_TW/class_multimeshinstance2d.rst index 057ec44038..902a46a32e 100644 --- a/classes/zh_TW/class_multimeshinstance2d.rst +++ b/classes/zh_TW/class_multimeshinstance2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance2D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance2D: diff --git a/classes/zh_TW/class_multimeshinstance3d.rst b/classes/zh_TW/class_multimeshinstance3d.rst index f15cfff92a..fedfd0850b 100644 --- a/classes/zh_TW/class_multimeshinstance3d.rst +++ b/classes/zh_TW/class_multimeshinstance3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiMeshInstance3D.xml. +.. meta:: + :keywords: batch .. _class_MultiMeshInstance3D: diff --git a/classes/zh_TW/class_multiplayerapi.rst b/classes/zh_TW/class_multiplayerapi.rst index ed0c349fe6..054d90274d 100644 --- a/classes/zh_TW/class_multiplayerapi.rst +++ b/classes/zh_TW/class_multiplayerapi.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPI.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPI: diff --git a/classes/zh_TW/class_multiplayerapiextension.rst b/classes/zh_TW/class_multiplayerapiextension.rst index 859216b846..8b7afa53ff 100644 --- a/classes/zh_TW/class_multiplayerapiextension.rst +++ b/classes/zh_TW/class_multiplayerapiextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerAPIExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerAPIExtension: diff --git a/classes/zh_TW/class_multiplayerpeer.rst b/classes/zh_TW/class_multiplayerpeer.rst index a883d872b0..5b533b5cc4 100644 --- a/classes/zh_TW/class_multiplayerpeer.rst +++ b/classes/zh_TW/class_multiplayerpeer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeer: diff --git a/classes/zh_TW/class_multiplayerpeerextension.rst b/classes/zh_TW/class_multiplayerpeerextension.rst index 0cb9459c6d..84d022892e 100644 --- a/classes/zh_TW/class_multiplayerpeerextension.rst +++ b/classes/zh_TW/class_multiplayerpeerextension.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/MultiplayerPeerExtension.xml. +.. meta:: + :keywords: network .. _class_MultiplayerPeerExtension: diff --git a/classes/zh_TW/class_multiplayerspawner.rst b/classes/zh_TW/class_multiplayerspawner.rst index fa20a61ad7..4dd27c428d 100644 --- a/classes/zh_TW/class_multiplayerspawner.rst +++ b/classes/zh_TW/class_multiplayerspawner.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSpawner.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSpawner: diff --git a/classes/zh_TW/class_multiplayersynchronizer.rst b/classes/zh_TW/class_multiplayersynchronizer.rst index 6bdc8b0f39..d7b698b177 100644 --- a/classes/zh_TW/class_multiplayersynchronizer.rst +++ b/classes/zh_TW/class_multiplayersynchronizer.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/modules/multiplayer/doc_classes/MultiplayerSynchronizer.xml. +.. meta:: + :keywords: network .. _class_MultiplayerSynchronizer: diff --git a/classes/zh_TW/class_navigationserver2d.rst b/classes/zh_TW/class_navigationserver2d.rst index cd506b0ea9..b887997f25 100644 --- a/classes/zh_TW/class_navigationserver2d.rst +++ b/classes/zh_TW/class_navigationserver2d.rst @@ -1974,7 +1974,7 @@ Returns ``true`` if the ``region`` uses an async synchronization process that ru |void| **region_set_enabled**\ (\ region\: :ref:`RID`, enabled\: :ref:`bool`\ ) :ref:`🔗` -如果 ``enabled`` 為 ``true``\ ,則指定的 ``agent`` 使用避障。 +如果 ``enabled`` 為 ``true``\ ,則指定的 ``region`` 使用避障。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_node3d.rst b/classes/zh_TW/class_node3d.rst index d86a63ec3f..34211bab86 100644 --- a/classes/zh_TW/class_node3d.rst +++ b/classes/zh_TW/class_node3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/Node3D.xml. +.. meta:: + :keywords: spatial .. _class_Node3D: diff --git a/classes/zh_TW/class_omnilight3d.rst b/classes/zh_TW/class_omnilight3d.rst index 0690af058d..d7a4c1b222 100644 --- a/classes/zh_TW/class_omnilight3d.rst +++ b/classes/zh_TW/class_omnilight3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OmniLight3D.xml. +.. meta:: + :keywords: point .. _class_OmniLight3D: diff --git a/classes/zh_TW/class_openxrapiextension.rst b/classes/zh_TW/class_openxrapiextension.rst index 340b48071f..3b148704b1 100644 --- a/classes/zh_TW/class_openxrapiextension.rst +++ b/classes/zh_TW/class_openxrapiextension.rst @@ -275,7 +275,7 @@ Returns the corresponding ``XRHandTrackerEXT`` handle for the given hand index v :ref:`int` **get_instance**\ (\ ) :ref:`🔗` -傳回OpenXR API 的初始化。 +Returns the `XrInstance `__ created during the initialization of the OpenXR API. .. rst-class:: classref-item-separator @@ -313,7 +313,7 @@ Returns the predicted display timing for the next frame. :ref:`int` **get_play_space**\ (\ ) :ref:`🔗` -回傳播放空間,這是一個 [url=https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrSpace.html]XrSpace[/ url] 轉換為整數。 +回傳播放空間,這是一個 `XrSpace `__ 轉換為整數。 .. rst-class:: classref-item-separator @@ -379,7 +379,7 @@ Returns the near boundary value of the camera frustum. :ref:`int` **get_session**\ (\ ) :ref:`🔗` -回傳 OpenXR 會話,它是一個 [url=https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrSession.html]XrSession[/ url] 轉換為整數。 +回傳 OpenXR 會話,它是一個 `XrSession `__ 轉換為整數。 .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_optionbutton.rst b/classes/zh_TW/class_optionbutton.rst index c88b8182c2..b3f87571c0 100644 --- a/classes/zh_TW/class_optionbutton.rst +++ b/classes/zh_TW/class_optionbutton.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/OptionButton.xml. +.. meta:: + :keywords: select, dropdown .. _class_OptionButton: diff --git a/classes/zh_TW/class_physicalbone2d.rst b/classes/zh_TW/class_physicalbone2d.rst index 7f111d9d22..e76b8ecf41 100644 --- a/classes/zh_TW/class_physicalbone2d.rst +++ b/classes/zh_TW/class_physicalbone2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone2D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone2D: diff --git a/classes/zh_TW/class_physicalbone3d.rst b/classes/zh_TW/class_physicalbone3d.rst index a47b19a5be..631d48d168 100644 --- a/classes/zh_TW/class_physicalbone3d.rst +++ b/classes/zh_TW/class_physicalbone3d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PhysicalBone3D.xml. +.. meta:: + :keywords: ragdoll .. _class_PhysicalBone3D: diff --git a/classes/zh_TW/class_physicsserver3drenderingserverhandler.rst b/classes/zh_TW/class_physicsserver3drenderingserverhandler.rst index f85fb1ca1a..d1ef76c6c7 100644 --- a/classes/zh_TW/class_physicsserver3drenderingserverhandler.rst +++ b/classes/zh_TW/class_physicsserver3drenderingserverhandler.rst @@ -98,7 +98,7 @@ PhysicsServer3DRenderingServerHandler |void| **set_normal**\ (\ vertex_id\: :ref:`int`, normal\: :ref:`Vector3`\ ) :ref:`🔗` -獲取由 ``idx`` 索引指定的屬性的名稱。 +Sets the normal for the :ref:`SoftBody3D` vertex at the index specified by ``vertex_id``. .. rst-class:: classref-item-separator @@ -110,7 +110,7 @@ PhysicsServer3DRenderingServerHandler |void| **set_vertex**\ (\ vertex_id\: :ref:`int`, vertex\: :ref:`Vector3`\ ) :ref:`🔗` -返回名稱為 ``name`` 的子動畫節點的位置。 +Sets the position for the :ref:`SoftBody3D` vertex at the index specified by ``vertex_id``. .. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_TW/class_pointlight2d.rst b/classes/zh_TW/class_pointlight2d.rst index 163f1aac51..6a490f6c02 100644 --- a/classes/zh_TW/class_pointlight2d.rst +++ b/classes/zh_TW/class_pointlight2d.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/PointLight2D.xml. +.. meta:: + :keywords: omni, spot .. _class_PointLight2D: diff --git a/classes/zh_TW/class_popupmenu.rst b/classes/zh_TW/class_popupmenu.rst index dab54ddf46..11ff01fa71 100644 --- a/classes/zh_TW/class_popupmenu.rst +++ b/classes/zh_TW/class_popupmenu.rst @@ -501,7 +501,7 @@ If set to one of the values of :ref:`SystemMenus`, :ref:`bool` **activate_item_by_event**\ (\ event\: :ref:`InputEvent`, for_global_only\: :ref:`bool` = false\ ) :ref:`🔗` -根據 **PopupMenu** 的捷徑和加速器檢查提供的 ``event``\ ,並啟動具有配對事件的第一個專案。如果 ``for_global_only`` 為 ``true[/ code],只有 [code]global`` 設定為 ``true`` 的捷徑和加速器才會被呼叫。 +根據 **PopupMenu** 的捷徑和加速器檢查提供的 ``event``\ ,並啟動具有配對事件的第一個專案。如果 ``for_global_only`` 為 ``true``\ ,只有 ``global`` 設定為 ``true`` 的捷徑和加速器才會被呼叫。 如果專案已成功激活,則傳回 ``true``\ 。 diff --git a/classes/zh_TW/class_projectsettings.rst b/classes/zh_TW/class_projectsettings.rst index b612729059..50a27ebc40 100644 --- a/classes/zh_TW/class_projectsettings.rst +++ b/classes/zh_TW/class_projectsettings.rst @@ -1912,7 +1912,7 @@ ProjectSettings **settings_changed**\ (\ ) :ref:`🔗` -在鍵 ``name`` 下新增 :ref:`Animation` 時發出。 +Emitted when any setting is changed, up to once per process frame. .. rst-class:: classref-section-separator diff --git a/classes/zh_TW/class_rect2.rst b/classes/zh_TW/class_rect2.rst index e80fe68e26..2ad80e272b 100644 --- a/classes/zh_TW/class_rect2.rst +++ b/classes/zh_TW/class_rect2.rst @@ -474,7 +474,7 @@ Returns ``true`` if this rectangle has positive width and height. See also :ref: :ref:`bool` **is_equal_approx**\ (\ rect\: :ref:`Rect2`\ ) |const| :ref:`🔗` -如果該 **Rect2** 和 ``rect`` 近似相等,則返回 ``true``\ ,判斷方法是通過在每個分量上呼叫 ``is_equal_approx``\ 。 +Returns ``true`` if this rectangle and ``rect`` are approximately equal, by calling :ref:`Vector2.is_equal_approx()` on the :ref:`position` and the :ref:`size`. .. rst-class:: classref-item-separator diff --git a/classes/zh_TW/class_reflectionprobe.rst b/classes/zh_TW/class_reflectionprobe.rst index 8b7d91ca26..f5308a6c0d 100644 --- a/classes/zh_TW/class_reflectionprobe.rst +++ b/classes/zh_TW/class_reflectionprobe.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/ReflectionProbe.xml. +.. meta:: + :keywords: environment, envmap .. _class_ReflectionProbe: diff --git a/classes/zh_TW/class_spinbox.rst b/classes/zh_TW/class_spinbox.rst index 91f7b97e0e..10b0b0b434 100644 --- a/classes/zh_TW/class_spinbox.rst +++ b/classes/zh_TW/class_spinbox.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/SpinBox.xml. +.. meta:: + :keywords: number, numeric, input .. _class_SpinBox: diff --git a/classes/zh_TW/class_statusindicator.rst b/classes/zh_TW/class_statusindicator.rst index 4f7940a47e..aedee54696 100644 --- a/classes/zh_TW/class_statusindicator.rst +++ b/classes/zh_TW/class_statusindicator.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/StatusIndicator.xml. +.. meta:: + :keywords: tray .. _class_StatusIndicator: diff --git a/classes/zh_TW/class_textedit.rst b/classes/zh_TW/class_textedit.rst index 3526272b50..c9c1bfff1a 100644 --- a/classes/zh_TW/class_textedit.rst +++ b/classes/zh_TW/class_textedit.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TextEdit.xml. +.. meta:: + :keywords: textarea .. _class_TextEdit: diff --git a/classes/zh_TW/class_tilemap.rst b/classes/zh_TW/class_tilemap.rst index 42337d206c..67ed693518 100644 --- a/classes/zh_TW/class_tilemap.rst +++ b/classes/zh_TW/class_tilemap.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/TileMap.xml. +.. meta:: + :keywords: gridmap .. _class_TileMap: @@ -421,9 +421,9 @@ The :ref:`TileSet` used by this **TileMap**. The textures, collis |void| **erase_cell**\ (\ layer\: :ref:`int`, coords\: :ref:`Vector2i`\ ) :ref:`🔗` -設定圖層的名稱。主要在編輯器中使用。 +Erases the cell on layer ``layer`` at coordinates ``coords``. -如果 ``layer`` 為負,則逆序存取圖層。 +If ``layer`` is negative, the layers are accessed from the last one. .. rst-class:: classref-item-separator @@ -671,9 +671,9 @@ Returns the :ref:`RID` of the :ref:`NavigationServer2D` **get_pattern**\ (\ layer\: :ref:`int`, coords_array\: :ref:`Array`\[:ref:`Vector2i`\]\ ) :ref:`🔗` -設定圖層的名稱。主要在編輯器中使用。 +Creates a new :ref:`TileMapPattern` from the given layer and set of cells. -如果 ``layer`` 為負,則逆序存取圖層。 +If ``layer`` is negative, the layers are accessed from the last one. .. rst-class:: classref-item-separator @@ -697,7 +697,9 @@ Returns the :ref:`RID` of the :ref:`NavigationServer2D`\[:ref:`Vector2i`\] **get_used_cells**\ (\ layer\: :ref:`int`\ ) |const| :ref:`🔗` -返回 :ref:`Vector2i` 陣列,其中存放的是給定圖層中所有包含圖塊的儲存格的位置。空單元格的源識別字等於 -1、合集座標識別字為 ``Vector2(-1, -1)``\ 、備選標識符為 -1。 +Returns a :ref:`Vector2i` array with the positions of all cells containing a tile in the given layer. A cell is considered empty if its source identifier equals -1, its atlas coordinates identifiers is ``Vector2(-1, -1)`` and its alternative identifier is -1. + +If ``layer`` is negative, the layers are accessed from the last one. .. rst-class:: classref-item-separator @@ -709,11 +711,13 @@ Returns the :ref:`RID` of the :ref:`NavigationServer2D`\[:ref:`Vector2i`\] **get_used_cells_by_id**\ (\ layer\: :ref:`int`, source_id\: :ref:`int` = -1, atlas_coords\: :ref:`Vector2i` = Vector2i(-1, -1), alternative_tile\: :ref:`int` = -1\ ) |const| :ref:`🔗` -返回 :ref:`Vector2i` 陣列,其中存放的是給定圖層中所有包含圖塊的儲存格的位置。可以根據源(\ ``source_id``\ )、合集座標(\ ``atlas_coords``\ )、備選 ID(\ ``alternative_tile``\ )進行篩選。 +Returns a :ref:`Vector2i` array with the positions of all cells containing a tile in the given layer. Tiles may be filtered according to their source (``source_id``), their atlas coordinates (``atlas_coords``) or alternative id (``alternative_tile``). -如果某個參數為預設值,則該參數不會用於儲存格的篩選。因此,如果所有參數都使用預設值,則返回的結果與 :ref:`get_used_cells()` 相同。 +If a parameter has its value set to the default one, this parameter is not used to filter a cell. Thus, if all parameters have their respective default value, this method returns the same result as :ref:`get_used_cells()`. -空儲存格的源識別字等於 -1、合集座標識別字為 ``Vector2(-1, -1)``\ 、備選識別字為 -1。 +A cell is considered empty if its source identifier equals -1, its atlas coordinates identifiers is ``Vector2(-1, -1)`` and its alternative identifier is -1. + +If ``layer`` is negative, the layers are accessed from the last one. .. rst-class:: classref-item-separator @@ -1097,11 +1101,11 @@ Assigns ``map`` as a :ref:`NavigationServer2D` navigat |void| **update_internals**\ (\ ) :ref:`🔗` -觸發 TileMap 的更新。如果提供了 ``layer``\ ,則只更新給定的層。 +Triggers a direct update of the TileMap. Usually, calling this function is not needed, as TileMap node updates automatically when one of its properties or cells is modified. -\ **注意:**\ TileMap 節點的屬性被修改時,該節點會自動更新。只有在需要套用運作時修改(在 :ref:`_tile_data_runtime_update()` 中實作)時才需要手動更新。 +However, for performance reasons, those updates are batched and delayed to the end of the frame. Calling this function will force the TileMap to update right away instead. -\ **警告:**\ 更新 TileMap 的計算量很大,可能會影響性能。請儘量限制更新的次數和受影響的圖塊(例如,將經常更新的圖塊放在專門的層中)。 +\ **Warning:** Updating the TileMap is computationally expensive and may impact performance. Try to limit the number of updates and how many tiles they impact. .. |virtual| replace:: :abbr:`virtual (本方法通常需要使用者覆寫才能生效。)` .. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)` diff --git a/classes/zh_TW/class_tilesetatlassource.rst b/classes/zh_TW/class_tilesetatlassource.rst index 2d1bef3a98..37859fc64b 100644 --- a/classes/zh_TW/class_tilesetatlassource.rst +++ b/classes/zh_TW/class_tilesetatlassource.rst @@ -153,7 +153,7 @@ enum **TileAnimationMode**: :ref:`🔗` **TILE_ANIMATION_MODE_MAX** = ``2`` -代表 CollisionMode 列舉的大小。 +代表 :ref:`TileAnimationMode` 列舉的大小。 .. rst-class:: classref-section-separator diff --git a/classes/zh_TW/class_worldenvironment.rst b/classes/zh_TW/class_worldenvironment.rst index 9bb0646f41..c2eaa8259f 100644 --- a/classes/zh_TW/class_worldenvironment.rst +++ b/classes/zh_TW/class_worldenvironment.rst @@ -1,7 +1,7 @@ :github_url: hide -.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. -.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/WorldEnvironment.xml. +.. meta:: + :keywords: background, sky .. _class_WorldEnvironment: diff --git a/classes/zh_TW/index.rst b/classes/zh_TW/index.rst index 2c8119e411..109d12e425 100644 --- a/classes/zh_TW/index.rst +++ b/classes/zh_TW/index.rst @@ -1,5 +1,10 @@ :github_url: hide :allow_comments: False + +.. DO NOT EDIT THIS FILE!!! +.. Generated automatically from Godot engine sources. +.. Generator: https://github.com/godotengine/godot/tree/4.5/doc/tools/make_rst.py. + .. _doc_class_reference: 所有類別