[Overview][Constants][Types][Classes][Index] Reference for unit 'ptc' (#ptc)

IPTCTimer.Delta

Gets the amount of time that has passed since the last call to delta in seconds.

Declaration

Source position: timerd.inc line 39

function IPTCTimer.Delta: Double;

Function result

The current delta value.

Description

Gets the amount of time that has passed since the last call to delta in seconds. While the timer is running the delta value is typically a small value limited to the resolution of the timer. When the timer is stopped the delta value is always zero.

See also

IPTCTimer.Start

  

Starts the timer.

IPTCTimer.Stop

  

Stops the timer.

IPTCTimer.Resolution

  

Gets the limiting resolution of the timer in seconds.