Spelunx Cavern SDK
 
Loading...
Searching...
No Matches
Spelunx.Vive.ViveTracker Class Reference
Inheritance diagram for Spelunx.Vive.ViveTracker:
Inheritance graph
Collaboration diagram for Spelunx.Vive.ViveTracker:
Collaboration graph

Public Types

enum  SteamVRPoseBindings {
  TrackerRole_None , AnyHand , LeftHand , RightHand ,
  TrackerRole_LeftFoot , TrackerRole_RightFoot , TrackerRole_LeftShoulder , TrackerRole_RightShoulder ,
  TrackerRole_LeftElbow , TrackerRole_RightElbow , TrackerRole_LeftKnee , TrackerRole_RightKnee ,
  TrackerRole_LeftWrist , TrackerRole_RightWrist , TrackerRole_LeftAnkle , TrackerRole_RightAnkle ,
  TrackerRole_Waist , TrackerRole_Chest , TrackerRole_Camera , TrackerRole_Keyboard
}
 

Public Member Functions

void Calibrate ()
 
void SetOrigin (Transform t)
 

Static Public Member Functions

static string TrackerRoleToBindingName (SteamVRPoseBindings binding)
 
static string GetReadableName (SteamVRPoseBindings binding)
 

Public Attributes

SteamVRPoseBindings binding
 
- Public Attributes inherited from Spelunx.Vive.OVRT_TrackedDevice
Transform origin
 
UnityEvent< int > onDeviceIndexChanged
 

Additional Inherited Members

- Protected Attributes inherited from Spelunx.Vive.OVRT_TrackedDevice
UnityAction< int, bool > _onDeviceConnectedAction
 
- Properties inherited from Spelunx.Vive.OVRT_TrackedDevice
int DeviceIndex = -1 [get, protected set]
 
bool IsValid [get, protected set]
 
bool IsConnected [get, protected set]
 

Detailed Description

Definition at line 8 of file ViveTracker.cs.

Member Enumeration Documentation

◆ SteamVRPoseBindings

Enumerator
TrackerRole_None 
AnyHand 
LeftHand 
RightHand 
TrackerRole_LeftFoot 
TrackerRole_RightFoot 
TrackerRole_LeftShoulder 
TrackerRole_RightShoulder 
TrackerRole_LeftElbow 
TrackerRole_RightElbow 
TrackerRole_LeftKnee 
TrackerRole_RightKnee 
TrackerRole_LeftWrist 
TrackerRole_RightWrist 
TrackerRole_LeftAnkle 
TrackerRole_RightAnkle 
TrackerRole_Waist 
TrackerRole_Chest 
TrackerRole_Camera 
TrackerRole_Keyboard 

Definition at line 13 of file ViveTracker.cs.

Member Function Documentation

◆ Calibrate()

void Spelunx.Vive.ViveTracker.Calibrate ( )
inline

Definition at line 167 of file ViveTracker.cs.

◆ GetReadableName()

static string Spelunx.Vive.ViveTracker.GetReadableName ( SteamVRPoseBindings  binding)
inlinestatic

Definition at line 87 of file ViveTracker.cs.

◆ SetOrigin()

void Spelunx.Vive.ViveTracker.SetOrigin ( Transform  t)
inline

Definition at line 207 of file ViveTracker.cs.

◆ TrackerRoleToBindingName()

static string Spelunx.Vive.ViveTracker.TrackerRoleToBindingName ( SteamVRPoseBindings  binding)
inlinestatic

Definition at line 70 of file ViveTracker.cs.

Member Data Documentation

◆ binding

SteamVRPoseBindings Spelunx.Vive.ViveTracker.binding

Definition at line 58 of file ViveTracker.cs.


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