mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
92 lines
3.7 KiB
ReStructuredText
92 lines
3.7 KiB
ReStructuredText
.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
|
|
|
|
.. _class_SliderJoint:
|
|
|
|
SliderJoint
|
|
===========
|
|
|
|
**Inherits:** :ref:`Joint<class_joint>` **<** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
|
|
|
|
**Category:** Core
|
|
|
|
Brief Description
|
|
-----------------
|
|
|
|
|
|
|
|
Member Functions
|
|
----------------
|
|
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------+
|
|
| :ref:`float<class_float>` | :ref:`get_param<class_SliderJoint_get_param>` **(** :ref:`int<class_int>` param **)** const |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------+
|
|
| void | :ref:`set_param<class_SliderJoint_set_param>` **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)** |
|
|
+----------------------------+--------------------------------------------------------------------------------------------------------------------------+
|
|
|
|
Member Variables
|
|
----------------
|
|
|
|
- :ref:`float<class_float>` **angular_limit/damping**
|
|
- :ref:`float<class_float>` **angular_limit/lower_angle**
|
|
- :ref:`float<class_float>` **angular_limit/restitution**
|
|
- :ref:`float<class_float>` **angular_limit/softness**
|
|
- :ref:`float<class_float>` **angular_limit/upper_angle**
|
|
- :ref:`float<class_float>` **angular_motion/damping**
|
|
- :ref:`float<class_float>` **angular_motion/restitution**
|
|
- :ref:`float<class_float>` **angular_motion/softness**
|
|
- :ref:`float<class_float>` **angular_ortho/damping**
|
|
- :ref:`float<class_float>` **angular_ortho/restitution**
|
|
- :ref:`float<class_float>` **angular_ortho/softness**
|
|
- :ref:`float<class_float>` **linear_limit/damping**
|
|
- :ref:`float<class_float>` **linear_limit/lower_distance**
|
|
- :ref:`float<class_float>` **linear_limit/restitution**
|
|
- :ref:`float<class_float>` **linear_limit/softness**
|
|
- :ref:`float<class_float>` **linear_limit/upper_distance**
|
|
- :ref:`float<class_float>` **linear_motion/damping**
|
|
- :ref:`float<class_float>` **linear_motion/restitution**
|
|
- :ref:`float<class_float>` **linear_motion/softness**
|
|
- :ref:`float<class_float>` **linear_ortho/damping**
|
|
- :ref:`float<class_float>` **linear_ortho/restitution**
|
|
- :ref:`float<class_float>` **linear_ortho/softness**
|
|
|
|
Numeric Constants
|
|
-----------------
|
|
|
|
- **PARAM_LINEAR_LIMIT_UPPER** = **0**
|
|
- **PARAM_LINEAR_LIMIT_LOWER** = **1**
|
|
- **PARAM_LINEAR_LIMIT_SOFTNESS** = **2**
|
|
- **PARAM_LINEAR_LIMIT_RESTITUTION** = **3**
|
|
- **PARAM_LINEAR_LIMIT_DAMPING** = **4**
|
|
- **PARAM_LINEAR_MOTION_SOFTNESS** = **5**
|
|
- **PARAM_LINEAR_MOTION_RESTITUTION** = **6**
|
|
- **PARAM_LINEAR_MOTION_DAMPING** = **7**
|
|
- **PARAM_LINEAR_ORTHOGONAL_SOFTNESS** = **8**
|
|
- **PARAM_LINEAR_ORTHOGONAL_RESTITUTION** = **9**
|
|
- **PARAM_LINEAR_ORTHOGONAL_DAMPING** = **10**
|
|
- **PARAM_ANGULAR_LIMIT_UPPER** = **11**
|
|
- **PARAM_ANGULAR_LIMIT_LOWER** = **12**
|
|
- **PARAM_ANGULAR_LIMIT_SOFTNESS** = **13**
|
|
- **PARAM_ANGULAR_LIMIT_RESTITUTION** = **14**
|
|
- **PARAM_ANGULAR_LIMIT_DAMPING** = **15**
|
|
- **PARAM_ANGULAR_MOTION_SOFTNESS** = **16**
|
|
- **PARAM_ANGULAR_MOTION_RESTITUTION** = **17**
|
|
- **PARAM_ANGULAR_MOTION_DAMPING** = **18**
|
|
- **PARAM_ANGULAR_ORTHOGONAL_SOFTNESS** = **19**
|
|
- **PARAM_ANGULAR_ORTHOGONAL_RESTITUTION** = **20**
|
|
- **PARAM_ANGULAR_ORTHOGONAL_DAMPING** = **21**
|
|
- **PARAM_MAX** = **22**
|
|
|
|
Member Function Description
|
|
---------------------------
|
|
|
|
.. _class_SliderJoint_get_param:
|
|
|
|
- :ref:`float<class_float>` **get_param** **(** :ref:`int<class_int>` param **)** const
|
|
|
|
.. _class_SliderJoint_set_param:
|
|
|
|
- void **set_param** **(** :ref:`int<class_int>` param, :ref:`float<class_float>` value **)**
|
|
|
|
|