Unreal Engine 4 General Flashcards
UCLASS macro
USTRUCT macro
Why UCLASS and USTRUCT are empty macroses, what are they doing, when to use which?
Why does Unreal Engine has it’s own containers?
Delegates in Unreal Engine - single, multicast, dynamic, events - what is the difference?
UE Interfaces - what is the difference between CPP interfaces?
Is there anything special if you call BP Interface in cpp?
What is UObject? What abstractions does it represent?
What is the difference between UObject and AActor? What is the principal difference?
Can UObject do the same functions as AActor?
Why AGameState and APlayerState are actors?
Why AGameMode and AHUD are actors?
Why do we need to use UPROPERTY
How to solve cyclical dependencies?
When will UObject be destroyed?
How to safe object from garbage collector?
How actor tick works?
What are the main tick groups?
AActor lifecycle
UActorComponent vs USceneComponent vs UPrimitiveComponent - what is the difference and when to use them?
FName vs FString vs FText - what is the difference and when to use them?
FName is hashed and non-case sensitive. Used for IDs, bones, Rownames etc
FString is just string, array of characters + usefull methods for string operations + standard way to interact with other services and APIs. Also used in stringtables as Id
FText used for localization, contains namespace
What is CDO
Class Default Object
What containers there are in Unreal Engine?
TArray
TSet
TMap
What are the fields of usage for different UE containers?
What is the difference between Emplace() and Add()
Unreal Engine smart pointers - what are the types and how they are working in UE?
What creates references between blueprints?
UObject* vs TSoftObjectPtr - what is the difference and when to use?
TSubclassOf vs TSoftClassPtr - what is the difference and when to use?
What are the main threads in UE?
Which tasks are working parallel and which are not?
How does tick groups work?
What actions can be done in their own parallel threads?
What actions can’t be completed in parallel threads?
How to sync threads with main thread?
How to async load resources?
What will happen if loadsyncronous called during overall async flow
It will flush the async load, create a stutter