![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ComponentInstanceDataCache.h>
Inheritance diagram for FActorInstanceData:Public Member Functions | |
| FActorInstanceData ()=default | |
| ENGINE_API | FActorInstanceData (const AActor *SourceActor) |
| ENGINE_API const UClass * | GetActorClass () const |
| bool | HasInstanceData () const |
| ENGINE_API void | ApplyToActor (AActor *Actor, const ECacheApplyPhase CacheApplyPhase) |
Public Member Functions inherited from FInstanceCacheDataBase | |
| virtual ENGINE_API | ~FInstanceCacheDataBase () |
| virtual ENGINE_API void | AddReferencedObjects (FReferenceCollector &Collector) |
| UObject * | GetUniqueTransientPackage () |
| ENGINE_API UObject * | GetUniqueTransientObject (UClass *Class) |
| const TArray< FDataCacheDuplicatedObjectData > & | GetDuplicatedObjects () const |
| const TArray< TObjectPtr< UObject > > & | GetReferencedObjects () const |
| const TArray< uint8 > & | GetSavedProperties () const |
Protected Attributes | |
| TSubclassOf< AActor > | ActorClass |
Protected Attributes inherited from FInstanceCacheDataBase | |
| TArray< uint8 > | SavedProperties |
Per instance data to be persisted for a given actor
|
default |
| FActorInstanceData::FActorInstanceData | ( | const AActor * | SourceActor | ) |
| void FActorInstanceData::ApplyToActor | ( | AActor * | Actor, |
| const ECacheApplyPhase | CacheApplyPhase | ||
| ) |
Iterates over an Actor's components and applies the stored component instance data to each
| const UClass * FActorInstanceData::GetActorClass | ( | ) | const |
|
inline |
|
protected |
The class of the actor that the instance data is for