AnimationData
Handles the data allowing to transform a Object3D instance.
public function getTotalFrames(Void):NumberReturns the number of frames of the animation
Void |
Number the number of frames of the animation
public function addElement(idFrame:Number, idVertex:Number, x:Number, y:Number, z:Number):VoidAdd a frame animation for a specified vertex. The value given in parameter is the position of the vertex (not an offset).
idFrame | Number the frame id |
idVertex | Number the id of the vertex to modify |
x | Number The x 3D component you want to apply to the Object3D original vertex |
y | Number The y 3D component you want to apply to the Object3D original vertex |
z | Number The z 3D component you want to apply to the Object3D original vertex |
public function animate(o:Object3D, idFrame:Number)Modify an objet with this animator. THe object vertex will be changed to the animator positions at he specified frame.
o | Object3D The object you want to animate |
idFrame | Number the frame number you want to animate the object at. |