Method | Description | |
---|---|---|
PixelToTile ( float pixelPosition, int tileSize ) : int | ||
TileToPixel ( int tilePosition, int tileSize ) : int |
public static PixelToTile ( float pixelPosition, int tileSize ) : int | ||
pixelPosition | float | |
tileSize | int | |
return | int |
public static TileToPixel ( int tilePosition, int tileSize ) : int | ||
tilePosition | int | |
tileSize | int | |
return | int |