UxrControllerElements Enumeration
Enumerates all possible elements that can be interacted with in a VR controller. Each controller can describe which elements are supported through HasControllerElements(UxrHandSide, UxrControllerElements).
Namespace: UltimateXR.Devices
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
[FlagsAttribute]
public enum UxrControllerElements
Members
Member name | Value | Description | |
---|---|---|---|
None | 0 | ||
Joystick | 1 | ||
Joystick2 | 2 | ||
DPad | 4 | ||
Trigger | 8 | ||
Trigger2 | 16 | ||
Grip | 32 | ||
ThumbCapSense | 64 | ||
IndexCapSense | 128 | ||
MiddleCapSense | 256 | ||
RingCapSense | 512 | ||
LittleCapSense | 1024 | ||
Button1 | 2048 | ||
Button2 | 4096 | ||
Button3 | 8192 | ||
Button4 | 16384 | ||
Bumper | 32768 | ||
Bumper2 | 65536 | ||
Back | 131072 | ||
Menu | 262144 | ||
Everything | -1 |