RSS

Пятница, 01.11.2024, 17:42
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 1001-1050
Страницы: « 1 2 ... 19 20 21 22 23 ... 141 142 »

Название Описание
TabardModel:GetDontSavePosition() Функция еще не задокументированна.
depth = TabardModel:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = TabardModel:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = TabardModel:GetChildren() Returns a list of child frames of the frame.
x, y = TabardModel:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = TabardModel:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = TabardModel:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = TabardModel:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = TabardModel:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = TabardModel:GetBackdrop() Returns information about the frame's backdrop graphic.
value = TabardModel:GetAttribute("name") Returns the value of a secure frame attribute.
... = TabardModel:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = TabardModel:GetAlpha() Returns the opacity of the region relative to its parent.
TabardModel:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
TabardModel:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
TabardModel:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
TabardModel:EnableJoystick(enable) Enables or disables joystick interactivity.
TabardModel:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
TabardModel:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
TabardModel:CycleVariation(variable, delta) Cycles through available design variations for the tabard model.
region = TabardModel:CreateTitleRegion() Creates a title region for dragging the frame.
texture = TabardModel:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = TabardModel:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = TabardModel:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
TabardModel:ClearModel() Removes the 3D model currently displayed.
TabardModel:ClearFog() Disables fog display for the model.
TabardModel:ClearAllPoints() Removes all anchor points from the region.
enabled = TabardModel:CanSaveTabardNow() Returns whether the tabard model's current design can be saved as the player's guild tabard.
canChange = TabardModel:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = TabardModel:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
TabardModel:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
TabardModel:AdvanceTime() Advances to the model's next animation frame.
StatusBar:UnregisterEvent("event") Unregisters the frame for an event.
StatusBar:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
StatusBar:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
StatusBar:StopAnimating() Stops any active animations involving the region or its children.
StatusBar:StartSizing() Begins resizing the frame via mouse movement.
StatusBar:StartMoving() Begins repositioning the frame via mouse movement.
StatusBar:Show() Shows the region.
StatusBar:SetWidth(width) Sets the region's width.
StatusBar:SetValue(value) Sets the value of the status bar.
StatusBar:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
StatusBar:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
StatusBar:SetStatusBarTexture(texture [, "layer"]) or StatusBar:SetStatusBarTexture("filename" [, "layer"]) Sets the texture used for drawing the filled-in portion of the status bar.
StatusBar:SetStatusBarColor(red, green, blue [, alpha]) Sets the color shading for the status bar's texture.
StatusBar:SetSize(width, height) Sets the size of the region to the specified values.
StatusBar:SetScript("scriptType", handler) Sets the widget's handler function for a script.
StatusBar:SetScale(scale) Sets the frame's scale factor.
StatusBar:SetRotatesTexture(rotate) Sets whether the status bar's texture is rotated to match its orientation.
StatusBar:SetResizable(enable) Sets whether the frame can be resized by the user.