mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
48 lines
1.3 KiB
XML
48 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<class name="PinJoint" 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="PinJoint.Param">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
<method name="set_param">
|
||
|
<return type="void">
|
||
|
</return>
|
||
|
<argument index="0" name="param" type="int" enum="PinJoint.Param">
|
||
|
</argument>
|
||
|
<argument index="1" name="value" type="float">
|
||
|
</argument>
|
||
|
<description>
|
||
|
</description>
|
||
|
</method>
|
||
|
</methods>
|
||
|
<members>
|
||
|
<member name="params/bias" type="float" setter="set_param" getter="get_param" brief="">
|
||
|
</member>
|
||
|
<member name="params/damping" type="float" setter="set_param" getter="get_param" brief="">
|
||
|
</member>
|
||
|
<member name="params/impulse_clamp" type="float" setter="set_param" getter="get_param" brief="">
|
||
|
</member>
|
||
|
</members>
|
||
|
<constants>
|
||
|
<constant name="PARAM_BIAS" value="0">
|
||
|
</constant>
|
||
|
<constant name="PARAM_DAMPING" value="1">
|
||
|
</constant>
|
||
|
<constant name="PARAM_IMPULSE_CLAMP" value="2">
|
||
|
</constant>
|
||
|
</constants>
|
||
|
</class>
|