Provides an animation source to the animation blender

Constructor

@:value({ reverse : false, loop : false })new(anim:String, loop:Bool = false, reverse:Bool = false)

Parameters:

anim

The name of the animation in the player's library

loop

Wheter or not loop the animation

reverse

Wheter or not play it in reverse

Variables

@:value("")animName:String = ""

@:value(0)time:Float = 0

@:value(1)timeScale:Float = 1

@:value(false)reverse:Bool = false

@:value(false)loop:Bool = false

private@:value(-1)__seekIndex:Int = -1

Methods

Inherited Variables

Defined by FoxBaseNode

@:value(new StringMap())data:StringMap<FoxTrackData> = new StringMap()

This is where interpolated values for this source are stored.

@:value(true)active:Bool = true

@:value(true)initRequired:Bool = true

If true, the node will initialize data for its tracks at the start of the blend frame. This should only be set when the node is ready to be used (i.e: After adding tracks, or removing tracks)

If tracks or animations have been updated, you might want to set this property again.

Inherited Methods

Defined by FoxBaseNode

initialize(tracks:StringMap<FoxTrackData>):Void