Tanoda
Leap.Unity.LeapProvider Class Reference

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. More...

Inheritance diagram for Leap.Unity.LeapProvider:
Leap.Unity.LeapServiceProvider Leap.Unity.LeapTestProvider Leap.Unity.Playback.PlaybackProvider Leap.Unity.PostProcessProvider Leap.Unity.Recording.LeapPlayableProvider Leap.Unity.StationaryTestLeapProvider Leap.Unity.LeapXRServiceProvider Leap.Unity.Examples.InertiaPostProcessProvider Leap.Unity.Examples.ProjectionPostProcessProvider

Public Attributes

TestHandPose editTimePose = TestHandPose.HeadMountedA
 

Protected Member Functions

void DispatchUpdateFrameEvent (Frame frame)
 
void DispatchFixedFrameEvent (Frame frame)
 

Properties

abstract Frame CurrentFrame [get]
 The current frame for this update cycle, in world space. More...
 
abstract Frame CurrentFixedFrame [get]
 The current frame for this fixed update cycle, in world space. More...
 

Events

Action< FrameOnUpdateFrame
 
Action< FrameOnFixedFrame
 
Action< FrameOnPostUpdateFrame
 

Detailed Description

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.

Definition at line 21 of file LeapProvider.cs.

Member Function Documentation

◆ DispatchFixedFrameEvent()

void Leap.Unity.LeapProvider.DispatchFixedFrameEvent ( Frame  frame)
protected

Definition at line 58 of file LeapProvider.cs.

◆ DispatchUpdateFrameEvent()

void Leap.Unity.LeapProvider.DispatchUpdateFrameEvent ( Frame  frame)
protected

Definition at line 49 of file LeapProvider.cs.

Member Data Documentation

◆ editTimePose

TestHandPose Leap.Unity.LeapProvider.editTimePose = TestHandPose.HeadMountedA

Definition at line 23 of file LeapProvider.cs.

Property Documentation

◆ CurrentFixedFrame

abstract Frame Leap.Unity.LeapProvider.CurrentFixedFrame
get

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.

Definition at line 47 of file LeapProvider.cs.

◆ CurrentFrame

abstract Frame Leap.Unity.LeapProvider.CurrentFrame
get

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.

Definition at line 37 of file LeapProvider.cs.

Event Documentation

◆ OnFixedFrame

Action<Frame> Leap.Unity.LeapProvider.OnFixedFrame

Definition at line 26 of file LeapProvider.cs.

◆ OnPostUpdateFrame

Action<Frame> Leap.Unity.LeapProvider.OnPostUpdateFrame

Definition at line 27 of file LeapProvider.cs.

◆ OnUpdateFrame

Action<Frame> Leap.Unity.LeapProvider.OnUpdateFrame

Definition at line 25 of file LeapProvider.cs.


The documentation for this class was generated from the following file: