:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/3.5/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/3.5/doc/classes/VisualShaderNodeScalarOp.xml. .. _class_VisualShaderNodeScalarOp: VisualShaderNodeScalarOp ======================== **Inherits:** :ref:`VisualShaderNode` **<** :ref:`Resource` **<** :ref:`Reference` **<** :ref:`Object` Properties ---------- +---------------------------------------------------------+-------------------------------------------------------------------+-------+ | :ref:`Operator` | :ref:`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` **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.)`