UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
KismetSystemLibrary.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
6#include "CoreMinimal.h"
7#endif // UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
9#include "UObject/Object.h"
11#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
12#include "Engine/HitResult.h"
13#endif // UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
14#include "UObject/UnrealType.h"
16#include "UObject/Interface.h"
25#include "KismetSystemLibrary.generated.h"
26
27class AActor;
28class ACameraActor;
30class UPrimitiveComponent;
31class USceneComponent;
32class UTexture2D;
33struct FHitResult;
34
35UENUM(BlueprintType)
37{
45}
46
48UENUM(BlueprintType)
50{
51 // Draw in world with depth testing, allowing occlusion by other surfaces
52 World,
53 // Draw in foreground, so drawn shapes will always be visible
55};
56
58UENUM()
60{
61 enum Type : int
62 {
68 Return
69 };
70}
71
72UENUM()
74{
75 enum Type : int
76 {
78 Quit,
81 };
82}
83
85UENUM()
97
98USTRUCT(BlueprintInternalUseOnly)
100{
102
103 UPROPERTY()
104 int32 Data = 0;
105};
106
107UCLASS(meta=(ScriptName="SystemLibrary"), MinimalAPI)
109{
111
112 // --- Globally useful functions ------------------------------
114 UFUNCTION(BlueprintCallable, CustomThunk, Category="Development|Editor", meta=(Keywords = "ScriptTrace"))
115 static ENGINE_API void StackTrace();
116 static ENGINE_API void StackTraceImpl(const FFrame& StackFrame);
118 {
119 P_FINISH;
120 StackTraceImpl(Stack);
121 }
122
129 UFUNCTION(BlueprintCallable, Category = "Utilities|Debugging", meta=(Keywords = "raise error", DevelopmentOnly))
130 static void RaiseScriptError(const FString& ErrorMessage = FString(TEXT("An error occurred")));
131
132 // Return true if the object is usable : non-null and not pending kill
133 UFUNCTION(BlueprintPure, Category = "Utilities")
134 static bool IsValid(const UObject* Object);
135
136 // Return true if the class is usable : non-null and not pending kill
137 UFUNCTION(BlueprintPure, Category = "Utilities")
138 static bool IsValidClass(UClass* Class);
139
140 // Returns the actual object name.
141 UFUNCTION(BlueprintPure, Category = "Utilities")
142 static ENGINE_API FString GetObjectName(const UObject* Object);
143
144 // Returns the full path to the specified object as a string
145 UFUNCTION(BlueprintPure, Category="Utilities", meta = (DisplayName = "Get Object Path String"))
146 static ENGINE_API FString GetPathName(const UObject* Object);
147
148 // Returns the full path to the specified object as a Soft Object Path
149 UFUNCTION(BlueprintPure, Category = "Utilities")
150 static ENGINE_API FSoftObjectPath GetSoftObjectPath(const UObject* Object);
151
152 // Returns the full file system path to a UObject
153 // If given a non-asset UObject, it will return an empty string
154 UFUNCTION(BlueprintPure, Category = "Utilities|Paths")
155 static ENGINE_API FString GetSystemPath(const UObject* Object);
156
157 // Returns the display name (or actor label), for displaying as a debugging aid.
158 // 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 uniquely identify actors!
159 // It is not localized and should not be used for display to an end user of a game.
160 UFUNCTION(BlueprintPure, Category="Utilities")
161 static ENGINE_API FString GetDisplayName(const UObject* Object);
162
163 // Returns the display name of a class
164 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (DisplayName = "Get Class Display Name"))
165 static ENGINE_API FString GetClassDisplayName(const UClass* Class);
166
167 // Returns the full path to the specified class as a Soft Class Path (that can be used as a Soft Object Path)
168 UFUNCTION(BlueprintPure, Category = "Utilities")
169 static ENGINE_API FSoftClassPath GetSoftClassPath(const UClass* Class);
170
171 // Returns the full path to the specified class as a Top Level Asset Path used by asset utilities
172 UFUNCTION(BlueprintPure, Category = "Utilities", DisplayName="Get Class Path Name (Top Level Asset Path)", meta=(ScriptMethod="GetClassPathName"))
174
175 // Returns the full path to the specified struct as a Top Level Asset Path used by asset utilities
176 UFUNCTION(BlueprintPure, Category = "Utilities", DisplayName = "Get Struct Path Name (Top Level Asset Path)", meta=(ScriptMethod="GetStructPathName"))
178
179 // Returns the full path to the specified enum as a Top Level Asset Path used by asset utilities
180 UFUNCTION(BlueprintPure, Category = "Utilities", DisplayName = "Get Enum Path Name (Top Level Asset Path)", meta=(ScriptMethod="GetEnumPathName"))
182
183 // Returns the outer object of an object.
184 UFUNCTION(BlueprintPure, Category = "Utilities")
185 static ENGINE_API UObject* GetOuterObject(const UObject* Object);
186
187#if WITH_EDITOR
189 UFUNCTION(BlueprintPure, Category = "Utilities")
190 static ENGINE_API bool IsObjectCooked(const UObject* Object);
191
193 UFUNCTION(BlueprintPure, Category = "Utilities")
195
205 UFUNCTION(BlueprintCallable, Category = "Utilities")
206 static ENGINE_API UObject* DuplicateObject(const UObject* SourceObject, UObject* Outer, const FName Name = NAME_None);
207#endif // WITH_EDITOR
208
209 // Engine build number, for displaying to end users.
210 UFUNCTION(BlueprintPure, Category="Development", meta=(BlueprintThreadSafe))
211 static ENGINE_API FString GetEngineVersion();
212
213 // Build version, for displaying to end users in diagnostics.
214 UFUNCTION(BlueprintPure, Category="Development", meta=(BlueprintThreadSafe))
215 static ENGINE_API FString GetBuildVersion();
216
217 // Build configuration, for displaying to end users in diagnostics.
218 UFUNCTION(BlueprintPure, Category = "Development", meta = (BlueprintThreadSafe))
219 static ENGINE_API FString GetBuildConfiguration();
220
222 UFUNCTION(BlueprintPure, Category="Game", meta=(BlueprintThreadSafe))
223 static ENGINE_API FString GetGameName();
224
226 UFUNCTION(BlueprintPure, Category="Utilities|Paths", meta=(BlueprintThreadSafe))
227 static ENGINE_API FString GetProjectDirectory();
228
230 UFUNCTION(BlueprintPure, Category="Utilities|Paths", meta=(BlueprintThreadSafe))
231 static ENGINE_API FString GetProjectContentDirectory();
232
234 UFUNCTION(BlueprintPure, Category="Utilities|Paths", meta=(BlueprintThreadSafe))
235 static ENGINE_API FString GetProjectSavedDirectory();
236
237 /* Converts passed in filename to use a relative path */
238 UFUNCTION(BlueprintPure, Category="Utilities|Paths")
239 static ENGINE_API FString ConvertToRelativePath(const FString& Filename);
240
241 /* Converts passed in filename to use a absolute path */
242 UFUNCTION(BlueprintPure, Category="Utilities|Paths")
243 static ENGINE_API FString ConvertToAbsolutePath(const FString& Filename);
244
245 /* Convert all / and \ to TEXT("/") */
246 UFUNCTION(BlueprintPure, Category="Utilities|Paths", meta=(BlueprintThreadSafe))
247 static ENGINE_API FString NormalizeFilename(const FString& InFilename);
248
254 UFUNCTION(BlueprintPure, Category="Game", meta=(Keywords = "bundle id package name"))
255 static ENGINE_API FString GetGameBundleId();
256
258 UFUNCTION(BlueprintPure, Category="Utilities|Platform")
259 static ENGINE_API FString GetPlatformUserName();
260
262 UFUNCTION(BlueprintPure, Category = "Utilities|Platform")
263 static ENGINE_API FString GetPlatformUserDir();
264
266 UFUNCTION(BlueprintPure, Category="Utilities", meta=(DisplayName = "Does Object Implement Interface"))
267 static ENGINE_API bool DoesImplementInterface(const UObject* TestObject, TSubclassOf<UInterface> Interface);
268
270 UFUNCTION(BlueprintPure, Category="Utilities")
271 static ENGINE_API bool DoesClassImplementInterface(const UClass* TestClass, TSubclassOf<UInterface> Interface);
272
278 UFUNCTION(BlueprintPure, Category="Utilities|Time", meta=(WorldContext="WorldContextObject") )
279 static ENGINE_API double GetGameTimeInSeconds(const UObject* WorldContextObject);
280
282 UFUNCTION(BlueprintPure, Category = "Utilities")
283 static ENGINE_API int64 GetFrameCount();
284
285#if WITH_EDITOR
292 UFUNCTION(BlueprintCallable, Category = "Utilities|Time")
293 static ENGINE_API double GetPlatformTime_Seconds();
294#endif // WITH_EDITOR
295
297 UFUNCTION(BlueprintPure, Category="Networking", meta=(WorldContext="WorldContextObject") )
298 static ENGINE_API bool IsServer(const UObject* WorldContextObject);
299
301 UFUNCTION(BlueprintPure, Category="Networking", meta=(WorldContext="WorldContextObject"))
302 static ENGINE_API bool IsDedicatedServer(const UObject* WorldContextObject);
303
305 UFUNCTION(BlueprintPure, Category="Networking", meta=(WorldContext="WorldContextObject"))
306 static ENGINE_API bool IsStandalone(const UObject* WorldContextObject);
307
309 UE_DEPRECATED(5.0, "IsSplitScreen was only ever checking if there are more than one local player. Use HasMultipleLocalPlayers instead.")
310 UFUNCTION(BlueprintPure, Category = "Viewport", meta = (WorldContext = "WorldContextObject", DeprecatedFunction, DeprecationMessage = "Use HasMultipleLocalPlayers instead"))
311 static ENGINE_API bool IsSplitScreen(const UObject* WorldContextObject);
312
314 UFUNCTION(BlueprintPure, Category = "Viewport", meta = (WorldContext = "WorldContextObject"))
315 static ENGINE_API bool HasMultipleLocalPlayers(const UObject* WorldContextObject);
316
318 UFUNCTION(BlueprintPure, Category="Development", meta=(BlueprintThreadSafe))
319 static ENGINE_API bool IsPackagedForDistribution();
320
322 UFUNCTION(BlueprintPure, Category="Utilities|Platform", meta = (DeprecatedFunction, DeprecationMessage = "Use GetDeviceId instead"))
323 static ENGINE_API FString GetUniqueDeviceId();
324
326 UFUNCTION(BlueprintPure, Category="Utilities|Platform")
327 static ENGINE_API FString GetDeviceId();
328
330 UFUNCTION(BlueprintPure, meta=(DisplayName = "Cast To Class", DeterminesOutputType = "Class"), Category="Utilities")
331 static ENGINE_API UClass* Conv_ObjectToClass(UObject* Object, TSubclassOf<UObject> Class);
332
334 UFUNCTION(BlueprintPure, meta=(DisplayName = "To Object (Interface)", CompactNodeTitle = "->", BlueprintAutocast), Category="Utilities")
336
341 UFUNCTION(BlueprintPure, Category="Utilities")
342 static bool IsValidInterface(const FScriptInterface& Interface);
343
345 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (Keywords = "construct build", NativeMakeFunc, BlueprintThreadSafe, BlueprintAutocast))
346 static ENGINE_API FSoftObjectPath MakeSoftObjectPath(const FString& PathString);
347
349 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (NativeBreakFunc, BlueprintThreadSafe, BlueprintAutocast))
350 static ENGINE_API void BreakSoftObjectPath(FSoftObjectPath InSoftObjectPath, FString& PathString);
351
353 UFUNCTION(BlueprintPure, meta = (DisplayName = "To Soft Object Reference", BlueprintThreadSafe), Category = "Utilities")
354 static ENGINE_API TSoftObjectPtr<UObject> Conv_SoftObjPathToSoftObjRef(const FSoftObjectPath& SoftObjectPath);
355
357 UFUNCTION(BlueprintPure, meta = (DisplayName = "To Soft Object Path", CompactNodeTitle = "->", BlueprintThreadSafe, BlueprintAutocast), Category = "Utilities")
358 static ENGINE_API FSoftObjectPath Conv_SoftObjRefToSoftObjPath(TSoftObjectPtr<UObject> SoftObjectReference);
359
361 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (Keywords = "construct build", NativeMakeFunc, BlueprintThreadSafe, BlueprintAutocast))
362 static ENGINE_API FTopLevelAssetPath MakeTopLevelAssetPath(UPARAM(DisplayName="FullPathOrPackageName") const FString& PackageName, const FString& AssetName);
363
365 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (NativeBreakFunc, BlueprintThreadSafe, BlueprintAutocast))
366 static ENGINE_API void BreakTopLevelAssetPath(const FTopLevelAssetPath& TopLevelAssetPath, FString& PathString);
367
372 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (Keywords = "construct build", NativeMakeFunc, BlueprintThreadSafe))
373 static ENGINE_API FSoftClassPath MakeSoftClassPath(const FString& PathString);
374
376 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (NativeBreakFunc, BlueprintThreadSafe))
377 static ENGINE_API void BreakSoftClassPath(FSoftClassPath InSoftClassPath, FString& PathString);
378
380 UFUNCTION(BlueprintPure, meta = (DisplayName = "To Soft Class Reference", BlueprintThreadSafe), Category = "Utilities")
381 static ENGINE_API TSoftClassPtr<UObject> Conv_SoftClassPathToSoftClassRef(const FSoftClassPath& SoftClassPath);
382
384 UFUNCTION(BlueprintPure, meta = (DisplayName = "To Soft Class Path", CompactNodeTitle = "->", BlueprintThreadSafe, BlueprintAutocast), Category = "Utilities")
385 static ENGINE_API FSoftClassPath Conv_SoftObjRefToSoftClassPath(TSoftClassPtr<UObject> SoftClassReference);
386
388 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (BlueprintThreadSafe))
389 static ENGINE_API bool IsValidSoftObjectReference(const TSoftObjectPtr<UObject>& SoftObjectReference);
390
392 UFUNCTION(BlueprintPure, meta = (DisplayName = "To String (SoftObjectReference)", CompactNodeTitle = "->", BlueprintThreadSafe, BlueprintAutocast), Category = "Utilities")
394
396 UFUNCTION(BlueprintPure, meta = (DisplayName = "Equal (SoftObjectReference)", CompactNodeTitle = "==", BlueprintThreadSafe), Category = "Utilities")
398
400 UFUNCTION(BlueprintPure, meta = (DisplayName = "Not Equal (SoftObjectReference)", CompactNodeTitle = "!=", BlueprintThreadSafe), Category = "Utilities")
402
404 UFUNCTION(BlueprintCallable, Category = "Utilities", meta = (DeterminesOutputType = "Asset"))
405 static ENGINE_API UObject* LoadAsset_Blocking(TSoftObjectPtr<UObject> Asset);
406
408 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (BlueprintThreadSafe))
409 static ENGINE_API bool IsValidSoftClassReference(const TSoftClassPtr<UObject>& SoftClassReference);
410
412 UFUNCTION(BlueprintPure, meta = (BlueprintThreadSafe, BlueprintAutocast), Category = "Utilities")
413 static ENGINE_API FTopLevelAssetPath GetSoftClassTopLevelAssetPath(TSoftClassPtr<UObject> SoftClassReference);
414
416 UFUNCTION(BlueprintPure, meta = (DisplayName = "To String (SoftClassReference)", CompactNodeTitle = "->", BlueprintThreadSafe, BlueprintAutocast), Category = "Utilities")
418
420 UFUNCTION(BlueprintPure, meta = (DisplayName = "Equal (SoftClassReference)", CompactNodeTitle = "==", BlueprintThreadSafe), Category = "Utilities")
422
424 UFUNCTION(BlueprintPure, meta = (DisplayName = "Not Equal (SoftClassReference)", CompactNodeTitle = "!=", BlueprintThreadSafe), Category = "Utilities")
426
428 UFUNCTION(BlueprintCallable, Category = "Utilities", meta = (DeterminesOutputType = "AssetClass"))
429 static ENGINE_API UClass* LoadClassAsset_Blocking(TSoftClassPtr<UObject> AssetClass);
430
432 UFUNCTION(BlueprintCallable, Category = "Utilities", meta = (ExpandEnumAsExecs = ReturnValue, DisplayName = "IsA ( soft )"))
433 static bool IsObjectOfSoftClass(const UObject* Object, TSoftClassPtr<UObject> SoftClass);
434
435 // Internal functions used by K2Node_LoadAsset and K2Node_ConvertAsset
436
437 UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Utilities")
438 static ENGINE_API UObject* Conv_SoftObjectReferenceToObject(const TSoftObjectPtr<UObject>& SoftObject);
439
440 UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Utilities")
441 static ENGINE_API TSubclassOf<UObject> Conv_SoftClassReferenceToClass(const TSoftClassPtr<UObject>& SoftClass);
442
443 UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Utilities")
444 static ENGINE_API TSoftObjectPtr<UObject> Conv_ObjectToSoftObjectReference(UObject* Object);
445
446 UFUNCTION(BlueprintPure, meta = (BlueprintInternalUseOnly = "true"), Category = "Utilities")
447 static ENGINE_API TSoftClassPtr<UObject> Conv_ClassToSoftClassReference(const TSubclassOf<UObject>& Class);
448
449 UFUNCTION(BlueprintPure, meta = (BlueprintAutocast), Category = "Utilities")
450 static ENGINE_API FSoftComponentReference Conv_ComponentReferenceToSoftComponentReference(const FComponentReference& ComponentReference);
451
453
454 UFUNCTION(BlueprintCallable, meta = (Latent, LatentInfo = "LatentInfo", WorldContext = "WorldContextObject", BlueprintInternalUseOnly = "true"), Category = "Utilities")
455 static ENGINE_API void LoadAsset(const UObject* WorldContextObject, TSoftObjectPtr<UObject> Asset, FOnAssetLoaded OnLoaded, FLatentActionInfo LatentInfo);
456
458
459 UFUNCTION(BlueprintCallable, meta = (Latent, LatentInfo = "LatentInfo", WorldContext = "WorldContextObject", BlueprintInternalUseOnly = "true"), Category = "Utilities")
460 static ENGINE_API void LoadAssetClass(const UObject* WorldContextObject, TSoftClassPtr<UObject> AssetClass, FOnAssetClassLoaded OnLoaded, FLatentActionInfo LatentInfo);
461
463
464 UFUNCTION(BlueprintCallable, meta = (Latent, LatentInfo = "LatentInfo", WorldContext = "WorldContextObject", BlueprintInternalUseOnly = "true"), Category = "Utilities")
465 static ENGINE_API void LoadAssets(const UObject* WorldContextObject, TArray<TSoftObjectPtr<UObject>> Assets, FOnAssetsLoaded OnLoaded, FLatentActionInfo LatentInfo);
466
472 UFUNCTION(BlueprintPure, Category="Math|Integer", meta=(BlueprintThreadSafe))
473 static int32 MakeLiteralInt(int32 Value);
474
480 UFUNCTION(BlueprintPure, Category = "Math|Integer", meta = (BlueprintThreadSafe))
481 static int64 MakeLiteralInt64(int64 Value);
482
488 UE_DEPRECATED(5.1, "This method has been deprecated and will be removed.")
489 static float MakeLiteralFloat(float Value);
490
496 UFUNCTION(BlueprintPure, Category = "Math|Float", meta = (BlueprintThreadSafe, DisplayName = "Make Literal Float"))
497 static double MakeLiteralDouble(double Value);
498
504 UFUNCTION(BlueprintPure, Category="Math|Boolean", meta=(BlueprintThreadSafe))
505 static bool MakeLiteralBool(bool Value);
506
512 UFUNCTION(BlueprintPure, Category="Utilities|Name", meta=(BlueprintThreadSafe))
513 static FName MakeLiteralName(FName Value);
514
520 UFUNCTION(BlueprintPure, Category="Math|Byte", meta=(BlueprintThreadSafe))
521 static uint8 MakeLiteralByte(uint8 Value);
522
528 UFUNCTION(BlueprintPure, Category="Utilities|String", meta=(BlueprintThreadSafe))
529 static FString MakeLiteralString(FString Value);
530
536 UFUNCTION(BlueprintPure, Category="Utilities|Text", meta=(BlueprintThreadSafe))
537 static FText MakeLiteralText(FText Value);
538
546 UFUNCTION(BlueprintCallable, Category="Utilities|String", meta=(BlueprintThreadSafe, Keywords = "log print", DevelopmentOnly))
547 static ENGINE_API void LogString(const FString& InString = FString(TEXT("Hello")), bool bPrintToLog = true);
548
561 UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext, Keywords = "log print", AdvancedDisplay = "2", DevelopmentOnly), Category="Development")
562 static ENGINE_API 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);
563
576 UFUNCTION(BlueprintCallable, meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext, Keywords = "log", AdvancedDisplay = "2", DevelopmentOnly), Category="Development")
577 static ENGINE_API 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);
578
586 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "TRUE"))
587 static ENGINE_API void PrintWarning(const FString& InString);
588
590 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
591 static ENGINE_API void SetWindowTitle(const FText& Title);
592
599 UFUNCTION(BlueprintCallable, Category="Development",meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext))
600 static ENGINE_API void ExecuteConsoleCommand(const UObject* WorldContextObject, const FString& Command, class APlayerController* SpecificPlayer = NULL );
601
608 UFUNCTION(BlueprintCallable, Category="Development")
609 static ENGINE_API FString GetConsoleVariableStringValue(const FString& VariableName);
610
617 UFUNCTION(BlueprintCallable, Category="Development")
618 static ENGINE_API float GetConsoleVariableFloatValue(const FString& VariableName);
619
626 UFUNCTION(BlueprintCallable, Category="Development")
627 static ENGINE_API int32 GetConsoleVariableIntValue(const FString& VariableName);
628
635 UFUNCTION(BlueprintCallable, Category="Development")
636 static ENGINE_API bool GetConsoleVariableBoolValue(const FString& VariableName);
637
644 UFUNCTION(BlueprintCallable, Category="Game",meta=(WorldContext="WorldContextObject", CallableWithoutWorldContext))
646
647#if WITH_EDITOR
651 UFUNCTION(BlueprintCallable, Category="Development")
652 static ENGINE_API void QuitEditor();
653#endif // WITH_EDITOR
654
655 //=============================================================================
656 // Latent Actions
657
665 UFUNCTION(BlueprintCallable, Category="Utilities|FlowControl", meta=(Latent, WorldContext="WorldContextObject", LatentInfo="LatentInfo", Duration="0.2", Keywords="sleep"))
666 static ENGINE_API void Delay(const UObject* WorldContextObject, float Duration, struct FLatentActionInfo LatentInfo );
667
677 UFUNCTION(BlueprintCallable, Category = "Utilities|FlowControl", meta = (Latent, WorldContext = "WorldContextObject", LatentInfo = "LatentInfo", Keywords = "sleep"))
678 static ENGINE_API void DelayUntilNextTick(const UObject* WorldContextObject, FLatentActionInfo LatentInfo);
679
685 UFUNCTION(BlueprintCallable, Category = "Utilities|FlowControl", meta = (Latent, WorldContext = "WorldContextObject", LatentInfo = "LatentInfo", Keywords = "sleep"))
686 static ENGINE_API void DelayUntilNextFrame(const UObject* WorldContextObject, FLatentActionInfo LatentInfo);
687
688
696 UFUNCTION(BlueprintCallable, meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", Duration="0.2", Keywords="sleep"), Category="Utilities|FlowControl")
697 static ENGINE_API void RetriggerableDelay(const UObject* WorldContextObject, float Duration, FLatentActionInfo LatentInfo);
698
699 /*
700 * Interpolate a component to the specified relative location and rotation over the course of OverTime seconds.
701 * @param Component Component to interpolate
702 * @param TargetRelativeLocation Relative target location
703 * @param TargetRelativeRotation Relative target rotation
704 * @param bEaseOut if true we will ease out (ie end slowly) during interpolation
705 * @param bEaseIn if true we will ease in (ie start slowly) during interpolation
706 * @param OverTime duration of interpolation
707 * @param bForceShortestRotationPath if true we will always use the shortest path for rotation
708 * @param MoveAction required movement behavior @see EMoveComponentAction
709 * @param LatentInfo The latent action
710 */
711 UFUNCTION(BlueprintCallable, meta=(Latent, LatentInfo="LatentInfo", WorldContext="WorldContextObject", ExpandEnumAsExecs="MoveAction", OverTime="0.2"), Category="Components")
712 static ENGINE_API void MoveComponentTo(USceneComponent* Component, FVector TargetRelativeLocation, FRotator TargetRelativeRotation, bool bEaseOut, bool bEaseIn, float OverTime, bool bForceShortestRotationPath, TEnumAsByte<EMoveComponentAction::Type> MoveAction, FLatentActionInfo LatentInfo);
713
714 // --- Timer functions with delegate input ----------
715
726 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Set Timer by Event", ScriptName = "SetTimerDelegate", AdvancedDisplay="InitialStartDelay, InitialStartDelayVariance"), Category="Utilities|Time")
727 static ENGINE_API FTimerHandle K2_SetTimerDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate, float Time, bool bLooping, bool bMaxOncePerFrame = false, float InitialStartDelay = 0.f, float InitialStartDelayVariance = 0.f);
728
734 UFUNCTION(BlueprintCallable, meta = (DisplayName = "Set Timer for Next Tick by Event", ScriptName = "SetTimerForNextTickDelegate"), Category = "Utilities|Time")
735 static ENGINE_API FTimerHandle K2_SetTimerForNextTickDelegate(UPARAM(DisplayName = "Event") FTimerDynamicDelegate Delegate);
736
741 UFUNCTION(BlueprintCallable, meta=(DeprecatedFunction, DeprecationMessage = "Use Clear Timer by Handle", DisplayName = "Clear Timer by Event", ScriptName = "ClearTimerDelegate"), Category="Utilities|Time")
742 static ENGINE_API void K2_ClearTimerDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
743
748 UFUNCTION(BlueprintCallable, meta=(DeprecatedFunction, DeprecationMessage = "Use Pause Timer by Handle", DisplayName = "Pause Timer by Event", ScriptName = "PauseTimerDelegate"), Category="Utilities|Time")
749 static ENGINE_API void K2_PauseTimerDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
750
755 UFUNCTION(BlueprintCallable, meta=(DeprecatedFunction, DeprecationMessage = "Use Unpause Timer by Handle", DisplayName = "Unpause Timer by Event", ScriptName = "UnPauseTimerDelegate"), Category="Utilities|Time")
756 static ENGINE_API void K2_UnPauseTimerDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
757
763 UFUNCTION(BlueprintPure, meta=(DeprecatedFunction, DeprecationMessage = "Use Is Timer Active by Handle", DisplayName = "Is Timer Active by Event", ScriptName = "IsTimerActiveDelegate"), Category="Utilities|Time")
764 static ENGINE_API bool K2_IsTimerActiveDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
765
771 UFUNCTION(BlueprintPure, meta=(DeprecatedFunction, DeprecationMessage = "Use Is Timer Paused by Handle", DisplayName = "Is Timer Paused by Event", ScriptName = "IsTimerPausedDelegate"), Category = "Utilities|Time")
772 static ENGINE_API bool K2_IsTimerPausedDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
773
779 UFUNCTION(BlueprintPure, meta=(DeprecatedFunction, DeprecationMessage = "Use Does Timer Exist by Handle", DisplayName = "Does Timer Exist by Event", ScriptName = "TimerExistsDelegate"), Category = "Utilities|Time")
780 static ENGINE_API bool K2_TimerExistsDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
781
787 UFUNCTION(BlueprintPure, meta=(DeprecatedFunction, DeprecationMessage = "Use Get Timer Elapsed Time by Handle", DisplayName = "Get Timer Elapsed Time by Event", ScriptName = "GetTimerElapsedTimeDelegate"), Category="Utilities|Time")
788 static ENGINE_API float K2_GetTimerElapsedTimeDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
789
795 UFUNCTION(BlueprintPure, meta=(DeprecatedFunction, DeprecationMessage = "Use Get Timer Remaining Time by Handle", DisplayName = "Get Timer Remaining Time by Event", ScriptName = "GetTimerRemainingTimeDelegate"), Category="Utilities|Time")
796 static ENGINE_API float K2_GetTimerRemainingTimeDelegate(UPARAM(DisplayName="Event") FTimerDynamicDelegate Delegate);
797
798 // --- Timer functions with handle input ----------
799
805 UFUNCTION(BlueprintPure, meta=(DisplayName = "Is Valid Timer Handle", ScriptName = "IsValidTimerHandle"), Category="Utilities|Time")
806 static ENGINE_API bool K2_IsValidTimerHandle(FTimerHandle Handle);
807
813 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Invalidate Timer Handle", ScriptName = "InvalidateTimerHandle"), Category="Utilities|Time")
814 static ENGINE_API FTimerHandle K2_InvalidateTimerHandle(UPARAM(ref) FTimerHandle& Handle);
815
820 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Clear Timer by Handle", ScriptName = "ClearTimerHandle", WorldContext="WorldContextObject", DeprecatedFunction, DeprecationMessage = "Use Clear and Invalidate Timer by Handle. Note: you no longer need to reset your handle yourself after switching to the new function."), Category="Utilities|Time")
821 static ENGINE_API void K2_ClearTimerHandle(const UObject* WorldContextObject, FTimerHandle Handle);
822
827 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Clear and Invalidate Timer by Handle", ScriptName = "ClearAndInvalidateTimerHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
828 static ENGINE_API void K2_ClearAndInvalidateTimerHandle(const UObject* WorldContextObject, UPARAM(ref) FTimerHandle& Handle);
829
834 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Pause Timer by Handle", ScriptName = "PauseTimerHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
835 static ENGINE_API void K2_PauseTimerHandle(const UObject* WorldContextObject, FTimerHandle Handle);
836
841 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Unpause Timer by Handle", ScriptName = "UnPauseTimerHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
842 static ENGINE_API void K2_UnPauseTimerHandle(const UObject* WorldContextObject, FTimerHandle Handle);
843
849 UFUNCTION(BlueprintPure, meta=(DisplayName = "Is Timer Active by Handle", ScriptName = "IsTimerActiveHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
850 static ENGINE_API bool K2_IsTimerActiveHandle(const UObject* WorldContextObject, FTimerHandle Handle);
851
857 UFUNCTION(BlueprintPure, meta=(DisplayName = "Is Timer Paused by Handle", ScriptName = "IsTimerPausedHandle", WorldContext="WorldContextObject"), Category = "Utilities|Time")
858 static ENGINE_API bool K2_IsTimerPausedHandle(const UObject* WorldContextObject, FTimerHandle Handle);
859
865 UFUNCTION(BlueprintPure, meta=(DisplayName = "Does Timer Exist by Handle", ScriptName = "TimerExistsHandle", WorldContext="WorldContextObject"), Category = "Utilities|Time")
866 static ENGINE_API bool K2_TimerExistsHandle(const UObject* WorldContextObject, FTimerHandle Handle);
867
873 UFUNCTION(BlueprintPure, meta=(DisplayName = "Get Timer Elapsed Time by Handle", ScriptName = "GetTimerElapsedTimeHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
874 static ENGINE_API float K2_GetTimerElapsedTimeHandle(const UObject* WorldContextObject, FTimerHandle Handle);
875
881 UFUNCTION(BlueprintPure, meta=(DisplayName = "Get Timer Remaining Time by Handle", ScriptName = "GetTimerRemainingTimeHandle", WorldContext="WorldContextObject"), Category="Utilities|Time")
882 static ENGINE_API float K2_GetTimerRemainingTimeHandle(const UObject* WorldContextObject, FTimerHandle Handle);
883
884 // --- Timer functions ------------------------------
885
897 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Set Timer by Function Name", ScriptName = "SetTimer", DefaultToSelf = "Object", AdvancedDisplay="InitialStartDelay, InitialStartDelayVariance"), Category="Utilities|Time")
898 static ENGINE_API FTimerHandle K2_SetTimer(UObject* Object, FString FunctionName, float Time, bool bLooping, bool bMaxOncePerFrame = false, float InitialStartDelay = 0.f, float InitialStartDelayVariance = 0.f);
899
906 UFUNCTION(BlueprintCallable, meta = (DisplayName = "Set Timer for Next Tick by Function Name", ScriptName = "SetTimerForNextTick", DefaultToSelf = "Object"), Category = "Utilities|Time")
907 static ENGINE_API FTimerHandle K2_SetTimerForNextTick(UObject* Object, FString FunctionName);
908
914 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Clear Timer by Function Name", ScriptName = "ClearTimer", DefaultToSelf = "Object"), Category="Utilities|Time")
915 static ENGINE_API void K2_ClearTimer(UObject* Object, FString FunctionName);
916
922 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Pause Timer by Function Name", ScriptName = "PauseTimer", DefaultToSelf = "Object"), Category="Utilities|Time")
923 static ENGINE_API void K2_PauseTimer(UObject* Object, FString FunctionName);
924
930 UFUNCTION(BlueprintCallable, meta=(DisplayName = "Unpause Timer by Function Name", ScriptName = "UnPauseTimer", DefaultToSelf = "Object"), Category="Utilities|Time")
931 static ENGINE_API void K2_UnPauseTimer(UObject* Object, FString FunctionName);
932
939 UFUNCTION(BlueprintPure, meta=(DisplayName = "Is Timer Active by Function Name", ScriptName = "IsTimerActive", DefaultToSelf = "Object"), Category="Utilities|Time")
940 static ENGINE_API bool K2_IsTimerActive(UObject* Object, FString FunctionName);
941
948 UFUNCTION(BlueprintPure, meta = (DisplayName = "Is Timer Paused by Function Name", ScriptName = "IsTimerPaused", DefaultToSelf = "Object"), Category = "Utilities|Time")
949 static ENGINE_API bool K2_IsTimerPaused(UObject* Object, FString FunctionName);
950
957 UFUNCTION(BlueprintPure, meta = (DisplayName = "Does Timer Exist by Function Name", ScriptName = "TimerExists", DefaultToSelf = "Object"), Category = "Utilities|Time")
958 static ENGINE_API bool K2_TimerExists(UObject* Object, FString FunctionName);
959
966 UFUNCTION(BlueprintPure, meta=(DisplayName = "Get Timer Elapsed Time by Function Name", ScriptName = "GetTimerElapsedTime", DefaultToSelf = "Object"), Category="Utilities|Time")
967 static ENGINE_API float K2_GetTimerElapsedTime(UObject* Object, FString FunctionName);
968
975 UFUNCTION(BlueprintPure, meta=(DisplayName = "Get Timer Remaining Time by Function Name", ScriptName = "GetTimerRemainingTime", DefaultToSelf = "Object"), Category="Utilities|Time")
976 static ENGINE_API float K2_GetTimerRemainingTime(UObject* Object, FString FunctionName);
977
978
979 // --- 'Set property by name' functions ------------------------------
980
982 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true"))
983 static ENGINE_API void SetIntPropertyByName(UObject* Object, FName PropertyName, int32 Value);
984
986 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true"))
987 static ENGINE_API void SetInt64PropertyByName(UObject* Object, FName PropertyName, int64 Value);
988
990 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true"))
991 static ENGINE_API void SetBytePropertyByName(UObject* Object, FName PropertyName, uint8 Value);
992
994 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true"))
995 static ENGINE_API void SetDoublePropertyByName(UObject* Object, FName PropertyName, double Value);
996
998 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true"))
999 static ENGINE_API void SetBoolPropertyByName(UObject* Object, FName PropertyName, bool Value);
1000
1002 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true"))
1003 static ENGINE_API void SetObjectPropertyByName(UObject* Object, FName PropertyName, UObject* Value);
1004
1006 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true"))
1007 static ENGINE_API void SetClassPropertyByName(UObject* Object, FName PropertyName, TSubclassOf<UObject> Value);
1008
1010 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true"))
1011 static ENGINE_API void SetInterfacePropertyByName(UObject* Object, FName PropertyName, const FScriptInterface& Value);
1012
1014 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1015 static ENGINE_API void SetNamePropertyByName(UObject* Object, FName PropertyName, const FName& Value);
1016
1018 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1019 static ENGINE_API void SetSoftObjectPropertyByName(UObject* Object, FName PropertyName, const TSoftObjectPtr<UObject>& Value);
1020
1022 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1023 static ENGINE_API void SetSoftClassPropertyByName(UObject* Object, FName PropertyName, const TSoftClassPtr<UObject>& Value);
1024
1026 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1027 static ENGINE_API void SetStringPropertyByName(UObject* Object, FName PropertyName, const FString& Value);
1028
1030 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1031 static ENGINE_API void SetTextPropertyByName(UObject* Object, FName PropertyName, const FText& Value);
1032
1034 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1035 static ENGINE_API void SetVectorPropertyByName(UObject* Object, FName PropertyName, const FVector& Value);
1036
1038 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1039 static ENGINE_API void SetVector3fPropertyByName(UObject* Object, FName PropertyName, const FVector3f& Value);
1040
1042 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1043 static ENGINE_API void SetRotatorPropertyByName(UObject* Object, FName PropertyName, const FRotator& Value);
1044
1046 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1047 static ENGINE_API void SetLinearColorPropertyByName(UObject* Object, FName PropertyName, const FLinearColor& Value);
1048
1050 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1051 static ENGINE_API void SetColorPropertyByName(UObject* Object, FName PropertyName, const FColor& Value);
1052
1054 UFUNCTION(BlueprintCallable, meta=(BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value" ))
1055 static ENGINE_API void SetTransformPropertyByName(UObject* Object, FName PropertyName, const FTransform& Value);
1056
1058 UFUNCTION(BlueprintCallable, CustomThunk, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1059 static ENGINE_API void SetCollisionProfileNameProperty(UObject* Object, FName PropertyName, const FCollisionProfileName& Value);
1060
1062 UFUNCTION(BlueprintCallable, meta = (BlueprintInternalUseOnly = "true", AutoCreateRefTerm = "Value"))
1063 static ENGINE_API void SetFieldPathPropertyByName(UObject* Object, FName PropertyName, const TFieldPath<FField>& Value);
1064
1066
1068 UFUNCTION(BlueprintCallable, CustomThunk, meta = (BlueprintInternalUseOnly = "true", CustomStructureParam = "Value", AutoCreateRefTerm = "Value"))
1069 static ENGINE_API void SetStructurePropertyByName(UObject* Object, FName PropertyName, const FGenericStruct& Value);
1070
1073
1074 // --- Collision functions ------------------------------
1075
1087 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Sphere Overlap Actors"))
1088 static ENGINE_API 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);
1089
1101 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Sphere Overlap Components"))
1102 static ENGINE_API 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);
1103
1104
1116 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Box Overlap Actors"))
1117 static ENGINE_API 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);
1118
1131 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Box Overlap Actors With Orientation"))
1132 static ENGINE_API 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);
1133
1145 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Box Overlap Components"))
1146 static ENGINE_API 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);
1147
1160 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Box Overlap Components With Orientation"))
1161 static ENGINE_API 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);
1162
1163
1176 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Capsule Overlap Actors"))
1177 static ENGINE_API 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);
1178
1192 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Capsule Overlap Actors With Orientation"))
1193 static ENGINE_API 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);
1194
1207 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Capsule Overlap Components") )
1208 static ENGINE_API 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);
1209
1223 UFUNCTION(BlueprintCallable, Category="Collision", meta=(WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Capsule Overlap Components With Orientation") )
1224 static ENGINE_API 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);
1225
1236 UFUNCTION(BlueprintCallable, Category="Collision", meta=(AutoCreateRefTerm="ActorsToIgnore", DisplayName="Component Overlap Actors"))
1237 static ENGINE_API bool ComponentOverlapActors(UPrimitiveComponent* Component, const FTransform& ComponentTransform, const TArray<TEnumAsByte<EObjectTypeQuery> > & ObjectTypes, UClass* ActorClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class AActor*>& OutActors);
1238
1249 UFUNCTION(BlueprintCallable, Category="Collision", meta=(AutoCreateRefTerm="ActorsToIgnore", DisplayName="Component Overlap Components"))
1250 static ENGINE_API bool ComponentOverlapComponents(UPrimitiveComponent* Component, const FTransform& ComponentTransform, const TArray<TEnumAsByte<EObjectTypeQuery> > & ObjectTypes, UClass* ComponentClassFilter, const TArray<AActor*>& ActorsToIgnore, TArray<class UPrimitiveComponent*>& OutComponents);
1251
1252
1265 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName="Line Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="raycast"))
1266 static ENGINE_API 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);
1267
1280 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Line Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="raycast"))
1281 static ENGINE_API 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);
1282
1295 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Sphere Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1296 static ENGINE_API 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);
1297
1311 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Sphere Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1312 static ENGINE_API 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);
1313
1327 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext="WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Box Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1328 static ENGINE_API 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);
1329
1343 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext="WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Box Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1344 static ENGINE_API 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);
1345
1346
1361 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Capsule Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1362 static ENGINE_API 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);
1363
1378 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Capsule Trace By Channel", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1379 static ENGINE_API 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);
1380
1393 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Line Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="raycast"))
1394 static ENGINE_API 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 );
1395
1408 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Line Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="raycast"))
1409 static ENGINE_API 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);
1410
1423 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Sphere Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1424 static ENGINE_API 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);
1425
1439 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Sphere Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1440 static ENGINE_API 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);
1441
1442
1456 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext="WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Box Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1457 static ENGINE_API 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);
1458
1459
1473 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext="WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Box Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1474 static ENGINE_API 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);
1475
1490 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Capsule Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1491 static ENGINE_API 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);
1492
1507 UFUNCTION(BlueprintCallable, Category="Collision", meta=(bIgnoreSelf="true", WorldContext="WorldContextObject", AutoCreateRefTerm="ActorsToIgnore", DisplayName = "Multi Capsule Trace For Objects", AdvancedDisplay="TraceColor,TraceHitColor,DrawTime", Keywords="sweep"))
1508 static ENGINE_API 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);
1509
1510 // BY PROFILE
1511
1523 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Line Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "raycast"))
1524 static ENGINE_API 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);
1525
1539 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Line Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "raycast"))
1540 static ENGINE_API 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);
1541
1553 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Sphere Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1554 static ENGINE_API 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);
1555
1570 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Sphere Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1571 static ENGINE_API 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);
1572
1585 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Box Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1586 static ENGINE_API 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);
1587
1602 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Box Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1603 static ENGINE_API 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);
1604
1605
1619 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Capsule Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1620 static ENGINE_API 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);
1621
1637 UFUNCTION(BlueprintCallable, Category = "Collision", meta = (bIgnoreSelf = "true", WorldContext = "WorldContextObject", AutoCreateRefTerm = "ActorsToIgnore", DisplayName = "Multi Capsule Trace By Profile", AdvancedDisplay = "TraceColor,TraceHitColor,DrawTime", Keywords = "sweep"))
1638 static ENGINE_API 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);
1639
1640#if WITH_EDITOR
1641 UFUNCTION()
1643#endif
1644
1645
1652 UFUNCTION(BlueprintCallable, Category="Actor")
1654
1655
1656 // --- Debug drawing functions ------------------------------
1657
1659 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1660 static ENGINE_API void DrawDebugLine(const UObject* WorldContextObject, const FVector LineStart, const FVector LineEnd, FLinearColor LineColor, float Duration=0.f, float Thickness = 0.f, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1661
1663 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1664 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1665
1667 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1668 static ENGINE_API void DrawDebugPoint(const UObject* WorldContextObject, const FVector Position, float Size, FLinearColor PointColor, float Duration=0.f, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1669
1671 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1672 static ENGINE_API void DrawDebugArrow(const UObject* WorldContextObject, const FVector LineStart, const FVector LineEnd, float ArrowSize, FLinearColor LineColor, float Duration=0.f, float Thickness = 0.f, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1673
1675 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1676 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1677
1679 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1680 static ENGINE_API void DrawDebugCoordinateSystem(const UObject* WorldContextObject, const FVector AxisLoc, const FRotator AxisRot, float Scale=1.f, float Duration=0.f, float Thickness = 0.f, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1681
1683 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1684 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1685
1687 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1688 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1689
1691 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DeprecatedFunction, DeprecationMessage="DrawDebugCone has been changed to use degrees for angles instead of radians. Place a new DrawDebugCone node and pass your angles as degrees.", DevelopmentOnly))
1692 static ENGINE_API void DrawDebugCone(const UObject* WorldContextObject, const FVector Origin, const FVector Direction, float Length, float AngleWidth, float AngleHeight, int32 NumSides, FLinearColor LineColor, float Duration = 0.f, float Thickness = 0.f);
1693
1698 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DisplayName="Draw Debug Cone", DevelopmentOnly))
1699 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1700
1702 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1703 static ENGINE_API 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, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1704
1706 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1707 static ENGINE_API void DrawDebugString(const UObject* WorldContextObject, const FVector TextLocation, const FString& Text, class AActor* TestBaseActor = NULL, FLinearColor TextColor = FLinearColor::White, float Duration=0.f);
1713 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1714 static ENGINE_API void FlushDebugStrings(const UObject* WorldContextObject);
1715
1717 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1718 static ENGINE_API void DrawDebugPlane(const UObject* WorldContextObject, const FPlane& PlaneCoordinates, const FVector Location, float Size, FLinearColor PlaneColor = FLinearColor::White, float Duration=0.f, EDrawDebugSceneDepthPriorityGroup DepthPriority = EDrawDebugSceneDepthPriorityGroup::World);
1719
1725 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1726 static ENGINE_API void FlushPersistentDebugLines(const UObject* WorldContextObject);
1727
1729 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1730 static ENGINE_API void DrawDebugFrustum(const UObject* WorldContextObject, const FTransform& FrustumTransform, FLinearColor FrustumColor = FLinearColor::White, float Duration=0.f, float Thickness = 0.f);
1731
1733 UFUNCTION(BlueprintCallable, Category="Rendering|Debug", meta=(DevelopmentOnly))
1735
1736 /* Draws a 2D Histogram of size 'DrawSize' based FDebugFloatHistory struct, using DrawTransform for the position in the world. */
1737 UFUNCTION(BlueprintCallable, Category = "Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1738 static ENGINE_API void DrawDebugFloatHistoryTransform(const UObject* WorldContextObject, const FDebugFloatHistory& FloatHistory, const FTransform& DrawTransform, FVector2D DrawSize, FLinearColor DrawColor = FLinearColor::White, float Duration = 0.f);
1739
1740 /* 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. */
1741 UFUNCTION(BlueprintCallable, Category = "Rendering|Debug", meta=(WorldContext="WorldContextObject", DevelopmentOnly))
1742 static ENGINE_API void DrawDebugFloatHistoryLocation(const UObject* WorldContextObject, const FDebugFloatHistory& FloatHistory, FVector DrawLocation, FVector2D DrawSize, FLinearColor DrawColor = FLinearColor::White, float Duration = 0.f);
1743
1744 UFUNCTION(BlueprintCallable, Category = "Rendering|Debug", meta=(DevelopmentOnly))
1745 static ENGINE_API FDebugFloatHistory AddFloatHistorySample(float Value, const FDebugFloatHistory& FloatHistory);
1746
1748 UFUNCTION(BlueprintCallable, Category="Development|Editor")
1749 static ENGINE_API void CreateCopyForUndoBuffer(UObject* ObjectToModify);
1750
1752 UFUNCTION(BlueprintPure, Category="Collision")
1753 static ENGINE_API void GetComponentBounds(const USceneComponent* Component, FVector& Origin, FVector& BoxExtent, float& SphereRadius);
1754
1755 UFUNCTION(BlueprintPure, Category="Collision", meta=(DeprecatedFunction))
1756 static ENGINE_API void GetActorBounds(const AActor* Actor, FVector& Origin, FVector& BoxExtent);
1757
1765 UFUNCTION(BlueprintPure, Category="Rendering", meta=(UnsafeDuringActorConstruction = "true"))
1766 static ENGINE_API int32 GetRenderingDetailMode();
1767
1774 UFUNCTION(BlueprintPure, Category="Rendering|Material", meta=(UnsafeDuringActorConstruction = "true"))
1775 static ENGINE_API int32 GetRenderingMaterialQualityLevel();
1776
1781 UFUNCTION(BlueprintCallable, Category="Rendering")
1782 static ENGINE_API bool GetSupportedFullscreenResolutions(TArray<FIntPoint>& Resolutions);
1783
1788 UFUNCTION(BlueprintCallable, Category="Rendering")
1789 static ENGINE_API bool GetConvenientWindowedResolutions(TArray<FIntPoint>& Resolutions);
1790
1795 UFUNCTION(BlueprintPure, Category="Rendering", meta=(UnsafeDuringActorConstruction = "true"))
1796 static ENGINE_API int32 GetMinYResolutionForUI();
1797
1802 UFUNCTION(BlueprintPure, Category = "Rendering", meta = (UnsafeDuringActorConstruction = "true"))
1803 static ENGINE_API int32 GetMinYResolutionFor3DView();
1804
1805 // Opens the specified URL in the platform's web browser of choice
1806 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1807 static ENGINE_API void LaunchURL(const FString& URL);
1808
1809 // Opens an external URL in the platform's web browser of choice if it meets the allowlist of passed in domains
1810 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1811 static ENGINE_API void LaunchExternalUrl(const TArray<FString>& InDomainStrings, const FString& URL);
1812
1813 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1814 static ENGINE_API bool CanLaunchURL(const FString& URL);
1815
1816 // Deletes all unreferenced objects, keeping only referenced objects (this command will be queued and happen at the end of the frame)
1817 // Note: This can be a slow operation, and should only be performed where a hitch would be acceptable
1818 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1819 static ENGINE_API void CollectGarbage();
1820
1828 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1829 static ENGINE_API void ShowAdBanner(int32 AdIdIndex, bool bShowOnBottomOfScreen);
1830
1834 UFUNCTION(BlueprintPure, Category = "Utilities|Platform", meta = (DisplayName = "Get Ad ID Count"))
1835 static ENGINE_API int32 GetAdIDCount();
1836
1841 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1842 static ENGINE_API void HideAdBanner();
1843
1848 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1849 static ENGINE_API void ForceCloseAdBanner();
1850
1857 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1858 static ENGINE_API void LoadInterstitialAd(int32 AdIdIndex);
1859
1864 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1865 static ENGINE_API bool IsInterstitialAdAvailable();
1866
1871 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1872 static ENGINE_API bool IsInterstitialAdRequested();
1873
1878 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1879 static ENGINE_API void ShowInterstitialAd();
1880
1884 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1885 static ENGINE_API void ShowPlatformSpecificLeaderboardScreen(const FString& CategoryName);
1886
1892 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1893 static ENGINE_API void ShowPlatformSpecificAchievementsScreen(const class APlayerController* SpecificPlayer);
1894
1900 UFUNCTION(BlueprintPure, Category = "Online")
1901 static ENGINE_API bool IsLoggedIn(const APlayerController* SpecificPlayer);
1902
1907 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1908 static ENGINE_API bool IsScreensaverEnabled();
1909
1914 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1915 static ENGINE_API void ControlScreensaver(bool bAllowScreenSaver);
1916
1921 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1922 static ENGINE_API void SetVolumeButtonsHandledBySystem(bool bEnabled);
1923
1927 UFUNCTION(BlueprintPure, Category = "Utilities|Platform")
1928 static ENGINE_API bool GetVolumeButtonsHandledBySystem();
1929
1933 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1934 static ENGINE_API void SetGamepadsBlockDeviceFeedback(bool bBlock);
1935
1939 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1940 static ENGINE_API void ResetGamepadAssignments();
1941
1942 /*
1943 * Resets the gamepad assignment to player controller id (Android and iOS only)
1944 */
1945 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
1946 static ENGINE_API void ResetGamepadAssignmentToController(int32 ControllerId);
1947
1951 UFUNCTION(BlueprintPure, Category = "Utilities|Platform")
1952 static ENGINE_API bool IsControllerAssignedToGamepad(int32 ControllerId);
1953
1957 UFUNCTION(BlueprintPure, Category = "Utilities|Platform")
1958 static ENGINE_API FString GetGamepadControllerName(int32 ControllerId);
1959
1963 UFUNCTION(BlueprintPure, Category = "Utilities|Platform")
1964 static ENGINE_API UTexture2D* GetGamepadButtonGlyph(const FString& ButtonKey, int32 ControllerIndex);
1965
1972 UFUNCTION(BlueprintCallable, Category = "Viewport", meta = (WorldContext="WorldContextObject"))
1973 static ENGINE_API void SetSuppressViewportTransitionMessage(const UObject* WorldContextObject, bool bState);
1974
1979 UFUNCTION(BlueprintCallable, Category = "Utilities|Internationalization")
1980 static ENGINE_API TArray<FString> GetPreferredLanguages();
1981
1991 UFUNCTION(BlueprintPure, Category = "Utilities|Internationalization")
1992 static ENGINE_API FString GetDefaultLanguage();
1993
2002 UFUNCTION(BlueprintPure, Category = "Utilities|Internationalization")
2003 static ENGINE_API FString GetDefaultLocale();
2004
2009 UFUNCTION(BlueprintCallable, Category = "Utilities|Internationalization")
2010 static ENGINE_API FString GetLocalCurrencyCode();
2011
2016 UFUNCTION(BlueprintCallable, Category = "Utilities|Internationalization")
2017 static ENGINE_API FString GetLocalCurrencySymbol();
2018
2023 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
2024 static ENGINE_API void RegisterForRemoteNotifications();
2025
2030 UFUNCTION(BlueprintCallable, Category = "Utilities|Platform")
2031 static ENGINE_API void UnregisterForRemoteNotifications();
2032
2036 UFUNCTION(BlueprintCallable, Category = "Development")
2037 static ENGINE_API void SetUserActivity(const FUserActivity& UserActivity);
2038
2042 UFUNCTION(BlueprintCallable, Category="Utilities")
2043 static ENGINE_API FString GetCommandLine();
2044
2045 /*
2046 * Parses the given string into loose tokens, switches (arguments that begin with - or /) and parameters (-mySwitch=myVar)
2047 *
2048 * @param InCmdLine The the string to parse (ie '-foo -bar=/game/baz testtoken' )
2049 * @param OutTokens[out] Filled with all loose tokens found in the string (ie: testToken in above example)
2050 * @param OutSwitches[out] Filled with all switches found in the string (ie -foo)
2051 * @param OutParams[out] Filled with all switches found in the string with the format key = value (ie: -bar, /game/baz)
2052 */
2053 UFUNCTION(BlueprintCallable, Category = "Utilities")
2055
2056
2060 UFUNCTION(BlueprintPure, Category = "Utilities")
2061 static ENGINE_API bool ParseParam(const FString& InString, const FString& InParam);
2062
2066 UFUNCTION(BlueprintPure, Category = "Utilities")
2067 static ENGINE_API bool ParseParamValue(const FString& InString, const FString& InParam, FString& OutValue);
2068
2074 UFUNCTION(BlueprintPure, Category = "Utilities")
2075 static ENGINE_API bool IsUnattended();
2076
2077 // --- Property Access ---------------------------
2078
2079#if WITH_EDITOR
2089 UFUNCTION(BlueprintCallable, CustomThunk, Category = "Utilities", meta=(CustomStructureParam="PropertyValue", BlueprintInternalUseOnly="true"))
2090 static ENGINE_API bool GetEditorProperty(UObject* Object, const FName PropertyName, int32& PropertyValue);
2091 static ENGINE_API bool Generic_GetEditorProperty(const UObject* Object, const FName PropertyName, void* ValuePtr, const FProperty* ValueProp);
2093
2104 UFUNCTION(BlueprintCallable, CustomThunk, Category = "Utilities", meta=(CustomStructureParam="PropertyValue", AdvancedDisplay="ChangeNotifyMode", BlueprintInternalUseOnly="true"))
2106 static ENGINE_API bool Generic_SetEditorProperty(UObject* Object, const FName PropertyName, const void* ValuePtr, const FProperty* ValueProp, const EPropertyAccessChangeNotifyMode ChangeNotifyMode);
2108
2118 UFUNCTION(BlueprintCallable, Category = "Utilities", meta=(ScriptMethod))
2120
2129 UFUNCTION(BlueprintCallable, Category = "Utilities", meta=(ScriptMethod))
2131#endif
2132
2133 // --- Transactions ------------------------------
2134
2147 UFUNCTION(BlueprintCallable, Category = "Transactions")
2148 static ENGINE_API int32 BeginTransaction(const FString& Context, FText Description, UObject* PrimaryObject);
2149
2156 UFUNCTION(BlueprintCallable, Category = "Transactions")
2157 static ENGINE_API int32 EndTransaction();
2158
2165 UFUNCTION(BlueprintCallable, Category = "Transactions")
2166 static ENGINE_API void CancelTransaction(const int32 Index);
2167
2175 UFUNCTION(BlueprintCallable, Category = "Transactions")
2176 static ENGINE_API void TransactObject(UObject* Object);
2177
2185 UFUNCTION(BlueprintCallable, Category = "Transactions")
2186 static ENGINE_API void SnapshotObject(UObject* Object);
2187
2188 // --- Asset Manager ------------------------------
2189
2191 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="GetObject"))
2192 static ENGINE_API UObject* GetObjectFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);
2193
2195 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="GetClass"))
2196 static ENGINE_API TSubclassOf<UObject> GetClassFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);
2197
2199 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="GetSoftObjectReference"))
2200 static ENGINE_API TSoftObjectPtr<UObject> GetSoftObjectReferenceFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);
2201
2203 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="GetSoftClassReference"))
2204 static ENGINE_API TSoftClassPtr<UObject> GetSoftClassReferenceFromPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);
2205
2207 UFUNCTION(BlueprintPure, Category = "AssetManager")
2208 static ENGINE_API FPrimaryAssetId GetPrimaryAssetIdFromObject(UObject* Object);
2209
2211 UFUNCTION(BlueprintPure, Category = "AssetManager")
2212 static ENGINE_API FPrimaryAssetId GetPrimaryAssetIdFromClass(TSubclassOf<UObject> Class);
2213
2215 UFUNCTION(BlueprintPure, Category = "AssetManager")
2216 static ENGINE_API FPrimaryAssetId GetPrimaryAssetIdFromSoftObjectReference(TSoftObjectPtr<UObject> SoftObjectReference);
2217
2219 UFUNCTION(BlueprintPure, Category = "AssetManager")
2220 static ENGINE_API FPrimaryAssetId GetPrimaryAssetIdFromSoftClassReference(TSoftClassPtr<UObject> SoftClassReference);
2221
2223 UFUNCTION(BlueprintCallable, Category = "AssetManager", meta=(ScriptMethod))
2224 static ENGINE_API void GetPrimaryAssetIdList(FPrimaryAssetType PrimaryAssetType, TArray<FPrimaryAssetId>& OutPrimaryAssetIdList);
2225
2227 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="IsValid", ScriptOperator="bool", BlueprintThreadSafe))
2228 static ENGINE_API bool IsValidPrimaryAssetId(FPrimaryAssetId PrimaryAssetId);
2229
2231 UFUNCTION(BlueprintPure, meta = (DisplayName = "To String (PrimaryAssetId)", CompactNodeTitle = "->", ScriptMethod="ToString", BlueprintThreadSafe, BlueprintAutocast), Category = "AssetManager")
2232 static ENGINE_API FString Conv_PrimaryAssetIdToString(FPrimaryAssetId PrimaryAssetId);
2233
2235 UFUNCTION(BlueprintPure, meta = (DisplayName = "Equal (PrimaryAssetId)", CompactNodeTitle = "==", ScriptOperator="==", BlueprintThreadSafe), Category = "AssetManager")
2237
2239 UFUNCTION(BlueprintPure, meta = (DisplayName = "Not Equal (PrimaryAssetId)", CompactNodeTitle = "!=", ScriptOperator="!=", BlueprintThreadSafe), Category = "AssetManager")
2241
2243 UFUNCTION(BlueprintPure, Category = "AssetManager", meta=(ScriptMethod="IsValid", ScriptOperator="bool", BlueprintThreadSafe))
2244 static ENGINE_API bool IsValidPrimaryAssetType(FPrimaryAssetType PrimaryAssetType);
2245
2247 UFUNCTION(BlueprintPure, meta = (DisplayName = "To String (PrimaryAssetType)", CompactNodeTitle = "->", ScriptMethod="ToString", BlueprintThreadSafe, BlueprintAutocast), Category = "AssetManager")
2248 static ENGINE_API FString Conv_PrimaryAssetTypeToString(FPrimaryAssetType PrimaryAssetType);
2249
2251 UFUNCTION(BlueprintPure, meta = (DisplayName = "Equal (PrimaryAssetType)", CompactNodeTitle = "==", ScriptOperator="==", BlueprintThreadSafe), Category = "AssetManager")
2253
2255 UFUNCTION(BlueprintPure, meta = (DisplayName = "Not Equal (PrimaryAssetType)", CompactNodeTitle = "!=", ScriptOperator="!=", BlueprintThreadSafe), Category = "AssetManager")
2257
2259 UFUNCTION(BlueprintCallable, Category = "AssetManager", meta=(ScriptMethod="Unload"))
2260 static ENGINE_API void UnloadPrimaryAsset(FPrimaryAssetId PrimaryAssetId);
2261
2263 UFUNCTION(BlueprintCallable, Category = "AssetManager")
2264 static ENGINE_API void UnloadPrimaryAssetList(const TArray<FPrimaryAssetId>& PrimaryAssetIdList);
2265
2270 UFUNCTION(BlueprintCallable, Category = "AssetManager", meta=(ScriptMethod))
2271 static ENGINE_API bool GetCurrentBundleState(FPrimaryAssetId PrimaryAssetId, bool bForceCurrentState, TArray<FName>& OutBundles);
2272
2279 UFUNCTION(BlueprintCallable, Category = "AssetManager", meta=(AutoCreateRefTerm = "ExcludedBundles, ValidTypes"))
2280 static ENGINE_API void GetPrimaryAssetsWithBundleState(const TArray<FName>& RequiredBundles, const TArray<FName>& ExcludedBundles, const TArray<FPrimaryAssetType>& ValidTypes, bool bForceCurrentState, TArray<FPrimaryAssetId>& OutPrimaryAssetIdList);
2281
2288 UFUNCTION(BlueprintPure, Category = "Utilities",
2289 meta = (Keywords = "construct build", NativeMakeFunc, BlueprintThreadSafe, AdvancedDisplay = "5",
2290 AutoCreateRefTerm = "PackageNames, PackagePaths, SoftObjectPaths, ClassNames, ClassPaths, RecursiveClassPathsExclusionSet, RecursiveClassesExclusionSet"))
2292 const TArray<FName>& PackageNames,
2293 const TArray<FName>& PackagePaths,
2294 const TArray<FSoftObjectPath>& SoftObjectPaths,
2296 const TSet<FTopLevelAssetPath>& RecursiveClassPathsExclusionSet,
2297 const TArray<FName>& ClassNames,
2298 const TSet<FName>& RecursiveClassesExclusionSet,
2299 const bool bRecursivePaths = false,
2300 const bool bRecursiveClasses = false,
2301 const bool bIncludeOnlyOnDiskAssets = false
2302 );
2303
2310 UFUNCTION(BlueprintPure, Category = "Utilities", meta = (NativeBreakFunc, BlueprintThreadSafe, AdvancedDisplay = "6"))
2311 static ENGINE_API void BreakARFilter(
2313 TArray<FName>& PackageNames,
2314 TArray<FName>& PackagePaths,
2315 TArray<FSoftObjectPath>& SoftObjectPaths,
2317 TSet<FTopLevelAssetPath>& RecursiveClassPathsExclusionSet,
2318 TArray<FName>& ClassNames,
2319 TSet<FName>& RecursiveClassesExclusionSet,
2320 bool& bRecursivePaths,
2321 bool& bRecursiveClasses,
2322 bool& bIncludeOnlyOnDiskAssets
2323 );
2324
2325};
2326
2327
2328
2330// UKismetSystemLibrary inlines
2331
2332
2333inline bool UKismetSystemLibrary::IsValid(const UObject* Object)
2334{
2335 return ::IsValid(Object);
2336}
2337
2338inline bool UKismetSystemLibrary::IsValidClass(UClass* Class)
2339{
2340 return ::IsValid(Class);
2341}
2342
2343inline int32 UKismetSystemLibrary::MakeLiteralInt(int32 Value)
2344{
2345 return Value;
2346}
2347
2348inline int64 UKismetSystemLibrary::MakeLiteralInt64(int64 Value)
2349{
2350 return Value;
2351}
2352
2353inline float UKismetSystemLibrary::MakeLiteralFloat(float Value)
2354{
2355 return Value;
2356}
2357
2358inline double UKismetSystemLibrary::MakeLiteralDouble(double Value)
2359{
2360 return Value;
2361}
2362
2363inline bool UKismetSystemLibrary::MakeLiteralBool(bool Value)
2364{
2365 return Value;
2366}
2367
2368inline FName UKismetSystemLibrary::MakeLiteralName(FName Value)
2369{
2370 return Value;
2371}
2372
2373inline uint8 UKismetSystemLibrary::MakeLiteralByte(uint8 Value)
2374{
2375 return Value;
2376}
2377
2378inline FString UKismetSystemLibrary::MakeLiteralString(FString Value)
2379{
2380 return Value;
2381}
2382
2383inline FText UKismetSystemLibrary::MakeLiteralText(FText Value)
2384{
2385 return Value;
2386}
#define NULL
Definition oodle2base.h:134
#define UE_DEPRECATED(Version, Message)
Definition CoreMiscDefines.h:302
#define TEXT(x)
Definition Platform.h:1272
FPlatformTypes::int64 int64
A 64-bit signed integer.
Definition Platform.h:1127
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DYNAMIC_DELEGATE_OneParam(DelegateName, Param1Type, Param1Name)
Definition DelegateCombinations.h:52
ENGINE_API void DrawDebugCoordinateSystem(const UWorld *InWorld, FVector const &AxisLoc, FRotator const &AxisRot, float Scale, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugBox(const UWorld *InWorld, FVector const &Center, FVector const &Extent, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugFrustum(const UWorld *InWorld, const FMatrix &FrustumToWorld, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCone(const UWorld *InWorld, FVector const &Origin, FVector const &Direction, float Length, float AngleWidth, float AngleHeight, int32 NumSides, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCapsule(const UWorld *InWorld, FVector const &Center, float HalfHeight, float Radius, const FQuat &Rotation, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0)
ENGINE_API void FlushDebugStrings(const UWorld *InWorld)
ENGINE_API void DrawDebugCircle(const UWorld *InWorld, const FMatrix &TransformMatrix, double Radius, int32 Segments, const FColor &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f, bool bDrawAxis=true)
ENGINE_API void DrawDebugString(const UWorld *InWorld, FVector const &TextLocation, const FString &Text, class AActor *TestBaseActor=NULL, FColor const &TextColor=FColor::White, float Duration=-1.000000, bool bDrawShadow=false, float FontScale=1.f)
ENGINE_API void DrawDebugLine(const UWorld *InWorld, FVector const &LineStart, FVector const &LineEnd, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugPoint(const UWorld *InWorld, FVector const &Position, float Size, FColor const &PointColor, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ENGINE_API void DrawDebugCylinder(const UWorld *InWorld, FVector const &Start, FVector const &End, float Radius, int32 Segments, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void FlushPersistentDebugLines(const UWorld *InWorld)
ENGINE_API void DrawDebugSphere(const UWorld *InWorld, FVector const &Center, float Radius, int32 Segments, FColor const &Color, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0, float Thickness=0.f)
ENGINE_API void DrawDebugCamera(const UWorld *InWorld, FVector const &Location, FRotator const &Rotation, float FOVDeg, float Scale=1.f, FColor const &Color=FColor::White, bool bPersistentLines=false, float LifeTime=-1.f, uint8 DepthPriority=0)
ETraceTypeQuery
Definition EngineTypes.h:1200
void CollectGarbage(EObjectFlags KeepFlags, bool bPerformFullPurge)
Definition GarbageCollection.cpp:6203
#define FVector
Definition IOSSystemIncludes.h:8
#define INVTEXT(InTextLiteral)
Definition Internationalization.h:305
EEditorPropertyValueState
Definition KismetSystemLibrary.h:87
EDrawDebugSceneDepthPriorityGroup
Definition KismetSystemLibrary.h:50
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define UPARAM(...)
Definition ObjectMacros.h:748
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define DECLARE_FUNCTION(func)
Definition ObjectMacros.h:783
#define GENERATED_UCLASS_BODY(...)
Definition ObjectMacros.h:768
#define UCLASS(...)
Definition ObjectMacros.h:776
#define UENUM(...)
Definition ObjectMacros.h:749
#define USTRUCT(...)
Definition ObjectMacros.h:746
#define GENERATED_USTRUCT_BODY(...)
Definition ObjectMacros.h:767
const bool bTraceComplex
Definition PhysicsInterfaceUtils.h:19
@ Stop
Definition PrecomputedVolumetricLightmapStreaming.cpp:26
EPropertyAccessChangeNotifyMode
Definition PropertyAccessUtil.h:52
#define P_FINISH
Definition ScriptMacros.h:141
T * DuplicateObject(T const *SourceObject, UObject *Outer, const FName Name=NAME_None)
Definition UObjectGlobals.h:1977
void Move(T &A, typename TMoveSupportTraits< T >::Copy B)
Definition UnrealTemplate.h:24
uint32 Size
Definition VulkanMemory.cpp:4034
UEBinkAudioDecodeInterface * Interface
Definition binka_ue_decode_test.cpp:24
uint8_t uint8
Definition binka_ue_file_header.h:8
Definition Actor.h:257
Definition PlayerController.h:261
Definition NameTypes.h:617
Definition UnrealType.h:174
Definition ScriptInterface.h:22
Definition Text.h:385
Definition Array.h:670
Definition EnumAsByte.h:22
Definition UnrealString.h.inl:34
Definition SoftObjectPtr.h:763
Definition SubclassOf.h:30
Definition BlueprintFunctionLibrary.h:16
Definition Class.h:3793
Definition Class.h:2791
Definition KismetSystemLibrary.h:109
Definition Object.h:95
Definition Class.h:1720
Definition Texture2D.h:26
Definition KismetSystemLibrary.h:37
Type
Definition KismetSystemLibrary.h:39
@ ForDuration
Definition KismetSystemLibrary.h:42
@ ForOneFrame
Definition KismetSystemLibrary.h:41
Definition KismetSystemLibrary.h:60
Type
Definition KismetSystemLibrary.h:62
@ Return
Definition KismetSystemLibrary.h:68
Definition KismetSystemLibrary.h:74
Type
Definition KismetSystemLibrary.h:76
Definition SoftObjectPath.cpp:24
U16 Index
Definition radfft.cpp:71
Definition ARFilter.h:23
Definition CollisionProfile.h:24
Definition Color.h:486
Definition EngineTypes.h:3704
Definition EngineTypes.h:3929
Definition Stack.h:114
Definition KismetSystemLibrary.h:100
Definition HitResult.h:21
FVector_NetQuantize Location
Definition HitResult.h:45
Definition LatentActionManager.h:19
Definition Color.h:48
static CORE_API const FLinearColor White
Definition Color.h:456
static CORE_API const FLinearColor Green
Definition Color.h:461
static CORE_API const FLinearColor Red
Definition Color.h:460
Definition PrimaryAssetId.h:126
Definition PrimaryAssetId.h:28
Definition SoftObjectPath.h:539
Definition EngineTypes.h:3732
Definition SoftObjectPath.h:56
Definition TimerHandle.h:12
Definition TopLevelAssetPath.h:38
Definition EngineTypes.h:4199
Definition FieldPath.h:283
Definition SoftObjectPtr.h:174
static CORE_API const TRotator< double > ZeroRotator
Definition Rotator.h:57