FActorComponentInstanceData

Inheritance Hierarchy

Syntax

class FActorComponentInstanceData

Remarks

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

Variables

Name Description

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

bool

 

ContainsSavedProperties()

Public function Virtual

void

 

FindAndReplaceInstances

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

Replaces any references to old instances during Actor reinstancing

Public function

const UClass ...

 

GetComponentClass()

Public function

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