DIFF

class BleedingIndicatorDropDataSource

Constructors 2

void BleedingIndicatorDropData(ImageWidget image, int severity)
References AdjustColorSaturation(), GetScreenSize(), InitImageScale()
Show 58 more, Math.Max(), BleedingIndicationConstants.DROP_COLOR_ALPHA_END, BleedingIndicationConstants.DROP_COLOR_ALPHA_START, BleedingIndicationConstants.DROP_DURATION_HIGH, BleedingIndicationConstants.DROP_DURATION_LOW, BleedingIndicationConstants.DROP_DURATION_MEDIUM, BleedingIndicationConstants.DROP_PROGRESS_THRESHOLD, BleedingIndicationConstants.DROP_SCATTER_HIGH, BleedingIndicationConstants.DROP_SCATTER_LOW, BleedingIndicationConstants.DROP_SCATTER_MEDIUM, BleedingIndicationConstants.DROP_SIZE_END_HIGH, BleedingIndicationConstants.DROP_SIZE_END_LOW, BleedingIndicationConstants.DROP_SIZE_END_MEDIUM, BleedingIndicationConstants.DROP_SIZE_START_HIGH, BleedingIndicationConstants.DROP_SIZE_START_LOW, BleedingIndicationConstants.DROP_SIZE_START_MEDIUM, BleedingIndicationConstants.DROP_SIZE_VARIATION_MAX_HIGH, BleedingIndicationConstants.DROP_SIZE_VARIATION_MAX_LOW, BleedingIndicationConstants.DROP_SIZE_VARIATION_MAX_MEDIUM, BleedingIndicationConstants.DROP_SIZE_VARIATION_MIN_HIGH, BleedingIndicationConstants.DROP_SIZE_VARIATION_MIN_LOW, BleedingIndicationConstants.DROP_SIZE_VARIATION_MIN_MEDIUM, BleedingIndicationConstants.DROP_SLIDE_DISTANCE_HIGH, BleedingIndicationConstants.DROP_SLIDE_DISTANCE_LOW, BleedingIndicationConstants.DROP_SLIDE_DISTANCE_MEDIUM, BleedingIndicationConstants.INDICATOR_SEVERITY_HIGH, BleedingIndicationConstants.INDICATOR_SEVERITY_LOW, BleedingIndicationConstants.INDICATOR_SEVERITY_MEDIUM, m_ColorAlphaEnd, m_ColorAlphaStart, DbgBleedingIndicationStaticInfo.m_DbgDropColorAlphaEnd, DbgBleedingIndicationStaticInfo.m_DbgDropColorAlphaStart, DbgBleedingIndicationStaticInfo.m_DbgDropDurationBase, DbgBleedingIndicationStaticInfo.m_DbgDropEndSize, DbgBleedingIndicationStaticInfo.m_DbgDropProgressTreshold, DbgBleedingIndicationStaticInfo.m_DbgDropScatter, DbgBleedingIndicationStaticInfo.m_DbgDropSizeVariationMax, DbgBleedingIndicationStaticInfo.m_DbgDropSizeVariationMin, DbgBleedingIndicationStaticInfo.m_DbgDropSlideDistance, DbgBleedingIndicationStaticInfo.m_DbgDropStartSize, DbgBleedingIndicationStaticInfo.m_DbgUseOverrideValues, m_Duration, m_EndSizeCoef, m_IsRunning, m_ProgressBreakpoint, m_ProgressBreakpointTime, m_ProgressFadingDuration, m_RandomSizeMax, m_RandomSizeMin, m_ScatterPx, m_ScreenSizeX, m_ScreenSizeY, m_Severity, m_SlideDistance, m_SpeedCoef, m_StartSizeCoef, m_TimeTotal, and m_Widget
void ~BleedingIndicatorDropData()

Members 32

protected int m_Severity
protected float m_TimeTotal
protected float m_ProgressBreakpointTime
protected float m_ProgressFadingDuration

remaining duration AFTER breakpoint

protected float m_ProgressBreakpoint
protected float m_Duration
protected float m_SpeedCoef
protected int m_ScatterPx
protected float m_SlideDistance
protected float m_ColorAlphaStart
protected float m_ColorAlphaEnd
protected float m_ColorAlphaCurrent
Referenced by UpdateAlpha()
protected float m_ImageBaseSizeX
Referenced by InitImageScale(), and StopDrop()
protected float m_ImageBaseSizeY
Referenced by InitImageScale(), and StopDrop()
protected float m_ImageStartingSizeX

adjusted by percentage

protected float m_ImageStartingSizeY

adjusted by percentage

protected float m_ImageEndSizeX

adjusted by percentage

protected float m_ImageEndSizeY

adjusted by percentage

protected float m_ImageMaxSizeX
protected float m_ImageMaxSizeY
protected float m_ImageBaseRotation
protected bool m_IsRunning
Referenced by BleedingIndicatorDropData(), IsRunning(), StartDrop()
Show 2 more, StopDrop(), and Update()
protected vector m_BasePosition
Referenced by SetBasePosition(), and StartDrop()
protected int m_ScreenSizeX
protected int m_ScreenSizeY
protected float m_PosX
protected float m_PosY
protected float m_StartSizeCoef
protected float m_EndSizeCoef
protected float m_RandomSizeMin
protected float m_RandomSizeMax

Methods 11

void StopDrop()
void SetBasePosition(vector pos)
bool IsRunning()
References m_IsRunning
ImageWidget GetImage()
References m_Widget
void UpdateAlpha(float progress, float progressFade)
Referenced by Update()
void UpdateTransform(float progress, float progressFade)

scaling and transformation

Referenced by Update()