Notch Notch Manual 0.9.23
 Light | Dark
TimeDelta

TimeDelta

Purpose #

Provides the time between the last frame and the current one in seconds.

Syntax #

float TimeDelta;

Example #

function Update()
{ 
   delta = UpdateContext.TimeDelta;
}
Please note this is a member variable of UpdateContext, not a function.