Skip to content

Api > SpriteMeshType


SpriteMeshType⚓︎

Defines the type of mesh generated for a sprite.

Elements⚓︎

Element Description
SpriteMeshType.FullRect Rectangle mesh equal to the user specified sprite size.
SpriteMeshType.Tight Tight mesh based on pixel alpha values. As many excess pixels are cropped as possible.