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
Duration
getElapsedTime
()

Return Value

Type: Duration

Time elapsed .

Meta