C# 클래스 MeshMaker2D, tutorials

파일 보기 프로젝트 열기: poeticmatter/tutorials 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

MeshMaker2D() 공개 메소드

public MeshMaker2D ( int width, int height, bool centered ) : System.Collections
width int
height int
centered bool
리턴 System.Collections

getMesh() 공개 메소드

public getMesh ( ) : Mesh
리턴 Mesh

getUVmap() 공개 메소드

public getUVmap ( int atlasWidth, int atlasHeight, int atlasIndices, float buffer ) : Vector2[]
atlasWidth int
atlasHeight int
atlasIndices int
buffer float
리턴 Vector2[]