Skip to content

Type Alias: FrameRequestCallback ​

ts
type FrameRequestCallback = (time) => void;

Defined in: types/desktop-engine.d.ts:3596

Animation frame callback; the argument is the frame's time on the performance.now() clock, the same for every callback of a frame

Parameters ​

ParameterType
timenumber

Returns ​

void

The SDK is released under the Apache License 2.0