Loading...
Loading...
Analyze Sprite textures and output a 3x3 grid representation based on color matching. Segments a Sprite into a 3x3 grid, identifies the majority color of the center cell, and outputs a text pattern showing which cells match the center color. Use when analyzing sprite patterns, documenting sprite structure, or describing sprite color distribution.
npx skill4agent add unity-technologies/skills sprite-segment-3x3grid.| Threshold | Description | Use Case |
|---|---|---|
| 50% | At least half the cell's pixels match center color | Lenient matching for sprites with mixed regions |
| 75% | At least three-quarters match center color | Moderate matching for mostly solid regions |
| 90% | Nearly all pixels must match center color | Strict matching for very uniform sprites |
.X| Symbol | Meaning |
|---|---|
| Cell does NOT meet the match threshold (insufficient pixels match center color) |
| Cell MEETS the match threshold (enough pixels match center color) |
| The center cell itself (always position [1,1] in the grid) |
/[TopRow] / [MiddleRow] / [BottomRow][Left] [Center] [Right]Grid Layout: Output Order:
[0,0] [1,0] [2,0] 1 2 3 -> First group
[0,1] [1,1] [2,1] 4 5 6 -> Second group (5 is always *)
[0,2] [1,2] [2,2] 7 8 9 -> Third group. X X / X * X / X X .. X X
X * X
X X .. . . / . * . / . . .X X X / X * X / X X XX X X / X * X / . . .matchingPixels / totalPixels.Xrectsprite.rect.xsprite.rect.ysprite.rect.widthsprite.rect.height