Variables

read onlyevents:Array<Array<String>>

@:sread onlyframe:Float

@:sread onlyframeCount:Int

@:sloop:Bool

@:sname:String

@:spause:Bool

@:sresourcePath:String

@:sread onlysampling:Float

@:sspeed:Float

onAnimEnd:() ‑> Void

onEvent:String ‑> Void

Methods

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>>

getPropValue(objectName:String, propName:String):Null<Float>

Returns the current value of animation property for the given object, or null if not found.

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

@:value({ decompose : false })sync(decompose:Bool = false):Void

Synchronize the target object matrix. If decompose is true, then the rotation quaternion is stored in [m12,m13,m21,m23] instead of mixed with the scale.

toString():String

unbind(objectName:String):Void

update(dt:Float):Float