RSS

Суббота, 02.11.2024, 15:26
Главная » WoW API »

API Функции

[ Добавить запись ]

В разделе материалов: 7079
Показано материалов: 2101-2150
Страницы: « 1 2 ... 41 42 43 44 45 ... 141 142 »

Название Описание
PlayerModel:ClearAllPoints() Removes all anchor points from the region.
canChange = PlayerModel:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = PlayerModel:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
PlayerModel:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
PlayerModel:AdvanceTime() Advances to the model's next animation frame.
Path:Stop() Stops the animation.
Path:SetStartDelay(delay) Sets the amount of time for the animation to delay before its progress begins.
Path:SetSmoothing("smoothType") Sets the smoothing type for the animation.
Path:SetSmoothProgress() Функция еще не задокументированна.
Path:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Path:SetParent(animGroup) or Path:SetParent("animGroupName") Sets the parent for the animation.
Path:SetOrder(order) Sets the order for the animation to play within its parent group.
Path:SetEndDelay(delay) Sets the amount of time for the animation to delay after finishing.
Path:SetDuration(duration) Sets the time for the animation to progress from start to finish.
Path:SetCurve("curveType") Sets the curve type for the path animation.
Path:Play() Plays the animation.
Path:Pause() Pauses the animation.
stopped = Path:IsStopped() Returns whether the animation is currently stopped.
playing = Path:IsPlaying() Returns whether the animation is currently playing.
paused = Path:IsPaused() Returns whether the animation is currently paused.
isType = Path:IsObjectType("type") Returns whether the object belongs to a given widget type.
done = Path:IsDone() Returns whether the animation has finished playing.
delaying = Path:IsDelaying() Returns whether the animation is currently in the middle of a start or end delay.
Path:HookScript("scriptType", handler) Securely hooks a script handler.
hasScript = Path:HasScript("scriptType") Returns whether the widget supports a script handler.
delay = Path:GetStartDelay() Returns the amount of time the animation delays before its progress begins.
smoothType = Path:GetSmoothing() Returns the smoothing type for the animation.
progress = Path:GetSmoothProgress() Returns the progress of the animation (ignoring start and end delay)
handler = Path:GetScript("scriptType") Returns the widget's handler function for a script.
region = Path:GetRegionParent() Returns the `Region` object on which the animation operates.
progress = Path:GetProgressWithDelay() Returns the progress of the animation and associated delays.
progress = Path:GetProgress() Returns the progress of an animation, ignoring smoothing effects.
parent = Path:GetParent() Returns the object's parent object.
order = Path:GetOrder() Returns the order of the animation within its parent group.
type = Path:GetObjectType() Returns the object's widget type.
name = Path:GetName() Returns the widget object's name.
max = Path:GetMaxOrder() Returns the maximum order of the control points belonging to a given path.
delay = Path:GetEndDelay() Returns the amount of time the animation delays after finishing.
elapsed = Path:GetElapsed() Returns the amount of time since the animation began playing.
duration = Path:GetDuration() Returns the time for the animation to progress from start to finish.
curveType = Path:GetCurve() Returns the curveType of the given path.
... = Path:GetControlPoints() Returns the control points that belong to a given path.
Path:CreateControlPoint(["name" [, "template" [, order]]]) Creates a new control point for the given path.
isType = ParentedObject:IsObjectType("type") Returns whether the object belongs to a given widget type.
parent = ParentedObject:GetParent() Returns the object's parent object.
type = ParentedObject:GetObjectType() Returns the object's widget type.
name = ParentedObject:GetName() Returns the widget object's name.
MovieFrame:UnregisterEvent("event") Unregisters the frame for an event.
MovieFrame:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
MovieFrame:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]