Navigation
API > API/Runtime > API/Runtime/Engine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h |
| Include | #include "ComponentInstanceDataCache.h" |
Syntax
class FComponentInstanceDataCache
Remarks
Cache for component instance data. Note, does not collect references for GC, so is not safe to GC if the cache is only reference to a UObject.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FComponentInstanceDataCache
(
const AActor* InActor |
Constructor that also populates cache from Actor | ||
| Non-copyable | |||
| Movable |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
||
| void | ApplyToActor
(
AActor* Actor, |
Iterates over an Actor's components and applies the stored component instance data to each | |
| void | FindAndReplaceInstances
(
const TMap< UObject*, UObject* >& OldToNewInstanceMap |
Iterates over components and replaces any object references with the reinstanced information | |
| void | GetComponentHierarchy
(
const AActor* Actor, |
||
| bool | |||
| void | Serialize Instance data for persistence or transmission. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FComponentInstanceDataCache & | operator=
(
const FComponentInstanceDataCache& |
||
| FComponentInstanceDataCache & |