Package gaiasky.vr.openvr
Enum Class VRContext.VRDeviceType
- All Implemented Interfaces:
Serializable
,Comparable<VRContext.VRDeviceType>
,Constable
- Enclosing class:
- VRContext
Type of a
VRContext.VRDevice
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptiona camera/base station tracking the HMD and/or controllersa controller like Oculus touch or HTC Vice controllerAccessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devicesa generic VR tracking devicethe head mounted display -
Method Summary
Modifier and TypeMethodDescriptionstatic VRContext.VRDeviceType
Returns the enum constant of this class with the specified name.static VRContext.VRDeviceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HeadMountedDisplay
the head mounted display -
Controller
a controller like Oculus touch or HTC Vice controller -
BaseStation
a camera/base station tracking the HMD and/or controllers -
Generic
a generic VR tracking device -
DisplayRedirect
Accessories that aren't necessarily tracked themselves, but may redirect video output from other tracked devices
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-