Navigation
API > API/Runtime > API/Runtime/Engine
Base class for component instance cached data of a particular type.
| Name | FActorComponentInstanceData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h |
| Include Path | #include "ComponentInstanceDataCache.h" |
Syntax
USTRUCT ()
struct FActorComponentInstanceData : public FInstanceCacheDataBase
Inheritance Hierarchy
- FInstanceCacheDataBase → FActorComponentInstanceData
Derived Classes
FActorComponentInstanceData derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ComponentInstanceDataCache.h | |||
FActorComponentInstanceData
(
const UActorComponent* SourceComponent |
ComponentInstanceDataCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component | ComponentInstanceDataCache.h | |
virtual bool ContainsData() |
Determines if any instance data was actually saved. | ComponentInstanceDataCache.h | |
| Replaces any references to old instances during Actor reinstancing | ComponentInstanceDataCache.h | ||
const UClass * GetComponentClass() |
ComponentInstanceDataCache.h | ||
const UObject * GetComponentTemplate() |
ComponentInstanceDataCache.h | ||
bool MatchesComponent
(
const UActorComponent* Component, |
Determines whether this component instance data matches the component | ComponentInstanceDataCache.h |
Overridden from FInstanceCacheDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
ComponentInstanceDataCache.h |