createNineSlice
createNineSlice(
options):NineSliceSprite
Defined in: packages/renderer/src/assets.ts:650
Build a NineSliceSprite from an engine-resolved TextureInput — a
stretchable textured frame whose corners stay crisp at any size. Returns the
raw display object so callers can parent it into their own container, the
same escape-hatch shape as resolveTextureInput. This is the renderer’s
nine-slice primitive: reach for it (not a direct pixi.js import) when
building textured panels, dialogue/UI frames, or buttons.
width/height are required: a nine-slice is stretched to a target size, and
defaulting to the (possibly unloaded → 0×0) texture size would silently bake a
degenerate frame.