class_visualshadernodeis.rst 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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/VisualShaderNodeIs.xml.
  6. .. _class_VisualShaderNodeIs:
  7. VisualShaderNodeIs
  8. ==================
  9. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. A boolean comparison operator to be used within the visual shader graph.
  11. .. rst-class:: classref-introduction-group
  12. Description
  13. -----------
  14. Returns the boolean result of the comparison between ``INF`` or ``NaN`` and a scalar parameter.
  15. .. rst-class:: classref-reftable-group
  16. Properties
  17. ----------
  18. .. table::
  19. :widths: auto
  20. +---------------------------------------------------+-------------------------------------------------------------+-------+
  21. | :ref:`Function<enum_VisualShaderNodeIs_Function>` | :ref:`function<class_VisualShaderNodeIs_property_function>` | ``0`` |
  22. +---------------------------------------------------+-------------------------------------------------------------+-------+
  23. .. rst-class:: classref-section-separator
  24. ----
  25. .. rst-class:: classref-descriptions-group
  26. Enumerations
  27. ------------
  28. .. _enum_VisualShaderNodeIs_Function:
  29. .. rst-class:: classref-enumeration
  30. enum **Function**: :ref:`🔗<enum_VisualShaderNodeIs_Function>`
  31. .. _class_VisualShaderNodeIs_constant_FUNC_IS_INF:
  32. .. rst-class:: classref-enumeration-constant
  33. :ref:`Function<enum_VisualShaderNodeIs_Function>` **FUNC_IS_INF** = ``0``
  34. Comparison with ``INF`` (Infinity).
  35. .. _class_VisualShaderNodeIs_constant_FUNC_IS_NAN:
  36. .. rst-class:: classref-enumeration-constant
  37. :ref:`Function<enum_VisualShaderNodeIs_Function>` **FUNC_IS_NAN** = ``1``
  38. Comparison with ``NaN`` (Not a Number; indicates invalid numeric results, such as division by zero).
  39. .. _class_VisualShaderNodeIs_constant_FUNC_MAX:
  40. .. rst-class:: classref-enumeration-constant
  41. :ref:`Function<enum_VisualShaderNodeIs_Function>` **FUNC_MAX** = ``2``
  42. Represents the size of the :ref:`Function<enum_VisualShaderNodeIs_Function>` enum.
  43. .. rst-class:: classref-section-separator
  44. ----
  45. .. rst-class:: classref-descriptions-group
  46. Property Descriptions
  47. ---------------------
  48. .. _class_VisualShaderNodeIs_property_function:
  49. .. rst-class:: classref-property
  50. :ref:`Function<enum_VisualShaderNodeIs_Function>` **function** = ``0`` :ref:`🔗<class_VisualShaderNodeIs_property_function>`
  51. .. rst-class:: classref-property-setget
  52. - |void| **set_function**\ (\ value\: :ref:`Function<enum_VisualShaderNodeIs_Function>`\ )
  53. - :ref:`Function<enum_VisualShaderNodeIs_Function>` **get_function**\ (\ )
  54. The comparison function. See :ref:`Function<enum_VisualShaderNodeIs_Function>` for options.
  55. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  56. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  57. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  58. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  59. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  60. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
  61. .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`
  62. .. |void| replace:: :abbr:`void (No return value.)`