public void fillBatchData(MeshBatchFiller batch)
 {
     //Debug.Log("Asking for Batch");
     batch.vertices = vertexPoints;
     batch.indices  = indexPoints;
     batch.uv       = uvPoints;
     batch.material = material;
 }
 public void fillBatchData(MeshBatchFiller batch)
 {
     //Debug.Log("Asking for Batch");
     batch.vertices = vertexPoints;
     batch.indices = indexPoints;
     batch.uv = uvPoints;
     batch.material = material;
 }
示例#3
0
 public MeshBatcher()
 {
     batch = new Dictionary<Material, BatchedGeometry>();
     decals = new List<ProjectedStaticDecal>();
     filler = new MeshBatchFiller();
 }
示例#4
0
 public MeshBatcher()
 {
     batch  = new Dictionary <Material, BatchedGeometry>();
     decals = new List <ProjectedStaticDecal>();
     filler = new MeshBatchFiller();
 }