Navigation
API > API/Runtime > API/Runtime/Engine
Base class for instance cached data of a particular type.
| Name | FInstanceCacheDataBase |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h |
| Include Path | #include "ComponentInstanceDataCache.h" |
Syntax
USTRUCT ()
struct FInstanceCacheDataBase
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FInstanceCacheDataBase() |
ComponentInstanceDataCache.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DuplicatedObjects | TArray< FDataCacheDuplicatedObjectData > | Duplicated objects created when saving instance properties. | ComponentInstanceDataCache.h | |
| ReferencedNames | TArray< FName > | Referenced names in instance saved properties. | ComponentInstanceDataCache.h | |
| ReferencedObjects | TArray< TObjectPtr< UObject > > | Referenced objects in instance saved properties. | ComponentInstanceDataCache.h | |
| UniqueTransientPackage | FDataCacheDuplicatedObjectData | A unique outer created in the transient package to act as outer for this object's duplicated objects to avoid name conflicts of objects that already exist in the transient package | ComponentInstanceDataCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
ComponentInstanceDataCache.h | ||
const TArray< FDataCacheDuplicatedObjectData > & GetDuplicatedObjects() |
ComponentInstanceDataCache.h | ||
const TArray< TObjectPtr< UObject > > & GetReferencedObjects() |
ComponentInstanceDataCache.h | ||
const TArray< uint8 > & GetSavedProperties() |
ComponentInstanceDataCache.h | ||
| Get (or create) the unique transient outer for the duplicated objects created for this object | ComponentInstanceDataCache.h | ||
UObject * GetUniqueTransientPackage() |
Get (or create) the unique transient outer for the duplicated objects created for this object | ComponentInstanceDataCache.h |