RSS

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

API Функции

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

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

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