Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperImporterSettings.h |
Include |
#include "PaperImporterSettings.h" |
ESpriteInitMaterialType AnalyzeTextureForDesiredMaterialType
(
UTexture * Texture,
const FIntPoint & Offset,
const FIntPoint & Dimensions
) const
Analyzes the specified texture in the Offset..Offset+Dimensions region and returns the best kind of material to represent the alpha content in the texture (typically masked or translucent, but can return opaque if bAnalysisCanUseOpaque is true