Sync classref with changes from godotengine/godot#24640

This commit is contained in:
Rémi Verschelde
2019-01-07 10:14:08 +01:00
parent 4f5d503b25
commit f70354d01c
521 changed files with 27321 additions and 22169 deletions

View File

@@ -19,23 +19,23 @@ Point sampler for a :ref:`Path2D<class_Path2D>`.
Properties
----------
+---------------------------+------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`cubic_interp<class_PathFollow2D_cubic_interp>` |
+---------------------------+------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`h_offset<class_PathFollow2D_h_offset>` |
+---------------------------+------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`lookahead<class_PathFollow2D_lookahead>` |
+---------------------------+------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`loop<class_PathFollow2D_loop>` |
+---------------------------+------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`offset<class_PathFollow2D_offset>` |
+---------------------------+------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`rotate<class_PathFollow2D_rotate>` |
+---------------------------+------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`unit_offset<class_PathFollow2D_unit_offset>` |
+---------------------------+------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`v_offset<class_PathFollow2D_v_offset>` |
+---------------------------+------------------------------------------------------+
+---------------------------+---------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`cubic_interp<class_PathFollow2D_property_cubic_interp>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`h_offset<class_PathFollow2D_property_h_offset>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`lookahead<class_PathFollow2D_property_lookahead>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`loop<class_PathFollow2D_property_loop>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`offset<class_PathFollow2D_property_offset>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`bool<class_bool>` | :ref:`rotate<class_PathFollow2D_property_rotate>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`unit_offset<class_PathFollow2D_property_unit_offset>` |
+---------------------------+---------------------------------------------------------------+
| :ref:`float<class_float>` | :ref:`v_offset<class_PathFollow2D_property_v_offset>` |
+---------------------------+---------------------------------------------------------------+
Description
-----------
@@ -47,7 +47,7 @@ It is useful for making other nodes follow a path, without coding the movement p
Property Descriptions
---------------------
.. _class_PathFollow2D_cubic_interp:
.. _class_PathFollow2D_property_cubic_interp:
- :ref:`bool<class_bool>` **cubic_interp**
@@ -63,7 +63,7 @@ The points along the :ref:`Curve2D<class_Curve2D>` of the :ref:`Path2D<class_Pat
There are two answers to this problem: Either increase the number of cached points and increase memory consumption, or make a cubic interpolation between two points at the cost of (slightly) slower calculations.
.. _class_PathFollow2D_h_offset:
.. _class_PathFollow2D_property_h_offset:
- :ref:`float<class_float>` **h_offset**
@@ -75,7 +75,7 @@ There are two answers to this problem: Either increase the number of cached poin
The node's offset along the curve.
.. _class_PathFollow2D_lookahead:
.. _class_PathFollow2D_property_lookahead:
- :ref:`float<class_float>` **lookahead**
@@ -87,7 +87,7 @@ The node's offset along the curve.
How far to look ahead of the curve to calculate the tangent if the node is rotating. E.g. shorter lookaheads will lead to faster rotations. Default value: ``4``.
.. _class_PathFollow2D_loop:
.. _class_PathFollow2D_property_loop:
- :ref:`bool<class_bool>` **loop**
@@ -99,7 +99,7 @@ How far to look ahead of the curve to calculate the tangent if the node is rotat
If ``true``, any offset outside the path's length will wrap around, instead of stopping at the ends. Use it for cyclic paths.
.. _class_PathFollow2D_offset:
.. _class_PathFollow2D_property_offset:
- :ref:`float<class_float>` **offset**
@@ -111,7 +111,7 @@ If ``true``, any offset outside the path's length will wrap around, instead of s
The distance along the path in pixels.
.. _class_PathFollow2D_rotate:
.. _class_PathFollow2D_property_rotate:
- :ref:`bool<class_bool>` **rotate**
@@ -123,7 +123,7 @@ The distance along the path in pixels.
If ``true``, this node rotates to follow the path, making its descendants rotate.
.. _class_PathFollow2D_unit_offset:
.. _class_PathFollow2D_property_unit_offset:
- :ref:`float<class_float>` **unit_offset**
@@ -135,7 +135,7 @@ If ``true``, this node rotates to follow the path, making its descendants rotate
The distance along the path as a number in the range 0.0 (for the first vertex) to 1.0 (for the last). This is just another way of expressing the offset within the path, as the offset supplied is multiplied internally by the path's length.
.. _class_PathFollow2D_v_offset:
.. _class_PathFollow2D_property_v_offset:
- :ref:`float<class_float>` **v_offset**