class_vehiclewheel.rst 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. .. Generated automatically by doc/tools/makerst.py in Godot's source tree.
  2. .. DO NOT EDIT THIS FILE, but the doc/base/classes.xml source instead.
  3. .. _class_VehicleWheel:
  4. VehicleWheel
  5. ============
  6. **Inherits:** :ref:`Spatial<class_spatial>` **<** :ref:`Node<class_node>` **<** :ref:`Object<class_object>`
  7. **Category:** Core
  8. Brief Description
  9. -----------------
  10. Member Functions
  11. ----------------
  12. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  13. | void | :ref:`set_radius<class_VehicleWheel_set_radius>` **(** :ref:`float<class_float>` length **)** |
  14. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  15. | :ref:`float<class_float>` | :ref:`get_radius<class_VehicleWheel_get_radius>` **(** **)** const |
  16. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  17. | void | :ref:`set_suspension_rest_length<class_VehicleWheel_set_suspension_rest_length>` **(** :ref:`float<class_float>` length **)** |
  18. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  19. | :ref:`float<class_float>` | :ref:`get_suspension_rest_length<class_VehicleWheel_get_suspension_rest_length>` **(** **)** const |
  20. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`set_suspension_travel<class_VehicleWheel_set_suspension_travel>` **(** :ref:`float<class_float>` length **)** |
  22. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  23. | :ref:`float<class_float>` | :ref:`get_suspension_travel<class_VehicleWheel_get_suspension_travel>` **(** **)** const |
  24. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  25. | void | :ref:`set_suspension_stiffness<class_VehicleWheel_set_suspension_stiffness>` **(** :ref:`float<class_float>` length **)** |
  26. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  27. | :ref:`float<class_float>` | :ref:`get_suspension_stiffness<class_VehicleWheel_get_suspension_stiffness>` **(** **)** const |
  28. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  29. | void | :ref:`set_suspension_max_force<class_VehicleWheel_set_suspension_max_force>` **(** :ref:`float<class_float>` length **)** |
  30. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  31. | :ref:`float<class_float>` | :ref:`get_suspension_max_force<class_VehicleWheel_get_suspension_max_force>` **(** **)** const |
  32. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  33. | void | :ref:`set_damping_compression<class_VehicleWheel_set_damping_compression>` **(** :ref:`float<class_float>` length **)** |
  34. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  35. | :ref:`float<class_float>` | :ref:`get_damping_compression<class_VehicleWheel_get_damping_compression>` **(** **)** const |
  36. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  37. | void | :ref:`set_damping_relaxation<class_VehicleWheel_set_damping_relaxation>` **(** :ref:`float<class_float>` length **)** |
  38. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  39. | :ref:`float<class_float>` | :ref:`get_damping_relaxation<class_VehicleWheel_get_damping_relaxation>` **(** **)** const |
  40. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  41. | void | :ref:`set_use_as_traction<class_VehicleWheel_set_use_as_traction>` **(** :ref:`bool<class_bool>` enable **)** |
  42. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  43. | :ref:`bool<class_bool>` | :ref:`is_used_as_traction<class_VehicleWheel_is_used_as_traction>` **(** **)** const |
  44. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  45. | void | :ref:`set_use_as_steering<class_VehicleWheel_set_use_as_steering>` **(** :ref:`bool<class_bool>` enable **)** |
  46. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  47. | :ref:`bool<class_bool>` | :ref:`is_used_as_steering<class_VehicleWheel_is_used_as_steering>` **(** **)** const |
  48. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  49. | void | :ref:`set_friction_slip<class_VehicleWheel_set_friction_slip>` **(** :ref:`float<class_float>` length **)** |
  50. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  51. | :ref:`float<class_float>` | :ref:`get_friction_slip<class_VehicleWheel_get_friction_slip>` **(** **)** const |
  52. +----------------------------+---------------------------------------------------------------------------------------------------------------------------------+
  53. Member Function Description
  54. ---------------------------
  55. .. _class_VehicleWheel_set_radius:
  56. - void **set_radius** **(** :ref:`float<class_float>` length **)**
  57. .. _class_VehicleWheel_get_radius:
  58. - :ref:`float<class_float>` **get_radius** **(** **)** const
  59. .. _class_VehicleWheel_set_suspension_rest_length:
  60. - void **set_suspension_rest_length** **(** :ref:`float<class_float>` length **)**
  61. .. _class_VehicleWheel_get_suspension_rest_length:
  62. - :ref:`float<class_float>` **get_suspension_rest_length** **(** **)** const
  63. .. _class_VehicleWheel_set_suspension_travel:
  64. - void **set_suspension_travel** **(** :ref:`float<class_float>` length **)**
  65. .. _class_VehicleWheel_get_suspension_travel:
  66. - :ref:`float<class_float>` **get_suspension_travel** **(** **)** const
  67. .. _class_VehicleWheel_set_suspension_stiffness:
  68. - void **set_suspension_stiffness** **(** :ref:`float<class_float>` length **)**
  69. .. _class_VehicleWheel_get_suspension_stiffness:
  70. - :ref:`float<class_float>` **get_suspension_stiffness** **(** **)** const
  71. .. _class_VehicleWheel_set_suspension_max_force:
  72. - void **set_suspension_max_force** **(** :ref:`float<class_float>` length **)**
  73. .. _class_VehicleWheel_get_suspension_max_force:
  74. - :ref:`float<class_float>` **get_suspension_max_force** **(** **)** const
  75. .. _class_VehicleWheel_set_damping_compression:
  76. - void **set_damping_compression** **(** :ref:`float<class_float>` length **)**
  77. .. _class_VehicleWheel_get_damping_compression:
  78. - :ref:`float<class_float>` **get_damping_compression** **(** **)** const
  79. .. _class_VehicleWheel_set_damping_relaxation:
  80. - void **set_damping_relaxation** **(** :ref:`float<class_float>` length **)**
  81. .. _class_VehicleWheel_get_damping_relaxation:
  82. - :ref:`float<class_float>` **get_damping_relaxation** **(** **)** const
  83. .. _class_VehicleWheel_set_use_as_traction:
  84. - void **set_use_as_traction** **(** :ref:`bool<class_bool>` enable **)**
  85. .. _class_VehicleWheel_is_used_as_traction:
  86. - :ref:`bool<class_bool>` **is_used_as_traction** **(** **)** const
  87. .. _class_VehicleWheel_set_use_as_steering:
  88. - void **set_use_as_steering** **(** :ref:`bool<class_bool>` enable **)**
  89. .. _class_VehicleWheel_is_used_as_steering:
  90. - :ref:`bool<class_bool>` **is_used_as_steering** **(** **)** const
  91. .. _class_VehicleWheel_set_friction_slip:
  92. - void **set_friction_slip** **(** :ref:`float<class_float>` length **)**
  93. .. _class_VehicleWheel_get_friction_slip:
  94. - :ref:`float<class_float>` **get_friction_slip** **(** **)** const