mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2025-12-31 09:49:22 +03:00
143 lines
6.1 KiB
ReStructuredText
143 lines
6.1 KiB
ReStructuredText
:github_url: hide
|
||
|
||
.. _class_VisualShaderNodeRemap:
|
||
|
||
VisualShaderNodeRemap
|
||
=====================
|
||
|
||
**Успадковує:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
||
|
||
Візуальний шейдер для функції перепланування.
|
||
|
||
.. rst-class:: classref-introduction-group
|
||
|
||
Опис
|
||
--------
|
||
|
||
Remap перетворить діапазон введення в вихідний діапазон, наприклад, ви можете змінити значення ``0.1`` до ``-2..2`` і т.д. Детальніше :ref:`@GlobalScope.remap()<class_@GlobalScope_method_remap>`.
|
||
|
||
.. rst-class:: classref-reftable-group
|
||
|
||
Властивості
|
||
----------------------
|
||
|
||
.. table::
|
||
:widths: auto
|
||
|
||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||
| :ref:`OpType<enum_VisualShaderNodeRemap_OpType>` | :ref:`op_type<class_VisualShaderNodeRemap_property_op_type>` | ``0`` |
|
||
+--------------------------------------------------+--------------------------------------------------------------+-------+
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Переліки
|
||
----------------
|
||
|
||
.. _enum_VisualShaderNodeRemap_OpType:
|
||
|
||
.. rst-class:: classref-enumeration
|
||
|
||
enum **OpType**: :ref:`🔗<enum_VisualShaderNodeRemap_OpType>`
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_SCALAR:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_SCALAR** = ``0``
|
||
|
||
Тип столяра плаваючої точки.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_2D:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_2D** = ``1``
|
||
|
||
A 2D векторний тип.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_2D_SCALAR:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_2D_SCALAR** = ``2``
|
||
|
||
Порт ``value`` використовує двовимірний векторний тип, тоді як порти ``input min``, ``input max``, ``output min`` і ``output max`` використовують скалярний тип із плаваючою комою.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_3D:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_3D** = ``3``
|
||
|
||
3D векторний тип.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_3D_SCALAR:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_3D_SCALAR** = ``4``
|
||
|
||
Порт ``value`` використовує векторний тип 3D, тоді як порти ``input min``, ``input max``, ``output min`` і ``output max`` використовують скалярний тип із плаваючою комою.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_4D:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_4D** = ``5``
|
||
|
||
Тип вектора 4D.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_VECTOR_4D_SCALAR:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_VECTOR_4D_SCALAR** = ``6``
|
||
|
||
Порт ``value`` використовує векторний тип 4D, тоді як порти ``input min``, ``input max``, ``output min`` і ``output max`` використовують скалярний тип із плаваючою комою.
|
||
|
||
.. _class_VisualShaderNodeRemap_constant_OP_TYPE_MAX:
|
||
|
||
.. rst-class:: classref-enumeration-constant
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **OP_TYPE_MAX** = ``7``
|
||
|
||
Представляємо розмір :ref:`OpType<enum_VisualShaderNodeRemap_OpType>` enum.
|
||
|
||
.. rst-class:: classref-section-separator
|
||
|
||
----
|
||
|
||
.. rst-class:: classref-descriptions-group
|
||
|
||
Описи властивостей
|
||
------------------------------------
|
||
|
||
.. _class_VisualShaderNodeRemap_property_op_type:
|
||
|
||
.. rst-class:: classref-property
|
||
|
||
:ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **op_type** = ``0`` :ref:`🔗<class_VisualShaderNodeRemap_property_op_type>`
|
||
|
||
.. rst-class:: classref-property-setget
|
||
|
||
- |void| **set_op_type**\ (\ value\: :ref:`OpType<enum_VisualShaderNodeRemap_OpType>`\ )
|
||
- :ref:`OpType<enum_VisualShaderNodeRemap_OpType>` **get_op_type**\ (\ )
|
||
|
||
.. container:: contribute
|
||
|
||
There is currently no description for this property. Please help us by `contributing one <https://contributing.godotengine.org/en/latest/documentation/class_reference.html>`__!
|
||
|
||
.. |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 (Значення не повертається.)`
|