Navigation
API > API/Plugins > API/Plugins/Paper2DEditor > API/Plugins/Paper2DEditor/UPaperImporterSettings
Description
Returns the default material for the specified material type. Input should be Masked, Opaque, or Translucent. Automatic and LeaveAsIs will be treated like masked!
| Name | GetDefaultMaterial |
| Type | function |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperImporterSettings.h |
| Include Path | #include "PaperImporterSettings.h" |
| Source | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Private/PaperImporterSettings.cpp |
UMaterialInterface * GetDefaultMaterial
(
ESpriteInitMaterialType MaterialType,
bool bUseLitMaterial
) const