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
9using UnityEngine;
11
12namespace Leap.Unity.Recording {
13
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;
34 }
35 }
36}
The Frame class represents a set of hand and finger tracking data detected in a single frame.
Definition: Frame.cs:24
Provides Frame object data to the Unity application by firing events as soon as Frame data is availab...
Definition: LeapProvider.cs:21
void DispatchUpdateFrameEvent(Frame frame)
Definition: LeapProvider.cs:49
void DispatchFixedFrameEvent(Frame frame)
Definition: LeapProvider.cs:58