advance
advance
is a method on NgtTestBed
that allows us to advance frame to run animations in the scene graph.
advance(frames, delta)
advance
accepts two arguments:
frames
is the number of frames to advancedelta
is the delta time to use for the animations. It can be a number or an array of numbers.
Example Scenario
For this example, we will use advance
to test the animations.