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) { fixed(float *native_view = &view) { fixed(float *native_projection = &projection) { fixed(float *native_matrix = &matrix) { fixed(float *native_deltaMatrix = &deltaMatrix) { fixed(float *native_snap = &snap) { fixed(float *native_localBounds = &localBounds) { fixed(float *native_boundsSnap = &boundsSnap) { byte ret = ImGuizmoNative.ImGuizmo_Manipulate(native_view, native_projection, operation, mode, native_matrix, native_deltaMatrix, native_snap, native_localBounds, native_boundsSnap); return(ret != 0); } } } } } } } }
public static bool Manipulate(ref float view, ref float projection, OPERATION operation, MODE mode, ref float matrix) { float *deltaMatrix = null; float *snap = null; float *localBounds = null; float *boundsSnap = null; fixed(float *native_view = &view) { fixed(float *native_projection = &projection) { fixed(float *native_matrix = &matrix) { byte ret = ImGuizmoNative.ImGuizmo_Manipulate(native_view, native_projection, operation, mode, native_matrix, deltaMatrix, snap, localBounds, boundsSnap); return(ret != 0); } } } }