2017-09-12 20:42:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<class name="VisualScriptMathConstant" inherits="VisualScriptNode" category="Core" version="3.0.alpha.custom_build">
|
|
|
|
<brief_description>
|
|
|
|
</brief_description>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<demos>
|
|
|
|
</demos>
|
|
|
|
<methods>
|
|
|
|
<method name="get_math_constant">
|
|
|
|
<return type="int" enum="VisualScriptMathConstant.MathConstant">
|
|
|
|
</return>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
<method name="set_math_constant">
|
|
|
|
<return type="void">
|
|
|
|
</return>
|
|
|
|
<argument index="0" name="which" type="int" enum="VisualScriptMathConstant.MathConstant">
|
|
|
|
</argument>
|
|
|
|
<description>
|
|
|
|
</description>
|
|
|
|
</method>
|
|
|
|
</methods>
|
|
|
|
<members>
|
2017-09-13 06:49:40 +00:00
|
|
|
<member name="constant" type="int" setter="set_math_constant" getter="get_math_constant" enum="VisualScriptMathConstant.MathConstant">
|
2017-09-12 20:42:36 +00:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
<constants>
|
2017-09-15 23:46:14 +00:00
|
|
|
<constant name="MATH_CONSTANT_ONE" value="0">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_PI" value="1">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_2PI" value="2">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_HALF_PI" value="3">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_E" value="4">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_SQRT2" value="5">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_INF" value="6">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_NAN" value="7">
|
|
|
|
</constant>
|
|
|
|
<constant name="MATH_CONSTANT_MAX" value="8">
|
|
|
|
</constant>
|
2017-09-12 20:42:36 +00:00
|
|
|
</constants>
|
|
|
|
</class>
|