Dalamud/imgui/Dalamud.Bindings.ImGuizmo/Generated/Functions/Functions.001.cs
2025-04-06 21:08:34 +02:00

1001 lines
32 KiB
C#
Generated

// ------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using HexaGen.Runtime;
using System.Numerics;
using Dalamud.Bindings.ImGui;
namespace Dalamud.Bindings.ImGuizmo
{
public unsafe partial class ImGuizmo
{
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, float* snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, snap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float* deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, deltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static bool Manipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, ref float deltaMatrix, ref float snap, ref float localBounds, ref float boundsSnap)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
fixed (float* pdeltaMatrix = &deltaMatrix)
{
fixed (float* psnap = &snap)
{
fixed (float* plocalBounds = &localBounds)
{
fixed (float* pboundsSnap = &boundsSnap)
{
byte ret = ManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, (float*)pdeltaMatrix, (float*)psnap, (float*)plocalBounds, (float*)pboundsSnap);
return ret != 0;
}
}
}
}
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ViewManipulateNative(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<float*, float, Vector2, Vector2, uint, void>)funcTable[13])(view, length, position, size, backgroundColor);
#else
((delegate* unmanaged[Cdecl]<nint, float, Vector2, Vector2, uint, void>)funcTable[13])((nint)view, length, position, size, backgroundColor);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(float* view, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
ViewManipulateNative(view, length, position, size, backgroundColor);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref Matrix4x4 view, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (Matrix4x4* pview = &view)
{
ViewManipulateNative((float*)pview, length, position, size, backgroundColor);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref float view, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pview = &view)
{
ViewManipulateNative((float*)pview, length, position, size, backgroundColor);
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void ViewManipulateNative(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<float*, float*, ImGuizmoOperation, ImGuizmoMode, float*, float, Vector2, Vector2, uint, void>)funcTable[14])(view, projection, operation, mode, matrix, length, position, size, backgroundColor);
#else
((delegate* unmanaged[Cdecl]<nint, nint, ImGuizmoOperation, ImGuizmoMode, nint, float, Vector2, Vector2, uint, void>)funcTable[14])((nint)view, (nint)projection, operation, mode, (nint)matrix, length, position, size, backgroundColor);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
ViewManipulateNative(view, projection, operation, mode, matrix, length, position, size, backgroundColor);
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref Matrix4x4 view, ref Matrix4x4 projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref Matrix4x4 matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (Matrix4x4* pview = &view)
{
fixed (Matrix4x4* pprojection = &projection)
{
fixed (Matrix4x4* pmatrix = &matrix)
{
ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pview = &view)
{
ViewManipulateNative((float*)pview, projection, operation, mode, matrix, length, position, size, backgroundColor);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pprojection = &projection)
{
ViewManipulateNative(view, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, float* matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, matrix, length, position, size, backgroundColor);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(float* view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pmatrix = &matrix)
{
ViewManipulateNative(view, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor);
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref float view, float* projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pview = &view)
{
fixed (float* pmatrix = &matrix)
{
ViewManipulateNative((float*)pview, projection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(float* view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
ViewManipulateNative(view, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor);
}
}
}
/// <summary>
/// To be documented.
/// </summary>
public static void ViewManipulate(ref float view, ref float projection, ImGuizmoOperation operation, ImGuizmoMode mode, ref float matrix, float length, Vector2 position, Vector2 size, uint backgroundColor)
{
fixed (float* pview = &view)
{
fixed (float* pprojection = &projection)
{
fixed (float* pmatrix = &matrix)
{
ViewManipulateNative((float*)pview, (float*)pprojection, operation, mode, (float*)pmatrix, length, position, size, backgroundColor);
}
}
}
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetIDNative(int id)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<int, void>)funcTable[15])(id);
#else
((delegate* unmanaged[Cdecl]<int, void>)funcTable[15])(id);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void SetID(int id)
{
SetIDNative(id);
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static byte IsOverNative(ImGuizmoOperation op)
{
#if NET5_0_OR_GREATER
return ((delegate* unmanaged[Cdecl]<ImGuizmoOperation, byte>)funcTable[16])(op);
#else
return (byte)((delegate* unmanaged[Cdecl]<ImGuizmoOperation, byte>)funcTable[16])(op);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static bool IsOver(ImGuizmoOperation op)
{
byte ret = IsOverNative(op);
return ret != 0;
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void SetGizmoSizeClipSpaceNative(float value)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<float, void>)funcTable[17])(value);
#else
((delegate* unmanaged[Cdecl]<float, void>)funcTable[17])(value);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void SetGizmoSizeClipSpace(float value)
{
SetGizmoSizeClipSpaceNative(value);
}
/// <summary>
/// To be documented.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal static void AllowAxisFlipNative(byte value)
{
#if NET5_0_OR_GREATER
((delegate* unmanaged[Cdecl]<byte, void>)funcTable[18])(value);
#else
((delegate* unmanaged[Cdecl]<byte, void>)funcTable[18])(value);
#endif
}
/// <summary>
/// To be documented.
/// </summary>
public static void AllowAxisFlip(bool value)
{
AllowAxisFlipNative(value ? (byte)1 : (byte)0);
}
}
}