Microsoft SDK for Java

Direct3dRMMesh Class Methods

The Direct3dRMMesh Class contains the following methods:

addGroup allocates space for a collection of vertices and faces and retrieves an identifier for the group.
getBox retrieves the bounding box containing a Direct3dRMMesh object.
getGroup retrieves the data associated with a specified group.
getGroupColor retrieves the color for a group.
getGroupCount retrieves the number of groups for a given Direct3dRMMesh object.
getGroupMapping returns a description of how textures are mapped to a group in a Direct3dRMMesh object.
getGroupMaterial retrieves the material object associated with a group in a Direct3dRMMesh object.
getGroupQuality retrieves the rendering quality for a specified group in a Direct3dRMMesh object.
getGroupSize retrieves the size of data associated with the group.
getGroupTexture retrieves an address of the texture associated with a group in a Direct3dRMMesh object.
getVertices retrieves the vertex positions for a specified group in a Direct3dRMMesh object.
getVerticesSize retrieves the number of vertex positions from the given index to the end of the array associated with the group.
scale scales a Direct3dRMMesh object by the given scaling factors parallel to the x-, y-, and z-axes in model coordinates.
setGroupColor sets the color of a group in a Direct3dRMMesh object.
setGroupColorRGB sets the color of a group in a Direct3dRMMesh object by using individual RGB values.
setGroupMapping sets the mapping for a group in a Direct3dRMMesh object. setGroupMaterial sets the material associated with a group in a Direct3dRMMesh object.
setGroupQuality sets the rendering quality for a specified group in a Direct3dRMMesh object.
setGroupTexture sets the texture associated with a group in a Direct3dRMMesh object.
setVertices sets the vertex positions for a specified group in a Direct3dRMMesh object.
setVerticesAsFloats sets the vertex positions for a specified group in a Direct3dRMMesh object, using an array of floats.
translate adds the specified offsets to the vertex positions of a Direct3dRMMesh object.

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