diff options
author | Hanif Bin Ariffin <hanif.ariffin.4326@gmail.com> | 2019-09-23 20:01:26 -0400 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-12 11:22:33 +0100 |
commit | 7bc1dc828f1636cdc9dc253d28a279f18c9c72c8 (patch) | |
tree | 3f73da9fa13c9801f97feb36d784f9ecc064dc00 /doc/classes/Color.xml | |
parent | 0c7fc80cc19fe9cd609b145245b1bb70f6a41e2e (diff) | |
download | redot-engine-7bc1dc828f1636cdc9dc253d28a279f18c9c72c8.tar.gz |
Remove deprecated Color::gray
It was marked to be removed in Godot 3.1.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'doc/classes/Color.xml')
-rw-r--r-- | doc/classes/Color.xml | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index 0d3f51309b..5529251b5a 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -128,18 +128,6 @@ [/codeblock] </description> </method> - <method name="gray"> - <return type="float"> - </return> - <description> - Returns the color's grayscale representation. - The gray value is calculated as [code](r + g + b) / 3[/code]. - [codeblock] - var c = Color(0.2, 0.45, 0.82) - var gray = c.gray() # A value of 0.466667 - [/codeblock] - </description> - </method> <method name="inverted"> <return type="Color"> </return> |