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

Return Value

Type: Duration

Time elapsed.

Meta