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

Закрытые члены

void Animate (float val, float speed=1.0)
 Starts animate value until value reaches target value.
 
void AnimateLoop (float speed=1.0)
 Starts infinite animation loop <-1,1>. Based on sinus transition.
 
float GetValue ()
 Returns actual animated value.
 
float GetTargetValue ()
 Returns target value. While AnimateLoop returns angle of cycle in radians.
 
void SetValue (float val)
 Sets both value and target value.
 
bool IsRunning ()
 
void Tick (float timeslice)
 Ticks the timer, is called by timer subsystem.
 

Закрытые данные

bool m_active = false
 
bool m_loop = false
 
float m_target_value = 0
 
float m_value = 0
 
float m_time = 0
 

Подробное описание

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