ESpriteShapeType

The type of a shape in a sprite geometry structure.

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.

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