Microsoft SDK for Java

addNormal

This method of the Direct3dRMMeshBuilder Class adds a normal to a Direct3dRMMeshBuilder object.

Syntax

public int addNormal(float x, float y, float z);

Return Value

Returns the index of the normal.

Parameters

x The x component of the direction of the new normal
y The y component of the direction of the new normal
z The z component of the direction of the new normal.

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