RSS

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

API Функции

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

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

Название Описание
PlayerModel:SetClampRectInsets(left, right, top, bottom) Sets offsets from the frame's edges used when limiting user movement or resizing of the frame.
PlayerModel:SetCamera(index) Sets the view angle on the model to a pre-defined camera location.
PlayerModel:SetCamDistanceScale() Функция еще не задокументированна.
PlayerModel:SetBarberShopAlternateForm() Функция еще не задокументированна.
PlayerModel:SetBackdropColor(red, green, blue [, alpha]) Sets a shading color for the frame's background graphic.
PlayerModel:SetBackdropBorderColor(red, green, blue [, alpha]) Sets a shading color for the frame's border graphic.
PlayerModel:SetBackdrop(backdrop) Sets a backdrop graphic for the frame.
PlayerModel:SetAttribute("name", value) Sets a secure frame attribute.
PlayerModel:SetAlpha(alpha) Sets the opacity of the region relative to its parent.
PlayerModel:SetAllPoints([region]) or PlayerModel:SetAllPoints(["name"]) Sets all anchor points of the region to match those of another region.
PlayerModel:ReplaceIconTexture("filename") Sets the icon texture used by the model.
PlayerModel:RegisterForDrag(...) Registers the frame for dragging.
PlayerModel:RegisterEvent("event") Registers the frame for an [[docs/eventsevent]]
PlayerModel:RegisterAllEvents() Registers the frame for all events.
PlayerModel:RefreshUnit() Updates the model's appearance to match that of its unit.
PlayerModel:RefreshCamera() Функция еще не задокументированна.
PlayerModel:Raise() Increases the frame's frame level above all other frames in its strata.
PlayerModel:Lower() Reduces the frame's frame level below all other frames in its strata.
visible = PlayerModel:IsVisible() Returns whether the region is visible.
enabled = PlayerModel:IsUserPlaced() Returns whether the frame is flagged for automatic saving and restoration of position and dimensions.
enabled = PlayerModel:IsToplevel() Returns whether the frame is automatically raised to the front when clicked.
shown = PlayerModel:IsShown() Returns whether the region is shown.
enabled = PlayerModel:IsResizable() Returns whether the frame can be resized by the user.
isProtected, explicit = PlayerModel:IsProtected() Returns whether the region is protected.
isType = PlayerModel:IsObjectType("type") Returns whether the object belongs to a given widget type.
movable = PlayerModel:IsMovable() Returns whether the frame can be moved by the user.
enabled = PlayerModel:IsMouseWheelEnabled() Returns whether mouse wheel interactivity is enabled for the frame.
isOver = PlayerModel:IsMouseOver([topOffset [, leftOffset [, bottomOffset [, rightOffset]]]]) Returns whether the mouse cursor is over the given region.
enabled = PlayerModel:IsMouseEnabled() Returns whether mouse interactivity is enabled for the frame.
enabled = PlayerModel:IsKeyboardEnabled() Returns whether keyboard interactivity is enabled for the frame.
enabled = PlayerModel:IsJoystickEnabled() Returns whether joystick interactivity is enabled for the frame.
enabled = PlayerModel:IsIgnoringDepth() Returns whether the frame's depth property is ignored (for stereoscopic 3D setups)
registered = PlayerModel:IsEventRegistered("event") Returns whether the frame is registered for a given [[docs/eventsevent]]
isDragging = PlayerModel:IsDragging() Returns whether the region is currently being dragged.
enabled = PlayerModel:IsClampedToScreen() Returns whether the frame's boundaries are limited to those of the screen.
PlayerModel:IgnoreDepth(enable) Sets whether the frame's depth property is ignored (for stereoscopic 3D setups)
PlayerModel:HookScript("scriptType", handler) Securely hooks a script handler.
PlayerModel:Hide() Hides the region.
hasScript = PlayerModel:HasScript("scriptType") Returns whether the widget supports a script handler.
width = PlayerModel:GetWidth() Returns the width of the region.
top = PlayerModel:GetTop() Returns the distance from the bottom of the screen to the top of the region.
region = PlayerModel:GetTitleRegion() Returns the frame's TitleRegion object.
width, height = PlayerModel:GetSize() Returns the width and height of the region.
handler = PlayerModel:GetScript("scriptType") Returns the widget's handler function for a script.
scale = PlayerModel:GetScale() Returns the frame's scale factor.
right = PlayerModel:GetRight() Returns the distance from the left edge of the screen to the right edge of the region.
... = PlayerModel:GetRegions() Returns a list of non-Frame child regions belonging to the frame.
left, bottom, width, height = PlayerModel:GetRect() Returns the position and dimensions of the region.
PlayerModel:GetPropagateKeyboardInput() Функция еще не задокументированна.
x, y, z = PlayerModel:GetPosition() Returns the position of the 3D model within the frame.