C# Class Valve.VR.SteamVR

Inheritance: System.IDisposable
Exibir arquivo Open project: sabrinasukhin/Enter-the-Arena Class Usage Examples

Public Properties

Property Type Description
connected bool[]
textureType ETextureType

Public Methods

Method Description
Dispose ( ) : void
GenerateAppKey ( ) : string
GetFloatProperty ( ETrackedDeviceProperty prop, uint deviceId = OpenVR.k_unTrackedDeviceIndex_Hmd ) : float
GetResourcesFolderPath ( bool fromAssetsDirectory = false ) : string
GetStringProperty ( ETrackedDeviceProperty prop, uint deviceId = OpenVR.k_unTrackedDeviceIndex_Hmd ) : string
GetTrackedDeviceString ( uint deviceId ) : string
Initialize ( bool forceUnityVRMode = false ) : void
SafeDispose ( ) : void
ShowBindingsForEditor ( ) : void

Private Methods

Method Description
CreateInstance ( ) : SteamVR
Dispose ( bool disposing ) : void
GetManifestFile ( ) : string
IdentifyApplication ( ) : void
OnCalibrating ( bool calibrating ) : void
OnDeviceConnected ( int i, bool connected ) : void
OnInitializing ( bool initializing ) : void
OnNewPoses ( Array poses ) : void
OnOutOfRange ( bool outOfRange ) : void
ReportError ( EVRInitError error ) : void
SteamVR ( ) : UnityEngine

Method Details

Dispose() public method

public Dispose ( ) : void
return void

GenerateAppKey() public static method

public static GenerateAppKey ( ) : string
return string

GetFloatProperty() public method

public GetFloatProperty ( ETrackedDeviceProperty prop, uint deviceId = OpenVR.k_unTrackedDeviceIndex_Hmd ) : float
prop ETrackedDeviceProperty
deviceId uint
return float

GetResourcesFolderPath() public static method

public static GetResourcesFolderPath ( bool fromAssetsDirectory = false ) : string
fromAssetsDirectory bool
return string

GetStringProperty() public method

public GetStringProperty ( ETrackedDeviceProperty prop, uint deviceId = OpenVR.k_unTrackedDeviceIndex_Hmd ) : string
prop ETrackedDeviceProperty
deviceId uint
return string

GetTrackedDeviceString() public method

public GetTrackedDeviceString ( uint deviceId ) : string
deviceId uint
return string

Initialize() public static method

public static Initialize ( bool forceUnityVRMode = false ) : void
forceUnityVRMode bool
return void

SafeDispose() public static method

public static SafeDispose ( ) : void
return void

ShowBindingsForEditor() public static method

public static ShowBindingsForEditor ( ) : void
return void

Property Details

connected static_oe public_oe property

static public bool[] connected
return bool[]

textureType public_oe property

public ETextureType textureType
return ETextureType