コード例 #1
0
        protected virtual void updateTracking(Frame frame)
        {
            int    handCount = frame.Hands.Count;
            IntPtr ptr       = HandArrayBuilder.CreateHandArray(frame);

            InteractionC.UpdateHands(ref _scene, (uint)handCount, ptr);
            StructAllocator.CleanupAllocations();
        }
コード例 #2
0
        public void UpdateHands()
        {
            Frame  frame   = TestHandFactory.MakeTestFrame(0, true, true);
            IntPtr handPtr = HandArrayBuilder.CreateHandArray(frame);

            InteractionC.UpdateHands(ref _scene, 2, handPtr);
            StructAllocator.CleanupAllocations();
        }