Search Results for

    Show / Hide Table of Contents

    Class Globals

    Global engine variables container.

    Inheritance
    System.Object
    Globals
    Namespace: FlaxEngine
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [DebugCommand]
    [Unmanaged]
    public static class Globals : Object

    Properties

    BinariesFolder

    The game executable files location.

    Declaration
    [Unmanaged]
    public static string BinariesFolder { get; }
    Property Value
    System.String

    CompanyName

    The company name (short name used for app data directory).

    Declaration
    [Unmanaged]
    public static string CompanyName { get; }
    Property Value
    System.String

    EngineBuildNumber

    The engine build version.

    Declaration
    [Unmanaged]
    public static int EngineBuildNumber { get; }
    Property Value
    System.Int32

    EngineContentFolder

    Engine content directory path (editor-only).

    Declaration
    [Unmanaged]
    public static string EngineContentFolder { get; }
    Property Value
    System.String

    EngineVersion

    The full engine version.

    Declaration
    [Unmanaged]
    public static string EngineVersion { get; }
    Property Value
    System.String

    FatalErrorOccurred

    Flags set to true if fatal error occurred (engine is exiting). [Deprecated in v1.10]

    Declaration
    [Unmanaged]
    public static bool FatalErrorOccurred { get; }
    Property Value
    System.Boolean

    IsRequestingExit

    Flags set to true if engine needs to be closed (exit is pending). [Deprecated in v1.10]

    Declaration
    [Unmanaged]
    public static bool IsRequestingExit { get; }
    Property Value
    System.Boolean

    MainThreadID

    Declaration
    [Unmanaged]
    public static ulong MainThreadID { get; }
    Property Value
    System.UInt64

    ProductLocalFolder

    The product local data directory.

    Declaration
    [Unmanaged]
    public static string ProductLocalFolder { get; }
    Property Value
    System.String

    ProductName

    The short name of the product (can be Flax Editor or name of the game e.g. My Space Shooter).

    Declaration
    [Unmanaged]
    public static string ProductName { get; }
    Property Value
    System.String

    ProjectCacheFolder

    Project specific cache folder path (editor-only).

    Declaration
    [Unmanaged]
    public static string ProjectCacheFolder { get; }
    Property Value
    System.String

    ProjectContentFolder

    Project content directory path.

    Declaration
    [Unmanaged]
    public static string ProjectContentFolder { get; }
    Property Value
    System.String

    ProjectFolder

    Directory that contains project

    Declaration
    [Unmanaged]
    public static string ProjectFolder { get; }
    Property Value
    System.String

    ProjectSourceFolder

    Game source code directory path (editor-only).

    Declaration
    [Unmanaged]
    public static string ProjectSourceFolder { get; }
    Property Value
    System.String

    StartupFolder

    Declaration
    [Unmanaged]
    public static string StartupFolder { get; }
    Property Value
    System.String

    TemporaryFolder

    Temporary folder path.

    Declaration
    [Unmanaged]
    public static string TemporaryFolder { get; }
    Property Value
    System.String

    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat