C# Class MeshFactory.MeshFactoryImp, isoAbbeyTFG

Inheritance: MeshFactory
Mostrar archivo Open project: nvidiosin/isoAbbeyTFG

Public Methods

Method Description
Generate ( CellProperties properties ) : void
getFaces ( ) : FaceNoSC[]
getMesh ( ) : Mesh
getTexture2D ( ) : Texture2D

Private Methods

Method Description
createFace ( int indexes, FaceNoSC copy, List vertexList, Vector3 vertices ) : FaceNoSC
generateMeshFromFaces ( FaceNoSC faces ) : Mesh
getTextureAndGenerateUVs ( FaceNoSC faces ) : Texture2D
regenerateFaces ( FaceNoSC faces, float height, CellTopType cellTop, float cellWidth, int CellTopRotation ) : FaceNoSC[]
selectFaceFor ( FaceNoSC faces, List tmpFaces ) : FaceNoSC

Method Details

Generate() public method

public Generate ( CellProperties properties ) : void
properties CellProperties
return void

getFaces() public method

public getFaces ( ) : FaceNoSC[]
return FaceNoSC[]

getMesh() public method

public getMesh ( ) : Mesh
return Mesh

getTexture2D() public method

public getTexture2D ( ) : Texture2D
return UnityEngine.Texture2D