class_visualshadernodevectorbase.rst 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. :github_url: hide
  2. .. DO NOT EDIT THIS FILE!!!
  3. .. Generated automatically from Godot engine sources.
  4. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
  5. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/VisualShaderNodeVectorBase.xml.
  6. .. _class_VisualShaderNodeVectorBase:
  7. VisualShaderNodeVectorBase
  8. ==========================
  9. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. **Inherited By:** :ref:`VisualShaderNodeFaceForward<class_VisualShaderNodeFaceForward>`, :ref:`VisualShaderNodeVectorCompose<class_VisualShaderNodeVectorCompose>`, :ref:`VisualShaderNodeVectorDecompose<class_VisualShaderNodeVectorDecompose>`, :ref:`VisualShaderNodeVectorDistance<class_VisualShaderNodeVectorDistance>`, :ref:`VisualShaderNodeVectorFunc<class_VisualShaderNodeVectorFunc>`, :ref:`VisualShaderNodeVectorLen<class_VisualShaderNodeVectorLen>`, :ref:`VisualShaderNodeVectorOp<class_VisualShaderNodeVectorOp>`, :ref:`VisualShaderNodeVectorRefract<class_VisualShaderNodeVectorRefract>`
  11. A base type for the nodes that perform vector operations within the visual shader graph.
  12. .. rst-class:: classref-introduction-group
  13. Description
  14. -----------
  15. This is an abstract class. See the derived types for descriptions of the possible operations.
  16. .. rst-class:: classref-reftable-group
  17. Properties
  18. ----------
  19. .. table::
  20. :widths: auto
  21. +-------------------------------------------------------+-------------------------------------------------------------------+-------+
  22. | :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` | :ref:`op_type<class_VisualShaderNodeVectorBase_property_op_type>` | ``1`` |
  23. +-------------------------------------------------------+-------------------------------------------------------------------+-------+
  24. .. rst-class:: classref-section-separator
  25. ----
  26. .. rst-class:: classref-descriptions-group
  27. Enumerations
  28. ------------
  29. .. _enum_VisualShaderNodeVectorBase_OpType:
  30. .. rst-class:: classref-enumeration
  31. enum **OpType**: :ref:`🔗<enum_VisualShaderNodeVectorBase_OpType>`
  32. .. _class_VisualShaderNodeVectorBase_constant_OP_TYPE_VECTOR_2D:
  33. .. rst-class:: classref-enumeration-constant
  34. :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **OP_TYPE_VECTOR_2D** = ``0``
  35. A 2D vector type.
  36. .. _class_VisualShaderNodeVectorBase_constant_OP_TYPE_VECTOR_3D:
  37. .. rst-class:: classref-enumeration-constant
  38. :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **OP_TYPE_VECTOR_3D** = ``1``
  39. A 3D vector type.
  40. .. _class_VisualShaderNodeVectorBase_constant_OP_TYPE_VECTOR_4D:
  41. .. rst-class:: classref-enumeration-constant
  42. :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **OP_TYPE_VECTOR_4D** = ``2``
  43. A 4D vector type.
  44. .. _class_VisualShaderNodeVectorBase_constant_OP_TYPE_MAX:
  45. .. rst-class:: classref-enumeration-constant
  46. :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **OP_TYPE_MAX** = ``3``
  47. Represents the size of the :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` enum.
  48. .. rst-class:: classref-section-separator
  49. ----
  50. .. rst-class:: classref-descriptions-group
  51. Property Descriptions
  52. ---------------------
  53. .. _class_VisualShaderNodeVectorBase_property_op_type:
  54. .. rst-class:: classref-property
  55. :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **op_type** = ``1`` :ref:`🔗<class_VisualShaderNodeVectorBase_property_op_type>`
  56. .. rst-class:: classref-property-setget
  57. - |void| **set_op_type**\ (\ value\: :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>`\ )
  58. - :ref:`OpType<enum_VisualShaderNodeVectorBase_OpType>` **get_op_type**\ (\ )
  59. A vector type that this operation is performed on.
  60. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  61. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  62. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  63. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  64. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  65. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  66. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  67. .. |void| replace:: :abbr:`void (No return value.)`