Packageaway3d.loaders.data
Classpublic class AnimationData
InheritanceAnimationData Inheritance Object

Data class for the animation of a mesh.

See also

away3d.loaders.data.MeshData


Public Properties
 PropertyDefined By
  animationType : String
String representing the animation type.
AnimationData
  animator : Animator
Reference to the animation object of the resulting animation.
AnimationData
  channels : Dictionary
Dictonary of names representing the animation channels used in skin animation.
AnimationData
  end : Number = 0
Reference to the number of seconds the animation ends.
AnimationData
  frames : Vector.<Vector3D>
Array representing the frames used in vertex animation.
AnimationData
  name : String
The name of the animation used as a unique reference.
AnimationData
  start : Number = Infinity
Reference to the time the animation starts.
AnimationData
  vertices : Vector.<Vertex>
Array representing the vertices used in vertex animation.
AnimationData
Public Methods
 MethodDefined By
  
AnimationData
Property Detail
animationTypeproperty
public var animationType:String

String representing the animation type.

animatorproperty 
public var animator:Animator

Reference to the animation object of the resulting animation.

channelsproperty 
public var channels:Dictionary

Dictonary of names representing the animation channels used in skin animation.

endproperty 
public var end:Number = 0

Reference to the number of seconds the animation ends.

framesproperty 
public var frames:Vector.<Vector3D>

Array representing the frames used in vertex animation.

nameproperty 
public var name:String

The name of the animation used as a unique reference.

startproperty 
public var start:Number = Infinity

Reference to the time the animation starts.

verticesproperty 
public var vertices:Vector.<Vertex>

Array representing the vertices used in vertex animation.

Method Detail
clone()method
public function clone(object:Object3D):AnimationData

Parameters

object:Object3D

Returns
AnimationData