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" |
void ApplySettingsForSpriteInit
&40;
FSpriteAssetInitParameters & InitParams,
ESpriteInitMaterialLightingMode LightingMode,
ESpriteInitMaterialType MaterialTypeMode
&41; const
Remarks
Fills out the sprite init parameters with the default settings given the desired material type and lighting mode (which can both be automatic) Note: This should be called after the texture has been set, as that will be analyzed if the lighting/material type flags are set to automatic