Skip to main content

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
TypeName
System.Bytevalue

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
TypeName
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
TypeName
System.Single*view
System.Single*projection
System.Single*matrices
System.Int32matrixCount

ImGuizmo_DrawGrid(float*, float*, float*, float)

Declaration
public static extern void ImGuizmo_DrawGrid(float* view, float* projection, float* matrix, float gridSize)
Parameters
TypeName
System.Single*view
System.Single*projection
System.Single*matrix
System.SinglegridSize

ImGuizmo_Enable(byte)

Declaration
public static extern void ImGuizmo_Enable(byte enable)
Parameters
TypeName
System.Byteenable

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
TypeName
ImGuizmoNET.OPERATIONop

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
TypeName
System.Single*view
System.Single*projection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
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
TypeName
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
TypeName
ImGuiNET.ImDrawList*drawlist

ImGuizmo_SetGizmoSizeClipSpace(float)

Declaration
public static extern void ImGuizmo_SetGizmoSizeClipSpace(float value)
Parameters
TypeName
System.Singlevalue

ImGuizmo_SetID(int)

Declaration
public static extern void ImGuizmo_SetID(int id)
Parameters
TypeName
System.Int32id

ImGuizmo_SetImGuiContext(IntPtr)

Declaration
public static extern void ImGuizmo_SetImGuiContext(IntPtr ctx)
Parameters
TypeName
System.IntPtrctx

ImGuizmo_SetOrthographic(byte)

Declaration
public static extern void ImGuizmo_SetOrthographic(byte isOrthographic)
Parameters
TypeName
System.ByteisOrthographic

ImGuizmo_SetRect(float, float, float, float)

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

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
TypeName
System.Single*view
System.Singlelength
System.Numerics.Vector2position
System.Numerics.Vector2size
System.UInt32backgroundColor

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
TypeName
System.Single*view
System.Single*projection
ImGuizmoNET.OPERATIONoperation
ImGuizmoNET.MODEmode
System.Single*matrix
System.Singlelength
System.Numerics.Vector2position
System.Numerics.Vector2size
System.UInt32backgroundColor