diff --git a/Source/Engine/Debug/DebugCommands.cs b/Source/Engine/Debug/DebugCommands.cs index a75a3cbb2..afe7e3cf6 100644 --- a/Source/Engine/Debug/DebugCommands.cs +++ b/Source/Engine/Debug/DebugCommands.cs @@ -142,7 +142,7 @@ namespace FlaxEngine private static string FilterWhitespaces(string str) { - if (str.Contains(" ", StringComparison.Ordinal)) + if (str != null && str.Contains(" ", StringComparison.Ordinal)) { if (_sb == null) _sb = new StringBuilder(); diff --git a/Source/Engine/Engine/Globals.h b/Source/Engine/Engine/Globals.h index 16e2c2ce3..62c510f60 100644 --- a/Source/Engine/Engine/Globals.h +++ b/Source/Engine/Engine/Globals.h @@ -13,8 +13,6 @@ API_CLASS(Static, Attributes="DebugCommand") class FLAXENGINE_API Globals DECLARE_SCRIPTING_TYPE_NO_SPAWN(Globals); public: - // Paths - // Main engine directory path. API_FIELD(ReadOnly) static String StartupFolder; @@ -54,8 +52,6 @@ public: #endif public: - // State - // True if fatal error occurred (engine is exiting). // [Deprecated in v1.10] DEPRECATED("Use Engine::FatalError instead.") static bool FatalErrorOccurred; @@ -91,14 +87,10 @@ public: DEPRECATED("Use Engine::ExitCode instead.") static int32 ExitCode; public: - // Threading - // Main Engine thread id. API_FIELD(ReadOnly) static uint64 MainThreadID; public: - // Config - /// /// The full engine version. /// diff --git a/Source/Engine/Graphics/Graphics.h b/Source/Engine/Graphics/Graphics.h index aed1232f6..a518f6d6d 100644 --- a/Source/Engine/Graphics/Graphics.h +++ b/Source/Engine/Graphics/Graphics.h @@ -19,32 +19,32 @@ public: API_FIELD() static bool UseVSync; /// - /// Anti Aliasing quality setting. + /// Anti Aliasing quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality AAQuality; /// - /// Screen Space Reflections quality setting. + /// Screen Space Reflections quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality SSRQuality; /// - /// Screen Space Ambient Occlusion quality setting. + /// Screen Space Ambient Occlusion quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality SSAOQuality; /// - /// Volumetric Fog quality setting. + /// Volumetric Fog quality setting. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality VolumetricFogQuality; /// - /// The shadows quality. + /// The shadows quality. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality ShadowsQuality; /// - /// The shadow maps quality (textures resolution). + /// The shadow maps quality (textures resolution). Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality ShadowMapsQuality; @@ -59,12 +59,12 @@ public: API_FIELD() static bool AllowCSMBlending; /// - /// The Global SDF quality. Controls the volume texture resolution and amount of cascades to use. + /// The Global SDF quality. Controls the volume texture resolution and amount of cascades to use. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality GlobalSDFQuality; /// - /// The Global Illumination quality. Controls the quality of the GI effect. + /// The Global Illumination quality. Controls the quality of the GI effect. Available values are: Low, Medium, High, Ultra (or 0, 1, 2, 3). /// API_FIELD() static Quality GIQuality;