Handles the visualization of the wrist width and position. More...
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... | |
Handles the visualization of the wrist width and position.
|
inlineprivate |
|
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)
|
inlineprivate |
If left or right point is not set from inspector, it will find the LeftWristSphere and RightWristSphere game objects.
|
private |
The distance between the two wrist points.
|
private |
The left wrist point gameobject.
|
private |
The right wrist point gameobject.
|
private |
Wrist info, gets the information from ManoMotionManager.
|
private |
|
get |
The getter for the left wrist position.
|
get |
The getter for the right wrist postion.
|
get |
The getter for the distance between the 2 Vector3 positions.