class_visualshadernodecompare.rst 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the VisualShaderNodeCompare.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VisualShaderNodeCompare:
  6. VisualShaderNodeCompare
  7. =======================
  8. **Inherits:** :ref:`VisualShaderNode<class_VisualShaderNode>` **<** :ref:`Resource<class_Resource>` **<** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +--------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------+
  12. | :ref:`Condition<enum_VisualShaderNodeCompare_Condition>` | :ref:`condition<class_VisualShaderNodeCompare_property_condition>` | ``0`` |
  13. +--------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------+
  14. | :ref:`Array<class_Array>` | default_input_values | **O:** ``[ 0, 0.0, 1, 0.0, 2, 1e-05 ]`` |
  15. +--------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------+
  16. | :ref:`Function<enum_VisualShaderNodeCompare_Function>` | :ref:`function<class_VisualShaderNodeCompare_property_function>` | ``0`` |
  17. +--------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------+
  18. | :ref:`ComparsionType<enum_VisualShaderNodeCompare_ComparsionType>` | :ref:`type<class_VisualShaderNodeCompare_property_type>` | ``0`` |
  19. +--------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------+
  20. Enumerations
  21. ------------
  22. .. _enum_VisualShaderNodeCompare_ComparsionType:
  23. .. _class_VisualShaderNodeCompare_constant_CTYPE_SCALAR:
  24. .. _class_VisualShaderNodeCompare_constant_CTYPE_VECTOR:
  25. .. _class_VisualShaderNodeCompare_constant_CTYPE_BOOLEAN:
  26. .. _class_VisualShaderNodeCompare_constant_CTYPE_TRANSFORM:
  27. enum **ComparsionType**:
  28. - **CTYPE_SCALAR** = **0**
  29. - **CTYPE_VECTOR** = **1**
  30. - **CTYPE_BOOLEAN** = **2**
  31. - **CTYPE_TRANSFORM** = **3**
  32. ----
  33. .. _enum_VisualShaderNodeCompare_Function:
  34. .. _class_VisualShaderNodeCompare_constant_FUNC_EQUAL:
  35. .. _class_VisualShaderNodeCompare_constant_FUNC_NOT_EQUAL:
  36. .. _class_VisualShaderNodeCompare_constant_FUNC_GREATER_THAN:
  37. .. _class_VisualShaderNodeCompare_constant_FUNC_GREATER_THAN_EQUAL:
  38. .. _class_VisualShaderNodeCompare_constant_FUNC_LESS_THAN:
  39. .. _class_VisualShaderNodeCompare_constant_FUNC_LESS_THAN_EQUAL:
  40. enum **Function**:
  41. - **FUNC_EQUAL** = **0**
  42. - **FUNC_NOT_EQUAL** = **1**
  43. - **FUNC_GREATER_THAN** = **2**
  44. - **FUNC_GREATER_THAN_EQUAL** = **3**
  45. - **FUNC_LESS_THAN** = **4**
  46. - **FUNC_LESS_THAN_EQUAL** = **5**
  47. ----
  48. .. _enum_VisualShaderNodeCompare_Condition:
  49. .. _class_VisualShaderNodeCompare_constant_COND_ALL:
  50. .. _class_VisualShaderNodeCompare_constant_COND_ANY:
  51. enum **Condition**:
  52. - **COND_ALL** = **0**
  53. - **COND_ANY** = **1**
  54. Property Descriptions
  55. ---------------------
  56. .. _class_VisualShaderNodeCompare_property_condition:
  57. - :ref:`Condition<enum_VisualShaderNodeCompare_Condition>` **condition**
  58. +-----------+----------------------+
  59. | *Default* | ``0`` |
  60. +-----------+----------------------+
  61. | *Setter* | set_condition(value) |
  62. +-----------+----------------------+
  63. | *Getter* | get_condition() |
  64. +-----------+----------------------+
  65. ----
  66. .. _class_VisualShaderNodeCompare_property_function:
  67. - :ref:`Function<enum_VisualShaderNodeCompare_Function>` **function**
  68. +-----------+---------------------+
  69. | *Default* | ``0`` |
  70. +-----------+---------------------+
  71. | *Setter* | set_function(value) |
  72. +-----------+---------------------+
  73. | *Getter* | get_function() |
  74. +-----------+---------------------+
  75. ----
  76. .. _class_VisualShaderNodeCompare_property_type:
  77. - :ref:`ComparsionType<enum_VisualShaderNodeCompare_ComparsionType>` **type**
  78. +-----------+----------------------------+
  79. | *Default* | ``0`` |
  80. +-----------+----------------------------+
  81. | *Setter* | set_comparsion_type(value) |
  82. +-----------+----------------------------+
  83. | *Getter* | get_comparsion_type() |
  84. +-----------+----------------------------+