Skip to main content

AnimationTrack

AnimationTrack

Kind: global class

new AnimationTrack(properties)

ParamType
propertiesArray.<String>

animationTrack.properties : Array.<String>

Kind: instance property of AnimationTrack

animationTrack.propertyCount : number

Kind: instance property of AnimationTrack

animationTrack.keyValues : Array.<number>

Kind: instance property of AnimationTrack

animationTrack.keyTimes : Array.<number>

Kind: instance property of AnimationTrack

animationTrack.transitionKeys : Array.<number>

Indices of keys from which transition takes place

Kind: instance property of AnimationTrack

animationTrack.transitionFunctions : Array.<function()>

Transition function associated with a key

Kind: instance property of AnimationTrack

animationTrack.addKey(keyTime, values)

Kind: instance method of AnimationTrack

ParamType
keyTimenumber
valuesArray.<number>

animationTrack.addTransition(startKeyIndex, transitionFunction)

Kind: instance method of AnimationTrack

ParamType
startKeyIndexnumber
transitionFunctionfunction

animationTrack.keyLowerBoundIndexAt(time) ⇒ number

Kind: instance method of AnimationTrack

ParamType
timenumber

animationTrack.transitionIndexAt(time) ⇒ number

Kind: instance method of AnimationTrack

ParamType
timenumber

animationTrack.readKeyValues(keyIndex, result)

Kind: instance method of AnimationTrack

ParamType
keyIndexnumber
resultArray.<number>