new(name:String, frame:Int, sampling:Float)
addAlphaCurve(objName:String, alphas:Vector<Float>):Void
addCurve(objName:String, frames:Vector<LinearFrame>, hasPos:Bool, hasRot:Bool, hasScale:Bool):Void
addPropCurve(objName:String, propName:String, values:Vector<Float>):Void
addUVCurve(objName:String, uvs:Vector<Float>):Void
read onlyevents:Array<Array<Event>>
read onlyframe:Float
read onlyframeCount:Int
loop:Bool
name:String
onAnimEnd:() ‑> Void
onEvent:String ‑> Void
pause:Bool
resourcePath:String
read onlysampling:Float
read onlysourceEvents:Array<Event>
speed:Float
addEvent(frame:Int, name:String, ?originalEvent:Null<Event>):Void
@:access(h3d.scene.Skin.skinData)bind(base:Object):Void
If one of the animated object has been changed, it is necessary to call bind() so the animation can keep with the change.
createInstance(base:Object):Animation
getDuration():Float
getEventTime(name:String):Null<Float>
getEvents():Array<Array<Event>>
getObjects():Array<AnimatedObject>
getSourceEvents():Array<Event>
loadProps(props:Dynamic):Void
removeEvent(frame:Int, name:String):Void
setEvents(evts:Array<Event>):Void
setFrame(f:Float):Void
toString():String
unbind(objectName:String):Void
update(dt:Float):Float