Small documentation improvements
(cherry picked from commit 04b49264f2
)
This commit is contained in:
parent
c31dba28e1
commit
3086084ace
|
@ -180,7 +180,7 @@
|
||||||
Perspective Projection (object's size on the screen becomes smaller when far away).
|
Perspective Projection (object's size on the screen becomes smaller when far away).
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="PROJECTION_ORTHOGONAL" value="1" enum="Projection">
|
<constant name="PROJECTION_ORTHOGONAL" value="1" enum="Projection">
|
||||||
Orthogonal Projection (objects remain the same size on the screen no matter how far away they are).
|
Orthogonal Projection (objects remain the same size on the screen no matter how far away they are; also known as orthographic projection).
|
||||||
</constant>
|
</constant>
|
||||||
<constant name="KEEP_WIDTH" value="0" enum="KeepAspect">
|
<constant name="KEEP_WIDTH" value="0" enum="KeepAspect">
|
||||||
Preserves the horizontal aspect ratio.
|
Preserves the horizontal aspect ratio.
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
Can have [PathFollow2D] child-nodes moving along the [Curve2D]. See [PathFollow2D] for more information on this usage.
|
Can have [PathFollow2D] child-nodes moving along the [Curve2D]. See [PathFollow2D] for more information on this usage.
|
||||||
|
Note that the path is considered as relative to the moved nodes (children of [PathFollow2D]) - usually the curve should start with a zero vector (0, 0).
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
</tutorials>
|
</tutorials>
|
||||||
|
|
|
@ -216,7 +216,7 @@
|
||||||
<argument index="0" name="phi" type="float">
|
<argument index="0" name="phi" type="float">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Returns the vector rotated by [code]phi[/code] radians.
|
Returns the vector rotated by [code]phi[/code] radians. See also [method @GDScript.deg2rad].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="round">
|
<method name="round">
|
||||||
|
|
Loading…
Reference in New Issue