MaterialC setC(MaterialC o) { shader = o.shader; maps = o.maps; for (int i = 0; i < paramCount; i++) { params[i] = o.params[i]; } return this; }