Class Leap::Unity::LeapProvider

class Leap.Unity.LeapProvider : public MonoBehaviour

Provides Frame object data to the Unity application by firing events as soon as Frame data is available. Frames contain all currently tracked Hands in view of the Leap Motion Controller.

Subclassed by Leap.Unity.LeapServiceProvider, Leap.Unity.LeapTestProvider, Leap.Unity.PostProcessProvider

Properties

abstractFrame CurrentFrame { get; set; }

The current frame for this update cycle, in world space.

IMPORTANT! This frame might be mutable! If you hold onto a reference to this frame, or a reference to any object that is a part of this frame, it might change unexpectedly. If you want to save a reference, make sure to make a copy.

abstractFrame CurrentFixedFrame { get; set; }

The current frame for this fixed update cycle, in world space.

IMPORTANT! This frame might be mutable! If you hold onto a reference to this frame, or a reference to any object that is a part of this frame, it might change unexpectedly. If you want to save a reference, make sure to make a copy.