Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- FInstanceCacheDataBase
- FActorComponentInstanceData
- FSceneComponentInstanceData
- FChildActorComponentInstanceData
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/ChildActorComponent.h |
| Include | #include "Components/ChildActorComponent.h" |
Syntax
USTRUCT ()
struct FChildActorComponentInstanceData : public FSceneComponentInstanceData
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FActorInstanceData > | ActorInstanceData | The saved properties for the ChildActor itself. | |
| TArray< FChildActorAttachedActorInfo > | AttachedActors | ||
| TSubclassOf< AActor > | ChildActorClass | The class of the child actor when the instance data cache was stored. | |
| FGuid | ChildActorGUID | Keep track of the child actor GUID to reuse it when reinstancing | |
| FName | ChildActorName | The name of the spawned child actor so it (attempts to) remain constant across construction script reruns. | |
| TSharedPtr< FComponentInstanceDataCache > | ComponentInstanceData | The component instance data cache for the ChildActor spawned by this component. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FChildActorComponentInstanceData
(
const UChildActorComponent* Component |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from FActorComponentInstanceData
| 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. |
Overridden from FInstanceCacheDataBase
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |