Scene3DFrameCallback typedef

Scene3DFrameCallback = void Function(Duration elapsed, Size size)

Called before Scene3DView draws a frame: move the camera, animate the scene. elapsed is the time since the view started ticking; size is its size in logical pixels.

Implementation

typedef Scene3DFrameCallback = void Function(Duration elapsed, Size size);