Class IHandTrackingWrapper¶
-
class IHandTrackingWrapper¶
Subclassed by FLeapWrapper, FLeapWrapperBase
Public Functions
-
virtual LEAP_CONNECTION *OpenConnection(LeapWrapperCallbackInterface *InCallbackDelegate, bool UseMultiDeviceMode = false) = 0¶
Open the connection and set our static LeapWrapperCallbackInterface delegate
-
virtual void CloseConnection() = 0¶
Close the connection, it will nullify the callback delegate
-
virtual LEAP_TRACKING_EVENT *GetFrame() = 0¶
Get latest frame - critical section locked
-
virtual LEAP_TRACKING_EVENT *GetInterpolatedFrameAtTime(int64 TimeStamp) = 0¶
Uses leap method to get an interpolated frame at a given leap timestamp in microseconds given by e.g. LeapGetNow()
-
virtual void SetDeviceHints(TArray<FString> &Hints, const uint32_t DeviceID = 0) = 0¶
Used to set device hints
- Parameters
Hints – - The device hints
LeapDeviceID – - Device ID to set the hints
-
virtual LEAP_CONNECTION *OpenConnection(LeapWrapperCallbackInterface *InCallbackDelegate, bool UseMultiDeviceMode = false) = 0¶