Skip to content

AnimationGroup CreateAnimation

LaYt edited this page Oct 4, 2022 · 3 revisions

Creates an Animation within the AnimationGroup.

animation = AnimationGroup:CreateAnimation("animationType" [, "name" [, "inheritsFrom"]])

Arguments

animationType - Type of the animation to create, one of: Animation (default), Translation, Rotation, Alpha, Scale, ControlPoints and Path (string)

name - Desired global name that will be assigned as _G[name], or nil to avoid creating a global reference (string)

inheritsFrom - Comma-separated list of names of XML animation templates to inherit from (string)

Returns

animation - Animation - The created animation widget.

References

  1. ^ Chipzz 2018-12-10. WoWUIDev Discord, #irc-history.

Clone this wiki locally