Class CVRSettings
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.OpenVR.Headers
Assembly: cs.temp.dll.dll
Syntax
public class CVRSettings
Methods
GetBool(String, String, ref EVRSettingsError)
Declaration
public bool GetBool(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
EVRSettingsError | peError |
Returns
Type | Description |
---|---|
Boolean |
GetFloat(String, String, ref EVRSettingsError)
Declaration
public float GetFloat(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
EVRSettingsError | peError |
Returns
Type | Description |
---|---|
Single |
GetInt32(String, String, ref EVRSettingsError)
Declaration
public int GetInt32(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
EVRSettingsError | peError |
Returns
Type | Description |
---|---|
Int32 |
GetSettingsErrorNameFromEnum(EVRSettingsError)
Declaration
public string GetSettingsErrorNameFromEnum(EVRSettingsError eError)
Parameters
Type | Name | Description |
---|---|---|
EVRSettingsError | eError |
Returns
Type | Description |
---|---|
String |
GetString(String, String, StringBuilder, UInt32, ref EVRSettingsError)
Declaration
public void GetString(string pchSection, string pchSettingsKey, StringBuilder pchValue, uint unValueLen, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
StringBuilder | pchValue | |
UInt32 | unValueLen | |
EVRSettingsError | peError |
RemoveKeyInSection(String, String, ref EVRSettingsError)
Declaration
public void RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
EVRSettingsError | peError |
RemoveSection(String, ref EVRSettingsError)
Declaration
public void RemoveSection(string pchSection, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
EVRSettingsError | peError |
SetBool(String, String, Boolean, ref EVRSettingsError)
Declaration
public void SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
Boolean | bValue | |
EVRSettingsError | peError |
SetFloat(String, String, Single, ref EVRSettingsError)
Declaration
public void SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
Single | flValue | |
EVRSettingsError | peError |
SetInt32(String, String, Int32, ref EVRSettingsError)
Declaration
public void SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
Int32 | nValue | |
EVRSettingsError | peError |
SetString(String, String, String, ref EVRSettingsError)
Declaration
public void SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
String | pchSection | |
String | pchSettingsKey | |
String | pchValue | |
EVRSettingsError | peError |
Sync(Boolean, ref EVRSettingsError)
Declaration
public bool Sync(bool bForce, ref EVRSettingsError peError)
Parameters
Type | Name | Description |
---|---|---|
Boolean | bForce | |
EVRSettingsError | peError |
Returns
Type | Description |
---|---|
Boolean |