Tanoda
|
Public Member Functions | |
HandRepresentation (HandModelManager parent, Hand hand, Chirality repChirality, ModelType repType) | |
void | Finish () |
void | AddModel (HandModelBase model) |
void | RemoveModel (HandModelBase model) |
void | UpdateRepresentation (Hand hand) |
Public Attributes | |
List< HandModelBase > | handModels |
Properties | |
int | HandID [get] |
int | LastUpdatedTime [get, set] |
bool | IsMarked [get, set] |
Chirality | RepChirality [get, protected set] |
ModelType | RepType [get, protected set] |
Hand | MostRecentHand [get, protected set] |
HandRepresentation is a container class that facillitates the HandModelBase lifecycle
parent | The HandPool which creates HandRepresentations |
handModel | the HandModelBase to be paired with Leap Hand data. |
hand | The Leap Hand data to paired with a HandModelBase |
Definition at line 18 of file HandRepresentation.cs.
Leap.Unity.HandRepresentation.HandRepresentation | ( | HandModelManager | parent, |
Hand | hand, | ||
Chirality | repChirality, | ||
ModelType | repType | ||
) |
Definition at line 28 of file HandRepresentation.cs.
void Leap.Unity.HandRepresentation.AddModel | ( | HandModelBase | model | ) |
Definition at line 48 of file HandRepresentation.cs.
void Leap.Unity.HandRepresentation.Finish | ( | ) |
To be called if the HandRepresentation no longer has a Leap Hand.
Definition at line 37 of file HandRepresentation.cs.
void Leap.Unity.HandRepresentation.RemoveModel | ( | HandModelBase | model | ) |
Definition at line 65 of file HandRepresentation.cs.
void Leap.Unity.HandRepresentation.UpdateRepresentation | ( | Hand | hand | ) |
Calls Updates in HandModelBases that are part of this HandRepresentation
Definition at line 73 of file HandRepresentation.cs.
List<HandModelBase> Leap.Unity.HandRepresentation.handModels |
Definition at line 26 of file HandRepresentation.cs.
|
get |
Definition at line 20 of file HandRepresentation.cs.
|
getset |
Definition at line 22 of file HandRepresentation.cs.
|
getset |
Definition at line 21 of file HandRepresentation.cs.
|
getprotected set |
Definition at line 25 of file HandRepresentation.cs.
|
getprotected set |
Definition at line 23 of file HandRepresentation.cs.
|
getprotected set |
Definition at line 24 of file HandRepresentation.cs.