Module |
|
Header |
/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/SpriteEditorOnlyTypes.h |
Include |
#include "SpriteEditorOnlyTypes.h" |
namespace ESpritePolygonMode
{
enum Type
{
SourceBoundingBox,
TightBoundingBox,
ShrinkWrapped,
FullyCustom,
Diced,
}
}
Name |
Description |
---|---|
SourceBoundingBox |
Use the bounding box of the source sprite (no optimization) |
TightBoundingBox |
Tighten the bounding box around the sprite to exclude fully transparent areas (the default) |
ShrinkWrapped |
Shrink-wrapped geometry |
FullyCustom |
Fully custom geometry; edited by hand |
Diced |
Diced (split up into smaller squares, including only non-empty ones in the final geometry). |
Method of specifying polygons for a sprite's render or collision data.