bonesaniresource

 Function Name  Parameter  Return  Explain
getTimeLength None number Retrieves the time length of bones animation.
getFrameNum None number Retrieves the number of frames.
getNumBones None number Retrieves the number of bones.
getIntialMatrix number bone matrix Retrieves the original matrix of the specified bone.
getIntialMatrixInv number bone matrix Retrieves the inverse matrix of the original matrix of the specified bone.
getMatrix number bone, time matrix Retrieves the matrix of the specified bone at the specified time.
loadAniFile string filename boolean Load animation data from .ani file.
getTimeAmp None amplifier Retrieves the time amplifier of bones animation.
findBone string bonename number bone Find bone by name.
timeToFrame number time number frame Receives a animation time and return the corresponding frame
frameToTime number frame number time Receives a frame and return the corresponding animation time

Styles List

BANIS_CIRCLE  -- circle animation