FActorComponentInstanceData

Base class for component instance cached data of a particular type.

Windows
MacOS
Linux

Inheritance Hierarchy

Syntax

struct FActorComponentInstanceData

Remarks

Base class for component instance cached data of a particular type.

Variables

Name Description

Protected variable

TArray< FActorC...

 

DuplicatedObjects

Duplicated objects created when saving component instance properties.

Protected variable

TArray< FName >

 

ReferencedNames

Referenced names in component instance saved properties.

Protected variable

TArray< UObject...

 

ReferencedObjects

Referenced objects in component instance saved properties.

Protected variable

TArray< uint8 >

 

SavedProperties

Protected variable

EComponentCreat...

 

SourceComponentCreationMethod

The method that was used to create the source component

Protected variable

const UObject &...

 

SourceComponentTemplate

The template used to create the source component

Protected variable

int32

 

SourceComponentTypeSerializedIndex

The index of the source component in its owner's serialized array when filtered to just that component type

Constructors

Name Description

Public function

FActorComponentInstanceData()

Public function

FActorComponentInstanceData

(
    const UActorComponent* SourceC...
)

Destructors

Functions

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.

Public function Virtual

void

 

FindAndReplaceInstances

(
    const TMap< UObject*, UObject ...
)

Replaces any references to old instances during Actor reinstancing

Public function Const

const UClass...

 

GetComponentClass()

Public function Const

const UObjec...

 

GetComponentTemplate()

Public function Const

bool

 

MatchesComponent

(
    const UActorComponent* Compone...,
    const UObject* ComponentTempla...,
    const TMap< UActorComponent*, ...
)

Determines whether this component instance data matches the component

References

Module

Engine

Header

Runtime/Engine/Public/ComponentInstanceDataCache.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback