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
Type | Name |
---|---|
System.Boolean | value |
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
Type | Name |
---|---|
System.Single | matrix |
System.Single | translation |
System.Single | rotation |
System.Single | scale |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
System.Single | matrices |
System.Int32 | matrixCount |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
System.Single | matrix |
System.Single | gridSize |
Enable(bool)
View Source
Declaration
public static void Enable(bool enable)
Parameters
Type | Name |
---|---|
System.Boolean | enable |
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
Type | Name |
---|---|
ImGuizmoNET.OPERATION | op |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
System.Single | deltaMatrix |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
System.Single | deltaMatrix |
System.Single | snap |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
System.Single | deltaMatrix |
System.Single | snap |
System.Single | localBounds |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
System.Single | deltaMatrix |
System.Single | snap |
System.Single | localBounds |
System.Single | boundsSnap |
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
Type | Name |
---|---|
System.Single | translation |
System.Single | rotation |
System.Single | scale |
System.Single | matrix |
SetDrawlist()
View Source
Declaration
public static void SetDrawlist()
SetDrawlist(ImDrawListPtr)
View Source
Declaration
public static void SetDrawlist(ImDrawListPtr drawlist)
Parameters
Type | Name |
---|---|
ImGuiNET.ImDrawListPtr | drawlist |
SetGizmoSizeClipSpace(float)
View Source
Declaration
public static void SetGizmoSizeClipSpace(float value)
Parameters
Type | Name |
---|---|
System.Single | value |
SetID(int)
View Source
Declaration
public static void SetID(int id)
Parameters
Type | Name |
---|---|
System.Int32 | id |
SetImGuiContext(IntPtr)
View Source
Declaration
public static void SetImGuiContext(IntPtr ctx)
Parameters
Type | Name |
---|---|
System.IntPtr | ctx |
SetOrthographic(bool)
View Source
Declaration
public static void SetOrthographic(bool isOrthographic)
Parameters
Type | Name |
---|---|
System.Boolean | isOrthographic |
SetRect(float, float, float, float)
View Source
Declaration
public static void SetRect(float x, float y, float width, float height)
Parameters
Type | Name |
---|---|
System.Single | x |
System.Single | y |
System.Single | width |
System.Single | height |
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
Type | Name |
---|---|
System.Single | view |
System.Single | length |
System.Numerics.Vector2 | position |
System.Numerics.Vector2 | size |
System.UInt32 | backgroundColor |
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
Type | Name |
---|---|
System.Single | view |
System.Single | projection |
ImGuizmoNET.OPERATION | operation |
ImGuizmoNET.MODE | mode |
System.Single | matrix |
System.Single | length |
System.Numerics.Vector2 | position |
System.Numerics.Vector2 | size |
System.UInt32 | backgroundColor |