Value type
SpriteRegion
Atlas rectangle and authoring geometry, in source pixels.
Fields
x
u32Pixel left edge.
default 0
y
u32Pixel top edge.
default 0
width
u32Source pixel width.
default 0
height
u32Source pixel height.
default 0
pivot
vec2Normalized pivot, measured from the bottom left.
default [0.5,0.5]
borders
vec4Nine-slice borders in pixels: left, bottom, right, top.
default [0,0,0,0]