[name]
An AnimationAction schedules clip playback on specific objects.
Constructor
[name]( [page:AnimationMixer mixer], [page:AnimationClip clip], [page:Object3D localRoot] )
Properties
[property:Number time]
[property:Number timeScale]
[property:Number weight]
[property:Number loop]
[property:Number repetitions]
[property:Boolean paused]
[property:Boolean enabled]
[property:Boolean clampWhenFinished]
[property:Boolean zeroSlopeAtStart]
[property:Boolean zeroSlopeAtEnd]
Methods
[method:AnimationAction play]()
[method:AnimationAction stop]()
[method:AnimationAction reset]()
[method:Boolean isRunning]()
[method:Boolean isScheduled]()
[method:AnimationAction startAt]()
[method:AnimationAction setLoop]( [page:Number mode], [page:Number repetitions] )
[method:AnimationAction setEffectiveWeight]( [page:Number weight] )
[method:number getEffectiveWeight]()
[method:AnimationAction fadeIn]( [page:Number duration] )
[method:AnimationAction fadeOut]( [page:Number duration] )
[method:AnimationAction crossFadeFrom]( [page:AnimationAction fadeOutAction], [page:Number duration], [page:Boolean warp] )
[method:AnimationAction crossFadeTo]( [page:AnimationAction fadeInAction], [page:Number duration], [page:Boolean warp] )
[method:AnimationAction stopFading]()
[method:AnimationAction setEffectiveTimeScale]( [page:Number timeScale] )
[method:Number getEffectiveTimeScale]()
[method:AnimationAction setDuration]( [page:Number duration] )
[method:AnimationAction syncWith]( [page:AnimationAction action] )
[method:AnimationAction halt]( [page:Number duration] )
[method:AnimationAction warp]( [page:Number startTimeScale], [page:Number endTimeScale], [page:Number duration] )
[method:AnimationAction stopWarping]()
[method:AnimationMixer getMixer]()
[method:AnimationClip getClip]()
[method:Object3D getRoot]()
Static Methods
[method:AnimationClip parse]( [page:Object json] )
json -- JSON object
[method:Object toJSON]( [page:AnimationClip clip] )
clip -- AnimationClip
[method:AnimationClip CreateFromMorphTargetSequence]( [page:String name], [page:Array morphTargetSequence], [page:Number fps], [page:Boolean noLoop] )
name -- Name for the new clip
morphTargetSequence -- Array of morph targets
fps -- Number of frames per second
noLoop -- Whether looping occurs automatically.
[method:AnimationClip parseAnimation]( [page:Object animation], [page:Array bones] )
Parses the animation.hierarchy format and returns an AnimationClip.
Source
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]