diff options
author | Hysterelius <71912794+Hysterelius@users.noreply.github.com> | 2024-11-04 22:16:26 +1100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-11-11 20:41:57 +0100 |
commit | 2126df2dfd50a8cee88dc5916bc24b447fd85e7d (patch) | |
tree | b146220ae2c21e4009c366aa486d74182ded81d5 /core | |
parent | c2b916751d7a52e7f002eb7361fe2b12c1cbc488 (diff) | |
download | redot-engine-2126df2dfd50a8cee88dc5916bc24b447fd85e7d.tar.gz |
Color: Expose OKHSL properties
Diffstat (limited to 'core')
-rw-r--r-- | core/variant/variant_setget.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/variant/variant_setget.cpp b/core/variant/variant_setget.cpp index 05f7abf32c..7f6994a204 100644 --- a/core/variant/variant_setget.cpp +++ b/core/variant/variant_setget.cpp @@ -139,6 +139,10 @@ void register_named_setters_getters() { REGISTER_MEMBER(Color, h); REGISTER_MEMBER(Color, s); REGISTER_MEMBER(Color, v); + + REGISTER_MEMBER(Color, ok_hsl_h); + REGISTER_MEMBER(Color, ok_hsl_s); + REGISTER_MEMBER(Color, ok_hsl_l); } void unregister_named_setters_getters() { |