Header <Kismet/KismetSystemLibrary.h>

#include "Kismet/KismetSystemLibrary.h"
Module: Engine Source: Engine/Source/Runtime/Engine/Classes/Kismet/KismetSystemLibrary.h

Includes 16

<CoreMinimal.h>
<UObject/ObjectMacros.h>
<UObject/Object.h>
<Templates/SubclassOf.h>
<Engine/HitResult.h>
<UObject/UnrealType.h>
<UObject/ScriptMacros.h>
<UObject/Interface.h>
<UObject/TextProperty.h>
<UObject/SoftObjectPtr.h>
<UObject/PropertyAccessUtil.h>
<UObject/TopLevelAssetPath.h>
<Engine/LatentActionManager.h>
<Kismet/BlueprintFunctionLibrary.h>
<Engine/CollisionProfile.h>
<AssetRegistry/ARFilter.h>

Contents

UKismetSystemLibrary
(uclass class : UBlueprintFunctionLibrary)
Functions11 free functions
(namespace scope)

class UKismetSystemLibrary

class UKismetSystemLibrary : public UBlueprintFunctionLibraryUCLASSMinimalAPI

Static functions 269

StackTrace
static void StackTrace();UFUNCTIONBlueprintCallableCategory=Development|Editor
--- Globally useful functions ------------------------------ Prints a stack trace to the log, so you can see how a blueprint got to this node
StackTraceImpl
static void StackTraceImpl(const FFrame& StackFrame);
RaiseScriptError
static void RaiseScriptError(const FString& ErrorMessage = FString(TEXT("An error occurred")));UFUNCTIONBlueprintCallableCategory=Utilities|Debugging
Raises an error in the form of a Blueprint exception. Logs the error to the Output and Message Log with information pertaining to where the error was raised.
IsValid
static bool IsValid(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Return true if the object is usable : non-null and not pending kill
IsValidClass
static bool IsValidClass(UClass* Class);UFUNCTIONBlueprintPureCategory=Utilities
Return true if the class is usable : non-null and not pending kill
GetObjectName
static FString GetObjectName(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Returns the actual object name.
GetPathName
static FString GetPathName(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified object as a string
GetSoftObjectPath
static FSoftObjectPath GetSoftObjectPath(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified object as a Soft Object Path
GetSystemPath
static FString GetSystemPath(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities|Paths
Returns the full file system path to a UObject If given a non-asset UObject, it will return an empty string
GetDisplayName
static FString GetDisplayName(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Returns the display name (or actor label), for displaying as a debugging aid. Note: In editor builds, this is the actor label. In non-editor builds, this is the actual object name. This function should not be used to…
GetClassDisplayName
static FString GetClassDisplayName(const UClass* Class);UFUNCTIONBlueprintPureCategory=Utilities
Returns the display name of a class
GetSoftClassPath
static FSoftClassPath GetSoftClassPath(const UClass* Class);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified class as a Soft Class Path (that can be used as a Soft Object Path)
GetClassTopLevelAssetPath
static FTopLevelAssetPath GetClassTopLevelAssetPath(const UClass* Class);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified class as a Top Level Asset Path used by asset utilities
GetStructTopLevelAssetPath
static FTopLevelAssetPath GetStructTopLevelAssetPath(const UScriptStruct* Struct);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified struct as a Top Level Asset Path used by asset utilities
GetEnumTopLevelAssetPath
static FTopLevelAssetPath GetEnumTopLevelAssetPath(const UEnum* Enum);UFUNCTIONBlueprintPureCategory=Utilities
Returns the full path to the specified enum as a Top Level Asset Path used by asset utilities
GetOuterObject
static UObject* GetOuterObject(const UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Returns the outer object of an object.
GetEngineVersion
static FString GetEngineVersion();UFUNCTIONBlueprintPureCategory=Development
Engine build number, for displaying to end users.
GetBuildVersion
static FString GetBuildVersion();UFUNCTIONBlueprintPureCategory=Development
Build version, for displaying to end users in diagnostics.
GetBuildConfiguration
static FString GetBuildConfiguration();UFUNCTIONBlueprintPureCategory=Development
Build configuration, for displaying to end users in diagnostics.
GetGameName
static FString GetGameName();UFUNCTIONBlueprintPureCategory=Game
Get the name of the current game
GetProjectDirectory
static FString GetProjectDirectory();UFUNCTIONBlueprintPureCategory=Utilities|Paths
Get the directory of the current project
GetProjectContentDirectory
static FString GetProjectContentDirectory();UFUNCTIONBlueprintPureCategory=Utilities|Paths
Get the content directory of the current project
GetProjectSavedDirectory
static FString GetProjectSavedDirectory();UFUNCTIONBlueprintPureCategory=Utilities|Paths
Get the saved directory of the current project
ConvertToRelativePath
static FString ConvertToRelativePath(const FString& Filename);UFUNCTIONBlueprintPureCategory=Utilities|Paths
Converts passed in filename to use a relative path
ConvertToAbsolutePath
static FString ConvertToAbsolutePath(const FString& Filename);UFUNCTIONBlueprintPureCategory=Utilities|Paths
Converts passed in filename to use a absolute path
NormalizeFilename
static FString NormalizeFilename(const FString& InFilename);UFUNCTIONBlueprintPureCategory=Utilities|Paths
Convert all / and \ to TEXT("/")
GetGameBundleId
static FString GetGameBundleId();UFUNCTIONBlueprintPureCategory=Game
Retrieves the game's platform-specific bundle identifier or package name of the game
GetPlatformUserName
static FString GetPlatformUserName();UFUNCTIONBlueprintPureCategory=Utilities|Platform
Get the current user name from the OS
GetPlatformUserDir
static FString GetPlatformUserDir();UFUNCTIONBlueprintPureCategory=Utilities|Platform
Get the current user dir from the OS
DoesImplementInterface
static bool DoesImplementInterface(const UObject* TestObject, TSubclassOf<UInterface> Interface);UFUNCTIONBlueprintPureCategory=Utilities
Checks if the given object implements a specific interface, works for both native and blueprint interfacse
DoesClassImplementInterface
static bool DoesClassImplementInterface(const UClass* TestClass, TSubclassOf<UInterface> Interface);UFUNCTIONBlueprintPureCategory=Utilities
Checks if the given class implements a specific interface, works for both native and blueprint interfacse
GetGameTimeInSeconds
static double GetGameTimeInSeconds(const UObject* WorldContextObject);UFUNCTIONBlueprintPureCategory=Utilities|Time
Get the current game time, in seconds. This stops when the game is paused and is affected by slomo.
GetFrameCount
static int64 GetFrameCount();UFUNCTIONBlueprintPureCategory=Utilities
Returns the value of GFrameCounter, a running count of the number of frames that have occurred.
IsServer
static bool IsServer(const UObject* WorldContextObject);UFUNCTIONBlueprintPureCategory=Networking
Returns whether the world this object is in is the host or not
IsDedicatedServer
static bool IsDedicatedServer(const UObject* WorldContextObject);UFUNCTIONBlueprintPureCategory=Networking
Returns whether this is running on a dedicated server
IsStandalone
static bool IsStandalone(const UObject* WorldContextObject);UFUNCTIONBlueprintPureCategory=Networking
Returns whether this game instance is stand alone (no networking).
HasMultipleLocalPlayers
static bool HasMultipleLocalPlayers(const UObject* WorldContextObject);UFUNCTIONBlueprintPureCategory=Viewport
Returns whether there are currently multiple local players in the given world
IsPackagedForDistribution
static bool IsPackagedForDistribution();UFUNCTIONBlueprintPureCategory=Development
Returns whether this is a build that is packaged for distribution
GetDeviceId
static FString GetDeviceId();UFUNCTIONBlueprintPureCategory=Utilities|Platform
Returns the platform specific unique device id
Conv_ObjectToClass
static UClass* Conv_ObjectToClass(UObject* Object, TSubclassOf<UObject> Class);UFUNCTIONBlueprintPureCategory=Utilities
Casts from an object to a class, this will only work if the object is already a class
Conv_InterfaceToObject
static UObject* Conv_InterfaceToObject(const FScriptInterface& Interface);UFUNCTIONBlueprintPure
Converts an interface instance into an object
IsValidInterface
static bool IsValidInterface(const FScriptInterface& Interface);UFUNCTIONBlueprintPureCategory=Utilities
Checks if the interface instance has a valid object for blueprint interface functions. This will return true for both natively implemented and blueprint implemented interfaces.
MakeSoftObjectPath
static FSoftObjectPath MakeSoftObjectPath(const FString& PathString);UFUNCTIONBlueprintPureCategory=Utilities
Builds a Soft Object Path struct from a string that contains a full /folder/packagename.object path
BreakSoftObjectPath
static void BreakSoftObjectPath(FSoftObjectPath InSoftObjectPath, FString& PathString);UFUNCTIONBlueprintPureCategory=Utilities
Gets the path string out of a Soft Object Path
Conv_SoftObjPathToSoftObjRef
static TSoftObjectPtr<UObject> Conv_SoftObjPathToSoftObjRef(const FSoftObjectPath& SoftObjectPath);UFUNCTIONBlueprintPureCategory=Utilities
Converts a Soft Object Path into a base Soft Object Reference, this is not guaranteed to be resolvable
Conv_SoftObjRefToSoftObjPath
static FSoftObjectPath Conv_SoftObjRefToSoftObjPath(TSoftObjectPtr<UObject> SoftObjectReference);UFUNCTIONBlueprintPure
Converts a Soft Object Reference into a Soft Object Path
MakeTopLevelAssetPath
static FTopLevelAssetPath MakeTopLevelAssetPath(UPARAM(DisplayName="FullPathOrPackageName") const FString& PackageName, const FString& AssetName);UFUNCTIONBlueprintPureCategory=Utilities
Builds a TopLevelAssetPath struct from single Path string or from PackageName and AssetName string.
BreakTopLevelAssetPath
static void BreakTopLevelAssetPath(const FTopLevelAssetPath& TopLevelAssetPath, FString& PathString);UFUNCTIONBlueprintPureCategory=Utilities
Gets the path string out of a TopLevelAssetPath
MakeSoftClassPath
static FSoftClassPath MakeSoftClassPath(const FString& PathString);UFUNCTIONBlueprintPureCategory=Utilities
Builds a Soft Class Path struct from a string that contains a full /folder/packagename.class path. For blueprint classes, this needs to point to the actual class (often with _C) and not the blueprint editor asset
BreakSoftClassPath
static void BreakSoftClassPath(FSoftClassPath InSoftClassPath, FString& PathString);UFUNCTIONBlueprintPureCategory=Utilities
Gets the path string out of a Soft Class Path
Conv_SoftClassPathToSoftClassRef
static TSoftClassPtr<UObject> Conv_SoftClassPathToSoftClassRef(const FSoftClassPath& SoftClassPath);UFUNCTIONBlueprintPureCategory=Utilities
Converts a Soft Class Path into a base Soft Class Reference, this is not guaranteed to be resolvable
Conv_SoftObjRefToSoftClassPath
static FSoftClassPath Conv_SoftObjRefToSoftClassPath(TSoftClassPtr<UObject> SoftClassReference);UFUNCTIONBlueprintPure
Converts a Soft Class Reference into a Soft Class Path (which can be used like a Soft Object Path)
IsValidSoftObjectReference
static bool IsValidSoftObjectReference(const TSoftObjectPtr<UObject>& SoftObjectReference);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the Soft Object Reference is not null
Conv_SoftObjectReferenceToString
static FString Conv_SoftObjectReferenceToString(const TSoftObjectPtr<UObject>& SoftObjectReference);UFUNCTIONBlueprintPure
Converts a Soft Object Reference to a path string
EqualEqual_SoftObjectReference
static bool EqualEqual_SoftObjectReference(const TSoftObjectPtr<UObject>& A, const TSoftObjectPtr<UObject>& B);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the values are equal (A == B)
NotEqual_SoftObjectReference
static bool NotEqual_SoftObjectReference(const TSoftObjectPtr<UObject>& A, const TSoftObjectPtr<UObject>& B);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the values are not equal (A != B)
LoadAsset_Blocking
static UObject* LoadAsset_Blocking(TSoftObjectPtr<UObject> Asset);UFUNCTIONBlueprintCallableCategory=Utilities
Resolves or loads a Soft Object Reference immediately, this will cause hitches and Async Load Asset should be used if possible
IsValidSoftClassReference
static bool IsValidSoftClassReference(const TSoftClassPtr<UObject>& SoftClassReference);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the Soft Class Reference is not null
GetSoftClassTopLevelAssetPath
static FTopLevelAssetPath GetSoftClassTopLevelAssetPath(TSoftClassPtr<UObject> SoftClassReference);UFUNCTIONBlueprintPureCategory=Utilities
Converts a Soft Class Reference to a Top Level Asset Path used by asset utilities
Conv_SoftClassReferenceToString
static FString Conv_SoftClassReferenceToString(const TSoftClassPtr<UObject>& SoftClassReference);UFUNCTIONBlueprintPure
Converts a Soft Class Reference to a path string
EqualEqual_SoftClassReference
static bool EqualEqual_SoftClassReference(const TSoftClassPtr<UObject>& A, const TSoftClassPtr<UObject>& B);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the values are equal (A == B)
NotEqual_SoftClassReference
static bool NotEqual_SoftClassReference(const TSoftClassPtr<UObject>& A, const TSoftClassPtr<UObject>& B);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the values are not equal (A != B)
LoadClassAsset_Blocking
static UClass* LoadClassAsset_Blocking(TSoftClassPtr<UObject> AssetClass);UFUNCTIONBlueprintCallableCategory=Utilities
Resolves or loads a Soft Class Reference immediately, this will cause hitches and Async Load Class Asset should be used if possible
IsObjectOfSoftClass
static bool IsObjectOfSoftClass(const UObject* Object, TSoftClassPtr<UObject> SoftClass);UFUNCTIONBlueprintCallableCategory=Utilities
Returns true if Object is of type SoftClass - either an instance of the class or child class, or implements the interface. Alternative to Cast - slower but without adding a hard reference.
Conv_SoftObjectReferenceToObject
static UObject* Conv_SoftObjectReferenceToObject(const TSoftObjectPtr<UObject>& SoftObject);UFUNCTIONBlueprintPureCategory=Utilities
Internal functions used by K2Node_LoadAsset and K2Node_ConvertAsset
Conv_SoftClassReferenceToClass
static TSubclassOf<UObject> Conv_SoftClassReferenceToClass(const TSoftClassPtr<UObject>& SoftClass);UFUNCTIONBlueprintPureCategory=Utilities
Conv_ObjectToSoftObjectReference
static TSoftObjectPtr<UObject> Conv_ObjectToSoftObjectReference(UObject* Object);UFUNCTIONBlueprintPureCategory=Utilities
Conv_ClassToSoftClassReference
static TSoftClassPtr<UObject> Conv_ClassToSoftClassReference(const TSubclassOf<UObject>& Class);UFUNCTIONBlueprintPureCategory=Utilities
Conv_ComponentReferenceToSoftComponentReference
static FSoftComponentReference Conv_ComponentReferenceToSoftComponentReference(const FComponentReference& ComponentReference);UFUNCTIONBlueprintPureCategory=Utilities
LoadAsset
static void LoadAsset(const UObject* WorldContextObject, TSoftObjectPtr<UObject> Asset, FOnAssetLoaded OnLoaded, FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Utilities
LoadAssetClass
static void LoadAssetClass(const UObject* WorldContextObject, TSoftClassPtr<UObject> AssetClass, FOnAssetClassLoaded OnLoaded, FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Utilities
MakeLiteralInt
static int32 MakeLiteralInt(int32 Value);UFUNCTIONBlueprintPureCategory=Math|Integer
Creates a literal integer
MakeLiteralInt64
static int64 MakeLiteralInt64(int64 Value);UFUNCTIONBlueprintPureCategory=Math|Integer
Creates a literal 64-bit integer
MakeLiteralDouble
static double MakeLiteralDouble(double Value);UFUNCTIONBlueprintPureCategory=Math|Float
Creates a literal float (double-precision)
MakeLiteralBool
static bool MakeLiteralBool(bool Value);UFUNCTIONBlueprintPureCategory=Math|Boolean
Creates a literal bool
MakeLiteralName
static FName MakeLiteralName(FName Value);UFUNCTIONBlueprintPureCategory=Utilities|Name
Creates a literal name
MakeLiteralByte
static uint8 MakeLiteralByte(uint8 Value);UFUNCTIONBlueprintPureCategory=Math|Byte
Creates a literal byte
MakeLiteralString
static FString MakeLiteralString(FString Value);UFUNCTIONBlueprintPureCategory=Utilities|String
Creates a literal string
MakeLiteralText
static FText MakeLiteralText(FText Value);UFUNCTIONBlueprintPureCategory=Utilities|Text
Creates a literal FText
LogString
static void LogString(const FString& InString = FString(TEXT("Hello")), bool bPrintToLog = true);UFUNCTIONBlueprintCallableCategory=Utilities|String
Prints a string to the log If Print To Log is true, it will be visible in the Output Log window. Otherwise it will be logged only as 'Verbose', so it generally won't show up.
PrintString
static void PrintString(const UObject* WorldContextObject, const FString& InString = FString(TEXT("Hello")), bool bPrintToScreen = true, bool bPrintToLog = true, FLinearColor TextColor = FLinearColor(0.0f, 0.66f, 1.0f), float Duration = 2.f, const FName Key = NAME_None);UFUNCTIONBlueprintCallableCategory=Development
Prints a string to the log, and optionally, to the screen If Print To Log is true, it will be visible in the Output Log window. Otherwise it will be logged only as 'Verbose', so it generally won't show up.
PrintText
static void PrintText(const UObject* WorldContextObject, const FText InText = INVTEXT("Hello"), bool bPrintToScreen = true, bool bPrintToLog = true, FLinearColor TextColor = FLinearColor(0.0f, 0.66f, 1.0f), float Duration = 2.f, const FName Key = NAME_None);UFUNCTIONBlueprintCallableCategory=Development
Prints text to the log, and optionally, to the screen If Print To Log is true, it will be visible in the Output Log window. Otherwise it will be logged only as 'Verbose', so it generally won't show up.
PrintWarning
static void PrintWarning(const FString& InString);UFUNCTIONBlueprintCallable
Prints a warning string to the log and the screen. Meant to be used as a way to inform the user that they misused the node.
SetWindowTitle
static void SetWindowTitle(const FText& Title);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Sets the game window title
ExecuteConsoleCommand
static void ExecuteConsoleCommand(const UObject* WorldContextObject, const FString& Command, class APlayerController* SpecificPlayer = NULL);UFUNCTIONBlueprintCallableCategory=Development
Executes a console command, optionally on a specific controller
GetConsoleVariableStringValue
static FString GetConsoleVariableStringValue(const FString& VariableName);UFUNCTIONBlueprintCallableCategory=Development
Attempts to retrieve the value of the specified string console variable, if it exists.
GetConsoleVariableFloatValue
static float GetConsoleVariableFloatValue(const FString& VariableName);UFUNCTIONBlueprintCallableCategory=Development
Attempts to retrieve the value of the specified float console variable, if it exists.
GetConsoleVariableIntValue
static int32 GetConsoleVariableIntValue(const FString& VariableName);UFUNCTIONBlueprintCallableCategory=Development
Attempts to retrieve the value of the specified integer console variable, if it exists.
GetConsoleVariableBoolValue
static bool GetConsoleVariableBoolValue(const FString& VariableName);UFUNCTIONBlueprintCallableCategory=Development
Evaluates, if it exists, whether the specified integer console variable has a non-zero value (true) or not (false).
QuitGame
static void QuitGame(const UObject* WorldContextObject, class APlayerController* SpecificPlayer, TEnumAsByte<EQuitPreference::Type> QuitPreference, bool bIgnorePlatformRestrictions);UFUNCTIONBlueprintCallableCategory=Game
Exit the current game
Delay
static void Delay(const UObject* WorldContextObject, float Duration, struct FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Utilities|FlowControl
Latent Actions
DelayUntilNextTick
static void DelayUntilNextTick(const UObject* WorldContextObject, struct FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Utilities|FlowControl
Perform a latent action with a delay of one tick. Calling again while it is counting down will be ignored.
RetriggerableDelay
static void RetriggerableDelay(const UObject* WorldContextObject, float Duration, FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Utilities|FlowControl
Perform a latent action with a retriggerable delay (specified in seconds). Calling again while it is counting down will reset the countdown to Duration.
MoveComponentTo
static void MoveComponentTo(USceneComponent* Component, FVector TargetRelativeLocation, FRotator TargetRelativeRotation, bool bEaseOut, bool bEaseIn, float OverTime, bool bForceShortestRotationPath, TEnumAsByte<EMoveComponentAction::Type> MoveAction, FLatentActionInfo LatentInfo);UFUNCTIONBlueprintCallableCategory=Components
Interpolate a component to the specified relative location and rotation over the course of OverTime seconds.
K2_SetTimerDelegate
static FTimerHandle K2_SetTimerDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate, float Time, bool bLooping, bool bMaxOncePerFrame = false, float InitialStartDelay = 0.f, float InitialStartDelayVariance = 0.f);UFUNCTIONBlueprintCallableCategory=Utilities|Time
--- Timer functions with delegate input ----------
K2_SetTimerForNextTickDelegate
static FTimerHandle K2_SetTimerForNextTickDelegate(UPARAM(DisplayName = "Event") FTimerDynamicDelegate Delegate);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Set a timer to execute a delegate next tick.
K2_IsValidTimerHandle
static bool K2_IsValidTimerHandle(FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
--- Timer functions with handle input ----------
K2_InvalidateTimerHandle
static FTimerHandle K2_InvalidateTimerHandle(UPARAM(ref) FTimerHandle& Handle);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Invalidate the supplied TimerHandle and return it.
K2_ClearAndInvalidateTimerHandle
static void K2_ClearAndInvalidateTimerHandle(const UObject* WorldContextObject, UPARAM(ref) FTimerHandle& Handle);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Clears a set timer.
K2_PauseTimerHandle
static void K2_PauseTimerHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Pauses a set timer at its current elapsed time.
K2_UnPauseTimerHandle
static void K2_UnPauseTimerHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Resumes a paused timer from its current elapsed time.
K2_IsTimerActiveHandle
static bool K2_IsTimerActiveHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true if a timer exists and is active for the given handle, false otherwise.
K2_IsTimerPausedHandle
static bool K2_IsTimerPausedHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true if a timer exists and is paused for the given handle, false otherwise.
K2_TimerExistsHandle
static bool K2_TimerExistsHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true is a timer for the given handle exists, false otherwise.
K2_GetTimerElapsedTimeHandle
static float K2_GetTimerElapsedTimeHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns elapsed time for the given handle (time since current countdown iteration began).
K2_GetTimerRemainingTimeHandle
static float K2_GetTimerRemainingTimeHandle(const UObject* WorldContextObject, FTimerHandle Handle);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns time until the timer will next execute its handle.
K2_SetTimer
static FTimerHandle K2_SetTimer(UObject* Object, FString FunctionName, float Time, bool bLooping, bool bMaxOncePerFrame = false, float InitialStartDelay = 0.f, float InitialStartDelayVariance = 0.f);UFUNCTIONBlueprintCallableCategory=Utilities|Time
--- Timer functions ------------------------------
K2_SetTimerForNextTick
static FTimerHandle K2_SetTimerForNextTick(UObject* Object, FString FunctionName);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Set a timer to execute a delegate on the next tick.
K2_ClearTimer
static void K2_ClearTimer(UObject* Object, FString FunctionName);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Clears a set timer.
K2_PauseTimer
static void K2_PauseTimer(UObject* Object, FString FunctionName);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Pauses a set timer at its current elapsed time.
K2_UnPauseTimer
static void K2_UnPauseTimer(UObject* Object, FString FunctionName);UFUNCTIONBlueprintCallableCategory=Utilities|Time
Resumes a paused timer from its current elapsed time.
K2_IsTimerActive
static bool K2_IsTimerActive(UObject* Object, FString FunctionName);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true if a timer exists and is active for the given delegate, false otherwise.
K2_IsTimerPaused
static bool K2_IsTimerPaused(UObject* Object, FString FunctionName);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true if a timer exists and is paused for the given delegate, false otherwise.
K2_TimerExists
static bool K2_TimerExists(UObject* Object, FString FunctionName);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns true is a timer for the given delegate exists, false otherwise.
K2_GetTimerElapsedTime
static float K2_GetTimerElapsedTime(UObject* Object, FString FunctionName);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns elapsed time for the given delegate (time since current countdown iteration began).
K2_GetTimerRemainingTime
static float K2_GetTimerRemainingTime(UObject* Object, FString FunctionName);UFUNCTIONBlueprintPureCategory=Utilities|Time
Returns time until the timer will next execute its delegate.
SetIntPropertyByName
static void SetIntPropertyByName(UObject* Object, FName PropertyName, int32 Value);UFUNCTIONBlueprintCallable
--- 'Set property by name' functions ------------------------------ Set an int32 property by name
SetInt64PropertyByName
static void SetInt64PropertyByName(UObject* Object, FName PropertyName, int64 Value);UFUNCTIONBlueprintCallable
Set an int64 property by name
SetBytePropertyByName
static void SetBytePropertyByName(UObject* Object, FName PropertyName, uint8 Value);UFUNCTIONBlueprintCallable
Set an uint8 or enum property by name
SetDoublePropertyByName
static void SetDoublePropertyByName(UObject* Object, FName PropertyName, double Value);UFUNCTIONBlueprintCallable
Set a double property by name
SetBoolPropertyByName
static void SetBoolPropertyByName(UObject* Object, FName PropertyName, bool Value);UFUNCTIONBlueprintCallable
Set a bool property by name
SetObjectPropertyByName
static void SetObjectPropertyByName(UObject* Object, FName PropertyName, UObject* Value);UFUNCTIONBlueprintCallable
Set an OBJECT property by name
SetClassPropertyByName
static void SetClassPropertyByName(UObject* Object, FName PropertyName, TSubclassOf<UObject> Value);UFUNCTIONBlueprintCallable
Set a CLASS property by name
SetInterfacePropertyByName
static void SetInterfacePropertyByName(UObject* Object, FName PropertyName, const FScriptInterface& Value);UFUNCTIONBlueprintCallable
Set an INTERFACE property by name
SetNamePropertyByName
static void SetNamePropertyByName(UObject* Object, FName PropertyName, const FName& Value);UFUNCTIONBlueprintCallable
Set a NAME property by name
SetSoftObjectPropertyByName
static void SetSoftObjectPropertyByName(UObject* Object, FName PropertyName, const TSoftObjectPtr<UObject>& Value);UFUNCTIONBlueprintCallable
Set a SOFTOBJECT property by name
SetSoftClassPropertyByName
static void SetSoftClassPropertyByName(UObject* Object, FName PropertyName, const TSoftClassPtr<UObject>& Value);UFUNCTIONBlueprintCallable
Set a SOFTCLASS property by name
SetStringPropertyByName
static void SetStringPropertyByName(UObject* Object, FName PropertyName, const FString& Value);UFUNCTIONBlueprintCallable
Set a STRING property by name
SetTextPropertyByName
static void SetTextPropertyByName(UObject* Object, FName PropertyName, const FText& Value);UFUNCTIONBlueprintCallable
Set a TEXT property by name
SetVectorPropertyByName
static void SetVectorPropertyByName(UObject* Object, FName PropertyName, const FVector& Value);UFUNCTIONBlueprintCallable
Set a VECTOR property by name
SetVector3fPropertyByName
static void SetVector3fPropertyByName(UObject* Object, FName PropertyName, const FVector3f& Value);UFUNCTIONBlueprintCallable
Set a VECTOR3F property by name
SetRotatorPropertyByName
static void SetRotatorPropertyByName(UObject* Object, FName PropertyName, const FRotator& Value);UFUNCTIONBlueprintCallable
Set a ROTATOR property by name
SetLinearColorPropertyByName
static void SetLinearColorPropertyByName(UObject* Object, FName PropertyName, const FLinearColor& Value);UFUNCTIONBlueprintCallable
Set a LINEAR COLOR property by name
SetColorPropertyByName
static void SetColorPropertyByName(UObject* Object, FName PropertyName, const FColor& Value);UFUNCTIONBlueprintCallable
Set a COLOR property by name
SetTransformPropertyByName
static void SetTransformPropertyByName(UObject* Object, FName PropertyName, const FTransform& Value);UFUNCTIONBlueprintCallable
Set a TRANSFORM property by name
SetCollisionProfileNameProperty
static void SetCollisionProfileNameProperty(UObject* Object, FName PropertyName, const FCollisionProfileName& Value);UFUNCTIONBlueprintCallable
Set a CollisionProfileName property by name
SetFieldPathPropertyByName
static void SetFieldPathPropertyByName(UObject* Object, FName PropertyName, const TFieldPath<FField>& Value);UFUNCTIONBlueprintCallable
Set a SOFTOBJECT property by name
SetStructurePropertyByName
static void SetStructurePropertyByName(UObject* Object, FName PropertyName, const FGenericStruct& Value);UFUNCTIONBlueprintCallable
Set a custom structure property by name
SphereOverlapActors
static bool SphereOverlapActors(const UObject* WorldContextObject, const FVector SpherePos, float SphereRadius, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
--- Collision functions ------------------------------
SphereOverlapComponents
static bool SphereOverlapComponents(const UObject* WorldContextObject, const FVector SpherePos, float SphereRadius, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given sphere.
BoxOverlapActors
static bool BoxOverlapActors(const UObject* WorldContextObject, const FVector BoxPos, FVector BoxExtent, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of actors that overlap the given axis-aligned box.
BoxOverlapActorsWithOrientation
static bool BoxOverlapActorsWithOrientation(const UObject* WorldContextObject, const FVector BoxPos, FVector BoxExtent, FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of actors that overlap the given axis-aligned box.
BoxOverlapComponents
static bool BoxOverlapComponents(const UObject* WorldContextObject, const FVector BoxPos, FVector Extent, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given axis-aligned box.
BoxOverlapComponentsWithOrientation
static bool BoxOverlapComponentsWithOrientation(const UObject* WorldContextObject, const FVector BoxPos, FVector Extent, FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given box.
CapsuleOverlapActors
static bool CapsuleOverlapActors(const UObject* WorldContextObject, const FVector CapsulePos, float Radius, float HalfHeight, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of actors that overlap the given capsule.
CapsuleOverlapActorsWithOrientation
static bool CapsuleOverlapActorsWithOrientation(const UObject* WorldContextObject, const FVector CapsulePos, float Radius, float HalfHeight, FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of actors that overlap the given capsule.
CapsuleOverlapComponents
static bool CapsuleOverlapComponents(const UObject* WorldContextObject, const FVector CapsulePos, float Radius, float HalfHeight, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given capsule.
CapsuleOverlapComponentsWithOrientation
static bool CapsuleOverlapComponentsWithOrientation(const UObject* WorldContextObject, const FVector CapsulePos, float Radius, float HalfHeight, FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given capsule.
ComponentOverlapActors
static bool ComponentOverlapActors(UPrimitiveComponent* Component, const FTransform& ComponentTransform, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of actors that overlap the given component.
ComponentOverlapComponents
static bool ComponentOverlapComponents(UPrimitiveComponent* Component, const FTransform& ComponentTransform, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);UFUNCTIONBlueprintCallableCategory=Collision
Returns an array of components that overlap the given component.
LineTraceSingle
static bool LineTraceSingle(const UObject* WorldContextObject, const FVector Start, const FVector End, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Does a collision trace along the given line and returns the first blocking hit encountered. This trace finds the objects that RESPONDS to the given TraceChannel
LineTraceMulti
static bool LineTraceMulti(const UObject* WorldContextObject, const FVector Start, const FVector End, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Does a collision trace along the given line and returns all hits encountered up to and including the first blocking hit. This trace finds the objects that RESPOND to the given TraceChannel
SphereTraceSingle
static bool SphereTraceSingle(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a sphere along the given line and returns the first blocking hit encountered. This trace finds the objects that RESPONDS to the given TraceChannel
SphereTraceMulti
static bool SphereTraceMulti(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a sphere along the given line and returns all hits encountered up to and including the first blocking hit. This trace finds the objects that RESPOND to the given TraceChannel
BoxTraceSingle
static bool BoxTraceSingle(const UObject* WorldContextObject, const FVector Start, const FVector End, const FVector HalfSize, const FRotator Orientation, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a box along the given line and returns the first blocking hit encountered. This trace finds the objects that RESPONDS to the given TraceChannel
BoxTraceMulti
static bool BoxTraceMulti(const UObject* WorldContextObject, const FVector Start, const FVector End, FVector HalfSize, const FRotator Orientation, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a box along the given line and returns all hits encountered. This trace finds the objects that RESPONDS to the given TraceChannel
CapsuleTraceSingle
static bool CapsuleTraceSingle(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a capsule along the given line and returns the first blocking hit encountered. This trace finds the objects that RESPOND to the given TraceChannel
CapsuleTraceMulti
static bool CapsuleTraceMulti(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, ETraceTypeQuery TraceChannel, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a capsule along the given line and returns all hits encountered up to and including the first blocking hit. This trace finds the objects that RESPOND to the given TraceChannel
LineTraceSingleForObjects
static bool LineTraceSingleForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Does a collision trace along the given line and returns the first hit encountered. This only finds objects that are of a type specified by ObjectTypes.
LineTraceMultiForObjects
static bool LineTraceMultiForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Does a collision trace along the given line and returns all hits encountered. This only finds objects that are of a type specified by ObjectTypes.
SphereTraceSingleForObjects
static bool SphereTraceSingleForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a sphere along the given line and returns the first hit encountered. This only finds objects that are of a type specified by ObjectTypes.
SphereTraceMultiForObjects
static bool SphereTraceMultiForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a sphere along the given line and returns all hits encountered. This only finds objects that are of a type specified by ObjectTypes.
BoxTraceSingleForObjects
static bool BoxTraceSingleForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, const FVector HalfSize, const FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a box along the given line and returns the first hit encountered. This only finds objects that are of a type specified by ObjectTypes.
BoxTraceMultiForObjects
static bool BoxTraceMultiForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, const FVector HalfSize, const FRotator Orientation, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a box along the given line and returns all hits encountered. This only finds objects that are of a type specified by ObjectTypes.
CapsuleTraceSingleForObjects
static bool CapsuleTraceSingleForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a capsule along the given line and returns the first hit encountered. This only finds objects that are of a type specified by ObjectTypes.
CapsuleTraceMultiForObjects
static bool CapsuleTraceMultiForObjects(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, const TArray<TEnumAsByte<EObjectTypeQuery>> & ObjectTypes, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweeps a capsule along the given line and returns all hits encountered. This only finds objects that are of a type specified by ObjectTypes.
LineTraceSingleByProfile
static bool LineTraceSingleByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, UPARAM(Meta=(GetOptions="Engine.KismetSystemLibrary.GetCollisionProfileNames")) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
BY PROFILE
LineTraceMultiByProfile
static bool LineTraceMultiByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Trace a ray against the world using a specific profile and return overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of the array Only the single…
SphereTraceSingleByProfile
static bool SphereTraceSingleByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a sphere against the world and return the first blocking hit using a specific profile
SphereTraceMultiByProfile
static bool SphereTraceMultiByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a sphere against the world and return all initial overlaps using a specific profile, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element…
BoxTraceSingleByProfile
static bool BoxTraceSingleByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, const FVector HalfSize, const FRotator Orientation, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a box against the world and return the first blocking hit using a specific profile
BoxTraceMultiByProfile
static bool BoxTraceMultiByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, FVector HalfSize, const FRotator Orientation, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a box against the world and return all initial overlaps using a specific profile, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element of…
CapsuleTraceSingleByProfile
static bool CapsuleTraceSingleByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, FHitResult& OutHit, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a capsule against the world and return the first blocking hit using a specific profile
CapsuleTraceMultiByProfile
static bool CapsuleTraceMultiByProfile(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius, float HalfHeight, UPARAM(Meta=(GetOptions=GetCollisionProfileNames)) FName ProfileName, bool bTraceComplex, const TArray<AActor*>& ActorsToIgnore, EDrawDebugTrace::Type DrawDebugType, TArray<FHitResult>& OutHits, bool bIgnoreSelf, FLinearColor TraceColor = FLinearColor::Red, FLinearColor TraceHitColor = FLinearColor::Green, float DrawTime = 5.0f);UFUNCTIONBlueprintCallableCategory=Collision
Sweep a capsule against the world and return all initial overlaps using a specific profile, then overlapping hits and then first blocking hit Results are sorted, so a blocking hit (if found) will be the last element…
GetActorListFromComponentList
static void GetActorListFromComponentList(const TArray<class UPrimitiveComponent*>& ComponentList, UClass* ActorClassFilter, TArray<class AActor*>& OutActorList);UFUNCTIONBlueprintCallableCategory=Actor
Returns an array of unique actors represented by the given list of components.
DrawDebugLine
static void DrawDebugLine(const UObject* WorldContextObject, const FVector LineStart, const FVector LineEnd, FLinearColor LineColor, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
--- Debug drawing functions ------------------------------ Draw a debug line
DrawDebugCircle
static void DrawDebugCircle(const UObject* WorldContextObject, FVector Center, float Radius, int32 NumSegments=12, FLinearColor LineColor = FLinearColor::White, float Duration=0.f, float Thickness=0.f, FVector YAxis=FVector(0.f,1.f,0.f),FVector ZAxis=FVector(0.f,0.f,1.f), bool bDrawAxis=false);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug circle!
DrawDebugPoint
static void DrawDebugPoint(const UObject* WorldContextObject, const FVector Position, float Size, FLinearColor PointColor, float Duration=0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug point
DrawDebugArrow
static void DrawDebugArrow(const UObject* WorldContextObject, const FVector LineStart, const FVector LineEnd, float ArrowSize, FLinearColor LineColor, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw directional arrow, pointing from LineStart to LineEnd.
DrawDebugBox
static void DrawDebugBox(const UObject* WorldContextObject, const FVector Center, FVector Extent, FLinearColor LineColor, const FRotator Rotation=FRotator::ZeroRotator, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug box
DrawDebugCoordinateSystem
static void DrawDebugCoordinateSystem(const UObject* WorldContextObject, const FVector AxisLoc, const FRotator AxisRot, float Scale=1.f, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug coordinate system.
DrawDebugSphere
static void DrawDebugSphere(const UObject* WorldContextObject, const FVector Center, float Radius=100.f, int32 Segments=12, FLinearColor LineColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug sphere
DrawDebugCylinder
static void DrawDebugCylinder(const UObject* WorldContextObject, const FVector Start, const FVector End, float Radius=100.f, int32 Segments=12, FLinearColor LineColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug cylinder
DrawDebugConeInDegrees
static void DrawDebugConeInDegrees(const UObject* WorldContextObject, const FVector Origin, const FVector Direction, float Length=100.f, float AngleWidth=45.f, float AngleHeight=45.f, int32 NumSides = 12, FLinearColor LineColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug cone Angles are specified in degrees
DrawDebugCapsule
static void DrawDebugCapsule(const UObject* WorldContextObject, const FVector Center, float HalfHeight, float Radius, const FRotator Rotation, FLinearColor LineColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug capsule
DrawDebugString
static void DrawDebugString(const UObject* WorldContextObject, const FVector TextLocation, const FString& Text, class AActor* TestBaseActor = NULL, FLinearColor TextColor = FLinearColor::White, float Duration=0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug string at a 3d world location.
FlushDebugStrings
static void FlushDebugStrings(const UObject* WorldContextObject);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Removes all debug strings.
DrawDebugPlane
static void DrawDebugPlane(const UObject* WorldContextObject, const FPlane& PlaneCoordinates, const FVector Location, float Size, FLinearColor PlaneColor = FLinearColor::White, float Duration=0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draws a debug plane.
FlushPersistentDebugLines
static void FlushPersistentDebugLines(const UObject* WorldContextObject);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Flush all persistent debug lines and shapes.
DrawDebugFrustum
static void DrawDebugFrustum(const UObject* WorldContextObject, const FTransform& FrustumTransform, FLinearColor FrustumColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draws a debug frustum.
DrawDebugCamera
static void DrawDebugCamera(const ACameraActor* CameraActor, FLinearColor CameraColor = FLinearColor::White, float Duration=0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draw a debug camera shape.
DrawDebugFloatHistoryTransform
static void DrawDebugFloatHistoryTransform(const UObject* WorldContextObject, const FDebugFloatHistory& FloatHistory, const FTransform& DrawTransform, FVector2D DrawSize, FLinearColor DrawColor = FLinearColor::White, float Duration = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draws a 2D Histogram of size 'DrawSize' based FDebugFloatHistory struct, using DrawTransform for the position in the world.
DrawDebugFloatHistoryLocation
static void DrawDebugFloatHistoryLocation(const UObject* WorldContextObject, const FDebugFloatHistory& FloatHistory, FVector DrawLocation, FVector2D DrawSize, FLinearColor DrawColor = FLinearColor::White, float Duration = 0.f);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
Draws a 2D Histogram of size 'DrawSize' based FDebugFloatHistory struct, using DrawLocation for the location in the world, rotation will face camera of first player.
AddFloatHistorySample
static FDebugFloatHistory AddFloatHistorySample(float Value, const FDebugFloatHistory& FloatHistory);UFUNCTIONBlueprintCallableCategory=Rendering|Debug
CreateCopyForUndoBuffer
static void CreateCopyForUndoBuffer(UObject* ObjectToModify);UFUNCTIONBlueprintCallableCategory=Development|Editor
Mark as modified.
GetComponentBounds
static void GetComponentBounds(const USceneComponent* Component, FVector& Origin, FVector& BoxExtent, float& SphereRadius);UFUNCTIONBlueprintPureCategory=Collision
Get bounds
GetRenderingDetailMode
static int32 GetRenderingDetailMode();UFUNCTIONBlueprintPureCategory=Rendering
Get the clamped state of r.DetailMode, see console variable help (allows for scalability, cannot be used in construction scripts) 0: low, show objects with DetailMode low 1: medium, show objects with DetailMode…
GetRenderingMaterialQualityLevel
static int32 GetRenderingMaterialQualityLevel();UFUNCTIONBlueprintPureCategory=Rendering|Material
Get the clamped state of r.MaterialQualityLevel, see console variable help (allows for scalability, cannot be used in construction scripts) 0: low 1: high 2: medium
GetSupportedFullscreenResolutions
static bool GetSupportedFullscreenResolutions(TArray<FIntPoint>& Resolutions);UFUNCTIONBlueprintCallableCategory=Rendering
Gets the list of support fullscreen resolutions.
GetConvenientWindowedResolutions
static bool GetConvenientWindowedResolutions(TArray<FIntPoint>& Resolutions);UFUNCTIONBlueprintCallableCategory=Rendering
Gets the list of windowed resolutions which are convenient for the current primary display size.
GetMinYResolutionForUI
static int32 GetMinYResolutionForUI();UFUNCTIONBlueprintPureCategory=Rendering
Gets the smallest Y resolution we want to support in the UI, clamped within reasons
GetMinYResolutionFor3DView
static int32 GetMinYResolutionFor3DView();UFUNCTIONBlueprintPureCategory=Rendering
Gets the smallest Y resolution we want to support in the 3D view, clamped within reasons
LaunchURL
static void LaunchURL(const FString& URL);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Opens the specified URL in the platform's web browser of choice
LaunchExternalUrl
static void LaunchExternalUrl(const TArray<FString>& InDomainStrings, const FString& URL);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Opens an external URL in the platform's web browser of choice if it meets the allowlist of passed in domains
CanLaunchURL
static bool CanLaunchURL(const FString& URL);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
CollectGarbage
static void CollectGarbage();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Deletes all unreferenced objects, keeping only referenced objects (this command will be queued and happen at the end of the frame) Note: This can be a slow operation, and should only be performed where a hitch would…
ShowAdBanner
static void ShowAdBanner(int32 AdIdIndex, bool bShowOnBottomOfScreen);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Will show an ad banner (iAd on iOS, or AdMob on Android) on the top or bottom of screen, on top of the GL view (doesn't resize the view) (iOS and Android only)
GetAdIDCount
static int32 GetAdIDCount();UFUNCTIONBlueprintPureCategory=Utilities|Platform
Retrieves the total number of Ad IDs that can be selected between
HideAdBanner
static void HideAdBanner();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Hides the ad banner (iAd on iOS, or AdMob on Android). Will force close the ad if it's open (iOS and Android only)
ForceCloseAdBanner
static void ForceCloseAdBanner();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Forces closed any displayed ad. Can lead to loss of revenue (iOS and Android only)
LoadInterstitialAd
static void LoadInterstitialAd(int32 AdIdIndex);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Will load a fullscreen interstitial AdMob ad. Call this before using ShowInterstitialAd (Android only)
IsInterstitialAdAvailable
static bool IsInterstitialAdAvailable();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Returns true if the requested interstitial ad is loaded and ready (Android only)
IsInterstitialAdRequested
static bool IsInterstitialAdRequested();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Returns true if the requested interstitial ad has been successfully requested (false if load request fails) (Android only)
ShowInterstitialAd
static void ShowInterstitialAd();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Shows the loaded interstitial ad (loaded with LoadInterstitialAd) (Android only)
ShowPlatformSpecificLeaderboardScreen
static void ShowPlatformSpecificLeaderboardScreen(const FString& CategoryName);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Displays the built-in leaderboard GUI (iOS and Android only; this function may be renamed or moved in a future release)
ShowPlatformSpecificAchievementsScreen
static void ShowPlatformSpecificAchievementsScreen(const class APlayerController* SpecificPlayer);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Displays the built-in achievements GUI (iOS and Android only; this function may be renamed or moved in a future release)
IsLoggedIn
static bool IsLoggedIn(const APlayerController* SpecificPlayer);UFUNCTIONBlueprintPureCategory=Online
Returns whether the player is logged in to the currently active online subsystem.
IsScreensaverEnabled
static bool IsScreensaverEnabled();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Returns true if screen saver is enabled.
ControlScreensaver
static void ControlScreensaver(bool bAllowScreenSaver);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Allows or inhibits screensaver
SetVolumeButtonsHandledBySystem
static void SetVolumeButtonsHandledBySystem(bool bEnabled);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Allows or inhibits system default handling of volume up and volume down buttons (Android only)
GetVolumeButtonsHandledBySystem
static bool GetVolumeButtonsHandledBySystem();UFUNCTIONBlueprintPureCategory=Utilities|Platform
Returns true if system default handling of volume up and volume down buttons enabled (Android only)
SetGamepadsBlockDeviceFeedback
static void SetGamepadsBlockDeviceFeedback(bool bBlock);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Sets whether attached gamepads will block feedback from the device itself (Mobile only).
ResetGamepadAssignments
static void ResetGamepadAssignments();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Resets the gamepad to player controller id assignments (Android and iOS only)
ResetGamepadAssignmentToController
static void ResetGamepadAssignmentToController(int32 ControllerId);UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Resets the gamepad assignment to player controller id (Android and iOS only)
IsControllerAssignedToGamepad
static bool IsControllerAssignedToGamepad(int32 ControllerId);UFUNCTIONBlueprintPureCategory=Utilities|Platform
Returns true if controller id assigned to a gamepad (Android and iOS only)
GetGamepadControllerName
static FString GetGamepadControllerName(int32 ControllerId);UFUNCTIONBlueprintPureCategory=Utilities|Platform
Returns name of controller if assigned to a gamepad (or None if not assigned) (Android and iOS only)
GetGamepadButtonGlyph
static UTexture2D* GetGamepadButtonGlyph(const FString& ButtonKey, int32 ControllerIndex);UFUNCTIONBlueprintPureCategory=Utilities|Platform
Returns glyph assigned to a gamepad button (or a null ptr if not assigned) (iOS and tvOS only)
SetSuppressViewportTransitionMessage
static void SetSuppressViewportTransitionMessage(const UObject* WorldContextObject, bool bState);UFUNCTIONBlueprintCallableCategory=Viewport
Sets the state of the transition message rendered by the viewport. (The blue text displayed when the game is paused and so forth.)
GetPreferredLanguages
static TArray<FString> GetPreferredLanguages();UFUNCTIONBlueprintCallableCategory=Utilities|Internationalization
Returns an array of the user's preferred languages in order of preference
GetDefaultLanguage
static FString GetDefaultLanguage();UFUNCTIONBlueprintPureCategory=Utilities|Internationalization
Get the default language (for localization) used by this platform
GetDefaultLocale
static FString GetDefaultLocale();UFUNCTIONBlueprintPureCategory=Utilities|Internationalization
Get the default locale (for internationalization) used by this platform
GetLocalCurrencyCode
static FString GetLocalCurrencyCode();UFUNCTIONBlueprintCallableCategory=Utilities|Internationalization
Returns the currency code associated with the device's locale
GetLocalCurrencySymbol
static FString GetLocalCurrencySymbol();UFUNCTIONBlueprintCallableCategory=Utilities|Internationalization
Returns the currency symbol associated with the device's locale
RegisterForRemoteNotifications
static void RegisterForRemoteNotifications();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Requests permission to send remote notifications to the user's device. (Android and iOS only)
UnregisterForRemoteNotifications
static void UnregisterForRemoteNotifications();UFUNCTIONBlueprintCallableCategory=Utilities|Platform
Requests Requests unregistering from receiving remote notifications to the user's device. (Android only)
SetUserActivity
static void SetUserActivity(const FUserActivity& UserActivity);UFUNCTIONBlueprintCallableCategory=Development
Tells the engine what the user is doing for debug, analytics, etc.
GetCommandLine
static FString GetCommandLine();UFUNCTIONBlueprintCallableCategory=Utilities
Returns the command line that the process was launched with.
ParseCommandLine
static void ParseCommandLine(const FString& InCmdLine, TArray<FString>& OutTokens, TArray<FString>& OutSwitches, TMap<FString, FString>& OutParams);UFUNCTIONBlueprintCallableCategory=Utilities
Parses the given string into loose tokens, switches (arguments that begin with - or /) and parameters (-mySwitch=myVar)
ParseParam
static bool ParseParam(const FString& InString, const FString& InParam);UFUNCTIONBlueprintPureCategory=Utilities
Returns true if the string has -param in it (do not specify the leading -)
ParseParamValue
static bool ParseParamValue(const FString& InString, const FString& InParam, FString& OutValue);UFUNCTIONBlueprintPureCategory=Utilities
Returns 'value' if -option=value is in the string
IsUnattended
static bool IsUnattended();UFUNCTIONBlueprintPureCategory=Utilities
Returns true if running unattended (-unattended is on the command line)
BeginTransaction
static int32 BeginTransaction(const FString& Context, FText Description, UObject* PrimaryObject);UFUNCTIONBlueprintCallableCategory=Transactions
--- Transactions ------------------------------
EndTransaction
static int32 EndTransaction();UFUNCTIONBlueprintCallableCategory=Transactions
Attempt to end the current undo transaction. Only successful if the transaction's action counter is 1.
CancelTransaction
static void CancelTransaction(const int32 Index);UFUNCTIONBlueprintCallableCategory=Transactions
Cancel the current transaction, and no longer capture actions to be placed in the undo buffer.
TransactObject
static void TransactObject(UObject* Object);UFUNCTIONBlueprintCallableCategory=Transactions
Notify the current transaction (if any) that this object is about to be modified and should be placed into the undo buffer.
SnapshotObject
static void SnapshotObject(UObject* Object);UFUNCTIONBlueprintCallableCategory=Transactions
Notify the current transaction (if any) that this object is about to be modified and should be snapshot for intermediate update.
GetObjectFromPrimaryAssetId
static UObject* GetObjectFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPureCategory=AssetManager
--- Asset Manager ------------------------------ Returns the Object associated with a Primary Asset Id, this will only return a valid object if it is in memory, it will not load it
GetClassFromPrimaryAssetId
static TSubclassOf<UObject> GetClassFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Blueprint Class associated with a Primary Asset Id, this will only return a valid object if it is in memory, it will not load it
GetSoftObjectReferenceFromPrimaryAssetId
static TSoftObjectPtr<UObject> GetSoftObjectReferenceFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Object Id associated with a Primary Asset Id, this works even if the asset is not loaded
GetSoftClassReferenceFromPrimaryAssetId
static TSoftClassPtr<UObject> GetSoftClassReferenceFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Blueprint Class Id associated with a Primary Asset Id, this works even if the asset is not loaded
GetPrimaryAssetIdFromObject
static FPrimaryAssetId GetPrimaryAssetIdFromObject(UObject* Object);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Primary Asset Id for an Object, this can return an invalid one if not registered
GetPrimaryAssetIdFromClass
static FPrimaryAssetId GetPrimaryAssetIdFromClass(TSubclassOf<UObject> Class);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Primary Asset Id for a Class, this can return an invalid one if not registered
GetPrimaryAssetIdFromSoftObjectReference
static FPrimaryAssetId GetPrimaryAssetIdFromSoftObjectReference(TSoftObjectPtr<UObject> SoftObjectReference);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Primary Asset Id for a Soft Object Reference, this can return an invalid one if not registered
GetPrimaryAssetIdFromSoftClassReference
static FPrimaryAssetId GetPrimaryAssetIdFromSoftClassReference(TSoftClassPtr<UObject> SoftClassReference);UFUNCTIONBlueprintPureCategory=AssetManager
Returns the Primary Asset Id for a Soft Class Reference, this can return an invalid one if not registered
GetPrimaryAssetIdList
static void GetPrimaryAssetIdList(FPrimaryAssetType PrimaryAssetType, TArray<FPrimaryAssetId>& OutPrimaryAssetIdList);UFUNCTIONBlueprintCallableCategory=AssetManager
Returns list of PrimaryAssetIds for a PrimaryAssetType
IsValidPrimaryAssetId
static bool IsValidPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPureCategory=AssetManager
Returns true if the Primary Asset Id is valid
Conv_PrimaryAssetIdToString
static FString Conv_PrimaryAssetIdToString(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintPure
Converts a Primary Asset Id to a string. The other direction is not provided because it cannot be validated
EqualEqual_PrimaryAssetId
static bool EqualEqual_PrimaryAssetId(FPrimaryAssetId A, FPrimaryAssetId B);UFUNCTIONBlueprintPureCategory=AssetManager
Returns true if the values are equal (A == B)
NotEqual_PrimaryAssetId
static bool NotEqual_PrimaryAssetId(FPrimaryAssetId A, FPrimaryAssetId B);UFUNCTIONBlueprintPureCategory=AssetManager
Returns true if the values are not equal (A != B)
IsValidPrimaryAssetType
static bool IsValidPrimaryAssetType(FPrimaryAssetType PrimaryAssetType);UFUNCTIONBlueprintPureCategory=AssetManager
Returns list of Primary Asset Ids for a PrimaryAssetType
Conv_PrimaryAssetTypeToString
static FString Conv_PrimaryAssetTypeToString(FPrimaryAssetType PrimaryAssetType);UFUNCTIONBlueprintPure
Converts a Primary Asset Type to a string. The other direction is not provided because it cannot be validated
EqualEqual_PrimaryAssetType
static bool EqualEqual_PrimaryAssetType(FPrimaryAssetType A, FPrimaryAssetType B);UFUNCTIONBlueprintPureCategory=AssetManager
Returns true if the values are equal (A == B)
NotEqual_PrimaryAssetType
static bool NotEqual_PrimaryAssetType(FPrimaryAssetType A, FPrimaryAssetType B);UFUNCTIONBlueprintPureCategory=AssetManager
Returns true if the values are not equal (A != B)
UnloadPrimaryAsset
static void UnloadPrimaryAsset(FPrimaryAssetId PrimaryAssetId);UFUNCTIONBlueprintCallableCategory=AssetManager
Unloads a primary asset, which allows it to be garbage collected if nothing else is referencing it
UnloadPrimaryAssetList
static void UnloadPrimaryAssetList(const TArray<FPrimaryAssetId>& PrimaryAssetIdList);UFUNCTIONBlueprintCallableCategory=AssetManager
Unloads a primary asset, which allows it to be garbage collected if nothing else is referencing it
GetCurrentBundleState
static bool GetCurrentBundleState(FPrimaryAssetId PrimaryAssetId, bool bForceCurrentState, TArray<FName>& OutBundles);UFUNCTIONBlueprintCallableCategory=AssetManager
Returns the list of loaded bundles for a given Primary Asset. This will return false if the asset is not loaded at all. If ForceCurrentState is true it will return the current state even if a load is in process
GetPrimaryAssetsWithBundleState
static void GetPrimaryAssetsWithBundleState(const TArray<FName>& RequiredBundles, const TArray<FName>& ExcludedBundles, const TArray<FPrimaryAssetType>& ValidTypes, bool bForceCurrentState, TArray<FPrimaryAssetId>& OutPrimaryAssetIdList);UFUNCTIONBlueprintCallableCategory=AssetManager
Returns the list of assets that are in a given bundle state. Required Bundles must be specified If ExcludedBundles is not empty, it will not return any assets in those bundle states If ValidTypes is not empty, it…
MakeARFilter
static FARFilter MakeARFilter(const TArray<FName>& PackageNames, const TArray<FName>& PackagePaths, const TArray<FSoftObjectPath>& SoftObjectPaths, const TArray<FTopLevelAssetPath>& ClassPaths, const TSet<FTopLevelAssetPath>& RecursiveClassPathsExclusionSet, const TArray<FName>& ClassNames, const TSet<FName>& RecursiveClassesExclusionSet, const bool bRecursivePaths = false, const bool bRecursiveClasses = false, const bool bIncludeOnlyOnDiskAssets = false);UFUNCTIONBlueprintPureCategory=Utilities
Builds an ARFilter struct. You should be using ClassPaths and RecursiveClassPathsExclusionSet, ClassNames and RecursiveClassesExclusionSet are deprecated.
BreakARFilter
static void BreakARFilter(FARFilter InARFilter, TArray<FName>& PackageNames, TArray<FName>& PackagePaths, TArray<FSoftObjectPath>& SoftObjectPaths, TArray<FTopLevelAssetPath>& ClassPaths, TSet<FTopLevelAssetPath>& RecursiveClassPathsExclusionSet, TArray<FName>& ClassNames, TSet<FName>& RecursiveClassesExclusionSet, bool& bRecursivePaths, bool& bRecursiveClasses, bool& bIncludeOnlyOnDiskAssets);UFUNCTIONBlueprintPureCategory=Utilities
Breaks an ARFilter struct into its component pieces. You should be using ClassPaths and RecursiveClassPathsExclusionSet from this node, ClassNames and RecursiveClassesExclusionSet are deprecated.

Functions

Free functions 11

IsValid
bool UKismetSystemLibrary::IsValid(const UObject* Object);
UKismetSystemLibrary inlines
IsValidClass
bool UKismetSystemLibrary::IsValidClass(UClass* Class);
MakeLiteralInt
int32 UKismetSystemLibrary::MakeLiteralInt(int32 Value);
MakeLiteralInt64
int64 UKismetSystemLibrary::MakeLiteralInt64(int64 Value);
MakeLiteralFloat
float UKismetSystemLibrary::MakeLiteralFloat(float Value);
MakeLiteralDouble
double UKismetSystemLibrary::MakeLiteralDouble(double Value);
MakeLiteralBool
bool UKismetSystemLibrary::MakeLiteralBool(bool Value);
MakeLiteralName
FName UKismetSystemLibrary::MakeLiteralName(FName Value);
MakeLiteralByte
uint8 UKismetSystemLibrary::MakeLiteralByte(uint8 Value);
MakeLiteralString
FString UKismetSystemLibrary::MakeLiteralString(FString Value);
MakeLiteralText
FText UKismetSystemLibrary::MakeLiteralText(FText Value);