Expose Color's to_linear() and to_srgb() to scripting
This commit is contained in:
committed by
Rémi Verschelde
parent
01f34495bf
commit
1c343cd54d
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user