|
enum | Role { LeftHand
, RightHand
} |
|
enum | ViveControllerButton : ulong {
System = 1ul << (int)EVRButtonId.k_EButton_System
, ApplicationMenu = 1ul << (int)EVRButtonId.k_EButton_ApplicationMenu
, Grip = 1ul << (int)EVRButtonId.k_EButton_Grip
, Axis0 = 1ul << (int)EVRButtonId.k_EButton_Axis0
,
Axis1 = 1ul << (int)EVRButtonId.k_EButton_Axis1
, Axis2 = 1ul << (int)EVRButtonId.k_EButton_Axis2
, Axis3 = 1ul << (int)EVRButtonId.k_EButton_Axis3
, Axis4 = 1ul << (int)EVRButtonId.k_EButton_Axis4
,
Touchpad = 1ul << (int)EVRButtonId.k_EButton_SteamVR_Touchpad
, Trigger = 1ul << (int)EVRButtonId.k_EButton_SteamVR_Trigger
} |
|
Definition at line 11 of file ViveController.cs.
◆ Role
◆ ViveControllerButton
Enumerator |
---|
System | |
ApplicationMenu | |
Grip | |
Axis0 | |
Axis1 | |
Axis2 | |
Axis3 | |
Axis4 | |
Touchpad | |
Trigger | |
Definition at line 285 of file ViveController.cs.
◆ GetInputAxis0()
Vector2 Spelunx.Vive.ViveController.GetInputAxis0 |
( |
| ) |
|
|
inline |
◆ GetInputAxis4()
Vector2 Spelunx.Vive.ViveController.GetInputAxis4 |
( |
| ) |
|
|
inline |
◆ GetJoystickAxis()
Vector2 Spelunx.Vive.ViveController.GetJoystickAxis |
( |
| ) |
|
|
inline |
◆ GetReadableRoleName()
static string Spelunx.Vive.ViveController.GetReadableRoleName |
( |
Role |
r | ) |
|
|
inlinestatic |
◆ GetTrackpadAxis()
Vector2 Spelunx.Vive.ViveController.GetTrackpadAxis |
( |
| ) |
|
|
inline |
◆ GetTriggerAxis()
Vector2 Spelunx.Vive.ViveController.GetTriggerAxis |
( |
| ) |
|
|
inline |
◆ SetOrigin()
void Spelunx.Vive.ViveController.SetOrigin |
( |
Transform |
t | ) |
|
|
inline |
◆ TriggerHapticPulse()
void Spelunx.Vive.ViveController.TriggerHapticPulse |
( |
ushort |
durationMicroSec = 500 , |
|
|
EVRButtonId |
buttonId = EVRButtonId::k_EButton_SteamVR_Touchpad |
|
) |
| |
|
inline |
◆ onButtonHeld
◆ onButtonPressed
◆ onButtonReleased
◆ onButtonTouchHeld
◆ onButtonTouchPressed
◆ onButtonTouchReleased
◆ role
Role Spelunx.Vive.ViveController.role |
The documentation for this class was generated from the following file:
- CavernSDK/Packages/com.spelunx.cavern.vive-trackers/Runtime/Scripts/ViveController.cs