Class "ColorParams"⚓︎
Info
This class can be accessed using its constructor:
Example Code
1 |
|
Constructors⚓︎
ColorParams ()⚓︎
ColorParams ColorParams ( Color color, int priority, int duration1, int duration2, boolean fadeout, boolean shared )⚓︎
Functions⚓︎
GetColor ()⚓︎
Color GetColor ( )⚓︎
GetDuration ()⚓︎
int GetDuration ( )⚓︎
Defines the time in update frames that these parameters should last. Has no effect on how many frames are left, but does affect fadeout speed (calculated as Lifespan / Duration
) if Fadeout
is enabled.
GetFadeout ()⚓︎
boolean GetFadeout ( )⚓︎
GetLifespan ()⚓︎
int GetLifespan ( )⚓︎
Defines how many update frames are left before this expires. This is decremented by 1
each non-interpolation update at a rate of 30
per second. Altering this will directly effect how many frames are left before these parameters expire.