浏览代码

Merge pull request #33258 from aaronfranke/color8

Fix Color8 GDScript documentation
Rémi Verschelde 5 年之前
父节点
当前提交
0195ecdb0f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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