VisualScriptMathConstant.xml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <class name="VisualScriptMathConstant" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
  3. <brief_description>
  4. </brief_description>
  5. <description>
  6. </description>
  7. <tutorials>
  8. </tutorials>
  9. <demos>
  10. </demos>
  11. <methods>
  12. <method name="get_math_constant">
  13. <return type="int" enum="VisualScriptMathConstant.MathConstant">
  14. </return>
  15. <description>
  16. </description>
  17. </method>
  18. <method name="set_math_constant">
  19. <return type="void">
  20. </return>
  21. <argument index="0" name="which" type="int" enum="VisualScriptMathConstant.MathConstant">
  22. </argument>
  23. <description>
  24. </description>
  25. </method>
  26. </methods>
  27. <members>
  28. <member name="constant" type="int" setter="set_math_constant" getter="get_math_constant" enum="VisualScriptMathConstant.MathConstant">
  29. </member>
  30. </members>
  31. <constants>
  32. <constant name="MATH_CONSTANT_ONE" value="0">
  33. </constant>
  34. <constant name="MATH_CONSTANT_PI" value="1">
  35. </constant>
  36. <constant name="MATH_CONSTANT_2PI" value="2">
  37. </constant>
  38. <constant name="MATH_CONSTANT_HALF_PI" value="3">
  39. </constant>
  40. <constant name="MATH_CONSTANT_E" value="4">
  41. </constant>
  42. <constant name="MATH_CONSTANT_SQRT2" value="5">
  43. </constant>
  44. <constant name="MATH_CONSTANT_INF" value="6">
  45. </constant>
  46. <constant name="MATH_CONSTANT_NAN" value="7">
  47. </constant>
  48. <constant name="MATH_CONSTANT_MAX" value="8">
  49. </constant>
  50. </constants>
  51. </class>