mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a4005221f5
[ci skip]
58 lines
1.6 KiB
XML
58 lines
1.6 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="ConeTwistJoint" inherits="Joint" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_param" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="param" type="int" enum="ConeTwistJoint.Param">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_param">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="param" type="int" enum="ConeTwistJoint.Param">
|
|
</argument>
|
|
<argument index="1" name="value" type="float">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="bias" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="relaxation" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="softness" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="swing_span" type="float" setter="_set_swing_span" getter="_get_swing_span">
|
|
</member>
|
|
<member name="twist_span" type="float" setter="_set_twist_span" getter="_get_twist_span">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="PARAM_SWING_SPAN" value="0">
|
|
</constant>
|
|
<constant name="PARAM_TWIST_SPAN" value="1">
|
|
</constant>
|
|
<constant name="PARAM_BIAS" value="2">
|
|
</constant>
|
|
<constant name="PARAM_SOFTNESS" value="3">
|
|
</constant>
|
|
<constant name="PARAM_RELAXATION" value="4">
|
|
</constant>
|
|
<constant name="PARAM_MAX" value="5">
|
|
</constant>
|
|
</constants>
|
|
</class>
|