Метод | Описание | |
---|---|---|
MeshMaker2D ( int width, int height, bool centered ) : System.Collections | ||
getMesh ( ) : Mesh | ||
getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[] |
Метод | Описание | |
---|---|---|
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 | |
Результат | System.Collections |
public getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[] | ||
atlasWidth | int | |
atlasHeight | int | |
atlasIndices | int | |
buffer | float | |
Результат | Vector2[] |