Method | Description | |
---|---|---|
MeshMaker2D ( int width, int height, bool centered ) : System.Collections | ||
getMesh ( ) : Mesh | ||
getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[] |
Method | Description | |
---|---|---|
makeNormals ( ) : void | ||
makeQuads ( ) : void | ||
makeTriangles ( int index ) : void | ||
makeUVmap ( int x, int y ) : void | ||
makeVertices ( int x, int y, int index ) : void |
public MeshMaker2D ( int width, int height, bool centered ) : System.Collections | ||
width | int | |
height | int | |
centered | bool | |
return | System.Collections |
public getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[] | ||
atlasWidth | int | |
atlasHeight | int | |
atlasIndices | int | |
buffer | float | |
return | Vector2[] |