RSS

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

API Функции

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

В разделе материалов: 7079
Показано материалов: 2351-2400
Страницы: « 1 2 ... 46 47 48 49 50 ... 141 142 »

Название Описание
x, y, z = Model:GetPosition() Returns the position of the 3D model within the frame.
point, relativeTo, relativePoint, xOffset, yOffset = Model:GetPoint(index) Returns information about one of the region's anchor points.
parent = Model:GetParent() Returns the object's parent object.
type = Model:GetObjectType() Returns the object's widget type.
numRegions = Model:GetNumRegions() Returns the number of non-Frame child regions belonging to the frame.
numPoints = Model:GetNumPoints() Returns the number of anchor points defined for the region.
numChildren = Model:GetNumChildren() Returns the number of child frames belonging to the frame.
name = Model:GetName() Returns the widget object's name.
scale = Model:GetModelScale() Returns the scale factor determining the size at which the 3D model appears.
filename = Model:GetModel() Returns the model file currently displayed.
minWidth, minHeight = Model:GetMinResize() Returns the minimum size of the frame for user resizing.
maxWidth, maxHeight = Model:GetMaxResize() Returns the maximum size of the frame for user resizing.
enabled, omni, dirX, dirY, dirZ, ambIntensity, ambR, ambG, ambB, dirIntensity, dirR, dirG, dirB = Model:GetLight() Returns properties of the light sources used when rendering the model.
left = Model:GetLeft() Returns the distance from the left edge of the screen to the left edge of the region.
id = Model:GetID() Returns the frame's numeric identifier.
left, right, top, bottom = Model:GetHitRectInsets() Returns the insets from the frame's edges which determine its mouse-interactable area.
height = Model:GetHeight() Returns the height of the region.
strata = Model:GetFrameStrata() Returns the general layering strata of the frame.
level = Model:GetFrameLevel() Sets the level at which the frame is layered relative to others in its strata.
distance = Model:GetFogNear() Returns the near clipping distance for the model's fog.
distance = Model:GetFogFar() Returns the far clipping distance for the model's fog.
red, green, blue = Model:GetFogColor() Returns the model's current fog color.
facing = Model:GetFacing() Returns the model's current rotation setting.
scale = Model:GetEffectiveScale() Returns the overall scale factor of the frame.
depth = Model:GetEffectiveDepth() Returns the overall 3D depth of the frame (for stereoscopic 3D configurations)
alpha = Model:GetEffectiveAlpha() Returns the overall opacity of the frame.
Model:GetDontSavePosition() Функция еще не задокументированна.
depth = Model:GetDepth() Returns the 3D depth of the frame (for stereoscopic 3D setups)
left, right, top, bottom = Model:GetClampRectInsets() Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
... = Model:GetChildren() Returns a list of child frames of the frame.
x, y = Model:GetCenter() Returns the screen coordinates of the region's center.
left, bottom, width, height = Model:GetBoundsRect() Returns the position and dimension of the smallest area enclosing the frame and its children.
bottom = Model:GetBottom() Returns the distance from the bottom of the screen to the bottom of the region.
red, green, blue, alpha = Model:GetBackdropColor() Returns the shading color for the frame's background graphic.
red, green, blue, alpha = Model:GetBackdropBorderColor() Returns the shading color for the frame's border graphic.
backdrop = Model:GetBackdrop() Returns information about the frame's backdrop graphic.
value = Model:GetAttribute("name") Returns the value of a secure frame attribute.
... = Model:GetAnimationGroups() Returns a list of animation groups belonging to the region.
alpha = Model:GetAlpha() Returns the opacity of the region relative to its parent.
Model:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
Model:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
Model:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
Model:EnableJoystick(enable) Enables or disables joystick interactivity.
Model:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
Model:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = Model:CreateTitleRegion() Creates a title region for dragging the frame.
texture = Model:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = Model:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = Model:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
Model:ClearModel() Removes the 3D model currently displayed.