C# Class MeshFactory.MeshFactoryImp, isoAbbeyTFG

Inheritance: MeshFactory
Afficher le fichier Open project: nvidiosin/isoAbbeyTFG

Méthodes publiques

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

Private Methods

Méthode 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 méthode

public Generate ( CellProperties properties ) : void
properties CellProperties
Résultat void

getFaces() public méthode

public getFaces ( ) : FaceNoSC[]
Résultat FaceNoSC[]

getMesh() public méthode

public getMesh ( ) : Mesh
Résultat Mesh

getTexture2D() public méthode

public getTexture2D ( ) : Texture2D
Résultat UnityEngine.Texture2D