PAPER2UPaperImporterSettings::GetDefaultMaterial

Returns the default material for the specified material type.

Windows
MacOS
Linux

References

Module

Paper2DEditor

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperImporterSettings.h

Include

#include "PaperImporterSettings.h"

Syntax

UMaterialInterface * GetDefaultMaterial
(
    ESpriteInitMaterialType MaterialType,
    bool bUseLitMaterial
) const

Remarks

Returns the default material for the specified material type. Input should be Masked, Opaque, or Translucent. Automatic and LeaveAsIs will be treated like masked!

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