⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    Class FpsGraphicsSettings

    Inheritance
    Object
    SettingsContextBase
    SettingsContext<FpsGraphicsSettings>
    FpsGraphicsSettings
    Inherited Members
    SettingsContext<FpsGraphicsSettings>.instance
    SettingsContext<FpsGraphicsSettings>.GetInstance(String)
    SettingsContextBase.dirty
    SettingsContextBase.GetInt(String, Int32)
    SettingsContextBase.GetFloat(String, Single)
    SettingsContextBase.GetBool(String, Boolean)
    SettingsContextBase.GetString(String, String)
    SettingsContextBase.GetColor(String, Color)
    SettingsContextBase.GetVector2(String, Vector2)
    SettingsContextBase.GetVector3(String, Vector3)
    SettingsContextBase.SetInt(String, Int32)
    SettingsContextBase.SetFloat(String, Single)
    SettingsContextBase.SetBool(String, Boolean)
    SettingsContextBase.SetString(String, String)
    SettingsContextBase.SetColor(String, Color)
    SettingsContextBase.SetVector2(String, Vector2)
    SettingsContextBase.SetVector3(String, Vector3)
    SettingsContextBase.GetIntArray(String, Int32[])
    SettingsContextBase.GetFloatArray(String, Single[])
    SettingsContextBase.GetBoolArray(String, Boolean[])
    SettingsContextBase.GetStringArray(String, String[])
    SettingsContextBase.GetColorArray(String, Color[])
    SettingsContextBase.GetVector2Array(String, Vector2[])
    SettingsContextBase.GetVector3Array(String, Vector3[])
    SettingsContextBase.SetIntArray(String, Int32[])
    SettingsContextBase.SetFloatArray(String, Single[])
    SettingsContextBase.SetBoolArray(String, Boolean[])
    SettingsContextBase.SetStringArray(String, String[])
    SettingsContextBase.SetColorArray(String, Color[])
    SettingsContextBase.SetVector2Array(String, Vector2[])
    SettingsContextBase.SetVector3Array(String, Vector3[])
    SettingsContextBase.Save()
    SettingsContextBase.OnLoad()
    SettingsContextBase.OnSave()
    SettingsContextBase.DeleteSaveFile()
    Namespace: NeoFPS
    Assembly: NeoFPS.dll
    Syntax
    public class FpsGraphicsSettings : SettingsContext<FpsGraphicsSettings>

    Fields

    frameRateCapOptions

    Declaration
    public readonly int[] frameRateCapOptions
    Field Value
    Type Description
    System.Int32[]

    Properties

    contextName

    Declaration
    protected override string contextName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    SettingsContextBase.contextName

    displayTitle

    Declaration
    public override string displayTitle { get; }
    Property Value
    Type Description
    System.String
    Overrides
    SettingsContextBase.displayTitle

    frameRateCap

    Declaration
    public int frameRateCap { get; set; }
    Property Value
    Type Description
    System.Int32

    fullscreen

    Declaration
    public bool fullscreen { get; set; }
    Property Value
    Type Description
    System.Boolean

    quality

    Declaration
    public int quality { get; set; }
    Property Value
    Type Description
    System.Int32

    resolution

    Declaration
    public Resolution resolution { get; set; }
    Property Value
    Type Description
    Resolution

    tocID

    Declaration
    public override string tocID { get; }
    Property Value
    Type Description
    System.String
    Overrides
    SettingsContextBase.tocID

    tocName

    Declaration
    public override string tocName { get; }
    Property Value
    Type Description
    System.String
    Overrides
    SettingsContextBase.tocName

    verticalFoV

    Declaration
    public float verticalFoV { get; set; }
    Property Value
    Type Description
    System.Single

    vSync

    Declaration
    public int vSync { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    ApplyResolutionChanges()

    Declaration
    public void ApplyResolutionChanges()

    CheckIfCurrent()

    Declaration
    protected override bool CheckIfCurrent()
    Returns
    Type Description
    System.Boolean
    Overrides
    SettingsContextBase.CheckIfCurrent()

    Load()

    Declaration
    public override void Load()
    Overrides
    SettingsContextBase.Load()

    ResetQuality()

    Declaration
    public void ResetQuality()

    Events

    onResolutionChanged

    Declaration
    public event UnityAction onResolutionChanged
    Event Type
    Type Description
    UnityAction

    onVerticalFoVChanged

    Declaration
    public event UnityAction<float> onVerticalFoVChanged
    Event Type
    Type Description
    UnityAction<System.Single>
    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX