mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 00:23:27 +00:00
Merge pull request #29592 from Lisapple/patch-3
Fixing returned alpha component for inverted method
This commit is contained in:
commit
1c35973b83
@ -144,7 +144,7 @@
|
||||
<return type="Color">
|
||||
</return>
|
||||
<description>
|
||||
Returns the inverted color [code](1 - r, 1 - g, 1 - b, 1 - a)[/code].
|
||||
Returns the inverted color [code](1 - r, 1 - g, 1 - b, a)[/code].
|
||||
[codeblock]
|
||||
var c = Color(0.3, 0.4, 0.9)
|
||||
var inverted_color = c.inverted() # a color of an RGBA(178, 153, 26, 255)
|
||||
|
Loading…
Reference in New Issue
Block a user