146 float rndPos =
Math.RandomFloatInclusive(0.0,
Math.PI2);
168 m_Widget.SetRotation(0,0,
Math.RandomFloatInclusive(0.0,360.0));
222 float saturationProgress = Param1<float>.Cast(par).param1;
223 saturationProgress =
Easing.EaseOutSine(saturationProgress);
224 saturationProgress =
Math.Lerp(desaturationEnd,1.0,saturationProgress);
225 float lowest_channel =
Math.Min(
Math.Min(r,g),b);
226 r =
Math.Lerp(lowest_channel,r,saturationProgress);
227 g =
Math.Lerp(lowest_channel,g,saturationProgress);
228 b =
Math.Lerp(lowest_channel,b,saturationProgress);
233 int color =
ARGB(0x00,r,g,b);
275 float progress, progressFade;
float m_ImageStartingSizeY
float m_ColorAlphaCurrent
void ~BleedingIndicatorDropData()
void BleedingIndicatorDropData(ImageWidget image, int severity)
void Update(float timeSlice)
void SetBasePosition(vector pos)
float m_ImageBaseRotation
void UpdateAlpha(float progress, float progressFade)
float m_ProgressFadingDuration
float m_ProgressBreakpointTime
void ScatterPosition(vector pos)
float m_ProgressBreakpoint
float m_ImageStartingSizeX
void AdjustColorSaturation()
void UpdateTransform(float progress, float progressFade)
scaling and transformation
static info (non-constants)
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
Glow - PostProcessEffectType.Glow.
Static component of PPE manager, used to hold the instance.
Base Param Class with no parameters. Used as general purpose parameter overloaded with Param1 to Para...
PostProcessEffectType
Post-process effect type.
proto void GetScreenSize(out int x, out int y)
int ARGB(int a, int r, int g, int b)