Packageaway3dlite.loaders.data
Classpublic class AnimationData

Data class for the animation of a mesh.

See also

away3dlite.loaders.data.MeshData
Public Properties
 PropertyDefined by
  animation : BonesAnimator
Reference to the animation object of the resulting animation.
AnimationData
  animationType : String = "skinAnimation"
String representing the animation type.
AnimationData
  channels : Dictionary
Dictonary of names representing the animation channels used in the animation.
AnimationData
  end : Number = 0
Reference to the number of seconds the animation ends.
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
Public Methods
 MethodDefined by
  
Duplicates the animation data's properties to another AnimationData object
AnimationData
Public Constants
 ConstantDefined by
  SKIN_ANIMATION : String = "skinAnimation"
[static] String representing a skin animation.
AnimationData
  VERTEX_ANIMATION : String = "vertexAnimation"
[static] String representing a vertex animation.
AnimationData
Property detail
animationproperty
public var animation:BonesAnimator

Reference to the animation object of the resulting animation.

animationTypeproperty 
public var animationType:String = "skinAnimation"

String representing the animation type.

channelsproperty 
public var channels:Dictionary

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

endproperty 
public var end:Number = 0

Reference to the number of seconds the animation ends.

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.

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

Duplicates the animation data's properties to another AnimationData object

Parameters
object:Object3D — The new object instance into which all properties are copied

Returns
AnimationData — The new object instance with duplicated properties applied
Constant detail
SKIN_ANIMATIONconstant
public static const SKIN_ANIMATION:String = "skinAnimation"

String representing a skin animation.

VERTEX_ANIMATIONconstant 
public static const VERTEX_ANIMATION:String = "vertexAnimation"

String representing a vertex animation.

Wiki link
Click to go to the wiki page for 'away3dlite.loaders.data.AnimationData'

Code examples

Comments