Add clean_points() for Gradient #7192
CsloudX
started this conversation in
Engine Core
Replies: 2 comments 3 replies
-
You have to fill in all the questions in the form, they are not optional, if you cannot open a discussion instead |
Beta Was this translation helpful? Give feedback.
0 replies
-
Also this makes no sense, gradients have to have at least one point, how else can it work? Gradient prevents removing the last point by design, so this would go against that principle |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the project you are working on
/
Describe the problem or limitation you are having in your project
I want use
Gradient
Class in GDScript, and I found it has 2 default points inGradient
. I want use my color and try clean the default points.I'm try 3 ways to do that:
1.
But all of them can't work.
Describe the feature / enhancement and how it helps to overcome the problem or limitation
/
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
/
If this enhancement will not be used often, can it be worked around with a few lines of script?
/
Is there a reason why this should be core and not an add-on in the asset library?
/
Beta Was this translation helpful? Give feedback.
All reactions