IDirect3DRMMesh::SetGroupColorRGB
Sets the color of a group in a Direct3DRMMesh object, using individual RGB values.
HRESULT SetGroupColorRGB(
D3DRMGROUPINDEX id,
D3DVALUE red,
D3DVALUE green,
D3DVALUE blue
);
Parameters
id
Identifier of the group. This identifier must have been produced by using the IDirect3DRMMesh::AddGroup method.
red, green, and blue
Red, green, and blue components of the group color.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
This method is also used to add a group RGB key to a Direct3DRMMeshInterpolator object.
See Also
IDirect3DRMMesh::GetGroupColor, IDirect3DRMMesh::SetGroupColor