Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:Widget API
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== [[UIOBJECT Model|Model]] === Used to display real 3D-mesh geometry as part of the UI. : {{id|API|Model|AdvanceTime}}() : {{id|API|Model|ClearFog}}() - Removes all fogging effects currently active in rendering. : {{id|API|Model|ClearModel}}() - Removes all geometry from the Model, i.e. makes it empty. : {{id|API|Model|GetFacing}}() - Returns the direction the model is facing. : {{id|API|Model|GetFogColor}}() - Gets the fog color as r,g,b,a. (added 1.11) : {{id|API|Model|GetFogFar}}() - Gets the fog far distance (added 1.11) : {{id|API|Model|GetFogNear}}() - Gets the fog near distance (added 1.11) : {{id|API|Model|GetLight}}() - Gets the light spec for the model, returns a arg list compatible with SetLight (added 1.11) : {{id|API|Model|GetModel}}() - Gets the model file for this Model (added 1.11) : {{id|API|Model|GetModelScale}}() - Returns the current mesh scaling factor. : {{id|API|Model|GetPosition}}() - Returns the current position of the mesh as x, y, z : {{id|API|Model|ReplaceIconTexture}}("texture") : {{id|API|Model|SetCamera}}(index) - Select a pre-defined camera. : {{id|API|Model|SetFacing}}(facing) - Set the direction that the model is facing. : {{id|API|Model|SetFogColor}}(r, g, b[, a]) - Set the fog color and enable fogging. : {{id|API|Model|SetFogFar}}(value) - Set the far-clipping plane distance for fogging. : {{id|API|Model|SetFogNear}}(value) - Set the near-clipping plane distance for fogging. : {{id|API|Model|SetGlow}}(..) - : {{id|API|Model|SetLight}}(enabled[, omni, dirX, dirY, dirZ, ambIntensity[, ambR, ambG, ambB[, dirIntensity[, dirR, dirG, dirB]]]]) - place light source : {{id|API|Model|SetModel}}("file") - Set the mesh that is displayed in the frame. : {{id|API|Model|SetModelScale}}(scale) - Sets the scale factor for the mesh before rendering. : {{id|API|Model|SetPosition}}(x, y, z) - Set the position of the mesh inside the frame's coordinate system. : {{id|API|Model|SetSequence}}(sequence) - Set the animation to be played. : {{id|API|Model|SetSequenceTime}}(sequence, time)
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)