mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-03 05:48:42 +03:00
154 lines
4.3 KiB
ReStructuredText
154 lines
4.3 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. DO NOT EDIT THIS FILE!!!
|
|
.. Generated automatically from Godot engine sources.
|
|
.. Generator: https://github.com/godotengine/godot/tree/3.6/doc/tools/make_rst.py.
|
|
.. XML source: https://github.com/godotengine/godot/tree/3.6/doc/classes/VisualShaderNodeScalarOp.xml.
|
|
|
|
.. _class_VisualShaderNodeScalarOp:
|
|
|
|
VisualShaderNodeScalarOp
|
|
========================
|
|
|
|
**Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
.. rst-class:: classref-reftable-group
|
|
|
|
Properties
|
|
----------
|
|
|
|
.. table::
|
|
:widths: auto
|
|
|
|
+---------------------------------------------------------+-------------------------------------------------------------------+-------+
|
|
| :ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` | :ref:`operator<class_VisualShaderNodeScalarOp_property_operator>` | ``0`` |
|
|
+---------------------------------------------------------+-------------------------------------------------------------------+-------+
|
|
|
|
.. rst-class:: classref-section-separator
|
|
|
|
----
|
|
|
|
.. rst-class:: classref-descriptions-group
|
|
|
|
Enumerations
|
|
------------
|
|
|
|
.. _enum_VisualShaderNodeScalarOp_Operator:
|
|
|
|
.. rst-class:: classref-enumeration
|
|
|
|
enum **Operator**:
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_ADD:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_ADD** = ``0``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_SUB:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_SUB** = ``1``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MUL:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_MUL** = ``2``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_DIV:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_DIV** = ``3``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MOD:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_MOD** = ``4``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_POW:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_POW** = ``5``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MAX:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_MAX** = ``6``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MIN:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_MIN** = ``7``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_ATAN2:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_ATAN2** = ``8``
|
|
|
|
|
|
|
|
.. _class_VisualShaderNodeScalarOp_constant_OP_STEP:
|
|
|
|
.. rst-class:: classref-enumeration-constant
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **OP_STEP** = ``9``
|
|
|
|
|
|
|
|
.. rst-class:: classref-section-separator
|
|
|
|
----
|
|
|
|
.. rst-class:: classref-descriptions-group
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_VisualShaderNodeScalarOp_property_operator:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **operator** = ``0``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_operator** **(** :ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` value **)**
|
|
- :ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **get_operator** **(** **)**
|
|
|
|
.. container:: contribute
|
|
|
|
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
|
|
|
|
.. |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.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|