GvrSettings

Summary

Public types

UserPrefsHandedness enum
ViewerPlatformType enum

Public attributes

VR_SDK_CARDBOARD = "cardboard"
const string
Name of Cardboard GVR SDK, as returned by VRSettings.loadedDeviceName and supportedDevices.
VR_SDK_DAYDREAM = "daydream"
const string
Name of Daydream GVR SDK, as returned by VRSettings.loadedDeviceName.
VR_SDK_NONE = "None"
const string
Name of 'None' VR SDK, as returned by VRSettings.loadedDeviceName.

Properties

Handedness
static UserPrefsHandedness
SustainedPerformanceMode
static bool
ViewerPlatform
static ViewerPlatformType

Public static functions

GetValidGvrNativePtrOrLogError()
IntPtr
Wraps call to VRDevice.GetNativePtr() and logs error if a supported GVR SDK is not active or if the returned native pointer is IntPtr.Zero.

Public types

UserPrefsHandedness

 UserPrefsHandedness

ViewerPlatformType

 ViewerPlatformType

Public attributes

VR_SDK_CARDBOARD

const string VR_SDK_CARDBOARD = "cardboard"

Name of Cardboard GVR SDK, as returned by VRSettings.loadedDeviceName and supportedDevices.

VR_SDK_DAYDREAM

const string VR_SDK_DAYDREAM = "daydream"

Name of Daydream GVR SDK, as returned by VRSettings.loadedDeviceName.

VR_SDK_NONE

const string VR_SDK_NONE = "None"

Name of 'None' VR SDK, as returned by VRSettings.loadedDeviceName.

Properties

Handedness

static UserPrefsHandedness Handedness

SustainedPerformanceMode

static bool SustainedPerformanceMode

ViewerPlatform

static ViewerPlatformType ViewerPlatform

Public static functions

GetValidGvrNativePtrOrLogError

IntPtr GetValidGvrNativePtrOrLogError()

Wraps call to VRDevice.GetNativePtr() and logs error if a supported GVR SDK is not active or if the returned native pointer is IntPtr.Zero.