Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    CVRSettings Class

    Namespace: Valve.VR
    Assembly: Stride.VirtualReality.dll
    System.Object → CVRSettings
    Derived from CVRSettings:

    public class CVRSettings
    Name Description
    Methods
    GetBool(String, String, ref EVRSettingsError)
    GetFloat(String, String, ref EVRSettingsError)
    GetInt32(String, String, ref EVRSettingsError)
    GetSettingsErrorNameFromEnum(EVRSettingsError)
    GetString(String, String, StringBuilder, UInt32, ref EVRSettingsError)
    RemoveKeyInSection(String, String, ref EVRSettingsError)
    RemoveSection(String, ref EVRSettingsError)
    SetBool(String, String, Boolean, ref EVRSettingsError)
    SetFloat(String, String, Single, ref EVRSettingsError)
    SetInt32(String, String, Int32, ref EVRSettingsError)
    SetString(String, String, String, ref EVRSettingsError)
    | Improve this Doc View Source

    Methods


    GetBool(String, String, ref EVRSettingsError)

    public bool GetBool(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Boolean

    GetFloat(String, String, ref EVRSettingsError)

    public float GetFloat(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Single

    GetInt32(String, String, ref EVRSettingsError)

    public int GetInt32(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError
    Returns
    Type Description
    System.Int32

    GetSettingsErrorNameFromEnum(EVRSettingsError)

    public string GetSettingsErrorNameFromEnum(EVRSettingsError eError)
    Parameters
    Type Name Description
    EVRSettingsError eError
    Returns
    Type Description
    System.String

    GetString(String, String, StringBuilder, UInt32, ref EVRSettingsError)

    public void GetString(string pchSection, string pchSettingsKey, StringBuilder pchValue, uint unValueLen, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Text.StringBuilder pchValue
    System.UInt32 unValueLen
    EVRSettingsError peError

    RemoveKeyInSection(String, String, ref EVRSettingsError)

    public void RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    EVRSettingsError peError

    RemoveSection(String, ref EVRSettingsError)

    public void RemoveSection(string pchSection, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    EVRSettingsError peError

    SetBool(String, String, Boolean, ref EVRSettingsError)

    public void SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Boolean bValue
    EVRSettingsError peError

    SetFloat(String, String, Single, ref EVRSettingsError)

    public void SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Single flValue
    EVRSettingsError peError

    SetInt32(String, String, Int32, ref EVRSettingsError)

    public void SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.Int32 nValue
    EVRSettingsError peError

    SetString(String, String, String, ref EVRSettingsError)

    public void SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError)
    Parameters
    Type Name Description
    System.String pchSection
    System.String pchSettingsKey
    System.String pchValue
    EVRSettingsError peError

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation