Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Misc/App.h |
Include |
#include "Misc/App.h" |
class FApp
Provides information about the application.
Name | Description | ||
---|---|---|---|
|
AuthorizeUser ( |
Add the specified user to the list of authorized session users. |
|
|
CanEverRender() |
Checks whether this application can render anything. |
|
|
CanEverRenderAudio() |
Checks whether this application can render audio. |
|
|
DenyAllUsers() |
Removes all authorized users. |
|
|
DenyUser ( |
Remove the specified user from the list of authorized session users. |
|
|
GetBranchName() |
Gets the name of the version control branch that this application was built from. |
|
|
EBuildConfig... |
GetBuildConfiguration() |
Gets the application's build configuration, i.e. Debug or Shipping. |
|
GetBuildDate() |
Gets the date at which this application was built. |
|
|
EBuildTarget... |
GetBuildTargetType() |
Gets the target type of the current application (eg. client, server, etc...) |
|
const TCHAR ... |
GetBuildVersion() |
Gets the unique version string for this build. |
|
GetCurrentFrameTime() |
Gets a frame number generated by the engine's timecode provider. |
|
|
double |
GetCurrentTime() |
Gets current time in seconds. |
|
double |
GetDeltaTime() |
Gets time delta in seconds. |
|
GetEngineIsPromotedBuild() |
Gets the value of ENGINE_IS_PROMOTED_BUILD. |
|
|
GetEpicProductIdentifier() |
Gets the identifier for the unreal engine |
|
|
double |
GetFixedDeltaTime() |
Gets time step in seconds if a fixed delta time is wanted. |
|
double |
GetGameTime() |
Gets overall game time in seconds. |
|
GetGraphicsRHI() |
Gets the name of the graphics RHI currently in use. |
|
|
double |
GetIdleTime() |
Gets idle time in seconds. |
|
double |
GetIdleTimeOvershoot() |
Gets idle time overshoot in seconds (the time beyond the wait time we requested for the frame). |
|
GetInstanceId() |
Gets the globally unique identifier of this application instance. |
|
|
GetInstanceName() |
Gets the name of this application instance. |
|
|
double |
GetLastTime() |
Gets previous value of CurrentTime. |
|
GetName() |
Gets the name of the application, i.e. "UE4" or "Rocket". |
|
|
const TCHAR ... |
GetProjectName() |
Gets the name of the current project. |
|
GetSessionId() |
Gets the identifier of the session that this application is part of. |
|
|
GetSessionName() |
Gets the name of the session that this application is part of, if any. |
|
|
GetSessionOwner() |
Gets the name of the user who owns the session that this application is part of, if any. |
|
|
GetTimecode() |
Convert the current frame time into a readable timecode. |
|
|
GetTimecodeFrameRate() |
Get the frame rate of the current frame time. |
|
|
float |
GetUnfocusedVolumeMultiplier() |
Helper function to get UnfocusedVolumeMultiplier from config and store so it's not retrieved every frame |
|
float |
GetVolumeMultiplier() |
Get Volume Multiplier |
|
HasProjectName() |
Reports if the project name has been set |
|
|
HasVRFocus() |
Gets VRFocus, which indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not. |
|
|
InitializeSession() |
Initializes the application session. |
|
|
InvalidateCurrentFrameTime() |
Invalidate the current frame time. It will reset the TOptional. |
|
|
IsAuthorizedUser ( |
Check whether the specified user is authorized to interact with this session. |
|
|
IsBenchmarking() |
Checks whether application is in benchmark mode. |
|
|
IsEngineInstalled() |
Checks whether the engine components of this application have been installed. |
|
|
IsGame() |
Checks whether this application is a game. |
|
|
IsInstalled() |
Checks whether this application has been installed. |
|
|
IsProjectNameEmpty() |
Reports if the project name is empty |
|
|
IsStandalone() |
Checks whether this is a standalone application. |
|
|
IsThisInstance ( |
Check whether the given instance ID identifies this instance. |
|
|
IsUnattended() |
Checks whether this application runs unattended. |
|
|
PrintStartupLogMessages() |
Print all initial startup logging |
|
|
SetBenchmarking ( |
Sets application benchmarking mode. |
|
|
SetCurrentFrameTime ( |
Sets the current frame time. |
|
|
SetCurrentTime ( |
Sets current time in seconds. |
|
|
SetDeltaTime ( |
Sets time delta in seconds. |
|
|
SetFixedDeltaTime ( |
Sets time step in seconds if a fixed delta time is wanted. |
|
|
SetGameTime ( |
Sets overall game time in seconds. |
|
|
SetGraphicsRHI ( |
Sets the Graphics RHI currently in use |
|
|
SetHasVRFocus ( |
Sets VRFocus, which indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not. |
|
|
SetIdleTime ( |
Sets idle time in seconds. |
|
|
SetIdleTimeOvershoot ( |
Sets idle time overshoot in seconds (the time beyond the wait time we requested for the frame). |
|
|
SetProjectName ( |
Sets the name of the current project. |
|
|
SetSessionName ( |
Set a new session name. |
|
|
SetSessionOwner ( |
Set a new session owner. |
|
|
SetUnfocusedVolumeMultiplier ( |
Sets the Unfocused Volume Multiplier |
|
|
SetUseFixedTimeStep ( |
Enables or disabled usage of fixed time step. |
|
|
SetUseVRFocus ( |
Sets if VRFocus should be used. |
|
|
SetVolumeMultiplier ( |
Set Volume Multiplier |
|
|
ShouldUseThreadingForPerformance() |
Checks whether the application should run multi-threaded for performance critical features. |
|
|
UpdateLastTime() |
Updates Last time to CurrentTime. |
|
|
UseFixedTimeStep() |
Gets whether we want to use a fixed time step or not. |
|
|
UseVRFocus() |
Gets if VRFocus should be used |
Name |
Description |
---|---|
bHasVRFocus |
Holds a flag indicating if app has focus in side the VR headset |
bIsBenchmarking |
Holds a flag Whether we are in benchmark mode or not. |
bUseDropFrameFormatWhenSupported |
Holds if we should generate a drop frame timecode when the frame rate does support it. |
bUseFixedSeed |
If the random seed started with a constant or on time, can be affected by -FIXEDSEED or -BENCHMARK |
bUseFixedTimeStep |
Holds a flag whether we want to use a fixed time step or not. |
bUseVRFocus |
Holds a flag indicating if VRFocus should be used |
CurrentFrameTime |
Holds the current frame time and framerate. |
CurrentTime |
Holds current time. |
DeltaTime |
Holds current delta time in seconds. |
FixedDeltaTime |
Holds time step if a fixed delta time is wanted. |
GameTime |
Holds overall game time. |
GraphicsRHI |
Holds the name the graphics RHI currently in use |
IdleTime |
Holds time we spent sleeping in UpdateTimeAndHandleMaxTickRate() if our frame time was smaller than one allowed by target FPS. |
IdleTimeOvershoot |
Holds the amount of IdleTime that was LONGER than we tried to sleep. |
InstanceId |
Holds the instance identifier. |
LastTime |
Holds previous value of CurrentTime. |
SessionId |
Holds the session identifier. |
SessionName |
Holds the session name. |
SessionOwner |
Holds the name of the user that launched session. |
SessionUsers |
List of authorized session users. |
Standalone |
Holds a flag indicating whether this is a standalone session. |
UnfocusedVolumeMultiplier |
Read from config to define the volume when app loses focus |
VolumeMultiplier |
Use to affect the app volume when it loses focus |
Name | Description | ||
---|---|---|---|
|
SetTimecodeAndFrameRate ( |
Please use SetQualifiedFrameTime |