Controller.PolicyFlagΒΆ

Controller.PolicyFlag Enum Reference

The supported controller policies. More...

Public Attributes

 POLICY_DEFAULT =(0)
 The default policy. More...
 

Detailed Description

The supported controller policies.

The supported policy flags are:

POLICY_BACKGROUND_FRAMES – requests that your application receives frames when it is not the foreground application for user input.

The background frames policy determines whether an application receives frames of tracking data while in the background. By default, the Leap Motion software only sends tracking data to the foreground application. Only applications that need this ability should request the background frames policy. The "Allow Background Apps" checkbox must be enabled in the Leap Motion Control Panel or this policy will be denied.

POLICY_IMAGES – request that your application receives images from the device cameras. The "Allow Images" checkbox must be enabled in the Leap Motion Control Panel or this policy will be denied.

The images policy determines whether an application receives image data from the Leap Motion sensors with each frame of data. By default, this data is not sent. Only applications that use the image data should request this policy.

POLICY_OPTIMIZE_HMD – request that the tracking be optimized for head-mounted tracking.

The optimize HMD policy improves tracking in situations where the Leap Motion hardware is attached to a head-mounted display. This policy is not granted for devices that cannot be mounted to an HMD, such as Leap Motion controllers embedded in a laptop or keyboard.

POLICY_ALLOW_PAUSE_RESUME – request that the application be allowed to pause and unpause the Leap Motion service.

Some policies can be denied if the user has disabled the feature on their Leap Motion control panel.

Since
1.0

Member Data Documentation

POLICY_DEFAULT =(0)

The default policy.

Since
1.0