ManoMotion SDK PRO  1.4.8
ManoMotion SDK PRO API documentation
WristInfoGizmo Class Reference

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

Inheritance diagram for WristInfoGizmo:

Public Member Functions

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

Properties

float WidthBetweenWristPoints [get]
 The getter for the distance between the 2 Vector3 positions. More...
 
Vector3 LeftWristPoint3DPosition [get]
 The getter for the left wrist position. More...
 
Vector3 RightWristPoint3DPosition [get]
 The getter for the right wrist postion. More...
 

Private Member Functions

void Start ()
 If left or right point is not set from inspector, it will find the LeftWristSphere and RightWristSphere game objects. More...
 
void ActivateWristGizmos (bool status)
 

Private Attributes

WristInfo wristInfo
 Wrist info, gets the information from ManoMotionManager. More...
 
float _widthBetweenWristPoints
 The distance between the two wrist points. More...
 
GameObject wristInformationPrefab
 
GameObject leftWrist3D
 The left wrist point gameobject. More...
 
GameObject rightWrist3D
 The right wrist point gameobject. More...
 

Detailed Description

Handles the visualization of the wrist width and position.

Member Function Documentation

◆ ActivateWristGizmos()

void WristInfoGizmo.ActivateWristGizmos ( bool  status)
inlineprivate

◆ ShowWristInformation()

void WristInfoGizmo.ShowWristInformation ( )
inline

If SDK should run wrist information ShowWristInformation 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)

◆ Start()

void WristInfoGizmo.Start ( )
inlineprivate

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

Field Documentation

◆ _widthBetweenWristPoints

float WristInfoGizmo._widthBetweenWristPoints
private

The distance between the two wrist points.

◆ leftWrist3D

GameObject WristInfoGizmo.leftWrist3D
private

The left wrist point gameobject.

◆ rightWrist3D

GameObject WristInfoGizmo.rightWrist3D
private

The right wrist point gameobject.

◆ wristInfo

WristInfo WristInfoGizmo.wristInfo
private

Wrist info, gets the information from ManoMotionManager.

◆ wristInformationPrefab

GameObject WristInfoGizmo.wristInformationPrefab
private

Property Documentation

◆ LeftWristPoint3DPosition

Vector3 WristInfoGizmo.LeftWristPoint3DPosition
get

The getter for the left wrist position.

◆ RightWristPoint3DPosition

Vector3 WristInfoGizmo.RightWristPoint3DPosition
get

The getter for the right wrist postion.

◆ WidthBetweenWristPoints

float WristInfoGizmo.WidthBetweenWristPoints
get

The getter for the distance between the 2 Vector3 positions.


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