RSS

Понедельник, 23.12.2024, 18:06
Главная » WoW API »

API Функции

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

В разделе материалов: 7079
Показано материалов: 851-900
Страницы: « 1 2 ... 16 17 18 19 20 ... 141 142 »

Название Описание
texture = Texture:GetTexture() Returns the path to the texture's image file.
ULx, ULy, LLx, LLy, URx, URy, LRx, LRy = Texture:GetTexCoord() Returns corner coordinates for scaling or cropping the texture image.
width, height = Texture:GetSize() Returns the width and height of the region.
right = Texture:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
left, bottom, width, height = Texture:GetRect() Returns the position and dimensions of the region.
point, relativeTo, relativePoint, xOffset, yOffset = Texture:GetPoint(index) Returns information about one of the region's anchor points.
parent = Texture:GetParent() Returns the object's parent object.
type = Texture:GetObjectType() Returns the object's widget type.
numPoints = Texture:GetNumPoints() Returns the number of anchor points defined for the region.
nonBlocking = Texture:GetNonBlocking() Returns whether the texture object loads its image file in the background.
name = Texture:GetName() Returns the widget object's name.
left = Texture:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
Texture:GetHorizTile() Функция еще не задокументированна.
height = Texture:GetHeight() Returns the height of the region.
layer, sublayer = Texture:GetDrawLayer() Returns the layer at which the region's graphics are drawn relative to others in its frame.
x, y = Texture:GetCenter() Returns the screen coordinates of the region's center.
bottom = Texture:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
mode = Texture:GetBlendMode() Returns the blend mode of the texture.
... = Texture:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = Texture:GetAlpha() Returns the opacity of the region relative to its parent.
animationGroup = Texture:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
Texture:ClearAllPoints() Removes all anchor points from the region.
canChange = Texture:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
TabardModel:UnregisterEvent("event") Unregisters the frame for an event.
TabardModel:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
TabardModel:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
TabardModel:StopAnimating() Stops any active animations involving the region or its children.
TabardModel:StartSizing() Begins resizing the frame via mouse movement.
TabardModel:StartMoving() Begins repositioning the frame via mouse movement.
TabardModel:Show() Shows the region.
TabardModel:SetWidth(width) Sets the region's width.
TabardModel:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
TabardModel:SetUnit("unit") Sets the model to display the 3D model of a specific unit.
TabardModel:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
TabardModel:SetSize(width, height) Sets the size of the region to the specified values.
TabardModel:SetSequenceTime(sequence, time) Sets the animation sequence and time index to be used by the model.
TabardModel:SetSequence(sequence) Sets the animation sequence to be used by the model.
TabardModel:SetScript("scriptType", handler) Sets the widget's handler function for a script.
TabardModel:SetScale(scale) Sets the frame's scale factor.
TabardModel:SetRotation(facing) Sets the model's current rotation by animating the model.
TabardModel:SetResizable(enable) Sets whether the frame can be resized by the user.
TabardModel:SetPropagateKeyboardInput() Функция еще не задокументированна.
TabardModel:SetPosition(x, y, z) Sets the position of the 3D model within the frame.
TabardModel:SetPortraitZoom() Функция еще не задокументированна.
TabardModel:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
TabardModel:SetParent(frame) or TabardModel:SetParent("name") Makes another frame the parent of this region.
TabardModel:SetMovable(enable) Sets whether the frame can be moved by the user.
TabardModel:SetModelScale(scale) Sets the scale factor determining the size at which the 3D model appears.
TabardModel:SetModel("filename") Sets the model file to be displayed.
TabardModel:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.