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(); }
public void UpdateHands() { Frame frame = TestHandFactory.MakeTestFrame(0, true, true); IntPtr handPtr = HandArrayBuilder.CreateHandArray(frame); InteractionC.UpdateHands(ref _scene, 2, handPtr); StructAllocator.CleanupAllocations(); }