Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

What is "Alpha", "Delta", etc...?

Asked by 8 years ago

I've heard about it, and I now need to use it. However, I don't know how to use it.

I'm trying to use the "Color3:lerp()" feature, which states

`Color3:lerp(Color3 goal, number alpha)

returns a Color3 interpolated between this Color3 and the goal by the fraction alpha`

But where it says number alpha I have no clue what to add. Please help me.

Wiki

0
good question, idk either Perci1 4988 — 8y
0
ya User#19524 175 — 5y

1 answer

Log in to vote
7
Answered by
evaera 8028 Trusted Badge of Merit Snack Break Game Jam Winner Moderation Voter Administrator Community Moderator Super Administrator
8 years ago

Alpha refers to a number between 0 and 1, essentially a percentage of the way through the transition. You will also find alpha in other cases such as in images when a pixel is transparent, it is said that it has an alpha channel.

Delta refers to the difference between two things. e.g., "delta time" in a rendering context usually refers to the time that has passed since the previous frame was rendered. Sometimes you will find a delta represented by a triangle, the Greek letter for delta. See More

Ad

Answer this question