setTextureSliceBorder
setTextureSliceBorder(
textureId,left,right,top,bottom):void
Defined in: render/textureParams.ts:46
The texture’s 9-slice border, in texture pixels from each edge. A property of
the IMAGE — every UIVisual set to NineSlice reads it, so a frame is sliced
once at import rather than re-typed on every entity that uses it. Normally
applied by the asset pipeline at load; call it directly to re-slice a texture
already resident (an authoring tool editing the border live).
Parameters
Section titled “Parameters”textureId
Section titled “textureId”number
number
number
number
bottom
Section titled “bottom”number
Returns
Section titled “Returns”void