Files
godot-docs-l10n/classes/es/class_editorfilesystem.rst
Rémi Verschelde cf78697eea Add localized class reference as pre-generated RST files
Currently including `zh_CN` and `es` which both have very high completion
ratios. Others will be added once they reach a significant percentage too.

These RST files will be used by godot-docs in place of its `classes` folder
after we sync with https://github.com/godotengine/godot-docs/pull/5458.

The update workflow is manual for now (example for `zh_CN`):

- Build `godotengine/godot` in the branch we currently track (now `3.x`)
- Run `godot --doctool -l zh_CN`
- Run `cd doc && make rst LANGARG=zh_CN`
- Copy `doc/_build/rst/*` to `classes/zh_CN/` here
- Make sure to have `classes/zh_CN/index.rst` copied from `docs/classes`
2021-12-21 16:07:55 +01:00

155 lines
7.4 KiB
ReStructuredText

:github_url: hide
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the EditorFileSystem.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_EditorFileSystem:
EditorFileSystem
================
**Inherits:** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
Sistema de archivos de recursos, como lo ve el editor.
Descripción
----------------------
Este objeto contiene información de todos los recursos del sistema de archivos, sus tipos, etc.
\ **Nota:** Esta clase no debe ser instanciada directamente. En su lugar, accede al singleton usando :ref:`EditorInterface.get_resource_filesystem<class_EditorInterface_method_get_resource_filesystem>`.
Métodos
--------------
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`String<class_String>` | :ref:`get_file_type<class_EditorFileSystem_method_get_file_type>` **(** :ref:`String<class_String>` path **)** |const| |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>` | :ref:`get_filesystem<class_EditorFileSystem_method_get_filesystem>` **(** **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>` | :ref:`get_filesystem_path<class_EditorFileSystem_method_get_filesystem_path>` **(** :ref:`String<class_String>` path **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`get_scanning_progress<class_EditorFileSystem_method_get_scanning_progress>` **(** **)** |const| |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`is_scanning<class_EditorFileSystem_method_is_scanning>` **(** **)** |const| |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`scan<class_EditorFileSystem_method_scan>` **(** **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`scan_sources<class_EditorFileSystem_method_scan_sources>` **(** **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`update_file<class_EditorFileSystem_method_update_file>` **(** :ref:`String<class_String>` path **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`update_script_classes<class_EditorFileSystem_method_update_script_classes>` **(** **)** |
+-------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------------+
Señales
--------------
.. _class_EditorFileSystem_signal_filesystem_changed:
- **filesystem_changed** **(** **)**
Emitido si el sistema de archivos cambió.
----
.. _class_EditorFileSystem_signal_resources_reimported:
- **resources_reimported** **(** :ref:`PoolStringArray<class_PoolStringArray>` resources **)**
Emitted if a resource is reimported.
----
.. _class_EditorFileSystem_signal_resources_reload:
- **resources_reload** **(** :ref:`PoolStringArray<class_PoolStringArray>` resources **)**
Emitido si al menos un recurso se recarga cuando el sistema de archivos es escaneado.
----
.. _class_EditorFileSystem_signal_sources_changed:
- **sources_changed** **(** :ref:`bool<class_bool>` exist **)**
Emitido si la fuente de cualquier archivo importado cambia.
Descripciones de Métodos
------------------------------------------------
.. _class_EditorFileSystem_method_get_file_type:
- :ref:`String<class_String>` **get_file_type** **(** :ref:`String<class_String>` path **)** |const|
Returns the resource type of the file, given the full path. This returns a string such as ``"Resource"`` or ``"GDScript"``, *not* a file extension such as ``".gd"``.
----
.. _class_EditorFileSystem_method_get_filesystem:
- :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>` **get_filesystem** **(** **)**
Obtiene el objeto del directorio raíz.
----
.. _class_EditorFileSystem_method_get_filesystem_path:
- :ref:`EditorFileSystemDirectory<class_EditorFileSystemDirectory>` **get_filesystem_path** **(** :ref:`String<class_String>` path **)**
Devuelve una vista en el sistema de archivos en ``path``.
----
.. _class_EditorFileSystem_method_get_scanning_progress:
- :ref:`float<class_float>` **get_scanning_progress** **(** **)** |const|
Devuelve el progreso del escaneo de 0 a 1 si el FS está siendo escaneado.
----
.. _class_EditorFileSystem_method_is_scanning:
- :ref:`bool<class_bool>` **is_scanning** **(** **)** |const|
Devuelve ``true`` del sistema de archivos está siendo escaneado.
----
.. _class_EditorFileSystem_method_scan:
- void **scan** **(** **)**
Escanea el sistema de archivos en busca de cambios.
----
.. _class_EditorFileSystem_method_scan_sources:
- void **scan_sources** **(** **)**
Compruebe si ha cambiado la fuente de algún recurso importado.
----
.. _class_EditorFileSystem_method_update_file:
- void **update_file** **(** :ref:`String<class_String>` path **)**
Actualizar la información de un archivo. Llámalo si un programa externo (no Godot) modificó el archivo.
----
.. _class_EditorFileSystem_method_update_script_classes:
- void **update_script_classes** **(** **)**
Escanea los archivos de script y actualiza la lista de nombres de clase personalizados.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`