csharp
public enum SpriteFlipWhich way round a sprite is drawn.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
⚠ Mirrored geometry and mirrored UVs, which is why this is not just a UV swap. Swapping the texture coordinates alone mirrors each cell of a nine-slice in place — the left border would show mirrored left-border art still on the left. Mirroring the cell layout as well is what puts the right-hand corner on the left, and doing both keeps the triangle winding the way it was so a back-face cull does not eat every flipped sprite.
Fields and properties (3)
NoneAs drawn.
HorizontalMirrored left to right about the pivot.
VerticalMirrored top to bottom about the pivot.
Used by (3)
- SpriteAppearanceVixen.Rendering
- SpriteGeometryVixen.Rendering
- SpriteTestsVixen.Rendering.Tests