on Animation Frame
Called when the next frame is rendered
Parameters
listener
function called whe the frame is rendered. Index is the current frame
Called when the next frame is rendered
function called whe the frame is rendered. Index is the current frame