10 Debug.Log(
string.Concat(
new string[]
15 pass.batches.Count.ToString(),
17 pass.batchSize.ToString()
19 this.mpb =
new MaterialPropertyBlock();
20 this.size = pass.batchSize;
21 this.matrices =
new Matrix4x4[this.size];
22 this.tiles =
new float[this.size];
25 this.colors =
new float[this.size];
29 this.matColors =
new float[this.size];
33 this.extras =
new float[this.size];
35 for (
int i = 0; i < this.size; i++)
37 this.matrices[i].SetTRS(Vector3.zero, Quaternion.Euler(0f, 0f, 0f), Vector3.one);
42 public Matrix4x4[] matrices;
48 public float[] colors;
51 public float[] matColors;
54 public float[] extras;
57 public MaterialPropertyBlock mpb;