PAPER2UPaperImporterSettings::ApplySettingsForSpriteInit

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

Windows
MacOS
Linux

References

Module

Paper2DEditor

Header

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

Include

#include "PaperImporterSettings.h"

Syntax

void ApplySettingsForSpriteInit
(
    FSpriteAssetInitParameters & InitParams,
    ESpriteInitMaterialLightingMode LightingMode,
    ESpriteInitMaterialType MaterialTypeMode
) 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

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