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<String>>
read onlyframe:Float
read onlyframeCount:Int
loop:Bool
name:String
onAnimEnd:() ‑> Void
onEvent:String ‑> Void
pause:Bool
resourcePath:String
read onlysampling:Float
speed:Float
addEvent(frame:Int, data:String):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(id:String):Null<Float>
getEvents():Array<Array<String>>
getObjects():Array<AnimatedObject>
removeEvent(frame:Int, data:String):Void
setEvents(el:Iterable<{frame:Int, data:String}>):Void
Register a callback function that will be called once when a frame is reached.
setFrame(f:Float):Void
toString():String
unbind(objectName:String):Void
update(dt:Float):Float