Package: pumpkin.display

AnimSpriteSheet

function addFrameFromDisplayObject( stage : Stage ) : int

Parameters

stage


Description
Add a new animation from a the current stage state.

Creates a new animation from the stage display list state, bakes all the display objects into a mesh.
/param stage Stage to render
/return Unique anim id.