FChildActorComponentInstanceData

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FActorComponentInstanceData

FSceneComponentInstanceData

FChildActorComponentInstanceData

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/ChildActorComponent.h

Include

#include "Components/ChildActorComponent.h"

Syntax

struct FChildActorComponentInstanceData : public FSceneComponentInstanceData

Variables

Name Description

Public variable

TArray< FChildA...

 

AttachedActors

Public variable

TSubclassOf< AA...

 

ChildActorClass

The class of the child actor when the instance data cache was stored.

Public variable

FGuid

 

ChildActorGUID

Keep track of the child actor GUID to reuse it when reinstancing

Public variable

FName

 

ChildActorName

The name of the spawned child actor so it (attempts to) remain constant across construction script reruns.

Public variable

TSharedPtr< FCo...

 

ComponentInstanceData

The component instance data cache for the ChildActor spawned by this component.

Constructors

Destructors

Overridden from FActorComponentInstanceData

Name Description

Public function Virtual

void

 

AddReferencedObjects

(
    FReferenceCollector& Collector
)

Public function Virtual

void

 

ApplyToComponent

(
    UActorComponent* Component,
    const ECacheApplyPhase CacheApplyPh...
)

Applies this component instance data to the supplied component

Public function Virtual Const

bool

 

ContainsData()

Determines if any instance data was actually saved.