FrameClock.getFrameTime

Gets the time that should currently be used for animations.

Inside the processing of a frame, it’s the time used to compute the animation position of everything in a frame. Outside of a frame, it's the time of the conceptual “previous frame,” which may be either the actual previous frame time, or if that’s too old, an updated time.

class FrameClock
long
getFrameTime
()

Return Value

Type: long

a timestamp in microseconds, in the timescale of of g_get_monotonic_time().

Meta