FBlueprintCompileReinstancer::ReconstructOwnerInstances

When re-instancing a component, we have to make sure all instance owners' construction scripts are re-ran (in-case modifying the component alters the construction of the actor).

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Kismet2/KismetReinstanceUtilities.h

Include

#include "Kismet2/KismetReinstanceUtilities.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Kismet2/KismetReinstanceUtilities.cpp

Syntax

static void ReconstructOwnerInstances
(
    TSubclassOf< UActorComponent > ComponentClass
)

Remarks

When re-instancing a component, we have to make sure all instance owners' construction scripts are re-ran (in-case modifying the component alters the construction of the actor).

Parameters

Parameter

Description

ComponentClass

Identifies the component that was altered (used to find all its instances, and thusly all instance owners).

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