class_velocitytracker3d.rst 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 VelocityTracker3D.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_VelocityTracker3D:
  6. VelocityTracker3D
  7. =================
  8. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +-------------------------+--------------------------------------------------------------------------------+-----------+
  12. | :ref:`bool<class_bool>` | :ref:`track_physics_step<class_VelocityTracker3D_property_track_physics_step>` | ``false`` |
  13. +-------------------------+--------------------------------------------------------------------------------+-----------+
  14. Methods
  15. -------
  16. +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+
  17. | :ref:`Vector3<class_Vector3>` | :ref:`get_tracked_linear_velocity<class_VelocityTracker3D_method_get_tracked_linear_velocity>` **(** **)** |const| |
  18. +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+
  19. | void | :ref:`reset<class_VelocityTracker3D_method_reset>` **(** :ref:`Vector3<class_Vector3>` position **)** |
  20. +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+
  21. | void | :ref:`update_position<class_VelocityTracker3D_method_update_position>` **(** :ref:`Vector3<class_Vector3>` position **)** |
  22. +-------------------------------+---------------------------------------------------------------------------------------------------------------------------+
  23. Property Descriptions
  24. ---------------------
  25. .. _class_VelocityTracker3D_property_track_physics_step:
  26. - :ref:`bool<class_bool>` **track_physics_step**
  27. +-----------+-------------------------------+
  28. | *Default* | ``false`` |
  29. +-----------+-------------------------------+
  30. | *Setter* | set_track_physics_step(value) |
  31. +-----------+-------------------------------+
  32. | *Getter* | is_tracking_physics_step() |
  33. +-----------+-------------------------------+
  34. Method Descriptions
  35. -------------------
  36. .. _class_VelocityTracker3D_method_get_tracked_linear_velocity:
  37. - :ref:`Vector3<class_Vector3>` **get_tracked_linear_velocity** **(** **)** |const|
  38. ----
  39. .. _class_VelocityTracker3D_method_reset:
  40. - void **reset** **(** :ref:`Vector3<class_Vector3>` position **)**
  41. ----
  42. .. _class_VelocityTracker3D_method_update_position:
  43. - void **update_position** **(** :ref:`Vector3<class_Vector3>` position **)**
  44. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  45. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  46. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  47. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  48. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  49. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`