The DressUpModel type was added to provide support for the "dressing room" functionality when it was introduced. This model can be set to a particular unit, and then given different pieces of gear to display on that unit with the TryOn function. It also provides an Undress feature which can be used to view how your character's gear will look without concealing articles such as a cloak or tabard that you might be wearing.
Defined Methods
- DressUpModel:UndressSlot() - This function is not yet documented
Inherited Methods
- DressUpModel:AdvanceTime() - This function is not yet documented
- DressUpModel:ClearFog() - This function is not yet documented
- DressUpModel:ClearModel() - This function is not yet documented
- DressUpModel:GetCameraDistance() - This function is not yet documented
- DressUpModel:GetCameraFacing() - This function is not yet documented
- DressUpModel:GetCameraPosition() - This function is not yet documented
- DressUpModel:GetCameraTarget() - This function is not yet documented
- DressUpModel:GetDoBlend() - This function is not yet documented
- DressUpModel:GetFacing() - This function is not yet documented
- DressUpModel:GetFogColor() - This function is not yet documented
- DressUpModel:GetFogFar() - This function is not yet documented
- DressUpModel:GetFogNear() - This function is not yet documented
- DressUpModel:GetLight() - This function is not yet documented
- DressUpModel:GetModel() - This function is not yet documented
- DressUpModel:GetModelScale() - This function is not yet documented
- DressUpModel:GetPosition() - This function is not yet documented
- DressUpModel:GetPropagateKeyboardInput() - This function is not yet documented
- DressUpModel:GetWorldScale() - This function is not yet documented
- DressUpModel:HasCustomCamera() - This function is not yet documented
- DressUpModel:IsForbidden() - This function is not yet documented
- DressUpModel:RefreshCamera() - This function is not yet documented
- DressUpModel:RegisterUnitEvent() - This function is not yet documented
- DressUpModel:ReplaceIconTexture() - This function is not yet documented
- DressUpModel:SetAnimation() - This function is not yet documented
- DressUpModel:SetBarberShopAlternateForm() - This function is not yet documented
- DressUpModel:SetCamDistanceScale() - This function is not yet documented
- DressUpModel:SetCamera() - This function is not yet documented
- DressUpModel:SetCameraDistance() - This function is not yet documented
- DressUpModel:SetCameraFacing() - This function is not yet documented
- DressUpModel:SetCameraPosition() - This function is not yet documented
- DressUpModel:SetCameraTarget() - This function is not yet documented
- DressUpModel:SetCustomCamera() - This function is not yet documented
- DressUpModel:SetDisplayInfo() - This function is not yet documented
- DressUpModel:SetDoBlend() - This function is not yet documented
- DressUpModel:SetDontSavePosition() - This function is not yet documented
- DressUpModel:SetFacing() - This function is not yet documented
- DressUpModel:SetFogColor() - This function is not yet documented
- DressUpModel:SetFogFar() - This function is not yet documented
- DressUpModel:SetFogNear() - This function is not yet documented
- DressUpModel:SetGlow() - This function is not yet documented
- DressUpModel:SetLight() - This function is not yet documented
- DressUpModel:SetModel() - This function is not yet documented
- DressUpModel:SetModelScale() - This function is not yet documented
- DressUpModel:SetPortraitZoom() - This function is not yet documented
- DressUpModel:SetPosition() - This function is not yet documented
- DressUpModel:SetPropagateKeyboardInput() - This function is not yet documented
- DressUpModel:SetSequence() - This function is not yet documented
- DressUpModel:SetSequenceTime() - This function is not yet documented
- DressUpModel:SetShown() - This function is not yet documented
- DressUpModel:SetSize(width, height) - Sets the size of the region to the specified values
- DressUpModel:SetToplevel(enable) - Sets whether the frame should automatically come to the front when clicked
- DressUpModel:SetUnit("unit") - Sets the model to display the 3D model of a specific unit
- DressUpModel:SetUserPlaced(enable) - Flags the frame for automatic saving and restoration of position and dimensions
- DressUpModel:SetWidth(width) - Sets the region's width
- DressUpModel:Show() - Shows the region
- DressUpModel:StartMoving() - Begins repositioning the frame via mouse movement
- DressUpModel:StartSizing() - Begins resizing the frame via mouse movement
- DressUpModel:StopAnimating() - Stops any active animations involving the region or its children
- DressUpModel:StopMovingOrSizing() - Ends movement or resizing of the frame initiated with [[docs/widgets/Frame/StartMoving|`:StartMoving()`]] or [[docs/widgets/Frame/StartSizing|`:StartSizing()`]]
- DressUpModel:UnregisterAllEvents() - Unregisters the frame from any [[docs/events|events]] for which it is registered
- DressUpModel:UnregisterEvent("event") - Unregisters the frame for an event
Script Handlers
- OnAnimFinished(self) - Run when the model's animation finishes
- OnAttributeChanged(self, "name", value) - Run when a frame attribute is changed
- OnChar(self, "text") - Run for each text character typed in the frame
- OnDisable(self) - Run when the frame is disabled
- OnDragStart(self, "button") - Run when the mouse is dragged starting in the frame
- OnDragStop(self) - Run when the mouse button is released after a drag started in the frame
- OnEnable(self) - Run when the frame is enabled
- OnEnter(self, motion) - Run when the mouse cursor enters the frame's interactive area
- OnEvent(self, "event", ...) - Run whenever an [[docs/events|event]] fires for which the frame is registered
- OnHide(self) - Run when the frame's visbility changes to hidden
- OnKeyDown(self, "key") - Run when a keyboard key is pressed if the frame is keyboard enabled
- OnKeyUp(self, "key") - Run when a keyboard key is released if the frame is keyboard enabled
- OnLeave(self, motion) - Run when the mouse cursor leaves the frame's interactive area
- OnLoad(self) - Run when the frame is created
- OnMouseDown(self, "button") - Run when a mouse button is pressed while the cursor is over the frame
- OnMouseUp(self, "button") - Run when the mouse button is released following a mouse down action in the frame
- OnMouseWheel(self, delta) - Run when the frame receives a mouse wheel scrolling action
- OnReceiveDrag(self) - Run when the mouse button is released after dragging into the frame
- OnShow(self) - Run when the frame becomes visible
- OnSizeChanged(self, width, height) - Run when a frame's size changes
- OnUpdate(self, elapsed) - Run each time the screen is drawn by the game engine
- OnUpdateModel(self) - Run when a model changes or animates