mirror of
https://github.com/Relintai/pandemonium_engine_docs.git
synced 2025-01-21 15:07:22 +01:00
88 lines
2.5 KiB
ReStructuredText
88 lines
2.5 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 VisualShaderNodeScalarOp.xml source instead.
|
||
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp:
|
||
|
|
||
|
VisualShaderNodeScalarOp
|
||
|
========================
|
||
|
|
||
|
**Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
|
||
|
|
||
|
|
||
|
|
||
|
Properties
|
||
|
----------
|
||
|
|
||
|
+---------------------------------------------------------+-------------------------------------------------------------------+-------+
|
||
|
| :ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` | :ref:`operator<class_VisualShaderNodeScalarOp_property_operator>` | ``0`` |
|
||
|
+---------------------------------------------------------+-------------------------------------------------------------------+-------+
|
||
|
|
||
|
Enumerations
|
||
|
------------
|
||
|
|
||
|
.. _enum_VisualShaderNodeScalarOp_Operator:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_ADD:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_SUB:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MUL:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_DIV:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MOD:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_POW:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MAX:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_MIN:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_ATAN2:
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_constant_OP_STEP:
|
||
|
|
||
|
enum **Operator**:
|
||
|
|
||
|
- **OP_ADD** = **0**
|
||
|
|
||
|
- **OP_SUB** = **1**
|
||
|
|
||
|
- **OP_MUL** = **2**
|
||
|
|
||
|
- **OP_DIV** = **3**
|
||
|
|
||
|
- **OP_MOD** = **4**
|
||
|
|
||
|
- **OP_POW** = **5**
|
||
|
|
||
|
- **OP_MAX** = **6**
|
||
|
|
||
|
- **OP_MIN** = **7**
|
||
|
|
||
|
- **OP_ATAN2** = **8**
|
||
|
|
||
|
- **OP_STEP** = **9**
|
||
|
|
||
|
Property Descriptions
|
||
|
---------------------
|
||
|
|
||
|
.. _class_VisualShaderNodeScalarOp_property_operator:
|
||
|
|
||
|
- :ref:`Operator<enum_VisualShaderNodeScalarOp_Operator>` **operator**
|
||
|
|
||
|
+-----------+---------------------+
|
||
|
| *Default* | ``0`` |
|
||
|
+-----------+---------------------+
|
||
|
| *Setter* | set_operator(value) |
|
||
|
+-----------+---------------------+
|
||
|
| *Getter* | get_operator() |
|
||
|
+-----------+---------------------+
|
||
|
|
||
|
.. |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.)`
|