Add Color.from_rgba8 and deprecate Color8

This commit is contained in:
kobewi committed 2024-12-27 11:26:59 +01:00
1 parent 0f95e9f8e6
commit 4e48b19e1f
6 files changed
+31 -6

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@
<link title="GDScript exports">$DOCS_URL/tutorials/scripting/gdscript/gdscript_exports.html</link>
</tutorials>
<methods>
<method name="Color8">
<method name="Color8" deprecated="Use [method Color.from_rgba8] instead.">
<return type="Color" />
<param index="0" name="r8" type="int" />
<param index="1" name="g8" type="int" />