ManoMotion SDK PRO  1.4.4.1
ManoMotion SDK PRO API documentation
FingerInfoGizmo Class Reference

Handles the visualization of the finger width and position. More...

Inheritance diagram for FingerInfoGizmo:

Public Member Functions

void ShowFingerInformation ()
 If SDK should run finger information ShowFingerInformation will calculate the normalized values to fit the hands position. More...
 

Properties

float WidthBetweenFingerPoints [get]
 The getter for the width between the finger points. More...
 
Vector3 LeftFingerPoint3DPosition [get]
 The getter for the left finger point. More...
 
Vector3 RightFingerPoint3DPosition [get]
 The getter for the right finger point. More...
 

Private Member Functions

void Awake ()
 If left or right point is not set from inspector, it will find the LeftFingerSphere and RightFingerSphere game objects. More...
 
void ActivateFingerGizmos (bool status)
 

Private Attributes

FingerInfo fingerInfo
 Finger info, gets the information from ManoMotionManager. More...
 
float _widthBetweenFingerPoints
 The distance between the two finger points. More...
 
GameObject fingerInforamtionPrefab
 
GameObject leftFingerPoint3D
 The left finger point gameobject. More...
 
GameObject rightFingerPoint3D
 The right finger point gameobject. More...
 

Detailed Description

Handles the visualization of the finger width and position.

Member Function Documentation

◆ ActivateFingerGizmos()

void FingerInfoGizmo.ActivateFingerGizmos ( bool  status)
inlineprivate

◆ Awake()

void FingerInfoGizmo.Awake ( )
inlineprivate

If left or right point is not set from inspector, it will find the LeftFingerSphere and RightFingerSphere game objects.

◆ ShowFingerInformation()

void FingerInfoGizmo.ShowFingerInformation ( )
inline

If SDK should run finger information ShowFingerInformation will calculate the normalized values to fit the hands position.

if no hand is detected the left and right sphere will be set to position (-1,-1,-1)

Field Documentation

◆ _widthBetweenFingerPoints

float FingerInfoGizmo._widthBetweenFingerPoints
private

The distance between the two finger points.

◆ fingerInfo

FingerInfo FingerInfoGizmo.fingerInfo
private

Finger info, gets the information from ManoMotionManager.

◆ fingerInforamtionPrefab

GameObject FingerInfoGizmo.fingerInforamtionPrefab
private

◆ leftFingerPoint3D

GameObject FingerInfoGizmo.leftFingerPoint3D
private

The left finger point gameobject.

◆ rightFingerPoint3D

GameObject FingerInfoGizmo.rightFingerPoint3D
private

The right finger point gameobject.

Property Documentation

◆ LeftFingerPoint3DPosition

Vector3 FingerInfoGizmo.LeftFingerPoint3DPosition
get

The getter for the left finger point.

◆ RightFingerPoint3DPosition

Vector3 FingerInfoGizmo.RightFingerPoint3DPosition
get

The getter for the right finger point.

◆ WidthBetweenFingerPoints

float FingerInfoGizmo.WidthBetweenFingerPoints
get

The getter for the width between the finger points.


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