C# Class MeshMaker2D, tutorials

Afficher le fichier Open project: poeticmatter/tutorials Class Usage Examples

Méthodes publiques

Méthode Description
MeshMaker2D ( int width, int height, bool centered ) : System.Collections
getMesh ( ) : Mesh
getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[]

Private Methods

Méthode Description
makeNormals ( ) : void
makeQuads ( ) : void
makeTriangles ( int index ) : void
makeUVmap ( int x, int y ) : void
makeVertices ( int x, int y, int index ) : void

Method Details

MeshMaker2D() public méthode

public MeshMaker2D ( int width, int height, bool centered ) : System.Collections
width int
height int
centered bool
Résultat System.Collections

getMesh() public méthode

public getMesh ( ) : Mesh
Résultat Mesh

getUVmap() public méthode

public getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[]
atlasWidth int
atlasHeight int
atlasIndices int
buffer float
Résultat Vector2[]