Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    GameSettings Class

    Namespace: Stride.Engine.Design
    Assembly: Stride.Engine.dll

    Stores some default parameters for the game.

    System.Object → GameSettings
    Derived from GameSettings:

    [DataContract("GameSettings")]
    [ContentSerializer(typeof(DataContentSerializer<GameSettings>))]
    public sealed class GameSettings
    Name Description
    Constructors
    GameSettings()
    Fields
    AssetUrl
    Properties
    CompilationMode

    Gets or sets the compilation mode used.

    Configurations

    Gets or sets configuration for the actual running platform as compiled during build

    DefaultGraphicsCompositorUrl
    DefaultSceneUrl
    DoubleViewSplashScreen
    EffectCompilation

    Gets or sets a value indicating whether effect compile should be allowed, and if yes, should it be done locally (if possible) or remotely?

    PackageName
    RecordUsedEffects

    Gets or sets a value indicating whether effect compile (local or remote) should be recorded and sent to effect compile server for GameStudio notification.

    SplashScreenColor
    SplashScreenUrl
    | Improve this Doc View Source

    Constructors


    GameSettings()

    public GameSettings()
    | Improve this Doc View Source

    Fields


    AssetUrl

    public const string AssetUrl = "GameSettings"
    Field Value
    Type Description
    System.String
    | Improve this Doc View Source

    Properties


    CompilationMode

    Gets or sets the compilation mode used.

    public CompilationMode CompilationMode { get; set; }
    Property Value
    Type Description
    CompilationMode

    Configurations

    Gets or sets configuration for the actual running platform as compiled during build

    public PlatformConfigurations Configurations { get; set; }
    Property Value
    Type Description
    PlatformConfigurations

    DefaultGraphicsCompositorUrl

    public string DefaultGraphicsCompositorUrl { get; set; }
    Property Value
    Type Description
    System.String

    DefaultSceneUrl

    public string DefaultSceneUrl { get; set; }
    Property Value
    Type Description
    System.String

    DoubleViewSplashScreen

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

    EffectCompilation

    Gets or sets a value indicating whether effect compile should be allowed, and if yes, should it be done locally (if possible) or remotely?

    public EffectCompilationMode EffectCompilation { get; set; }
    Property Value
    Type Description
    EffectCompilationMode

    PackageName

    public string PackageName { get; set; }
    Property Value
    Type Description
    System.String

    RecordUsedEffects

    Gets or sets a value indicating whether effect compile (local or remote) should be recorded and sent to effect compile server for GameStudio notification.

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

    SplashScreenColor

    public Color4 SplashScreenColor { get; set; }
    Property Value
    Type Description
    Color4

    SplashScreenUrl

    public string SplashScreenUrl { get; set; }
    Property Value
    Type Description
    System.String

    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