Microsoft SDK for Java

setTextureCoordinates

This method of the Direct3dRMMeshBuilder Class sets the texture coordinates of a specified vertex in a Direct3dRMMeshBuilder object.

Syntax

public void setTextureCoordinates(int idx, float u, float v);

Parameters

idx The index of the vertex to be set.
u The texture u coordinate to assign to the specified mesh vertex.
v The texture v coordinate to assign to the specified mesh vertex.

See Also

getTextureCoordinates

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