RSS

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

API Функции

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

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

Название Описание
alpha = MovieFrame:GetAlpha() Returns the opacity of the region relative to its parent.
MovieFrame:EnableSubtitles(enable) Enables or disables subtitles for movies played in the frame.
MovieFrame:EnableMouseWheel(enable) Enables or disables mouse wheel interactivity for the frame.
MovieFrame:EnableMouse(enable) Enables or disables mouse interactivity for the frame.
MovieFrame:EnableKeyboard(enable) Enables or disables keyboard interactivity for the frame.
MovieFrame:EnableJoystick(enable) Enables or disables joystick interactivity.
MovieFrame:EnableDrawLayer("layer") Allows display of all child objects of the frame on a specified graphics layer.
MovieFrame:DisableDrawLayer("layer") Prevents display of all child objects of the frame on a specified graphics layer.
region = MovieFrame:CreateTitleRegion() Creates a title region for dragging the frame.
texture = MovieFrame:CreateTexture(["name" [, "layer" [, "inherits" [, sublevel]]]]) Creates a new [[docs/widgets/Texture`Texture`]] as a child of the frame.
fontstring = MovieFrame:CreateFontString(["name" [, "layer" [, "inherits"]]]) Creates a new [[docs/widgets/FontString`FontString`]] as a child of the frame.
animationGroup = MovieFrame:CreateAnimationGroup(["name" [, "inheritsFrom"]]) Creates a new AnimationGroup as a child of the region.
MovieFrame:ClearAllPoints() Removes all anchor points from the region.
canChange = MovieFrame:CanChangeProtectedState() Returns whether protected properties of the region can be changed by non-secure scripts.
enabled = MovieFrame:CanChangeAttribute() Returns whether secure frame attributes can currently be changed.
MovieFrame:AllowAttributeChanges() Temporarily allows insecure code to modify the frame's attributes during combat.
Model:UnregisterEvent("event") Unregisters the frame for an event.
Model:UnregisterAllEvents() Unregisters the frame from any [[docs/eventsevents]] for which it is registered.
Model:StopMovingOrSizing() Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing`:StartSizing()`]]
Model:StopAnimating() Stops any active animations involving the region or its children.
Model:StartSizing() Begins resizing the frame via mouse movement.
Model:StartMoving() Begins repositioning the frame via mouse movement.
Model:Show() Shows the region.
Model:SetWidth(width) Sets the region's width.
Model:SetUserPlaced(enable) Flags the frame for automatic saving and restoration of position and dimensions.
Model:SetToplevel(enable) Sets whether the frame should automatically come to the front when clicked.
Model:SetSize(width, height) Sets the size of the region to the specified values.
Model:SetSequenceTime(sequence, time) Sets the animation sequence and time index to be used by the model.
Model:SetSequence(sequence) Sets the animation sequence to be used by the model.
Model:SetScript("scriptType", handler) Sets the widget's handler function for a script.
Model:SetScale(scale) Sets the frame's scale factor.
Model:SetResizable(enable) Sets whether the frame can be resized by the user.
Model:SetPropagateKeyboardInput() Функция еще не задокументированна.
Model:SetPosition(x, y, z) Sets the position of the 3D model within the frame.
Model:SetPoint("point" [, relativeTo [, "relativePoint" [, xOffset [, yOffset]]]]) Sets an anchor point for the region.
Model:SetParent(frame) or Model:SetParent("name") Makes another frame the parent of this region.
Model:SetMovable(enable) Sets whether the frame can be moved by the user.
Model:SetModelScale(scale) Sets the scale factor determining the size at which the 3D model appears.
Model:SetModel("filename") Sets the model file to be displayed.
Model:SetMinResize(minWidth, minHeight) Sets the minimum size of the frame for user resizing.
Model:SetMaxResize(maxWidth, maxHeight) Sets the maximum size of the frame for user resizing.
Model: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.
Model:SetID(id) Sets a numeric identifier for the frame.
Model:SetHitRectInsets(left, right, top, bottom) Sets the insets from the frame's edges which determine its mouse-interactable area.
Model:SetHeight(height) Sets the region's height.
Model:SetGlow(amount) Sets the model's glow amount.
Model:SetFrameStrata("strata") Sets the general layering strata of the frame.
Model:SetFrameLevel(level) Sets the level at which the frame is layered relative to others in its strata.
Model:SetFogNear(distance) Sets the near clipping distance for the model's fog.
Model:SetFogFar(distance) Sets the far clipping distance for the model's fog.