|
template<class T , std::size_t N> |
constexpr static std::size_t | GetArraySize (const T(&)[N]) |
|
template<bool bInBoolPreprocessor> |
static constexpr const FORCEINLINE TCHAR * | GetBoolPreprocessorText () |
|
static FORCEINLINE FString | GetSanitizedXMLString (const FString &InXMLString) |
|
static FORCEINLINE FString | StdToFString (const std::string &InStdString) |
|
static FORCEINLINE std::string | FToStdString (const FString &InUEString) |
|
static const FORCEINLINE TCHAR * | GetSimFileExt (const ERRFileType InFileType) |
| Return the file extension for the given file type from SimFileExts. More...
|
|
static FString | GetFileTypeFilter (const ERRFileType InFileType) |
|
static FORCEINLINE ERRFileType | GetFileType (const FString &InFilePath) |
|
static FORCEINLINE bool | IsFileType (const FString &InFilePath, const TArray< ERRFileType > &InFileTypes) |
|
template<typename TCmdlet > |
static bool | IsRunningSimCommandlet () |
|
static void | ExecuteConsoleCommand (const UObject *InContextObject, const FString &InCommandText) |
|
template<typename T > |
static constexpr FORCEINLINE bool | GetCommandLineArgumentValue (const TCHAR *InArgName, T &OutArgValue, bool bIsLogged=false) |
|
template<typename T > |
static constexpr FORCEINLINE bool | ParseCommandLineParams (const FString &InParams, const TCHAR *InArgName, T &OutArgValue, bool bIsLogged=false) |
|
static UWorld * | GetEditorWorld () |
|
static bool | IsPIE () |
|
template<typename T > |
static T * | GetGameMode (const UObject *InContextObject=nullptr) |
|
template<typename T > |
static T * | GetGameInstance (const UObject *InContextObject=nullptr) |
|
template<typename T > |
static T * | GetGameState (const UObject *InContextObject=nullptr) |
|
template<typename T > |
static T * | GetPlayerController (int8 InSceneInstanceId, const UObject *InContextObject=nullptr) |
|
template<typename T > |
static void | GetPlayerControllerList (TArray< T > &OutPlayerControllerList, const UObject *InContextObject=nullptr) |
|
template<typename T > |
static T * | CreatePlayerController (int32 ControllerId, const UObject *InContextObject) |
|
template<typename T > |
static void | CreatePlayerControllerList (TArray< T > &OutPlayerControllerList, int32 InNumOfPlayers, const UObject *InContextObject) |
|
static bool | HasPlayerControllerListInitialized (const UObject *InContextObject, bool bIsLogged=false) |
|
static int32 | GetMaxSplitscreenPlayers (const UObject *InContextObject) |
| This value could be configured in [DefaultEngine.ini]. More...
|
|
template<typename TRRObject > |
static bool | IsDefaultSimSceneInstance (TRRObject *InSimObject) |
|
static FString | GetSimDefaultConfigFileName (const UObject *InContextObject) |
|
static FString | GetSimConfigFileName (const UObject *InContextObject) |
|
static bool | IsSimProfiling () |
|
static bool | HasSimInitialized (const UObject *InContextObject, bool bIsLogged=false) |
| Check ARRGameState is initialized or not. More...
|
|
static URRSceneInstance * | GetSceneInstance (const UObject *InContextObject, int8 InSceneInstanceId) |
| Get the Scene Instance. Works only with ARRGameState. More...
|
|
static ARRSceneDirector * | GetSceneDirector (const UObject *InContextObject, int8 InSceneInstanceId) |
|
static FVector | GetSceneInstanceLocation (int8 InSceneInstanceId) |
|
static bool | HasEnoughDiskSpace (const FString &InPath, uint64 InRequiredMemorySizeInBytes) |
|
static bool | ShutDownSim (const UObject *InContextObject, uint64 InSimCompletionTimeoutInSecs) |
|
static void | ExecuteSimQuitCommand (const UObject *InContextObject) |
|
static uint32 | GetNewGuid () |
|
static ULevelStreamingDynamic * | CreateStreamingLevel (const UObject *InContextObject, const FRRStreamingLevelInfo &InLevelInfo) |
| Create a Streaming Level object. More...
|
|
static void | StreamLevel (const UObject *InContextObject, const FString &InLevelName, UObject *InTargetObject=nullptr, const FName &InExecuteFunctionName=NAME_None) |
| LoadStreamLevel. More...
|
|
static void | UnstreamLevel (const UObject *InContextObject, const FName &InLevelName) |
| UnloadStreamLevel. More...
|
|
static void | MoveStreamingLevelBetweenSceneInstances (ULevelStreaming *InStreamingLevel, int8 InStartSceneInstanceId, int8 InTargetSceneInstanceId) |
|
static bool | LoadFullFilePaths (const FString &FolderPath, TArray< FString > &OutFilePaths, const TArray< ERRFileType > &InFileTypes, const bool bInRecursive=true) |
|
static bool | CreateDirectoryIfNotExisting (const FString &DirPath) |
|
static void | VerifyDirPathAbsoluteAndExist (const FString &InDirPath) |
|
static FORCEINLINE float | GetSeconds () |
|
template<typename T , typename = TEnableIf<TIsFloatingPoint<T>::Value>> |
static void | MarkCurrentTime (T &OutTimestamp) |
|
template<typename T , typename = TEnableIf<TIsFloatingPoint<T>::Value>> |
static T | GetElapsedTimeSecs (const T &InLastTimestamp) |
|
static bool | WaitUntilThenAct (TFunctionRef< bool()> InCond, TFunctionRef< void()> InPassedCondAct, float InTimeoutInSec, float InIntervalTimeInSec=0.5f) |
| It was observed that with high polling frequency as [0.01] or sometimes [0.1] second, we got crash on AutomationTest. More...
|
|
static bool | CheckWithTimeOut (const TFunctionRef< bool()> &InCondition, const TFunctionRef< void()> &InActionUponTimeout, float InBeginTimeInSec, float InTimeoutInSec) |
|
static void | StopRegisteredTimer (UWorld *InWorld, FTimerHandle &InTimerHandle) |
|
template<typename T , typename TDelegate > |
static FORCEINLINE FTimerHandle | PlanToExecuteOnNextTick (T *InObj, typename TDelegate::template TMethodPtr< T > InMethod) |
|
static FORCEINLINE FTimerHandle | PlanToExecuteOnNextTick (UWorld *InWorld, const FTimerDelegate &InTimerDelegate) |
|
static FORCEINLINE FTimerHandle | PlanToExecuteOnNextTick (UWorld *InWorld, TFunction< void()> InCallback) |
|
template<typename T > |
static FORCEINLINE void | RegisterRepeatedExecution (T *InObj, FTimerHandle &InTimerHandle, typename FTimerDelegate::template TMethodPtr< T >::FMethodPtr InMethod, float InRate=0.5f) |
|
template<typename T > |
static FORCEINLINE void | RegisterRepeatedExecution (T *InObj, FTimerHandle &InTimerHandle, TFunction< void()> Callback, float InRate=0.5f) |
|
static void | StopRegisteredExecution (UWorld *InWorld, FTimerHandle &InTimerHandle) |
|
static int32 | RunMonitoredProcess (FMonitoredProcess *InProcess, const float InTimeOutSecs, const FString &InProcessName=EMPTY_STR) |
|
static void | LoadImageWrapperModule () |
|
static UTexture2D * | LoadImageToTexture (const FString &InFullFilePath, const FString &InTextureName, const bool bInSaveToAsset=false) |
| Load image to texture. More...
|
|
static bool | LoadImagesFromFolder (const FString &InImageFolderPath, const TArray< ERRFileType > &InImageFileTypes, TArray< UTexture * > &OutImageTextureList, bool bIsLogged=false) |
|
static UTextureLightProfile * | LoadIESProfile (const FString &InFullFilePath, const FString &InLightProfileName) |
|
static bool | LoadIESProfilesFromFolder (const FString &InFolderPath, TArray< UTextureLightProfile * > &OutLightProfileList, bool bIsLogged=false) |
|
static bool | IsValidBitDepth (int32 InBitDepth) |
|
template<int8 InBitDepth> |
static FORCEINLINE void | GetCompressedImageData (const ERRFileType InImageFileType, const FRRColorArray &InImageData, const FIntPoint &ImageSize, const int8 BitDepth, const ERGBFormat RGBFormat, TArray64< uint8 > &OutCompressedData) |
|
static bool | GenerateThumbnail (UObject *InObject, uint32 InImageWidth, uint32 InImageHeight, const FString &InSaveImagePath) |
| Generate a thumbnail for an object (eg skeletal/static mesh, texture) & save to an image file on disk. More...
|
|
static FORCEINLINE bool | ScreenMsg (const FColor &InColor, const FString &InMessage, float InTimeToDisplay=50000.f) |
|
static FORCEINLINE void | PrintMessage (const FString &InMessage, bool bInError=false, float InTimeOnScreen=100.f) |
| Print message. More...
|
|