FActorComponentInstanceData

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ComponentInstanceDataCache.h

Include

#include "ComponentInstanceDataCache.h"

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

Protected variable

FActorComponent...

 

UniqueTransientPackage

A unique outer created in the transient package to act as outer for this component's duplicated objects to avoid name conflicts of objects that already exist in the transient package

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

UObject *...

 

GetUniqueTransientPackage()

Get (or create) the unique transient outer for the duplicated objects created for this component

Public function Const

bool

 

MatchesComponent

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

Determines whether this component instance data matches the component

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss