Scale is an Animation type that automatically applies an affine scalar transformation to the region being animated as it progresses. You can set both the multiplier by which it scales, and the point from which it is scaled.
Scale animations are not applied to FontStrings.
Defined Methods
- Scale:GetFromScale() - This function is not yet documented
- Scale:GetToScale() - This function is not yet documented
- Scale:SetFromScale() - This function is not yet documented
- Scale:SetToScale() - This function is not yet documented
Inherited Methods
- Scale:IsForbidden() - This function is not yet documented
- isType = Scale:IsObjectType("type") - Returns whether the object belongs to a given widget type
- paused = Scale:IsPaused() - Returns whether the animation is currently paused
- playing = Scale:IsPlaying() - Returns whether the animation is currently playing
- stopped = Scale:IsStopped() - Returns whether the animation is currently stopped
- Scale:Pause() - Pauses the animation
- Scale:Play() - Plays the animation
- Scale:SetChildKey(key) - Sets the animation to manipulate a particular child member of its host frame
- Scale:SetDuration(duration) - Sets the time for the animation to progress from start to finish
- Scale:SetEndDelay(delay) - Sets the amount of time for the animation to delay after finishing
- Scale:SetOrder(order) - Sets the order for the animation to play within its parent group
- Scale:SetParent(animGroup) or Scale:SetParent("animGroupName") - Sets the parent for the animation
- Scale:SetScript("scriptType", handler) - Sets the widget's handler function for a script
- Scale:SetSmoothProgress() - This function is not yet documented
- Scale:SetSmoothing("smoothType") - Sets the smoothing type for the animation
- Scale:SetStartDelay(delay) - Sets the amount of time for the animation to delay before its progress begins
- Scale:SetTarget(region) - Sets the region affected by this animation
- Scale:SetTargetKey(key) - Sets the animation to manipulate a particular child member of its target
- Scale:Stop() - Stops the animation
Script Handlers
- OnFinished(self, requested) - Run when the animation (or animation group) finishes animating
- OnLoad(self) - Run when the frame is created
- OnPause(self) - Run when the animation (or animation group) is paused
- OnPlay(self) - Run when the animation (or animation group) begins to play
- OnStop(self, requested) - Run when the animation (or animation group) is stopped
- OnUpdate(self, elapsed) - Run each time the screen is drawn by the game engine