Beispiel #1
0
 private static extern RootSystem.IntPtr Microsoft_Kinect_Face_FaceFrameSource_ctor(RootSystem.IntPtr sensor, ulong initialTrackingId, Windows.Kinect.Face.FaceFrameFeatures initialFaceFrameFeatures);
Beispiel #2
0
        public static FaceFrameSource Create(Windows.Kinect.KinectSensor sensor, ulong initialTrackingId, Windows.Kinect.Face.FaceFrameFeatures initialFaceFrameFeatures)
        {
            RootSystem.IntPtr objectPointer = Microsoft_Kinect_Face_FaceFrameSource_ctor(Helper.NativeWrapper.GetNativePtr(sensor), initialTrackingId, initialFaceFrameFeatures);
            Helper.ExceptionHelper.CheckLastError();
            if (objectPointer == RootSystem.IntPtr.Zero)
            {
                return(null);
            }

            return(Helper.NativeObjectCache.CreateOrGetObject <Windows.Kinect.Face.FaceFrameSource>(
                       objectPointer, n => new Windows.Kinect.Face.FaceFrameSource(n)));
        }
Beispiel #3
0
 private static extern void Microsoft_Kinect_Face_FaceFrameSource_put_FaceFrameFeatures(RootSystem.IntPtr pNative, Windows.Kinect.Face.FaceFrameFeatures faceFrameFeatures);