Microsoft SDK for Java

setNormal

This method of the Direct3dRMMeshBuilder Class sets the normal vector of a specified vertex in a Direct3dRMMeshBuilder object.

Syntax

public void setNormal(int idx, float x, float y, float z);

Parameters

idx The index of the normal to be set.
x The x component of the vector to assign to the specified normal.
y The y component of the vector to assign to the specified normal.
z The z component of the vector to assign to the specified normal.

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