Browse Source

Merge pull request #33258 from aaronfranke/color8

Fix Color8 GDScript documentation
Rémi Verschelde 5 năm trước cách đây
mục cha
commit
0195ecdb0f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/gdscript/doc_classes/@GDScript.xml

+ 1 - 1
modules/gdscript/doc_classes/@GDScript.xml

@@ -21,7 +21,7 @@
 			<argument index="3" name="a8" type="int" default="255">
 			</argument>
 			<description>
-				Returns a 32 bit color with red, green, blue and alpha channels. Each channel has 8 bits of information ranging from 0 to 255.
+				Returns a color constructed from integer red, green, blue, and alpha channels. Each channel should have 8 bits of information ranging from 0 to 255.
 				[code]r8[/code] red channel
 				[code]g8[/code] green channel
 				[code]b8[/code] blue channel