This method of the Direct3dRMMesh Class retrieves the material object associated with a group in a Direct3dRMMesh object.
public Direct3dRMMaterial getGroupMaterial(int id);
Returns the Direct3dRMMaterial object if successful; otherwise, returns null.
id | The group identifier. This identifier must have been produced by using the addGroup method. |