class_visualscriptmathconstant.rst 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the VisualScriptMathConstant.xml source instead.
  3. .. The source is found in doc/classes or modules/<name>/doc_classes.
  4. .. _class_VisualScriptMathConstant:
  5. VisualScriptMathConstant
  6. ========================
  7. **Inherits:** :ref:`VisualScriptNode<class_visualscriptnode>` **<** :ref:`Resource<class_resource>` **<** :ref:`Reference<class_reference>` **<** :ref:`Object<class_object>`
  8. **Category:** Core
  9. Brief Description
  10. -----------------
  11. Member Functions
  12. ----------------
  13. +------------------------+----------------------------------------------------------------------------------------------------------------------+
  14. | :ref:`int<class_int>` | :ref:`get_math_constant<class_VisualScriptMathConstant_get_math_constant>` **(** **)** |
  15. +------------------------+----------------------------------------------------------------------------------------------------------------------+
  16. | void | :ref:`set_math_constant<class_VisualScriptMathConstant_set_math_constant>` **(** :ref:`int<class_int>` which **)** |
  17. +------------------------+----------------------------------------------------------------------------------------------------------------------+
  18. Member Variables
  19. ----------------
  20. - :ref:`int<class_int>` **constant**
  21. Numeric Constants
  22. -----------------
  23. - **MATH_CONSTANT_ONE** = **0**
  24. - **MATH_CONSTANT_PI** = **1**
  25. - **MATH_CONSTANT_2PI** = **2**
  26. - **MATH_CONSTANT_HALF_PI** = **3**
  27. - **MATH_CONSTANT_E** = **4**
  28. - **MATH_CONSTANT_SQRT2** = **5**
  29. - **MATH_CONSTANT_INF** = **6**
  30. - **MATH_CONSTANT_NAN** = **7**
  31. - **MATH_CONSTANT_MAX** = **8**
  32. Member Function Description
  33. ---------------------------
  34. .. _class_VisualScriptMathConstant_get_math_constant:
  35. - :ref:`int<class_int>` **get_math_constant** **(** **)**
  36. .. _class_VisualScriptMathConstant_set_math_constant:
  37. - void **set_math_constant** **(** :ref:`int<class_int>` which **)**