FBlueprintEditorUtils::GetActorReferenceMap

Go through the world and build a map of all actors that are referenced by other actors.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

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

Include

#include "Kismet2/BlueprintEditorUtils.h"

Source

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

Syntax

static void GetActorReferenceMap
(
    UWorld * InWorld,
    TArray< UClass * > & InClassesToIgnore,
    TMap< AActor *, TArray< AActor * > > & OutReferencingActors
)

Remarks

Go through the world and build a map of all actors that are referenced by other actors.

Parameters

Parameter

Description

InWorld

The world to scan for Actors.

InClassesToIgnore

An array of class types to ignore, even if there is an instance of one that references another Actor

OutReferencingActors

A map of Actors that are referenced by a list of other Actors.

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