Files
godot-docs-l10n/classes/es/class_remotetransform.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

138 lines
5.9 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 RemoteTransform.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_RemoteTransform:
RemoteTransform
===============
**Inherits:** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
RemoteTransform pushes its own :ref:`Transform<class_Transform>` to another :ref:`Spatial<class_Spatial>` derived Node in the scene.
Descripción
----------------------
RemoteTransform pushes its own :ref:`Transform<class_Transform>` to another :ref:`Spatial<class_Spatial>` derived Node (called the remote node) in the scene.
It can be set to update another Node's position, rotation and/or scale. It can use either global or local coordinates.
Propiedades
----------------------
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
| :ref:`NodePath<class_NodePath>` | :ref:`remote_path<class_RemoteTransform_property_remote_path>` | ``NodePath("")`` |
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
| :ref:`bool<class_bool>` | :ref:`update_position<class_RemoteTransform_property_update_position>` | ``true`` |
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
| :ref:`bool<class_bool>` | :ref:`update_rotation<class_RemoteTransform_property_update_rotation>` | ``true`` |
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
| :ref:`bool<class_bool>` | :ref:`update_scale<class_RemoteTransform_property_update_scale>` | ``true`` |
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
| :ref:`bool<class_bool>` | :ref:`use_global_coordinates<class_RemoteTransform_property_use_global_coordinates>` | ``true`` |
+---------------------------------+--------------------------------------------------------------------------------------+------------------+
Métodos
--------------
+------+----------------------------------------------------------------------------------------+
| void | :ref:`force_update_cache<class_RemoteTransform_method_force_update_cache>` **(** **)** |
+------+----------------------------------------------------------------------------------------+
Descripciones de Propiedades
--------------------------------------------------------
.. _class_RemoteTransform_property_remote_path:
- :ref:`NodePath<class_NodePath>` **remote_path**
+-----------+------------------------+
| *Default* | ``NodePath("")`` |
+-----------+------------------------+
| *Setter* | set_remote_node(value) |
+-----------+------------------------+
| *Getter* | get_remote_node() |
+-----------+------------------------+
The :ref:`NodePath<class_NodePath>` to the remote node, relative to the RemoteTransform's position in the scene.
----
.. _class_RemoteTransform_property_update_position:
- :ref:`bool<class_bool>` **update_position**
+-----------+----------------------------+
| *Default* | ``true`` |
+-----------+----------------------------+
| *Setter* | set_update_position(value) |
+-----------+----------------------------+
| *Getter* | get_update_position() |
+-----------+----------------------------+
Si ``true``, la posición del nodo remoto se actualiza.
----
.. _class_RemoteTransform_property_update_rotation:
- :ref:`bool<class_bool>` **update_rotation**
+-----------+----------------------------+
| *Default* | ``true`` |
+-----------+----------------------------+
| *Setter* | set_update_rotation(value) |
+-----------+----------------------------+
| *Getter* | get_update_rotation() |
+-----------+----------------------------+
Si ``true``, la rotación del nodo remoto se actualiza.
----
.. _class_RemoteTransform_property_update_scale:
- :ref:`bool<class_bool>` **update_scale**
+-----------+-------------------------+
| *Default* | ``true`` |
+-----------+-------------------------+
| *Setter* | set_update_scale(value) |
+-----------+-------------------------+
| *Getter* | get_update_scale() |
+-----------+-------------------------+
Si ``true``, la rotación del nodo remoto se actualiza.
----
.. _class_RemoteTransform_property_use_global_coordinates:
- :ref:`bool<class_bool>` **use_global_coordinates**
+-----------+-----------------------------------+
| *Default* | ``true`` |
+-----------+-----------------------------------+
| *Setter* | set_use_global_coordinates(value) |
+-----------+-----------------------------------+
| *Getter* | get_use_global_coordinates() |
+-----------+-----------------------------------+
Si ``true``, se utilizan las coordenadas globales. Si ``false``, se utilizan las coordenadas locales.
Descripciones de Métodos
------------------------------------------------
.. _class_RemoteTransform_method_force_update_cache:
- void **force_update_cache** **(** **)**
``RemoteTransform`` caches the remote node. It may not notice if the remote node disappears; :ref:`force_update_cache<class_RemoteTransform_method_force_update_cache>` forces it to update the cache again.
.. |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.)`