Navigation
API > API/Runtime > API/Runtime/Engine
| Name | FChildActorComponentInstanceData |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/Components/ChildActorComponent.h |
| Include Path | #include "Components/ChildActorComponent.h" |
Syntax
USTRUCT ()
struct FChildActorComponentInstanceData : public FSceneComponentInstanceData
Inheritance Hierarchy
- FInstanceCacheDataBase → FActorComponentInstanceData → FSceneComponentInstanceData → FChildActorComponentInstanceData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/ChildActorComponent.h | |||
FChildActorComponentInstanceData
(
const UChildActorComponent* Component |
Components/ChildActorComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FChildActorComponentInstanceData() |
Components/ChildActorComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActorInstanceData | TSharedPtr< FActorInstanceData > | The saved properties for the ChildActor itself. | Components/ChildActorComponent.h | |
| AttachedActors | TArray< FChildActorAttachedActorInfo > | Components/ChildActorComponent.h | ||
| ChildActorClass | TSubclassOf< AActor > | The class of the child actor when the instance data cache was stored. | Components/ChildActorComponent.h | |
| ChildActorGUID | FGuid | Keep track of the child actor GUID to reuse it when reinstancing | Components/ChildActorComponent.h | |
| ChildActorName | FName | The name of the spawned child actor so it (attempts to) remain constant across construction script reruns. | Components/ChildActorComponent.h | |
| ComponentInstanceData | TSharedPtr< FComponentInstanceDataCache > | The component instance data cache for the ChildActor spawned by this component. | Components/ChildActorComponent.h |
Functions
Public
Overridden from FActorComponentInstanceData
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyToComponent
(
UActorComponent* Component, |
Applies this component instance data to the supplied component | Components/ChildActorComponent.h | |
virtual bool ContainsData() |
Determines if any instance data was actually saved. | Components/ChildActorComponent.h |
Overridden from FInstanceCacheDataBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
Components/ChildActorComponent.h |