public class VRConstants
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SETTING_DEFAULT_ASPECT_RATIO
An AppSettings parameter that set the default aspect ratio.
|
static java.lang.String |
SETTING_DEFAULT_FOV
An AppSettings parameter that set the default field of view (FOV) value.
|
static java.lang.String |
SETTING_DISABLE_MSAA
An AppSettings parameter that set if Multi Sample Anti Aliasing has to be enabled.
|
static java.lang.String |
SETTING_DISABLE_VR
An AppSettings parameter that set if the VR rendering has to be disabled,
regardless VR API and devices are presents.
|
static java.lang.String |
SETTING_ENABLE_MIRROR_WINDOW
An AppSettings parameter that set if a mirror rendering has to be displayed on the screen.
|
static java.lang.String |
SETTING_FLIP_EYES
An AppSettings parameter that set to invert the eyes of the HMD.
|
static java.lang.String |
SETTING_GUI_CURVED_SURFACE
An AppSettings parameter that set if the GUI surface has to be curved.
|
static java.lang.String |
SETTING_GUI_OVERDRAW
An AppSettings parameter that set if the GUI has to be displayed even if it is behind objects.
|
static java.lang.String |
SETTING_INSTANCE_RENDERING
An AppSettings parameter that set if instance rendering has to be used.
|
static java.lang.String |
SETTING_NO_GUI
An AppSettings parameter that set if the GUI has to be ignored.
|
static java.lang.String |
SETTING_SEATED_EXPERIENCE
An AppSettings parameter that set if the VR user is seated.
|
static java.lang.String |
SETTING_USE_COMPOSITOR
An AppSettings parameter that set if the VR compositor has to be used.
|
static java.lang.String |
SETTING_VR_FORCE
An AppSettings parameter that set if the rendering has to use two eyes,
regardless of VR API detection (turning this setting on without a VR system should lead to errors).
|
static java.lang.String |
SETTING_VRAPI
An AppSettings parameter that specifies the underlying VR API.
|
static int |
SETTING_VRAPI_OCULUSVR_VALUE
Deprecated.
|
static int |
SETTING_VRAPI_OPENVR_LWJGL_VALUE
The identifier of the OpenVR from LWJGL system.
|
static int |
SETTING_VRAPI_OPENVR_VALUE
Deprecated.
|
static int |
SETTING_VRAPI_OSVR_VALUE
Deprecated.
|
public static final java.lang.String SETTING_USE_COMPOSITOR
Type: boolean
Usage: appSettings
.put
(VRConstants.SETTING_USE_COMPOSITOR, value)
public static final java.lang.String SETTING_VR_FORCE
Type: boolean
Usage: appSettings
.put
(VRConstants.SETTING_VR_FORCE, value)
public static final java.lang.String SETTING_FLIP_EYES
boolean
appSettings
.put
(VRConstants.SETTING_FLIP_EYES, value)
public static final java.lang.String SETTING_GUI_OVERDRAW
boolean
appSettings
.put
(VRConstants.SETTING_GUI_OVERDRAW, value)
public static final java.lang.String SETTING_GUI_CURVED_SURFACE
boolean
appSettings
.put
(VRConstants.SETTING_GUI_CURVED_SURFACE, value)
public static final java.lang.String SETTING_ENABLE_MIRROR_WINDOW
false
.
Type: boolean
appSettings
.put
(VRConstants.SETTING_ENABLE_MIRROR_WINDOW, value)
public static final java.lang.String SETTING_DISABLE_VR
boolean
appSettings
.put
(VRConstants.SETTING_DISABLE_VR, value)
public static final java.lang.String SETTING_SEATED_EXPERIENCE
boolean
appSettings
.put
(VRConstants.SETTING_SEATED_EXPERIENCE, value)
public static final java.lang.String SETTING_NO_GUI
boolean
appSettings
.put
(VRConstants.SETTING_NO_GUI, value)
public static final java.lang.String SETTING_INSTANCE_RENDERING
boolean
appSettings
.put
(VRConstants.SETTING_INSTANCE_RENDERING, value)
public static final java.lang.String SETTING_DISABLE_MSAA
boolean
appSettings
.put
(VRConstants.SETTING_DISABLE_MSAA, value)
public static final java.lang.String SETTING_DEFAULT_FOV
float
appSettings
.put
(VRConstants.SETTING_DEFAULT_FOV, value)
public static final java.lang.String SETTING_DEFAULT_ASPECT_RATIO
float
appSettings
.put
(VRConstants.SETTING_DEFAULT_ASPECT_RATIO, value)
public static final java.lang.String SETTING_VRAPI
SETTING_VRAPI_OPENVR_VALUE
: Use OpenVR binding.
SETTING_VRAPI_OSVR_VALUE
: Use OSVR binding.
SETTING_VRAPI_OPENVR_LWJGL_VALUE
: Use OpenVR binding from LWJGL.
SETTING_VRAPI_OCULUSVR_VALUE
: Use Oculus Rift binding binding.
int
appSettings
.put
(VRConstants.SETTING_VRAPI, value)
@Deprecated public static final int SETTING_VRAPI_OPENVR_VALUE
@Deprecated public static final int SETTING_VRAPI_OSVR_VALUE
public static final int SETTING_VRAPI_OPENVR_LWJGL_VALUE
@Deprecated public static final int SETTING_VRAPI_OCULUSVR_VALUE