Microsoft SDK for Java

setTextureCoordinates

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

Syntax

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

Parameters

vertex Index of the vertex to be set. For example, if the face were a triangle, the possible vertex indices would be 0, 1, and 2.
u The texture u coordinate to assign to the specified vertex.
v The texture v coordinate to assign to the specified vertex.

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