This is a method of the IDirect3dRMMeshBuilder Interface.
public void setMaterial(Direct3dRMMaterial val);