DayZ 1.24
|
Private Member Functions | |
void | ShockDealtEffect (float intensity_max) |
void | ~ShockDealtEffect () |
void | Update (float deltatime) |
Private Attributes | |
const float | INTENSITY_COEF_OVERALL = 0.8 |
const float | INTENSITY_COEF_BLUR = 1 |
const float | INTENSITY_COEF_COLOR = 0.2 |
const float | INTENSITY_COEF_VIGNETTE = 0.7 |
const float | DURATION_MIN = 0.6 |
ref Param3< float, float, float > | m_EffectParam |
float | m_HitDuration |
float | m_BreakPoint |
float | m_TimeActive |
float | m_ShockIntensityMax |
Definition at line 1 of file ShockHitReaction.c.
Definition at line 16 of file ShockHitReaction.c.
References Math::Clamp(), DURATION_MIN, m_BreakPoint, m_EffectParam, m_HitDuration, and m_ShockIntensityMax.
|
inlineprivate |
Definition at line 28 of file ShockHitReaction.c.
References GetGame().
Definition at line 34 of file ShockHitReaction.c.
References Math::Clamp(), INTENSITY_COEF_BLUR, INTENSITY_COEF_COLOR, INTENSITY_COEF_OVERALL, INTENSITY_COEF_VIGNETTE, Math::InverseLerp(), Math::Lerp(), m_BreakPoint, m_EffectParam, m_HitDuration, m_ShockIntensityMax, and m_TimeActive.
Definition at line 7 of file ShockHitReaction.c.
Referenced by ShockDealtEffect().
Definition at line 4 of file ShockHitReaction.c.
Referenced by Update().
Definition at line 5 of file ShockHitReaction.c.
Referenced by Update().
Definition at line 3 of file ShockHitReaction.c.
Referenced by Update().
Definition at line 6 of file ShockHitReaction.c.
Referenced by Update().
|
private |
Definition at line 12 of file ShockHitReaction.c.
Referenced by ShockDealtEffect(), and Update().
Definition at line 9 of file ShockHitReaction.c.
Referenced by ShockDealtEffect(), and Update().
|
private |
Definition at line 11 of file ShockHitReaction.c.
Referenced by ShockDealtEffect(), and Update().
|
private |
Definition at line 14 of file ShockHitReaction.c.
Referenced by ShockDealtEffect(), and Update().
|
private |
Definition at line 13 of file ShockHitReaction.c.
Referenced by Update().