Class FLeapWrapperBase

class FLeapWrapperBase : public IHandTrackingWrapper

Subclassed by FLeapWrapper, FOpenXRToLeapWrapper

Public Functions

inline virtual LEAP_CONNECTION *OpenConnection(LeapWrapperCallbackInterface *InCallbackDelegate)

Open the connection and set our static LeapWrapperCallbackInterface delegate

inline virtual void CloseConnection() override

Close the connection, it will nullify the callback delegate

inline virtual LEAP_TRACKING_EVENT *GetFrame() override

Get latest frame - critical section locked

inline virtual LEAP_TRACKING_EVENT *GetInterpolatedFrameAtTime(int64 TimeStamp) override

Uses leap method to get an interpolated frame at a given leap timestamp in microseconds given by e.g. LeapGetNow()