Navigation
API > API/Plugins > API/Plugins/Paper2DEditor > API/Plugins/Paper2DEditor/PAPER2UPaperImporterSettings
References
| Module | Paper2DEditor |
| Header | /Engine/Plugins/2D/Paper2D/Source/Paper2DEditor/Classes/PaperImporterSettings.h |
| Include | #include "PaperImporterSettings.h" |
ESpriteInitMaterialType AnalyzeTextureForDesiredMaterialType
&40;
UTexture &42; Texture,
const FIntPoint & Offset,
const FIntPoint & Dimensions
&41; const
Remarks
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 Note: Will return Automatic if the texture is null.