GetUsedMaterialsInWorld

Get the list of all material used in a world

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DebugViewModeHelpers.h

Include

#include "DebugViewModeHelpers.h"

Source

/Engine/Source/Runtime/Engine/Private/DebugViewModeHelpers.cpp

Syntax

bool GetUsedMaterialsInWorld
(
    UWorld * InWorld,
    OUTTSet< UMaterialInterface * > & OutMaterials,
    FSlowTask * Task
)

Remarks

Get the list of all material used in a world

Returns

true if the operation is a success, false if it was canceled.

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