mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Expose Color's to_linear() and to_srgb() to scripting
This commit is contained in:
parent
01f34495bf
commit
1c343cd54d
3 changed files with 33 additions and 0 deletions
|
|
@ -1656,6 +1656,8 @@ static void _register_variant_builtin_methods() {
|
|||
bind_method(Color, darkened, sarray("amount"), varray());
|
||||
bind_method(Color, blend, sarray("over"), varray());
|
||||
bind_method(Color, get_luminance, sarray(), varray());
|
||||
bind_method(Color, to_linear, sarray(), varray());
|
||||
bind_method(Color, to_srgb, sarray(), varray());
|
||||
|
||||
bind_method(Color, is_equal_approx, sarray("to"), varray());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue