◆ ShockDealtEffect()
17 {
22
24
25
26 }
ref Param3< float, float, float > m_EffectParam
Definition ShockHitReaction.c:9
float m_HitDuration
Definition ShockHitReaction.c:11
float m_ShockIntensityMax
Definition ShockHitReaction.c:14
const float DURATION_MIN
Definition ShockHitReaction.c:7
float m_BreakPoint
Definition ShockHitReaction.c:12
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'.
Перекрестные ссылки Math::Clamp(), DURATION_MIN, m_BreakPoint, m_EffectParam, m_HitDuration и m_ShockIntensityMax.
◆ ~ShockDealtEffect()
29 {
32 }
proto native CGame GetGame()
Перекрестные ссылки GetGame().
◆ Update()
35 {
37
39 {
41 }
42 else
43 {
46 }
47
50
51
54
55
59
64
66 {
67 delete this;
68 }
69 }
const float INTENSITY_COEF_VIGNETTE
Definition ShockHitReaction.c:6
const float INTENSITY_COEF_BLUR
Definition ShockHitReaction.c:4
float m_TimeActive
Definition ShockHitReaction.c:13
const float INTENSITY_COEF_COLOR
Definition ShockHitReaction.c:5
const float INTENSITY_COEF_OVERALL
Definition ShockHitReaction.c:3
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...
static proto float Lerp(float a, float b, float time)
Linearly interpolates between 'a' and 'b' given 'time'.
Перекрестные ссылки 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 и m_TimeActive.
◆ DURATION_MIN
◆ INTENSITY_COEF_BLUR
◆ INTENSITY_COEF_COLOR
◆ INTENSITY_COEF_OVERALL
◆ INTENSITY_COEF_VIGNETTE
◆ m_BreakPoint
◆ m_EffectParam
◆ m_HitDuration
◆ m_ShockIntensityMax
float m_ShockIntensityMax |
|
private |
◆ m_TimeActive
Объявления и описания членов класса находятся в файле: