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

\ingroup Functions Computes the Ultraleap Tracking Service clock corresponding to a specified application clock value.

Use this function to translate your application clock to the Ultraleap Tracking Service 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 Ultraleap Tracking Service clock value. @returns The operation result code, a member of the eLeapRS enumeration. @since 3.1.2