Tanoda
Leap.Unity.HandModelBase Class Referenceabstract
Inheritance diagram for Leap.Unity.HandModelBase:
Leap.Unity.CapsuleHand Leap.Unity.DebugHand Leap.Unity.HandModel Leap.Unity.MinimalHand Leap.Unity.PolyHand Leap.Unity.RiggedHand Leap.Unity.SkeletalHand Leap.Unity.RigidHand

Public Member Functions

virtual void InitHand ()
 
virtual void BeginHand ()
 
abstract void UpdateHand ()
 
void UpdateHandWithEvent ()
 
virtual void FinishHand ()
 
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 be opt-in by a developer making their own hand model script if they want editor persistence. More...
 

Public Attributes

HandModelManager.ModelGroup group
 

Properties

bool IsTracked [get]
 
abstract Chirality Handedness [get, set]
 
abstract ModelType HandModelType [get]
 

Events

Action OnBegin
 
Action OnFinish
 
Action OnUpdate
 Called directly after the HandModelBase's UpdateHand(). More...
 

Detailed Description

Definition at line 21 of file HandModelBase.cs.

Member Function Documentation

◆ BeginHand()

virtual void Leap.Unity.HandModelBase.BeginHand ( )
virtual

Reimplemented in Leap.Unity.CapsuleHand.

Definition at line 38 of file HandModelBase.cs.

◆ FinishHand()

virtual void Leap.Unity.HandModelBase.FinishHand ( )
virtual

Definition at line 49 of file HandModelBase.cs.

◆ GetLeapHand()

abstract Hand Leap.Unity.HandModelBase.GetLeapHand ( )
pure virtual

◆ InitHand()

virtual void Leap.Unity.HandModelBase.InitHand ( )
virtual

◆ SetLeapHand()

abstract void Leap.Unity.HandModelBase.SetLeapHand ( Hand  hand)
pure virtual

◆ SupportsEditorPersistence()

virtual bool Leap.Unity.HandModelBase.SupportsEditorPersistence ( )
virtual

Returns whether or not this hand model supports editor persistence. This is false by default and must be opt-in by a developer making their own hand model script if they want editor persistence.

Reimplemented in Leap.Unity.CapsuleHand, Leap.Unity.DebugHand, Leap.Unity.RiggedHand, Leap.Unity.RigidHand, Leap.Unity.MinimalHand, and Leap.Unity.PolyHand.

Definition at line 62 of file HandModelBase.cs.

◆ UpdateHand()

◆ UpdateHandWithEvent()

void Leap.Unity.HandModelBase.UpdateHandWithEvent ( )

Definition at line 45 of file HandModelBase.cs.

Member Data Documentation

◆ group

HandModelManager.ModelGroup Leap.Unity.HandModelBase.group

Definition at line 67 of file HandModelBase.cs.

Property Documentation

◆ Handedness

abstract Chirality Leap.Unity.HandModelBase.Handedness
getset

Definition at line 34 of file HandModelBase.cs.

◆ HandModelType

abstract ModelType Leap.Unity.HandModelBase.HandModelType
get

Definition at line 35 of file HandModelBase.cs.

◆ IsTracked

bool Leap.Unity.HandModelBase.IsTracked
get

Definition at line 30 of file HandModelBase.cs.

Event Documentation

◆ OnBegin

Action Leap.Unity.HandModelBase.OnBegin

Definition at line 23 of file HandModelBase.cs.

◆ OnFinish

Action Leap.Unity.HandModelBase.OnFinish

Definition at line 24 of file HandModelBase.cs.

◆ OnUpdate

Action Leap.Unity.HandModelBase.OnUpdate

Called directly after the HandModelBase's UpdateHand().

Definition at line 27 of file HandModelBase.cs.


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