Interface: SsTextureOptions
Defined in: packages/react-native-spritestudio/src/core/SsTextureRegistry.ts:21
How a cellmap's texture is sampled.
The caller's choice, never the cellmap's. filter is Linear by default (FilterMode.Nearest for crisp pixel art) and the tiles are Clamp. Left to the paint's default, drawVertices samples nearest-neighbour and every scaled or rotated sprite comes out jaggy.
Properties
filter?
optionalfilter?:FilterMode
Defined in: packages/react-native-spritestudio/src/core/SsTextureRegistry.ts:22
tileX?
optionaltileX?:TileMode
Defined in: packages/react-native-spritestudio/src/core/SsTextureRegistry.ts:23
tileY?
optionaltileY?:TileMode
Defined in: packages/react-native-spritestudio/src/core/SsTextureRegistry.ts:24