29 private bool isTracked =
false;
31 get {
return isTracked; }
75 if (transform.parent !=
null) {
77 if (manager !=
null) {
78 provider = manager.leapProvider;
83 if (provider ==
null) {
84 provider = Hands.Provider;
89 if (provider !=
null) {
99 hand = TestHandFactory.MakeTestHand(
Handedness ==
Chirality.Left, unitType: TestHandFactory.UnitType.LeapUnits);
100 hand.Transform(transform.GetLeapMatrix());
The Hand class reports the physical characteristics of a detected hand.
virtual void FinishHand()
abstract ModelType HandModelType
HandModelManager.ModelGroup group
Action OnUpdate
Called directly after the HandModelBase's UpdateHand().
void UpdateHandWithEvent()
abstract Chirality Handedness
abstract Hand GetLeapHand()
abstract void SetLeapHand(Hand hand)
virtual bool SupportsEditorPersistence()
Returns whether or not this hand model supports editor persistence. This is false by default and must...
abstract void UpdateHand()
The HandModelManager manages a pool of HandModelBases and makes HandRepresentations when a it detects...
Provides Frame object data to the Unity application by firing events as soon as Frame data is availab...
abstract Frame CurrentFrame
The current frame for this update cycle, in world space.