Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/FApp
Description
Checks whether this application is a game.
Returns true if a normal or PIE game is active (basically !GIsEdit or || GIsPlayInEditorWorld) This must NOT be accessed on threads other than the game thread! Use View->Family->EnginShowFlags.Game on the rendering thread.
| Name | IsGame |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Misc/App.h |
| Include Path | #include "Misc/App.h" |
static bool IsGame()
true if the application is a game, false otherwise.