Small documentation improvements
This commit is contained in:
parent
dd2cd06165
commit
04b49264f2
|
@ -196,7 +196,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="PROJECTION_FRUSTUM" value="2" enum="Projection">
|
<constant name="PROJECTION_FRUSTUM" value="2" enum="Projection">
|
||||||
</constant>
|
</constant>
|
||||||
|
|
|
@ -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