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

102 lines
4.0 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 InterpolatedCamera.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_InterpolatedCamera:
InterpolatedCamera
==================
**Inherits:** :ref:`Camera<class_Camera>` **<** :ref:`Spatial<class_Spatial>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
*Deprecated.* Camera which moves toward another node.
Descripción
----------------------
*Deprecated (will be removed in Godot 4.0).* InterpolatedCamera is a :ref:`Camera<class_Camera>` which smoothly moves to match a target node's position and rotation.
If it is not :ref:`enabled<class_InterpolatedCamera_property_enabled>` or does not have a valid target set, InterpolatedCamera acts like a normal Camera.
Propiedades
----------------------
+---------------------------------+-----------------------------------------------------------+------------------+
| :ref:`bool<class_bool>` | :ref:`enabled<class_InterpolatedCamera_property_enabled>` | ``false`` |
+---------------------------------+-----------------------------------------------------------+------------------+
| :ref:`float<class_float>` | :ref:`speed<class_InterpolatedCamera_property_speed>` | ``1.0`` |
+---------------------------------+-----------------------------------------------------------+------------------+
| :ref:`NodePath<class_NodePath>` | :ref:`target<class_InterpolatedCamera_property_target>` | ``NodePath("")`` |
+---------------------------------+-----------------------------------------------------------+------------------+
Métodos
--------------
+------+--------------------------------------------------------------------------------------------------------------+
| void | :ref:`set_target<class_InterpolatedCamera_method_set_target>` **(** :ref:`Object<class_Object>` target **)** |
+------+--------------------------------------------------------------------------------------------------------------+
Descripciones de Propiedades
--------------------------------------------------------
.. _class_InterpolatedCamera_property_enabled:
- :ref:`bool<class_bool>` **enabled**
+-----------+----------------------------------+
| *Default* | ``false`` |
+-----------+----------------------------------+
| *Setter* | set_interpolation_enabled(value) |
+-----------+----------------------------------+
| *Getter* | is_interpolation_enabled() |
+-----------+----------------------------------+
If ``true``, and a target is set, the camera will move automatically.
----
.. _class_InterpolatedCamera_property_speed:
- :ref:`float<class_float>` **speed**
+-----------+------------------+
| *Default* | ``1.0`` |
+-----------+------------------+
| *Setter* | set_speed(value) |
+-----------+------------------+
| *Getter* | get_speed() |
+-----------+------------------+
How quickly the camera moves toward its target. Higher values will result in tighter camera motion.
----
.. _class_InterpolatedCamera_property_target:
- :ref:`NodePath<class_NodePath>` **target**
+-----------+------------------------+
| *Default* | ``NodePath("")`` |
+-----------+------------------------+
| *Setter* | set_target_path(value) |
+-----------+------------------------+
| *Getter* | get_target_path() |
+-----------+------------------------+
The target's :ref:`NodePath<class_NodePath>`.
Descripciones de Métodos
------------------------------------------------
.. _class_InterpolatedCamera_method_set_target:
- void **set_target** **(** :ref:`Object<class_Object>` target **)**
Sets the node to move toward and orient with.
.. |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.)`