mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
169 lines
7.8 KiB
ReStructuredText
169 lines
7.8 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. _class_RemoteTransform3D:
|
||
|
||
RemoteTransform3D
|
||
=================
|
||
|
||
**Успадковує:** :ref:`Node3D<class_Node3D>` **<** :ref:`Node<class_Node>` **<** :ref:`Object<class_Object>`
|
||
|
||
RemoteTransform3D штовхає власну :ref:`Transform3D<class_Transform3D>` на іншу :ref:`Node3D<class_Node3D>`, отриману Node в сцені.
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
Опис
|
||
--------
|
||
|
||
RemoteTransform3D відштовхує власну :ref:`Transform3D<class_Transform3D>` на іншу :ref:`Node3D<class_Node3D>`, отриману Node (звана віддалена вершина) на сцені.
|
||
|
||
Може бути встановлено, щоб оновити позицію Node, обертання та / або масштаб. Це може використовувати як глобальні, так і локальні координати.
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
Властивості
|
||
----------------------
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
| :ref:`NodePath<class_NodePath>` | :ref:`remote_path<class_RemoteTransform3D_property_remote_path>` | ``NodePath("")`` |
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`update_position<class_RemoteTransform3D_property_update_position>` | ``true`` |
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`update_rotation<class_RemoteTransform3D_property_update_rotation>` | ``true`` |
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`update_scale<class_RemoteTransform3D_property_update_scale>` | ``true`` |
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
| :ref:`bool<class_bool>` | :ref:`use_global_coordinates<class_RemoteTransform3D_property_use_global_coordinates>` | ``true`` |
|
||
+---------------------------------+----------------------------------------------------------------------------------------+------------------+
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
Методи
|
||
------------
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+--------+------------------------------------------------------------------------------------+
|
||
| |void| | :ref:`force_update_cache<class_RemoteTransform3D_method_force_update_cache>`\ (\ ) |
|
||
+--------+------------------------------------------------------------------------------------+
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Описи властивостей
|
||
------------------------------------
|
||
|
||
.. _class_RemoteTransform3D_property_remote_path:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`NodePath<class_NodePath>` **remote_path** = ``NodePath("")`` :ref:`🔗<class_RemoteTransform3D_property_remote_path>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_remote_node**\ (\ value\: :ref:`NodePath<class_NodePath>`\ )
|
||
- :ref:`NodePath<class_NodePath>` **get_remote_node**\ (\ )
|
||
|
||
:ref:`NodePath<class_NodePath>` до пульта дистанційного керування, відносно позиції RemoteTransform3D на сцені.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_RemoteTransform3D_property_update_position:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`bool<class_bool>` **update_position** = ``true`` :ref:`🔗<class_RemoteTransform3D_property_update_position>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_update_position**\ (\ value\: :ref:`bool<class_bool>`\ )
|
||
- :ref:`bool<class_bool>` **get_update_position**\ (\ )
|
||
|
||
Якщо ``true``, позиція віддаленого вузла оновлюється.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_RemoteTransform3D_property_update_rotation:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`bool<class_bool>` **update_rotation** = ``true`` :ref:`🔗<class_RemoteTransform3D_property_update_rotation>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_update_rotation**\ (\ value\: :ref:`bool<class_bool>`\ )
|
||
- :ref:`bool<class_bool>` **get_update_rotation**\ (\ )
|
||
|
||
Якщо ``true``, то оновлення віддаленого вузла.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_RemoteTransform3D_property_update_scale:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`bool<class_bool>` **update_scale** = ``true`` :ref:`🔗<class_RemoteTransform3D_property_update_scale>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_update_scale**\ (\ value\: :ref:`bool<class_bool>`\ )
|
||
- :ref:`bool<class_bool>` **get_update_scale**\ (\ )
|
||
|
||
Якщо ``true``, загальна вага віддаленого вузла.
|
||
|
||
.. rst-class:: classref-item-separator
|
||
|
||
----
|
||
|
||
.. _class_RemoteTransform3D_property_use_global_coordinates:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`bool<class_bool>` **use_global_coordinates** = ``true`` :ref:`🔗<class_RemoteTransform3D_property_use_global_coordinates>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_use_global_coordinates**\ (\ value\: :ref:`bool<class_bool>`\ )
|
||
- :ref:`bool<class_bool>` **get_use_global_coordinates**\ (\ )
|
||
|
||
Якщо ``true`` використовуються глобальні координати. Якщо ``false`` використовуються локальні координати.
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Описи методів
|
||
--------------------------
|
||
|
||
.. _class_RemoteTransform3D_method_force_update_cache:
|
||
|
||
.. rst-class:: classref-method
|
||
|
||
|void| **force_update_cache**\ (\ ) :ref:`🔗<class_RemoteTransform3D_method_force_update_cache>`
|
||
|
||
**RemoteTransform3D** кешує віддалений вузол. Він може не помітити, якщо віддалений вузол зникне; :ref:`force_update_cache()<class_RemoteTransform3D_method_force_update_cache>` змушує його знову оновлювати кеш.
|
||
|
||
.. |virtual| replace:: :abbr:`virtual (Зазвичай, цей метод перевизначається користувачем, щоб він мав вплив.)`
|
||
.. |required| replace:: :abbr:`required (This method is required to be overridden when extending its base class.)`
|
||
.. |const| replace:: :abbr:`const (Цей метод не має побічних ефектів. Не змінює ніяку змінну екземпляра об'єкта.)`
|
||
.. |vararg| replace:: :abbr:`vararg (Цей метод приймає будь-яке число аргументів після описаних тут.)`
|
||
.. |constructor| replace:: :abbr:`constructor (Цей метод використовується для побудови типів.)`
|
||
.. |static| replace:: :abbr:`static (Цей метод не потребує екземпляра для виклику, його можна викликати безпосередньо за допомогою назви класу.)`
|
||
.. |operator| replace:: :abbr:`operator (Цей метод описує дійсний оператор для взаємодії з цим типом як з лівим операндом.)`
|
||
.. |bitfield| replace:: :abbr:`BitField (Це значення є цілим числом, складеним у вигляді бітової маски з наступних прапорів.)`
|
||
.. |void| replace:: :abbr:`void (Значення не повертається.)`
|