Clock.getElapsedTime

Get the elapsed time.

This function returns the time elapsed since the last call to restart() (or the construction of the instance if restart() has not been called).

class Clock
const
getElapsedTime
()

Return Value

Type: Time

Time elapsed.

Meta