mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
a4005221f5
[ci skip]
98 lines
3.0 KiB
XML
98 lines
3.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<class name="HingeJoint" inherits="Joint" category="Core" version="3.0.alpha.custom_build">
|
|
<brief_description>
|
|
</brief_description>
|
|
<description>
|
|
</description>
|
|
<tutorials>
|
|
</tutorials>
|
|
<demos>
|
|
</demos>
|
|
<methods>
|
|
<method name="get_flag" qualifiers="const">
|
|
<return type="bool">
|
|
</return>
|
|
<argument index="0" name="flag" type="int" enum="HingeJoint.Flag">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="get_param" qualifiers="const">
|
|
<return type="float">
|
|
</return>
|
|
<argument index="0" name="param" type="int" enum="HingeJoint.Param">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_flag">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="flag" type="int" enum="HingeJoint.Flag">
|
|
</argument>
|
|
<argument index="1" name="enabled" type="bool">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
<method name="set_param">
|
|
<return type="void">
|
|
</return>
|
|
<argument index="0" name="param" type="int" enum="HingeJoint.Param">
|
|
</argument>
|
|
<argument index="1" name="value" type="float">
|
|
</argument>
|
|
<description>
|
|
</description>
|
|
</method>
|
|
</methods>
|
|
<members>
|
|
<member name="angular_limit/bias" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="angular_limit/enable" type="bool" setter="set_flag" getter="get_flag">
|
|
</member>
|
|
<member name="angular_limit/lower" type="float" setter="_set_lower_limit" getter="_get_lower_limit">
|
|
</member>
|
|
<member name="angular_limit/relaxation" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="angular_limit/softness" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="angular_limit/upper" type="float" setter="_set_upper_limit" getter="_get_upper_limit">
|
|
</member>
|
|
<member name="motor/enable" type="bool" setter="set_flag" getter="get_flag">
|
|
</member>
|
|
<member name="motor/max_impulse" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="motor/target_velocity" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
<member name="params/bias" type="float" setter="set_param" getter="get_param">
|
|
</member>
|
|
</members>
|
|
<constants>
|
|
<constant name="PARAM_BIAS" value="0">
|
|
</constant>
|
|
<constant name="PARAM_LIMIT_UPPER" value="1">
|
|
</constant>
|
|
<constant name="PARAM_LIMIT_LOWER" value="2">
|
|
</constant>
|
|
<constant name="PARAM_LIMIT_BIAS" value="3">
|
|
</constant>
|
|
<constant name="PARAM_LIMIT_SOFTNESS" value="4">
|
|
</constant>
|
|
<constant name="PARAM_LIMIT_RELAXATION" value="5">
|
|
</constant>
|
|
<constant name="PARAM_MOTOR_TARGET_VELOCITY" value="6">
|
|
</constant>
|
|
<constant name="PARAM_MOTOR_MAX_IMPULSE" value="7">
|
|
</constant>
|
|
<constant name="PARAM_MAX" value="8">
|
|
</constant>
|
|
<constant name="FLAG_USE_LIMIT" value="0">
|
|
</constant>
|
|
<constant name="FLAG_ENABLE_MOTOR" value="1">
|
|
</constant>
|
|
<constant name="FLAG_MAX" value="2">
|
|
</constant>
|
|
</constants>
|
|
</class>
|