Wes xx mediapipe integration
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
// Copyright (c) 2021 homuler
|
||||
//
|
||||
// Use of this source code is governed by an MIT-style
|
||||
// license that can be found in the LICENSE file or at
|
||||
// https://opensource.org/licenses/MIT.
|
||||
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Mediapipe
|
||||
{
|
||||
internal static partial class UnsafeNativeMethods
|
||||
{
|
||||
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
||||
public static extern MpReturnCode mp__MakeAnchor3dVectorPacket__PA_i(Anchor3d[] value, int size, out IntPtr packet);
|
||||
|
||||
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
||||
public static extern MpReturnCode mp__MakeAnchor3dVectorPacket_At__PA_i_Rt(Anchor3d[] value, int size, IntPtr timestamp, out IntPtr packet);
|
||||
|
||||
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
||||
public static extern void mp_Anchor3dArray__delete(IntPtr anchorVectorData);
|
||||
|
||||
[DllImport(MediaPipeLibrary, ExactSpelling = true)]
|
||||
public static extern MpReturnCode mp_Packet__GetAnchor3dVector(IntPtr packet, out Anchor3dVector anchorVector);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d4da3790f601856f9eb91cc8a09f14a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user