Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FInstanceCacheDataBase
- FActorComponentInstanceData
- FNavLinkCustomInstanceData
- FPCGComponentInstanceData
- FSceneComponentInstanceData
- FChildActorComponentInstanceData
- FInstancedStaticMeshComponentInstanceData
- FLandscapePatchComponentInstanceData
- FPrecomputedLightInstanceData
- FPrecomputedSkyLightInstanceData
- FPrimitiveComponentInstanceData
- FStaticMeshComponentInstanceData
- FSplineMeshInstanceData
- FSplineInstanceData
- FCineSplineInstanceData
- FVCamComponentInstanceData
- FWidgetComponentInstanceData
- FSmartObjectComponentInstanceData
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h |
| Include | #include "ComponentInstanceDataCache.h" |
Syntax
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 |