![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ComponentInstanceDataCache.h>
Inheritance diagram for FActorComponentInstanceData:Protected Attributes | |
| TObjectPtr< const UObject > | SourceComponentTemplate |
| EComponentCreationMethod | SourceComponentCreationMethod |
| int32 | SourceComponentTypeSerializedIndex |
Protected Attributes inherited from FInstanceCacheDataBase | |
| TArray< uint8 > | SavedProperties |
Base class for component instance cached data of a particular type.
| FActorComponentInstanceData::FActorComponentInstanceData | ( | ) |
| FActorComponentInstanceData::FActorComponentInstanceData | ( | const UActorComponent * | SourceComponent | ) |
|
overridevirtual |
Reimplemented from FInstanceCacheDataBase.
Reimplemented in FChildActorComponentInstanceData, FInstancedSkinnedMeshComponentInstanceData, FInstancedStaticMeshComponentInstanceData, FPrimitiveComponentInstanceData, FSceneComponentInstanceData, FStaticMeshComponentInstanceData, and FWidgetComponentInstanceData.
|
virtual |
Applies this component instance data to the supplied component
Reimplemented in FChildActorComponentInstanceData, FInstancedSkinnedMeshComponentInstanceData, FInstancedStaticMeshComponentInstanceData, FPrecomputedLightInstanceData, FPrimitiveComponentInstanceData, FSceneComponentInstanceData, FPrecomputedSkyLightInstanceData, FSplineInstanceData, FSplineComponentInstanceData, FSplineMeshInstanceData, FStaticMeshComponentInstanceData, FSkeletalMeshComponentInstanceData, FNavLinkCustomInstanceData, and FWidgetComponentInstanceData.
Determines if any instance data was actually saved.
Reimplemented in FChildActorComponentInstanceData, FInstancedSkinnedMeshComponentInstanceData, FInstancedStaticMeshComponentInstanceData, FPrecomputedLightInstanceData, FPrimitiveComponentInstanceData, FSceneComponentInstanceData, FPrecomputedSkyLightInstanceData, FSplineInstanceData, FSplineComponentInstanceData, FSplineMeshInstanceData, FStaticMeshComponentInstanceData, FSkeletalMeshComponentInstanceData, FNavLinkCustomInstanceData, and FWidgetComponentInstanceData.
|
inlinevirtual |
Replaces any references to old instances during Actor reinstancing
Reimplemented in FPrimitiveComponentInstanceData, and FSceneComponentInstanceData.
|
inline |
|
inline |
| bool FActorComponentInstanceData::MatchesComponent | ( | const UActorComponent * | Component, |
| const UObject * | ComponentTemplate | ||
| ) | const |
Determines whether this component instance data matches the component
|
protected |
The method that was used to create the source component
|
protected |
The template used to create the source component
|
protected |
The index of the source component in its owner's serialized array when filtered to just that component type