RSS

Среда, 06.11.2024, 00:07
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 3451-3500
Страницы: « 1 2 ... 68 69 70 71 72 ... 141 142 »

Название Описание
x, y = DressUpModel:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = DressUpModel:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = DressUpModel:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = DressUpModel:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = DressUpModel:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = DressUpModel:GetBackdrop() Returns information about the frame's backdrop graphic.
value = DressUpModel:GetAttribute("name") Returns the value of a secure frame attribute.
... = DressUpModel:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = DressUpModel:GetAlpha() Returns the opacity of the region relative to its parent.
DressUpModel:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
DressUpModel:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
DressUpModel:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
DressUpModel:EnableJoystick(enable) Enables or disables joystick interactivity.
DressUpModel:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
DressUpModel:Dress() Updates the model to reflect the character's currently equipped items.
DressUpModel:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = DressUpModel:CreateTitleRegion() Creates a title region for dragging the frame.
texture = DressUpModel:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = DressUpModel:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = DressUpModel:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
DressUpModel:ClearModel() Removes the 3D model currently displayed.
DressUpModel:ClearFog() Disables fog display for the model.
DressUpModel:ClearAllPoints() Removes all anchor points from the region.
canChange = DressUpModel:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = DressUpModel:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
DressUpModel:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
DressUpModel:AdvanceTime() Advances to the model's next animation frame.
Cooldown:UnregisterEvent("event") Unregisters the frame for an event.
Cooldown:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
Cooldown:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
Cooldown:StopAnimating() Stops any active animations involving the region or its children.
Cooldown:StartSizing() Begins resizing the frame via mouse movement.
Cooldown:StartMoving() Begins repositioning the frame via mouse movement.
Cooldown:Show() Shows the region.
Cooldown:SetWidth(width) Sets the region's width.
Cooldown:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
Cooldown:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
Cooldown:SetSize(width, height) Sets the size of the region to the specified values.
Cooldown:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Cooldown:SetScale(scale) Sets the frame's scale factor.
Cooldown:SetReverse(reverse) Sets whether to invert the bright and dark portions of the cooldown animation.
Cooldown:SetResizable(enable) Sets whether the frame can be resized by the user.
Cooldown:SetPropagateKeyboardInput() Функция еще не задокументированна.
Cooldown:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
Cooldown:SetParent(frame) or Cooldown:SetParent("name") Makes another frame the parent of this region.
Cooldown:SetMovable(enable) Sets whether the frame can be moved by the user.
Cooldown:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
Cooldown:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
Cooldown:SetID(id) Sets a numeric identifier for the frame.
Cooldown:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.