Mirror Engine
V5
How To
Mirror Engine Logo

Mirror Engine API


Mirror Engine API / SPRITE_RENDERMODE_SLICED

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.

Mirror Engine Logo