DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ Update()

void Update ( float deltatime)

См. определение в файле BulletHitReaction.c строка 81

82 {
83
84 float time = Math.InverseLerp(0, m_Duration, m_TimeActive);
85 float value = 1 - Easing.EaseInQuart(time);
86 float strenght = value / m_Divisor; //The divisor matches the ease curve used
87
89 m_PPERequester.SetRadialBlur(strenght, strenght, 1 - value, 1 - value);
90
91
92
93 m_TimeActive += deltatime;
95 {
96 delete this;
97 }
98 }
float m_Divisor
Определения BulletHitReaction.c:55
PPERequester_PainBlur m_PPERequester
Определения BulletHitReaction.c:57
float m_Duration
Определения BulletHitReaction.c:56
class DamageDealtEffect m_TimeActive
static float EaseInQuart(float t)
Определения Easing.c:56
Input value between 0 and 1, returns value adjusted by easing, no automatic clamping of input(do your...
Определения Easing.c:3
Определения EnMath.c:7
static proto float InverseLerp(float a, float b, float value)
Calculates the linear value that produces the interpolant value within the range [a,...

Перекрестные ссылки Easing::EaseInQuart(), Math::InverseLerp(), m_Divisor, m_Duration, m_PPERequester и m_TimeActive.