pub unsafe extern "C" fn LeapRecordingRead(
    pRecording: LEAP_RECORDING,
    pEvent: *mut LEAP_TRACKING_EVENT,
    ncbEvent: u64
) -> eLeapRS
Expand description

\ingroup Functions Reads a tracking frame from a LEAP_RECORDING file.

Caller is responsible for allocating a buffer large enough to hold the data of the frame. Use LeapGetFrameSize() to calculate the minimum size of this buffer.

@param pRecording The recording being read from. @param[out] pEvent A pointer to a flat buffer which is filled with the next recorded frame. @param ncbEvent The number of bytes pointed to by pEvent. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.2.0