Module ThreeDViewer

A module to handle the 3D viewer for the addon.

Functions

modelViewer:SetRotation (deltaX) Set the facing of the model viewer.
modelViewer:UpdatePosition (x, y, z) Update the position of the model viewer.
modelViewer:UpdatePositionFaster (x, y, z) Update the position of the model viewer quicker.
modelWidget:Release () Release the model widget.
CreateThreeDViewerFrame (unitGUID, unitID, displayID) Create a frame for the 3D viewer.
Toggle () Toggle button on or off.


Functions

modelViewer:SetRotation (deltaX)
Set the facing of the model viewer.

Parameters:

  • deltaX number
modelViewer:UpdatePosition (x, y, z)
Update the position of the model viewer.

Parameters:

  • x number
  • y number
  • z number
modelViewer:UpdatePositionFaster (x, y, z)
Update the position of the model viewer quicker.

Parameters:

  • x number
  • y number
  • z number
modelWidget:Release ()
Release the model widget. Needed because the model viewer is not an AceGUI widget.
CreateThreeDViewerFrame (unitGUID, unitID, displayID)
Create a frame for the 3D viewer.

Parameters:

  • unitGUID string
  • unitID any
  • displayID number?
Toggle ()
Toggle button on or off.
generated by LDoc 1.5.0 Last updated 2024-09-08 12:01:35