This is a method of the IDirect3dRMMesh Interface.
public void setGroupMaterial(int id, Direct3dRMMaterial val);