소스 검색

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