Files
godot-docs/classes/class_spatialvelocitytracker.rst
2018-09-21 09:49:38 +02:00

65 lines
2.6 KiB
ReStructuredText

.. Generated automatically by doc/tools/makerst.py in Godot's source tree.
.. DO NOT EDIT THIS FILE, but the SpatialVelocityTracker.xml source instead.
.. The source is found in doc/classes or modules/<name>/doc_classes.
.. _class_SpatialVelocityTracker:
SpatialVelocityTracker
======================
**Inherits:** :ref:`Reference<class_Reference>` **<** :ref:`Object<class_Object>`
**Category:** Core
Brief Description
-----------------
Properties
----------
+-------------------------+----------------------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`track_physics_step<class_SpatialVelocityTracker_track_physics_step>` |
+-------------------------+----------------------------------------------------------------------------+
Methods
-------
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------+
| :ref:`Vector3<class_Vector3>` | :ref:`get_tracked_linear_velocity<class_SpatialVelocityTracker_get_tracked_linear_velocity>` **(** **)** const |
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`reset<class_SpatialVelocityTracker_reset>` **(** :ref:`Vector3<class_Vector3>` position **)** |
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`update_position<class_SpatialVelocityTracker_update_position>` **(** :ref:`Vector3<class_Vector3>` position **)** |
+--------------------------------+-------------------------------------------------------------------------------------------------------------------------+
Property Descriptions
---------------------
.. _class_SpatialVelocityTracker_track_physics_step:
- :ref:`bool<class_bool>` **track_physics_step**
+----------+-------------------------------+
| *Setter* | set_track_physics_step(value) |
+----------+-------------------------------+
| *Getter* | is_tracking_physics_step() |
+----------+-------------------------------+
Method Descriptions
-------------------
.. _class_SpatialVelocityTracker_get_tracked_linear_velocity:
- :ref:`Vector3<class_Vector3>` **get_tracked_linear_velocity** **(** **)** const
.. _class_SpatialVelocityTracker_reset:
- void **reset** **(** :ref:`Vector3<class_Vector3>` position **)**
.. _class_SpatialVelocityTracker_update_position:
- void **update_position** **(** :ref:`Vector3<class_Vector3>` position **)**