IDirect3DRMMesh::SetGroupColor

HRESULT SetGroupColor(D3DRMGROUPINDEX id, D3DCOLOR value);

Sets the color of a group in a Direct3DRMMesh object.

·Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

id

Identifier of the group. This identifier must have been produced by using the IDirect3DRMMesh::AddGroup method.

value

Color of the group.