222 float saturationProgress = Param1<float>.Cast(par).param1;
224 saturationProgress =
Math.
Lerp(desaturationEnd,1.0,saturationProgress);
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;
static const float DROP_SIZE_VARIATION_MAX_MEDIUM
static const int DROP_SCATTER_LOW
static const float DROP_SIZE_END_HIGH
static const float DROP_SIZE_START_MEDIUM
static const float DROP_SLIDE_DISTANCE_MEDIUM
static const float DROP_SLIDE_DISTANCE_HIGH
static const int DROP_COLOR_RED
static const int INDICATOR_SEVERITY_MEDIUM
static const float DROP_SIZE_END_MEDIUM
static const float DROP_SIZE_END_LOW
static const float DROP_SIZE_VARIATION_MAX_LOW
static const float DROP_SIZE_VARIATION_MIN_MEDIUM
static const float DROP_SIZE_VARIATION_MIN_LOW
static const float DROP_DURATION_LOW
static const float DROP_DURATION_HIGH
static const float DROP_PROGRESS_THRESHOLD
static const float DROP_SLIDE_DISTANCE_LOW
static const float DROP_DURATION_MEDIUM
static const float DROP_COLOR_DESATURATIONEND
static const int DROP_COLOR_ALPHA_START
static const float DROP_SIZE_VARIATION_MAX_HIGH
static const float DROP_SIZE_START_LOW
static const int INDICATOR_SEVERITY_HIGH
static const int DROP_SCATTER_HIGH
static const int DROP_COLOR_BLUE
static const float DROP_SIZE_START_HIGH
static const int DROP_COLOR_ALPHA_END
static const int DROP_COLOR_GREEN
static const int DROP_SCATTER_MEDIUM
static const int INDICATOR_SEVERITY_LOW
static const float DROP_SIZE_VARIATION_MIN_HIGH
void UpdateTransform(float progress, float progressFade)
scaling and transformation
void UpdateAlpha(float progress, float progressFade)
void SetBasePosition(vector pos)
void Update(float timeSlice)
float m_ImageStartingSizeY
float m_ProgressBreakpointTime
void ScatterPosition(vector pos)
void BleedingIndicatorDropData(ImageWidget image, int severity)
void AdjustColorSaturation()
void ~BleedingIndicatorDropData()
float m_ProgressFadingDuration
float m_ImageStartingSizeX
float m_ImageBaseRotation
float m_ProgressBreakpoint
float m_ColorAlphaCurrent
static info (non-constants)
static float m_DbgDropStartSize
static float m_DbgDropSlideDistance
static int m_DbgDropColorRed
static int m_DbgDropScatter
static int m_DbgDropColorGreen
static float m_DbgDropSizeVariationMax
static bool m_DbgDropRotationRandom
static int m_DbgDropColorAlphaEnd
static float m_DbgDropSizeVariationMin
static int m_DbgDropColorAlphaStart
static bool m_DbgDropDesaturate
static float m_DbgDropEndSize
static float m_DbgDesaturationEnd
static int m_DbgDropColorBlue
static float m_DbgDropProgressTreshold
static float m_DbgDropDurationBase
static bool m_DbgUseOverrideValues
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
static float EaseOutSine(float t)
Glow - PostProcessEffectType.Glow.
static const int PARAM_SATURATION
Static component of PPE manager, used to hold the instance.
static PPEManager GetPPEManager()
Returns the manager instance singleton.
Base Param Class with no parameters.
PostProcessEffectType
Post-process effect type.
static proto float Max(float x, float y)
Returns bigger of two given values.
static proto float Cos(float angle)
Returns cosinus of angle in radians.
static proto float Clamp(float value, float min, float max)
Clamps 'value' to 'min' if it is lower than 'min', or to 'max' if it is higher than 'max'.
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static float RandomFloatInclusive(float min, float max)
Returns a random float number between and min [inclusive] and max [inclusive].
static proto float Min(float x, float y)
Returns smaller of two given values.
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
static proto float Sin(float angle)
Returns sinus of angle in radians.
proto void GetScreenSize(out int x, out int y)
int ARGB(int a, int r, int g, int b)