unreal.SpriteShapeType

class unreal.SpriteShapeType

Bases: EnumBase

The type of a shape in a sprite geometry structure

C++ Source:

  • Plugin: Paper2D

  • Module: Paper2D

  • File: SpriteEditorOnlyTypes.h

BOX: SpriteShapeType

Box/Rectangular prism (size defined by BoxSize)

Type:

0

CIRCLE: SpriteShapeType

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

Type:

1

POLYGON: SpriteShapeType

Custom closed polygon

Type:

2