Added ability to quantize animations to a set of preskinned meshes.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4172 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Andrzej Kapolka
2006-06-06 01:37:34 +00:00
parent cd8c665cf5
commit e3f54a52bb
5 changed files with 167 additions and 5 deletions
@@ -63,6 +63,17 @@ public interface ModelSpatial
*/
public void resolveTextures (TextureProvider tprov);
/**
* Recursively sets the quantized animation frame. For skinned meshes,
* the first time the frame is set causes the current skin to be stored
* in a table shared by all instances. At subsequent times, the stored
* skin is displayed.
*
* @param frameId the frame id, which uniquely identifies one frame of
* one animation
*/
public void setAnimationFrame (int frameId);
/**
* Creates or populates and returns a clone of this object using the given
* clone properties.