RSS

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

API Функции

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

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

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