DIFF

class AnimationTimerSource

AnimationTimer TimerBase Managed

Part of Tools

All members, including inherited

AnimationTimer class. This timer is for animating float value.
usage:

class MyObject
{
ref AnimationTimer myAnim;

void MyObject()
{
	myAnim = new AnimationTimer();
	myAnim.Run(60, this, "Refresh");
}

void Refresh()
{
	Print(myAnim.GetValue());
}
};

Constructors 2

void ~AnimationTimer()

Members 8

private bool m_Active
Referenced by IsRunning(), Run(), and Tick()
private float m_TargetValue
Referenced by Run(), and Tick()
private float m_TargetValueOriginal
Referenced by Run(), and Tick()
private float m_Value
Referenced by GetValue(), Run(), and Tick()
protected Managed m_TargetObject
Referenced by Run(), and Tick()
protected string m_UpdateFunction
Referenced by Run(), and Tick()
protected string m_FinishedFunction
Referenced by Run(), and Tick()
protected ref Param m_Params
Referenced by Run(), and Tick()

Methods 4

override bool IsRunning()
References m_Active
override void Tick(float timeslice)

Ticks the timer, is called by timer subsystem.