UEditorEngine::GetReferencedAssetsForEditorSelection

Queries for a list of assets that are referenced by the current editor selection (actors, surfaces, etc.)

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/Editor/EditorEngine.h

Include

#include "Editor/EditorEngine.h"

Source

/Engine/Source/Editor/UnrealEd/Private/EditorEngine.cpp

Syntax

void GetReferencedAssetsForEditorSelection
(
    TArray< UObject * > & Objects,
    const bool bIgnoreOtherAssetsIfBPReferenced
)

Remarks

Queries for a list of assets that are referenced by the current editor selection (actors, surfaces, etc.)

Parameters

Parameter

Description

Objects

Array to be filled with asset objects referenced by the current editor selection

bIgnoreOtherAssetsIfBPReferenced

If true, and a selected actor has a Blueprint asset, only that will be returned.

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