unreal.SpriteShapeType¶
- class unreal.SpriteShapeType¶
Bases:
EnumBaseThe type of a shape in a sprite geometry structure
C++ Source:
Plugin: Paper2D
Module: Paper2D
File: SpriteEditorOnlyTypes.h
- BOX: SpriteShapeType = Ellipsis¶
Box/Rectangular prism (size defined by BoxSize)
- Type:
0
- CIRCLE: SpriteShapeType = Ellipsis¶
Circle/Sphere (major axis is defined by BoxSize.X, minor axis by BoxSize.Y)
- Type:
1
- POLYGON: SpriteShapeType = Ellipsis¶
Custom closed polygon
- Type:
2