Mirror Engine Logo
How To
Mirror Engine Logo

Variable: SPRITE_RENDERMODE_SLICED

const SPRITE_RENDERMODE_SLICED: number = 1

This mode renders a sprite using 9-slicing in 'sliced' mode. Sliced mode stretches the top and bottom regions of the sprite horizontally, the left and right regions vertically and the middle region both horizontally and vertically.