diff --git a/classes/class_@globalscope.rst b/classes/class_@globalscope.rst index 13596225a..85d3ce489 100644 --- a/classes/class_@globalscope.rst +++ b/classes/class_@globalscope.rst @@ -5487,7 +5487,7 @@ Returns an "eased" value of ``x`` based on an easing function defined with ``cur - 1.0: Linear - Greater than 1.0 (exclusive): Ease in -\ `ease() curve values cheatsheet `__\ +\ `ease() curve values cheatsheet `__\ See also :ref:`smoothstep`. If you need to perform more advanced transitions, use :ref:`Tween.interpolate_value`. @@ -6824,7 +6824,7 @@ This S-shaped curve is the cubic Hermite interpolator, given by ``f(y) = 3*y^2 - Compared to :ref:`ease` with a curve value of ``-1.6521``, :ref:`smoothstep` returns the smoothest possible curve with no sudden changes in the derivative. If you need to perform more advanced transitions, use :ref:`Tween` or :ref:`AnimationPlayer`. -\ `Comparison between smoothstep() and ease(x, -1.6521) return values `__ +\ `Comparison between smoothstep() and ease(x, -1.6521) return values `__ .. rst-class:: classref-item-separator diff --git a/classes/class_camera3d.rst b/classes/class_camera3d.rst index 3a29f1a8e..5c9a69386 100644 --- a/classes/class_camera3d.rst +++ b/classes/class_camera3d.rst @@ -563,7 +563,7 @@ Returns the RID of a pyramid shape encompassing the camera's view frustum, ignor :ref:`bool` **is_position_behind** **(** :ref:`Vector3` world_point **)** |const| -Returns ``true`` if the given position is behind the camera (the blue part of the linked diagram). `See this diagram `__ for an overview of position query methods. +Returns ``true`` if the given position is behind the camera (the blue part of the linked diagram). `See this diagram `__ for an overview of position query methods. \ **Note:** A position which returns ``false`` may still be outside the camera's field of view. @@ -577,7 +577,7 @@ Returns ``true`` if the given position is behind the camera (the blue part of th :ref:`bool` **is_position_in_frustum** **(** :ref:`Vector3` world_point **)** |const| -Returns ``true`` if the given position is inside the camera's frustum (the green part of the linked diagram). `See this diagram `__ for an overview of position query methods. +Returns ``true`` if the given position is inside the camera's frustum (the green part of the linked diagram). `See this diagram `__ for an overview of position query methods. .. rst-class:: classref-item-separator diff --git a/classes/class_color.rst b/classes/class_color.rst index ba1f494b5..56c9e3690 100644 --- a/classes/class_color.rst +++ b/classes/class_color.rst @@ -23,7 +23,7 @@ Colors can be created in various ways: By the various **Color** constructors, by \ **Note:** In a boolean context, a Color will evaluate to ``false`` if it is equal to ``Color(0, 0, 0, 1)`` (opaque black). Otherwise, a Color will always evaluate to ``true``. -\ `Color constants cheatsheet `__ +\ `Color constants cheatsheet `__ .. rst-class:: classref-introduction-group diff --git a/classes/class_node2d.rst b/classes/class_node2d.rst index 80802c88e..932402c03 100644 --- a/classes/class_node2d.rst +++ b/classes/class_node2d.rst @@ -342,7 +342,7 @@ Multiplies the current scale by the ``ratio`` vector. Returns the angle between the node and the ``point`` in radians. -\ `Illustration of the returned angle. `__ +\ `Illustration of the returned angle. `__ .. rst-class:: classref-item-separator diff --git a/classes/class_tween.rst b/classes/class_tween.rst index ead383ea7..8fc370225 100644 --- a/classes/class_tween.rst +++ b/classes/class_tween.rst @@ -139,7 +139,7 @@ You should avoid using more than one **Tween** per object's property. If two or Some :ref:`Tweener`\ s use transitions and eases. The first accepts a :ref:`TransitionType` constant, and refers to the way the timing of the animation is handled (see `easings.net `__ for some examples). The second accepts an :ref:`EaseType` constant, and controls where the ``trans_type`` is applied to the interpolation (in the beginning, the end, or both). If you don't know which transition and easing to pick, you can try different :ref:`TransitionType` constants with :ref:`EASE_IN_OUT`, and use the one that looks best. -\ `Tween easing and transition types cheatsheet `__\ +\ `Tween easing and transition types cheatsheet `__\ \ **Note:** Tweens are not designed to be re-used and trying to do so results in an undefined behavior. Create a new Tween for each animation and every time you replay an animation from start. Keep in mind that Tweens start immediately, so only create a Tween when you want to start animating. diff --git a/classes/class_vector2.rst b/classes/class_vector2.rst index 26eef5d3f..febbfa8e1 100644 --- a/classes/class_vector2.rst +++ b/classes/class_vector2.rst @@ -402,7 +402,7 @@ Returns this vector's angle with respect to the positive X axis, or ``(1, 0)`` v For example, ``Vector2.RIGHT.angle()`` will return zero, ``Vector2.DOWN.angle()`` will return ``PI / 2`` (a quarter turn, or 90 degrees), and ``Vector2(1, -1).angle()`` will return ``-PI / 4`` (a negative eighth turn, or -45 degrees). -\ `Illustration of the returned angle. `__\ +\ `Illustration of the returned angle. `__\ Equivalent to the result of :ref:`@GlobalScope.atan2` when called with the vector's :ref:`y` and :ref:`x` as parameters: ``atan2(y, x)``. @@ -418,7 +418,7 @@ Equivalent to the result of :ref:`@GlobalScope.atan2`__ +\ `Illustration of the returned angle. `__ .. rst-class:: classref-item-separator @@ -434,7 +434,7 @@ Returns the angle between the line connecting the two points and the X axis, in \ ``a.angle_to_point(b)`` is equivalent of doing ``(b - a).angle()``. -\ `Illustration of the returned angle. `__ +\ `Illustration of the returned angle. `__ .. rst-class:: classref-item-separator