-
-
Notifications
You must be signed in to change notification settings - Fork 21k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add variant setget members for OK HSV and OK HSL
I want to be able to convert both ways. I added these for OK HSL too for consistency; they already existed for standard HSV. It'd be more efficient to also have methods for getting HSV / OK HSV / OK HSL in one go instead of having to use these separate members, but that might be a bit out of scope for this PR. C# does have a ToHsv method, so I guess the APIs don't have to be identical. I should probably add ToOkHsv and ToOkHsl methods though, so C# at least has access to the same functionality as GDScript. I believe I did the documentation correctly this time around.
- Loading branch information
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters