class_physics2dtestmotionresult.rst 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the Physics2DTestMotionResult.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_Physics2DTestMotionResult:
  6. Physics2DTestMotionResult
  7. =========================
  8. **Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  12. | :ref:`Object<class_Object>` | :ref:`collider<class_Physics2DTestMotionResult_property_collider>` | |
  13. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  14. | :ref:`int<class_int>` | :ref:`collider_id<class_Physics2DTestMotionResult_property_collider_id>` | ``0`` |
  15. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  16. | :ref:`RID<class_RID>` | :ref:`collider_rid<class_Physics2DTestMotionResult_property_collider_rid>` | |
  17. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  18. | :ref:`int<class_int>` | :ref:`collider_shape<class_Physics2DTestMotionResult_property_collider_shape>` | ``0`` |
  19. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  20. | :ref:`Vector2<class_Vector2>` | :ref:`collider_velocity<class_Physics2DTestMotionResult_property_collider_velocity>` | ``Vector2( 0, 0 )`` |
  21. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  22. | :ref:`float<class_float>` | :ref:`collision_depth<class_Physics2DTestMotionResult_property_collision_depth>` | ``0.0`` |
  23. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  24. | :ref:`Vector2<class_Vector2>` | :ref:`collision_normal<class_Physics2DTestMotionResult_property_collision_normal>` | ``Vector2( 0, 0 )`` |
  25. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  26. | :ref:`Vector2<class_Vector2>` | :ref:`collision_point<class_Physics2DTestMotionResult_property_collision_point>` | ``Vector2( 0, 0 )`` |
  27. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  28. | :ref:`float<class_float>` | :ref:`collision_safe_fraction<class_Physics2DTestMotionResult_property_collision_safe_fraction>` | ``0.0`` |
  29. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  30. | :ref:`float<class_float>` | :ref:`collision_unsafe_fraction<class_Physics2DTestMotionResult_property_collision_unsafe_fraction>` | ``0.0`` |
  31. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  32. | :ref:`Vector2<class_Vector2>` | :ref:`motion<class_Physics2DTestMotionResult_property_motion>` | ``Vector2( 0, 0 )`` |
  33. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  34. | :ref:`Vector2<class_Vector2>` | :ref:`motion_remainder<class_Physics2DTestMotionResult_property_motion_remainder>` | ``Vector2( 0, 0 )`` |
  35. +-------------------------------+------------------------------------------------------------------------------------------------------+---------------------+
  36. Property Descriptions
  37. ---------------------
  38. .. _class_Physics2DTestMotionResult_property_collider:
  39. - :ref:`Object<class_Object>` **collider**
  40. +----------+----------------+
  41. | *Getter* | get_collider() |
  42. +----------+----------------+
  43. ----
  44. .. _class_Physics2DTestMotionResult_property_collider_id:
  45. - :ref:`int<class_int>` **collider_id**
  46. +-----------+-------------------+
  47. | *Default* | ``0`` |
  48. +-----------+-------------------+
  49. | *Getter* | get_collider_id() |
  50. +-----------+-------------------+
  51. ----
  52. .. _class_Physics2DTestMotionResult_property_collider_rid:
  53. - :ref:`RID<class_RID>` **collider_rid**
  54. +----------+--------------------+
  55. | *Getter* | get_collider_rid() |
  56. +----------+--------------------+
  57. ----
  58. .. _class_Physics2DTestMotionResult_property_collider_shape:
  59. - :ref:`int<class_int>` **collider_shape**
  60. +-----------+----------------------+
  61. | *Default* | ``0`` |
  62. +-----------+----------------------+
  63. | *Getter* | get_collider_shape() |
  64. +-----------+----------------------+
  65. ----
  66. .. _class_Physics2DTestMotionResult_property_collider_velocity:
  67. - :ref:`Vector2<class_Vector2>` **collider_velocity**
  68. +-----------+-------------------------+
  69. | *Default* | ``Vector2( 0, 0 )`` |
  70. +-----------+-------------------------+
  71. | *Getter* | get_collider_velocity() |
  72. +-----------+-------------------------+
  73. ----
  74. .. _class_Physics2DTestMotionResult_property_collision_depth:
  75. - :ref:`float<class_float>` **collision_depth**
  76. +-----------+-----------------------+
  77. | *Default* | ``0.0`` |
  78. +-----------+-----------------------+
  79. | *Getter* | get_collision_depth() |
  80. +-----------+-----------------------+
  81. ----
  82. .. _class_Physics2DTestMotionResult_property_collision_normal:
  83. - :ref:`Vector2<class_Vector2>` **collision_normal**
  84. +-----------+------------------------+
  85. | *Default* | ``Vector2( 0, 0 )`` |
  86. +-----------+------------------------+
  87. | *Getter* | get_collision_normal() |
  88. +-----------+------------------------+
  89. ----
  90. .. _class_Physics2DTestMotionResult_property_collision_point:
  91. - :ref:`Vector2<class_Vector2>` **collision_point**
  92. +-----------+-----------------------+
  93. | *Default* | ``Vector2( 0, 0 )`` |
  94. +-----------+-----------------------+
  95. | *Getter* | get_collision_point() |
  96. +-----------+-----------------------+
  97. ----
  98. .. _class_Physics2DTestMotionResult_property_collision_safe_fraction:
  99. - :ref:`float<class_float>` **collision_safe_fraction**
  100. +-----------+-------------------------------+
  101. | *Default* | ``0.0`` |
  102. +-----------+-------------------------------+
  103. | *Getter* | get_collision_safe_fraction() |
  104. +-----------+-------------------------------+
  105. ----
  106. .. _class_Physics2DTestMotionResult_property_collision_unsafe_fraction:
  107. - :ref:`float<class_float>` **collision_unsafe_fraction**
  108. +-----------+---------------------------------+
  109. | *Default* | ``0.0`` |
  110. +-----------+---------------------------------+
  111. | *Getter* | get_collision_unsafe_fraction() |
  112. +-----------+---------------------------------+
  113. ----
  114. .. _class_Physics2DTestMotionResult_property_motion:
  115. - :ref:`Vector2<class_Vector2>` **motion**
  116. +-----------+---------------------+
  117. | *Default* | ``Vector2( 0, 0 )`` |
  118. +-----------+---------------------+
  119. | *Getter* | get_motion() |
  120. +-----------+---------------------+
  121. ----
  122. .. _class_Physics2DTestMotionResult_property_motion_remainder:
  123. - :ref:`Vector2<class_Vector2>` **motion_remainder**
  124. +-----------+------------------------+
  125. | *Default* | ``Vector2( 0, 0 )`` |
  126. +-----------+------------------------+
  127. | *Getter* | get_motion_remainder() |
  128. +-----------+------------------------+
  129. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  130. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  131. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`