Tanoda
LeapPlayableProvider.cs
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) Ultraleap, Inc. 2011-2020. *
3
* *
4
* Use subject to the terms of the Apache License 2.0 available at *
5
* http://www.apache.org/licenses/LICENSE-2.0, or another agreement *
6
* between Ultraleap and you, your company or other organization. *
7
******************************************************************************/
8
9
using
UnityEngine
;
10
using
Leap
.
Unity
.
RuntimeGizmos
;
11
12
namespace
Leap.Unity.Recording
{
13
14
public
class
LeapPlayableProvider
:
LeapProvider
{
15
16
private
Frame
_frame;
17
18
public
override
Frame
CurrentFixedFrame
{
19
get
{
20
return
_frame;
21
}
22
}
23
24
public
override
Frame
CurrentFrame
{
25
get
{
26
return
_frame;
27
}
28
}
29
30
public
void
SetCurrentFrame
(
Frame
frame) {
31
_frame = frame;
32
DispatchUpdateFrameEvent
(frame);
33
DispatchFixedFrameEvent
(frame);
34
}
35
}
36
}
Leap.Frame
The Frame class represents a set of hand and finger tracking data detected in a single frame.
Definition:
Frame.cs:24
Leap.Unity.LeapProvider
Provides Frame object data to the Unity application by firing events as soon as Frame data is availab...
Definition:
LeapProvider.cs:21
Leap.Unity.LeapProvider.DispatchUpdateFrameEvent
void DispatchUpdateFrameEvent(Frame frame)
Definition:
LeapProvider.cs:49
Leap.Unity.LeapProvider.DispatchFixedFrameEvent
void DispatchFixedFrameEvent(Frame frame)
Definition:
LeapProvider.cs:58
Leap.Unity.Recording.LeapPlayableProvider
Definition:
LeapPlayableProvider.cs:14
Leap.Unity.Recording.LeapPlayableProvider.CurrentFrame
override Frame CurrentFrame
Definition:
LeapPlayableProvider.cs:24
Leap.Unity.Recording.LeapPlayableProvider.SetCurrentFrame
void SetCurrentFrame(Frame frame)
Definition:
LeapPlayableProvider.cs:30
Leap.Unity.Recording.LeapPlayableProvider.CurrentFixedFrame
override Frame CurrentFixedFrame
Definition:
LeapPlayableProvider.cs:18
Leap.Unity.Recording
Definition:
HierarchyPostProcessEditor.cs:15
Leap.Unity.RuntimeGizmos
Definition:
RuntimeColliderGizmos.cs:11
Leap.Unity
Definition:
AssetFolderPropertyDrawer.cs:15
Leap
Definition:
AssetFolderPropertyDrawer.cs:15
UnityEngine
Definition:
HSVPicker/UtilityScripts/BoxSlider.cs:7
Source
Assets
Plugins
LeapMotion
Experimental
HierarchyRecording
Scripts
LeapPlayable
LeapPlayableProvider.cs
Generated by
1.9.3