Packagecom.yogurt3d.core.animation
Classpublic class SkeletalAnimationData
InheritanceSkeletalAnimationData Inheritance EngineObject Inheritance Object

Data file containing an animation. This file stores bone orientation data for each bone at each frame. It also defines the animations frameRate. This class is usually generated by the YOA_Parser

See also

com.yogurt3d.io.parsers.YOA_Parser


Public Properties
 PropertyDefined By
  frameData : Vector.<Dictionary>
SkeletalAnimationData
  frameRate : uint = 24
SkeletalAnimationData
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
SkeletalAnimationData(_initInternals:Boolean = true)
SkeletalAnimationData
  
addBoneData(frame:int, boneName:String, _translation:Vector3D, _rotation:Quaternion, _scale:Vector3D):void
SkeletalAnimationData
 Inherited
Creates new clone object.
EngineObject
 Inherited
dispose():void
Removes all external referances and clears internals.
EngineObject
 Inherited
EngineObject
 Inherited
disposeGPU():void
EngineObject
 Inherited
Removes all external referances and clears internals.
EngineObject
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
Protected Methods
 MethodDefined By
 Inherited
EngineObject
  
[override]
SkeletalAnimationData
Property Detail
frameDataproperty
public var frameData:Vector.<Dictionary>

frameRateproperty 
public var frameRate:uint = 24

Constructor Detail
SkeletalAnimationData()Constructor
public function SkeletalAnimationData(_initInternals:Boolean = true)



Parameters
_initInternals:Boolean (default = true)
Method Detail
addBoneData()method
public function addBoneData(frame:int, boneName:String, _translation:Vector3D, _rotation:Quaternion, _scale:Vector3D):void

Parameters

frame:int
 
boneName:String
 
_translation:Vector3D
 
_rotation:Quaternion
 
_scale:Vector3D

trackObject()method 
override protected function trackObject():void