RSS

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

API Функции

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

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

Название Описание
fontstring = QuestPOIFrame:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = QuestPOIFrame:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
QuestPOIFrame:ClearAllPoints() Removes all anchor points from the region.
canChange = QuestPOIFrame:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = QuestPOIFrame:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
QuestPOIFrame:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
PlayerModel:UnregisterEvent("event") Unregisters the frame for an event.
PlayerModel:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
PlayerModel:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
PlayerModel:StopAnimating() Stops any active animations involving the region or its children.
PlayerModel:StartSizing() Begins resizing the frame via mouse movement.
PlayerModel:StartMoving() Begins repositioning the frame via mouse movement.
PlayerModel:Show() Shows the region.
PlayerModel:SetWidth(width) Sets the region's width.
PlayerModel:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
PlayerModel:SetUnit("unit") Sets the model to display the 3D model of a specific unit.
PlayerModel:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
PlayerModel:SetSize(width, height) Sets the size of the region to the specified values.
PlayerModel:SetSequenceTime(sequence, time) Sets the animation sequence and time index to be used by the model.
PlayerModel:SetSequence(sequence) Sets the animation sequence to be used by the model.
PlayerModel:SetScript("scriptType", handler) Sets the widget's handler function for a script.
PlayerModel:SetScale(scale) Sets the frame's scale factor.
PlayerModel:SetRotation(facing) Sets the model's current rotation by animating the model.
PlayerModel:SetResizable(enable) Sets whether the frame can be resized by the user.
PlayerModel:SetPropagateKeyboardInput() Функция еще не задокументированна.
PlayerModel:SetPosition(x, y, z) Sets the position of the 3D model within the frame.
PlayerModel:SetPortraitZoom() Функция еще не задокументированна.
PlayerModel:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
PlayerModel:SetParent(frame) or PlayerModel:SetParent("name") Makes another frame the parent of this region.
PlayerModel:SetMovable(enable) Sets whether the frame can be moved by the user.
PlayerModel:SetModelScale(scale) Sets the scale factor determining the size at which the 3D model appears.
PlayerModel:SetModel("filename") Sets the model file to be displayed.
PlayerModel:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
PlayerModel:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
PlayerModel:SetLight(enabled, omni, dirX, dirY, dirZ, ambIntensity [, ambR [, ambG [, ambB [, dirIntensity [, dirR [, dirG [, dirB]]]]]]]) Sets properties of the light sources used when rendering the model.
PlayerModel:SetID(id) Sets a numeric identifier for the frame.
PlayerModel:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.
PlayerModel:SetHeight(height) Sets the region's height.
PlayerModel:SetGlow(amount) Sets the model's glow amount.
PlayerModel:SetFrameStrata("strata") Sets the general layering strata of the frame.
PlayerModel:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
PlayerModel:SetFogNear(distance) Sets the near clipping distance for the model's fog.
PlayerModel:SetFogFar(distance) Sets the far clipping distance for the model's fog.
PlayerModel:SetFogColor(red, green, blue) Sets the model's fog color, enabling fog display if disabled.
PlayerModel:SetFacing(facing) Sets the model's current rotation.
PlayerModel:SetDontSavePosition() Функция еще не задокументированна.
PlayerModel:SetDisplayInfo() Функция еще не задокументированна.
PlayerModel:SetDepth(depth) Sets the 3D depth of the frame (for stereoscopic 3D configurations)
PlayerModel:SetCreature(creature) Sets the model to display the 3D model of a specific creature.
PlayerModel:SetClampedToScreen(enable) Sets whether the frame's boundaries should be limited to those of the screen.