Microsoft SDK for Java

getGroupMaterial

This method of the Direct3dRMMesh Class retrieves the material object associated with a group in a Direct3dRMMesh object.

Syntax

public Direct3dRMMaterial getGroupMaterial(int id);

Return Value

Returns the Direct3dRMMaterial object if successful; otherwise, returns null.

Parameters

id The group identifier. This identifier must have been produced by using the addGroup method.

See Also

setGroupMaterial

© 1999 Microsoft Corporation. All rights reserved. Terms of use.