Constructor

@:value({ duration : 0.5 })new(target:Animation, duration:Float = 0.5)

Variables

blend:Float

duration:Float

@:value(0.)easing:Float = 0.

@:value(false)ignoreTranslate:Bool = false

Methods

Inherited Variables

Defined by Animation

read onlyevents:Array<Array<Event>>

read onlyframe:Float

read onlyframeCount:Int

loop:Bool

name:String

onAnimEnd:() ‑> Void

onEvent:String ‑> Void

pause:Bool

read onlysampling:Float

read onlysourceEvents:Array<Event>

speed:Float

Inherited Methods

Defined by Animation

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.

getDuration():Float

getEventTime(name:String):Null<Float>

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

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

loadProps(props:Dynamic):Void

removeEvent(frame:Int, name:String):Void

setEvents(evts:Array<Event>):Void

toString():String

unbind(objectName:String):Void