Constructor

new(name:String, frame:Int, sampling:Float)

Methods

addObject(objName:String, offset:Int):BufferObject

setData(data:Float32Array, stride:Int):Void

Inherited Variables

Defined by Animation

read onlyevents:Array<Array<String>>

@:sread onlyframe:Float

@:sread onlyframeCount:Int

@:sloop:Bool

@:sname:String

onAnimEnd:() ‑> Void

onEvent:String ‑> Void

@:spause:Bool

@:sresourcePath:String

@:sread onlysampling:Float

@:sspeed:Float

Inherited Methods

Defined by Animation

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.

getDuration():Float

getEventTime(id:String):Null<Float>

getEvents():Array<Array<String>>

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