private void handleHeadPoseChange(ref LEAP_HEAD_POSE_EVENT headPose) { if (LeapHeadPoseChange != null) { LeapHeadPoseChange.DispatchOnContext(this, EventContext, new HeadPoseEventArgs(headPose.head_position, headPose.head_orientation)); } }
public LEAP_HEAD_POSE_EVENT GetInterpolatedHeadPose(Int64 time) { LEAP_HEAD_POSE_EVENT headPoseEvent = new LEAP_HEAD_POSE_EVENT(); GetInterpolatedHeadPose(ref headPoseEvent, time); return(headPoseEvent); }
public void GetInterpolatedHeadPose(ref LEAP_HEAD_POSE_EVENT toFill, Int64 time) { eLeapRS result = LeapC.InterpolateHeadPose(_leapConnection, time, ref toFill); reportAbnormalResults("LeapC get interpolated head pose call was ", result); }
public static extern eLeapRS InterpolateHeadPose(IntPtr hConnection, Int64 timestamp, ref LEAP_HEAD_POSE_EVENT headPose);