AnimationGroup
object type28 methodsavailable in: camelot
It has every method of Object, plus 28 of its own.
Inherits from
- AnimationGroup · 28
- Object · 5
- FrameScriptObject · 21
The number is each type's own documented methods. A AnimationGroup has all of them.
Methods
In the emulator: 23 implemented, 5 guessed.
| method | what it does | status |
|---|---|---|
CreateAnimation | Creates an Animation within the AnimationGroup. · warcraft.wiki.gg ↗(animationType: string?, name: string?, templateName: string?): Anim | implemented |
Finish | Lets the group's animations finish their current loop, then stops the group. · by wowlua() | implemented |
GetAnimationSpeedMultiplier | Returns the factor the group's playback speed is multiplied by. · by wowlua(): number | guessed |
GetAnimations | Returns the animations in the group. · by wowlua(): Anim | implemented |
GetDuration | Returns the group's total duration in seconds. · by wowlua(): number | implemented |
GetElapsed | Returns how long the group has been playing, in seconds. · by wowlua(): number | guessed |
GetLoopState | Returns the group's current loop state, such as FORWARD or REVERSE. · by wowlua(): string | guessed |
GetLooping | Returns how the group loops. · by wowlua(): LoopType | guessed |
GetProgress | Returns how far the group has played, from 0 to 1. · by wowlua(): number | guessed |
GetScript | Returns the group's handler for the script type. · by wowlua(scriptTypeName: ScriptTypeName, bindingType: ScriptBindingType): LuaFunctionReference | implemented |
HasScript | Whether the group supports the script type. · by wowlua(scriptName: string): boolean | implemented |
HookScript | Adds a handler that runs after the group's existing handler for the script type. · by wowlua(scriptTypeName: ScriptTypeName, script: LuaFunctionReference, bindingType: ScriptBindingType): boolean | implemented |
IsDone | Whether the group has finished playing. · by wowlua(): boolean | implemented |
IsPaused | Whether the group is paused. · by wowlua(): boolean | implemented |
IsPendingFinish | Whether the group is finishing its current loop after a call to Finish. · by wowlua(): boolean | implemented |
IsPlaying | Whether the group is playing. · by wowlua(): boolean | implemented |
IsReverse | Whether the group plays in reverse. · by wowlua(): boolean | implemented |
IsSetToFinalAlpha | Whether the group's regions keep the alpha of the animations' end once the group finishes. · by wowlua(): boolean | implemented |
Pause | Pauses the group. · by wowlua() | implemented |
Play | Plays the group. · by wowlua(reverse: boolean, offset: number) | implemented |
RemoveAnimations | Removes all animations from the group. · by wowlua() | implemented |
Restart | Plays the group again from its start. · by wowlua(reverse: boolean, offset: number) | implemented |
SetAnimationSpeedMultiplier | Sets the factor the group's playback speed is multiplied by. · by wowlua(animationSpeedMultiplier: number) | implemented |
SetLooping | Sets how the group loops. · by wowlua(loopType: LoopType) | implemented |
SetPlaying | Plays or stops the group. · by wowlua(play: boolean) | implemented |
SetScript | Sets the group's handler for the script type, or clears it when script is nil. · by wowlua(scriptTypeName: ScriptTypeName, script: LuaFunctionReference?) | implemented |
SetToFinalAlpha | Sets whether the group's regions keep the alpha of the animations' end once the group finishes. · by wowlua(setToFinalAlpha: boolean) | implemented |
Stop | Stops the group. · by wowlua() | implemented |
sources
Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.