Click or drag to resize

GuiMatrixScope Class

A utility class to render windows with an alternative transformation matrix.
Inheritance Hierarchy
SystemObject
  KSPDev.GUIUtilsGuiMatrixScope

Namespace:  KSPDev.GUIUtils
Assembly:  KSPDev_Utils.2.6 (in KSPDev_Utils.2.6.dll) Version: 2.6 for KSP v1
Syntax
C#
public class GuiMatrixScope : IDisposable
Request Example View Source

The GuiMatrixScope type exposes the following members.

Constructors
  NameDescription
Public methodGuiMatrixScope
Stores the old matrix.
Top
Methods
  NameDescription
Public methodDispose
Restores the matrix that was set before the scope started.
Top
Remarks
This scope will remember the GUI.matrix property and restore it on exit.
See Also