Applicationclass
Properties18
Showing 18 properties
public static ulong Sandbox.Application.AppId { get; set; }
Steam AppId of S&box.
ulong—public static bool Sandbox.Application.CheatsEnabled { get; set; }
bool—public static Editor.EditorSystem Sandbox.Application.Editor { get; set; }
Get the current editor if any. Will return null if we're not in the editor, or there is no active editor session.
public static bool Sandbox.Application.IsConsoleApp { get; set; }
True if running in a terminal like console, instead of a game window or editor.
bool—public static bool Sandbox.Application.IsDebug { get; set; }
bool—public static bool Sandbox.Application.IsDedicatedServer { get; set; }
True if this is a dedicated server
bool—public static bool Sandbox.Application.IsEditor { get; set; }
True if running with the tools or editor attached
bool—public static bool Sandbox.Application.IsFocused { get; set; }
Is the game window in focus?
bool—public static bool Sandbox.Application.IsHeadless { get; set; }
True if running without a graphics window, such as in a terminal.
bool—public static bool Sandbox.Application.IsMicrophoneListening { get; set; }
Returns true if the microphone is currently listening
bool—public static bool Sandbox.Application.IsMicrophoneRecording { get; set; }
Returns true if the microphone is currently listening and actually hearing/capturing sounds
bool—public static bool Sandbox.Application.IsStandalone { get; set; }
True if the game is running in standalone mode
bool—public static bool Sandbox.Application.IsUnitTest { get; set; }
True if we're running the engine as part of a unit test
bool—public static bool Sandbox.Application.IsVR { get; set; }
True if the game is running in VR mode
bool—public static string Sandbox.Application.LanguageCode { get; set; }
The language code for the current language
string—public static Sandbox.Engine.Settings.RenderSettings Sandbox.Application.RenderSettings { get; set; }
Allows access to the RenderSettings singleton, which contains settings related to rendering in the game. You're only able to access this when in standalone mode. When accessing in the editor, or in sbox it will return null.
public static string Sandbox.Application.Version { get; set; }
The engine's version string
string—public static System.DateTime Sandbox.Application.VersionDate { get; set; }
The date of this version, as a UTC datetime.
DateTime—No results match this filter.