Class ImGuizmoNative
Assembly: ImGui.NET.dll
View Source
Declaration
public static class ImGuizmoNative
Methods
ImGuizmo_AllowAxisFlip(byte)
Declaration
public static extern void ImGuizmo_AllowAxisFlip(byte value)
Parameters
Type | Name |
---|---|
System.Byte | value |
ImGuizmo_BeginFrame()
Declaration
public static extern void ImGuizmo_BeginFrame()
ImGuizmo_DecomposeMatrixToComponents(float*, float*, float*, float*)
Declaration
public static extern void ImGuizmo_DecomposeMatrixToComponents(float* matrix, float* translation, float* rotation, float* scale)
Parameters
Type | Name |
---|---|
System.Single* | matrix |
System.Single* | translation |
System.Single* | rotation |
System.Single* | scale |
ImGuizmo_DrawCubes(float*, float*, float*, int)
Declaration
public static extern void ImGuizmo_DrawCubes(float* view, float* projection, float* matrices, int matrixCount)
Parameters
Type | Name |
---|---|
System.Single* | view |
System.Single* | projection |
System.Single* | matrices |
System.Int32 | matrixCount |
ImGuizmo_DrawGrid(float*, float*, float*, float)
Declaration
public static extern void ImGuizmo_DrawGrid(float* view, float* projection, float* matrix, float gridSize)
Parameters
Type | Name |
---|---|
System.Single* | view |
System.Single* | projection |
System.Single* | matrix |
System.Single | gridSize |
ImGuizmo_Enable(byte)
Declaration
public static extern void ImGuizmo_Enable(byte enable)
Parameters
Type | Name |
---|---|
System.Byte | enable |
ImGuizmo_IsOver_Nil()
Declaration
public static extern byte ImGuizmo_IsOver_Nil()
Returns
System.Byte
ImGuizmo_IsOver_OPERATION(OPERATION)
Declaration
public static extern byte ImGuizmo_IsOver_OPERATION(OPERATION op)
Returns
System.Byte
Parameters
Type | Name |
---|---|
ImGuizmoNET.OPERATION | op |
ImGuizmo_IsUsing()
Declaration
public static extern byte ImGuizmo_IsUsing()
Returns
System.Byte
ImGuizmo_Manipulate(float*, float*, OPERATION, MODE, float*, float*, float*, float*, float*)
Declaration
public static extern byte ImGuizmo_Manipulate(float* view, float* projection, OPERATION operation, MODE mode, float* matrix, float* deltaMatrix, float* snap, float* localBounds, float* boundsSnap)
Returns
System.Byte
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 |
ImGuizmo_RecomposeMatrixFromComponents(float*, float*, float*, float*)
Declaration
public static extern void ImGuizmo_RecomposeMatrixFromComponents(float* translation, float* rotation, float* scale, float* matrix)
Parameters
Type | Name |
---|---|
System.Single* | translation |
System.Single* | rotation |
System.Single* | scale |
System.Single* | matrix |
ImGuizmo_SetDrawlist(ImDrawList*)
Declaration
public static extern void ImGuizmo_SetDrawlist(ImDrawList* drawlist)
Parameters
Type | Name |
---|---|
ImGuiNET.ImDrawList* | drawlist |
ImGuizmo_SetGizmoSizeClipSpace(float)
Declaration
public static extern void ImGuizmo_SetGizmoSizeClipSpace(float value)
Parameters
Type | Name |
---|---|
System.Single | value |
ImGuizmo_SetID(int)
Declaration
public static extern void ImGuizmo_SetID(int id)
Parameters
Type | Name |
---|---|
System.Int32 | id |
ImGuizmo_SetImGuiContext(IntPtr)
Declaration
public static extern void ImGuizmo_SetImGuiContext(IntPtr ctx)
Parameters
Type | Name |
---|---|
System.IntPtr | ctx |
ImGuizmo_SetOrthographic(byte)
Declaration
public static extern void ImGuizmo_SetOrthographic(byte isOrthographic)
Parameters
Type | Name |
---|---|
System.Byte | isOrthographic |
ImGuizmo_SetRect(float, float, float, float)
Declaration
public static extern void ImGuizmo_SetRect(float x, float y, float width, float height)
Parameters
Type | Name |
---|---|
System.Single | x |
System.Single | y |
System.Single | width |
System.Single | height |
ImGuizmo_ViewManipulate_Float(float*, float, Vector2, Vector2, uint)
Declaration
public static extern void ImGuizmo_ViewManipulate_Float(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 |
ImGuizmo_ViewManipulate_FloatPtr(float*, float*, OPERATION, MODE, float*, float, Vector2, Vector2, uint)
Declaration
public static extern void ImGuizmo_ViewManipulate_FloatPtr(float* view, float* projection, OPERATION operation, MODE mode, 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 |