public static IntPtr Create(IntPtr sessionHandle, Pose pose) { ApiPose apiPose = Translators.ToApiPose(pose); IntPtr poseHandle = IntPtr.Zero; ExternApi.ArPose_create( sessionHandle, ref apiPose, ref poseHandle); return(poseHandle); }
public static ApiPose ExtractPoseValue( IntPtr sessionHandle, IntPtr poseHandle) { ApiPose apiPose = Translators.ToApiPose(Pose.identity); ExternApi.ArPose_getPoseRaw( sessionHandle, poseHandle, ref apiPose); return(apiPose); }