Cache for component instance data. 更多...
#include <ComponentInstanceDataCache.h>
Public 成员函数 | |
| void | ApplyToActor (AActor *Actor, const ECacheApplyPhase CacheApplyPhase) const |
| Iterates over an Actor's components and applies the stored component instance data to each | |
| FComponentInstanceDataCache (const AActor *InActor) | |
| Constructor that also populates cache from Actor | |
| FComponentInstanceDataCache (const FComponentInstanceDataCache &)=delete | |
| Non-copyable | |
| FComponentInstanceDataCache (FComponentInstanceDataCache &&)=default | |
| Movable | |
| void | FindAndReplaceInstances (const TMap< UObject *, UObject * > &OldToNewInstanceMap) |
| Iterates over components and replaces any object references with the reinstanced information | |
| void | Serialize (FArchive &Ar) |
| Serialize Instance data for persistence or transmission. | |
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.