ILeapMotionPlugin

The public interface to this module.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

LeapMotion

Header

/Engine/Plugins/Runtime/LeapMotion/Source/LeapMotion/Public/ILeapMotionPlugin.h

Include

#include "ILeapMotionPlugin.h"

Syntax

class ILeapMotionPlugin : public IInputDeviceModule

Remarks

The public interface to this module. In most cases, this interface is only public to sibling modules within this plugin.

Functions

Name Description

Public function Virtual

void

 

AddEventDelegate

(
    const ULeapComponent* EventDel...
)

Attach an event delegate to the leap input device loop

Public function

void

 

AreHandsVisible

(
    bool& LeftHandIsVisible,
    bool& RightHandIsVisible
)

Convenience function to determine hand visibility

Public function Static

ILeapMotionP...

 

Get()

Singleton-like access to this module's interface.

Public function

void

 

GetLatestFrameData

(
    FLeapFrameData& OutData
)

Polling method for latest frame data

Public function Virtual

FLeapStats

 

GetLeapStats()

Public function Virtual

FLeapOptions

 

GetOptions()

Get the currently set Leap Options

Public function Static

bool

 

IsAvailable()

Checks to see if this module is loaded and ready.

Public function Virtual

void

 

RemoveEventDelegate

(
    const ULeapComponent* EventDel...
)

Remove an event delegate from the leap input device loop

Public function

void

 

SetLeapPolicy

(
    ELeapPolicyFlag Flag,
    bool Enable
)

Set a Leap Policy, such as image streaming or optimization type

Public function Virtual

void

 

SetOptions

(
    const FLeapOptions& InOptions
)

Set Leap Options such as time warp, interpolation and tracking modes

Public function

void

 

ShutdownLeap()

Force shutdown leap, do not call unless you have a very specfic need

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback