ESpriteShapeType

The type of a shape in a sprite geometry structure.

Choose your operating system:

Windows

macOS

Linux

References

Module

Paper2D

Header

/Engine/Plugins/2D/Paper2D/Source/Paper2D/Classes/SpriteEditorOnlyTypes.h

Include

#include "SpriteEditorOnlyTypes.h"

Syntax

enum ESpriteShapeType
{
    Box,
    Circle,
    Polygon,
}

Values

Name

Description

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

Remarks

The type of a shape in a sprite geometry structure.