Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FInstanceCacheDataBase
- FActorComponentInstanceData
- FSceneComponentInstanceData
- FChildActorComponentInstanceData
- FInstancedStaticMeshComponentInstanceData
- FPrecomputedLightInstanceData
- FPrecomputedSkyLightInstanceData
- FPrimitiveComponentInstanceData
- FStaticMeshComponentInstanceData
- FSplineMeshInstanceData
- FSplineInstanceData
- FVCamComponentInstanceData
- FSmartObjectComponentInstanceData
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h |
Include | #include "ComponentInstanceDataCache.h" |
Syntax
USTRUCT ()
struct FActorComponentInstanceData : public FInstanceCacheDataBase
Remarks
Base class for component instance cached data of a particular type.
Variables
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
EComponentCreationMethod | SourceComponentCreationMethod | The method that was used to create the source component |
![]() ![]() |
TObjectPtr< const UObject > | SourceComponentTemplate | The template used to create the source component |
![]() ![]() |
int32 | SourceComponentTypeSerializedIndex | The index of the source component in its owner's serialized array when filtered to just that component type |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FActorComponentInstanceData
(
const UActorComponent* SourceComponent |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component |
![]() ![]() ![]() |
bool | ContainsData () |
Determines if any instance data was actually saved. |
![]() ![]() |
void | FindAndReplaceInstances
(
const TMap< UObject*, UObject* >& OldToNewInstanceMap |
Replaces any references to old instances during Actor reinstancing |
![]() ![]() |
const UClass * | ||
![]() ![]() |
const UObject * | ||
![]() ![]() |
bool | MatchesComponent
(
const UActorComponent* Component, |
Determines whether this component instance data matches the component |
Overridden from FInstanceCacheDataBase
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |