[][src]Function leap_sys::LeapRebaseClock

pub unsafe extern "C" fn LeapRebaseClock(
    hClockRebaser: LEAP_CLOCK_REBASER,
    userClock: i64,
    pLeapClock: *mut i64
) -> eLeapRS

\ingroup Functions Computes the Leap Motion clock corresponding to a specified application clock value.

Use this function to translate your application clock to the Leap Motion clock when interpolating frames. LeapUpdateRebase() must be called for every rendered frame for the relationship between the two clocks to remain synchronized.

@param hClockRebaser The handle to a rebaser object created by LeapCreateClockRebaser(). @param userClock The clock in microseconds referenced to the application clock. @param[out] pLeapClock The corresponding Leap Motion clock value. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.1.2