Exemple #1
0
 public Chunk Construct(ChunkIndex index)
 {
     currentBuilder.SetChunkIndex(index);
     currentBuilder.CreateMaterial();
     currentBuilder.CreateGameObject();
     currentBuilder.CreateRenderingComponents();
     currentBuilder.InitializeModelMatrix();
     currentBuilder.CreateCollider();
     currentBuilder.CreateChunkComponent();
     currentBuilder.PrepareGeometryGeneration();
     currentBuilder.GenerateGeometry();
     return(currentBuilder.GetChunk());
 }