Skip to main content

Class ImGuizmo

Assembly: ImGui.NET.dll
View Source
Declaration
public static class ImGuizmo

Methods

AllowAxisFlip(bool)

View Source
Declaration
public static void AllowAxisFlip(bool value)
Parameters
TypeName
System.Booleanvalue

BeginFrame()

View Source
Declaration
public static void BeginFrame()

DecomposeMatrixToComponents(ref float, ref float, ref float, ref float)

View Source
Declaration
public static void DecomposeMatrixToComponents(ref float matrix, ref float translation, ref float rotation, ref float scale)
Parameters
TypeName
System.Singlematrix
System.Singletranslation
System.Singlerotation
System.Singlescale

DrawCubes(ref float, ref float, ref float, int)

View Source
Declaration
public static void DrawCubes(ref float view, ref float projection, ref float matrices, int matrixCount)
Parameters
TypeName
System.Singleview
System.Singleprojection
System.Singlematrices
System.Int32matrixCount

DrawGrid(ref float, ref float, ref float, float)

View Source
Declaration
public static void DrawGrid(ref float view, ref float projection, ref float matrix, float gridSize)
Parameters
TypeName
System.Singleview
System.Singleprojection
System.Singlematrix
System.SinglegridSize

Enable(bool)

View Source
Declaration
public static void Enable(bool enable)
Parameters
TypeName
System.Booleanenable

IsOver()

View Source
Declaration
public static bool IsOver()
Returns

System.Boolean

IsOver(OPERATION)

View Source
Declaration
public static bool IsOver(OPERATION op)
Returns

System.Boolean

Parameters
TypeName
ImGuizmoNET.OPERATIONop

IsUsing()

View Source
Declaration
public static bool IsUsing()
Returns

System.Boolean

Manipulate(ref float, ref float, OPERATION, MODE, ref float)

View Source
Declaration
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix)
Returns

System.Boolean

Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix

Manipulate(ref float, ref float, OPERATION, MODE, ref float, ref float)

View Source
Declaration
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix, ref float deltaMatrix)
Returns

System.Boolean

Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix
System.SingledeltaMatrix

Manipulate(ref float, ref float, OPERATION, MODE, ref float, ref float, ref float)

View Source
Declaration
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix, ref float deltaMatrix, ref float snap)
Returns

System.Boolean

Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix
System.SingledeltaMatrix
System.Singlesnap

Manipulate(ref float, ref float, OPERATION, MODE, ref float, ref float, ref float, ref float)

View Source
Declaration
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds)
Returns

System.Boolean

Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix
System.SingledeltaMatrix
System.Singlesnap
System.SinglelocalBounds

Manipulate(ref float, ref float, OPERATION, MODE, ref float, ref float, ref float, ref float, ref float)

View Source
Declaration
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
Returns

System.Boolean

Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix
System.SingledeltaMatrix
System.Singlesnap
System.SinglelocalBounds
System.SingleboundsSnap

RecomposeMatrixFromComponents(ref float, ref float, ref float, ref float)

View Source
Declaration
public static void RecomposeMatrixFromComponents(ref float translation, ref float rotation, ref float scale, ref float matrix)
Parameters
TypeName
System.Singletranslation
System.Singlerotation
System.Singlescale
System.Singlematrix

SetDrawlist()

View Source
Declaration
public static void SetDrawlist()

SetDrawlist(ImDrawListPtr)

View Source
Declaration
public static void SetDrawlist(ImDrawListPtr drawlist)
Parameters
TypeName
ImGuiNET.ImDrawListPtrdrawlist

SetGizmoSizeClipSpace(float)

View Source
Declaration
public static void SetGizmoSizeClipSpace(float value)
Parameters
TypeName
System.Singlevalue

SetID(int)

View Source
Declaration
public static void SetID(int id)
Parameters
TypeName
System.Int32id

SetImGuiContext(IntPtr)

View Source
Declaration
public static void SetImGuiContext(IntPtr ctx)
Parameters
TypeName
System.IntPtrctx

SetOrthographic(bool)

View Source
Declaration
public static void SetOrthographic(bool isOrthographic)
Parameters
TypeName
System.BooleanisOrthographic

SetRect(float, float, float, float)

View Source
Declaration
public static void SetRect(float x, float y, float width, float height)
Parameters
TypeName
System.Singlex
System.Singley
System.Singlewidth
System.Singleheight

ViewManipulate(ref float, float, Vector2, Vector2, uint)

View Source
Declaration
public static void ViewManipulate(ref float view, float length, Vector2 position, Vector2 size, uint backgroundColor)
Parameters
TypeName
System.Singleview
System.Singlelength
System.Numerics.Vector2position
System.Numerics.Vector2size
System.UInt32backgroundColor

ViewManipulate(ref float, ref float, OPERATION, MODE, ref float, float, Vector2, Vector2, uint)

View Source
Declaration
public static void ViewManipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
Parameters
TypeName
System.Singleview
System.Singleprojection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Singlematrix
System.Singlelength
System.Numerics.Vector2position
System.Numerics.Vector2size
System.UInt32backgroundColor