-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relocate Color8 and ColorN methods from @GDScript class to Color class #30499
Comments
They cannot be in the var color = Color()
color.set_8bit(255, 255, 255, 0)
color.set_named("rubicon") CC @bojidar-bg who implemented those IIRC. |
|
So it's a documentation issue, not a code issue?
…On Thu, 11 Jul 2019 at 13:45, Bojidar Marinov ***@***.***> wrote:
ColorN already exists as Color.NAME, while Color8 is there since the
earliest days of Godot FOSS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#30499?email_source=notifications&email_token=ABVAJRE5C6WUCGYSOIMRS2LP64FMFA5CNFSM4H7R6ZHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZWJV4I#issuecomment-510434033>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABVAJRGPYSFT5KLZCRNIXQLP64FMFANCNFSM4H7R6ZHA>
.
|
Now that static methods can be bound to engine types in |
IMHO now in the future |
The named colors were moved to a static method, but not Color8. Adding a |
Should functions of similar functionality not belong to the same class?
The text was updated successfully, but these errors were encountered: