Leap Motion Controller PluginΒΆ

class FLeapMotionControllerPlugin

The public interface to the Leap Motion Controller plugin module.

Public Static Functions

Singleton-like access to this module’s interface.

Beware of calling this during the shutdown phase. The module might have been unloaded already.

Return
Returns singleton instance, loading the module on demand if needed

FLeapMotionDevice * GetLeapDeviceSafe()

Simple helper function to get the device currently active.

Return
Pointer to the LeapMotionDevice, or nullptr if Device is not available.

bool IsAvailable()

Checks to see if this module is loaded and ready.

It is only valid to call Get() if IsAvailable() returns true.

Return
True if the module is loaded and ready to use