This method of the Direct3dRMMesh Class sets the material associated with a group in a Direct3dRMMesh object.
public void setGroupMaterial(int id, Direct3dRMMaterial val);
id | The group identifier. This identifier must have been produced by using the addGroup method. |
val | The Direct3dRMMaterial object to set. |