Class
AnimationPlayer
View sourceExtends ObjectBase
Constructor
View source
Properties
animations : Map<AnimationClip, Playback>
View sourceDefault: ...
clipsByName : Map<string, AnimationClip>
View sourceDefault: ...
Methods
copy ( object: AnimationPlayer , entityMap?: Map<ObjectBase, ObjectBase> ) : AnimationPlayer
View source clone ( entityMap?: Map<ObjectBase, ObjectBase> ) : AnimationPlayer
View source set ( clip: AnimationClip , settings?: PlaybackSettings ) : AnimationPlayer
View source Registers a playback for a clip.
get ( clip: AnimationClip ) : Playback | undefined
View source has ( clip: AnimationClip ) : boolean
View source delete ( clip: AnimationClip ) : boolean
View source clear ( ) : AnimationPlayer
View source start ( clip: AnimationClip ) : AnimationPlayer
View source stop ( clip: AnimationClip ) : AnimationPlayer
View source play ( clip: AnimationClip ) : AnimationPlayer
View source pause ( clip: AnimationClip ) : AnimationPlayer
View source startAll ( ) : AnimationPlayer
View source stopAll ( ) : AnimationPlayer
View source playAll ( ) : AnimationPlayer
View source pauseAll ( ) : AnimationPlayer
View source advance ( delta: number ) : AnimationPlayer
View source Advances all registered playbacks.
apply ( ) : AnimationPlayer
View source Applies the current playback states to matching objects in the parent subtree.
animate ( delta: number ) : AnimationPlayer
View source Advances and applies all registered animations.