Class MissingTilesSubWindow
Manager and renderer for the missing tiles sub-window inside the
Inheritance
System.Object
MissingTilesSubWindow
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: CarbideFunction.Wildtile.Editor.ImportReport.SubWindow
Syntax
public class MissingTilesSubWindow
Constructors
MissingTilesSubWindow()
Sets up the sub window for rendering immediately
Declaration
public MissingTilesSubWindow()
Methods
Bind(IMGUIContainer)
Start rendering to the IMGUIContainer and reacting to clicks and drags on it.
Declaration
public void Bind(IMGUIContainer subWindow)
Parameters
Type | Name | Description |
---|---|---|
IMGUIContainer | subWindow |
Destroy()
This must be called before the last reference's release as the internal Unity renderer (PreviewRenderUtility) must be shutdown before domain reload. C#'s deferred garbage collector can destroy this after the domain reload, breaking Unity's requirements.
Declaration
public void Destroy()
Render(Rect, MissingTilesSubWindow.Data, Mesh)
Draws the passed in mesh
into the subwindow using the settings (materials) from staticData
and the instance local orbit coordinates (controlled by the user clicking and dragging their mouse).
Declaration
public void Render(Rect drawRect, MissingTilesSubWindow.Data staticData, Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Rect | drawRect | |
MissingTilesSubWindow.Data | staticData | |
Mesh | mesh |