Méthode | Description | |
---|---|---|
GetCoordinatesForTile ( Vector2 coords, float leftTextureCoordinate, float topTextureCoordinate ) : void | ||
GetTextureCoordinateVectorsOfTextureIndex ( int textureId ) : Vector2[] | ||
GetTextureCoordinateVectorsOfTextureIndex ( int textureId, Vector2 coords ) : void | ||
GetTextureIndexFromCoordinate ( Vector2 topLeftUVCoordinate ) : short | ||
Tileset ( Microsoft.Xna.Framework.Graphics.Texture2D tilesetTexture, int tileDimensionWidth, int tileDimensionHeight ) : System | ||
Tileset ( string pTilesetFilename, int pTileDimensionWidth, int pTileDimensionHeight ) : System |
public GetCoordinatesForTile ( Vector2 coords, float leftTextureCoordinate, float topTextureCoordinate ) : void | ||
coords | Vector2 | |
leftTextureCoordinate | float | |
topTextureCoordinate | float | |
Résultat | void |
public GetTextureCoordinateVectorsOfTextureIndex ( int textureId ) : Vector2[] | ||
textureId | int | |
Résultat | Vector2[] |
public GetTextureCoordinateVectorsOfTextureIndex ( int textureId, Vector2 coords ) : void | ||
textureId | int | |
coords | Vector2 | |
Résultat | void |
public GetTextureIndexFromCoordinate ( Vector2 topLeftUVCoordinate ) : short | ||
topLeftUVCoordinate | Vector2 | |
Résultat | short |
public Tileset ( Microsoft.Xna.Framework.Graphics.Texture2D tilesetTexture, int tileDimensionWidth, int tileDimensionHeight ) : System | ||
tilesetTexture | Microsoft.Xna.Framework.Graphics.Texture2D | |
tileDimensionWidth | int | |
tileDimensionHeight | int | |
Résultat | System |
public Tileset ( string pTilesetFilename, int pTileDimensionWidth, int pTileDimensionHeight ) : System | ||
pTilesetFilename | string | |
pTileDimensionWidth | int | |
pTileDimensionHeight | int | |
Résultat | System |