Navigation
API > API/Plugins > API/Plugins/Paper2D
The type of a shape in a sprite geometry structure.
| Name | ESpriteShapeType |
| Type | enum |
| Header File | /Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/SpriteEditorOnlyTypes.h |
| Include Path | #include "SpriteEditorOnlyTypes.h" |
Syntax
enum ESpriteShapeType
{
Box,
Circle,
Polygon,
}
Values
| Name | Remarks |
|---|---|
| Box | Box/Rectangular prism (size defined by BoxSize) |
| Circle | Circle/Sphere (major axis is defined by BoxSize.X, minor axis by BoxSize.Y) |
| Polygon | Custom closed polygon |