unreal.SpriteShapeType

class unreal.SpriteShapeType

Bases: unreal.EnumBase

The type of a shape in a sprite geometry structure

C++ Source:

  • Plugin: Paper2D

  • Module: Paper2D

  • File: SpriteEditorOnlyTypes.h

BOX

Box/Rectangular prism (size defined by BoxSize)

Type

0

CIRCLE

Circle/Sphere (major axis is defined by BoxSize.X, minor axis by BoxSize.Y)

Type

1

POLYGON

Custom closed polygon

Type

2