[Docs] Remove double-spaces from descriptions, as well a couple other small fixes
(cherry picked from commit eaac1e3b81
)
This commit is contained in:
parent
8cdcd45561
commit
5d7a22e6d9
|
@ -373,7 +373,7 @@
|
||||||
<description>
|
<description>
|
||||||
Returns the floating-point remainder of [code]x/y[/code] that wraps equally in positive and negative.
|
Returns the floating-point remainder of [code]x/y[/code] that wraps equally in positive and negative.
|
||||||
[codeblock]
|
[codeblock]
|
||||||
var i = -10;
|
var i = -10
|
||||||
while i < 0:
|
while i < 0:
|
||||||
prints(i, fposmod(i, 10))
|
prints(i, fposmod(i, 10))
|
||||||
i += 1
|
i += 1
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
Color in RGBA format with some support for ARGB format.
|
Color in RGBA format with some support for ARGB format.
|
||||||
</brief_description>
|
</brief_description>
|
||||||
<description>
|
<description>
|
||||||
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate(color)) may accept values > 1.
|
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as [member CanvasItem.modulate]) may accept values > 1.
|
||||||
You can also create a color from standardised color names with [method @GDScript.ColorN].
|
You can also create a color from standardised color names with [method @GDScript.ColorN].
|
||||||
</description>
|
</description>
|
||||||
<tutorials>
|
<tutorials>
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
<argument index="1" name="texture" type="Texture">
|
<argument index="1" name="texture" type="Texture">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Sets the [Texture] of the piece with index "idx" to "ofs".
|
Sets the [Texture] of the piece with index "idx" to "texture".
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="set_size">
|
<method name="set_size">
|
||||||
|
|
Loading…
Reference in New Issue