Packages
 In this topic

*Constructors

*Fields

 

Packages   PreviousThis PackageNext
Package com.ms.directX   Previous This
Package
Next

 


Class D3dVertex

public final class D3dVertex
{
  // Fields
  public float nx;
  public float ny;
  public float nz;
  public float tu;
  public float tv;
  public float x;
  public float y;
  public float z;

  // Constructors
  public D3dVertex();
  public D3dVertex(float x, float y, float z, float nx, float ny,
        float nz, float tu, float tv);
}

Defines an untransformed and unlit vertex (screen coordinates with color).

Constructors

D3dVertex

public D3dVertex();

Creates a D3dVertex object with fields uninitialized.

D3dVertex

public D3dVertex(float x, float y, float z, float nx, float ny, float nz,
        float tu, float tv);

Creates a D3dVertex objects with fields set to values specified by the user.

ParameterDescription
x A floating point value that sets the x field.
y A floating point value that sets the y field.
x A floating point value that sets the z field.
nx A floating point value that sets the nx field.
ny A floating point value that sets the ny field.
nz A floating point value that sets the nz field.
tu A floating point value that sets the tu field.
tv A floating point value that sets the tv field.

Fields

nx
Value describing the normal x coordinate of the vertex.
ny
Value describing the normal y coordinate of the vertex.
nz
Value describing the normal z coordinate of the vertex.
tu
Value describing the texture u coordinate of the vertex.
tv
Value describing the texture v coordinate of the vertex.
x
Value describing the homogeneous x coordinate of the vertex.
y
Value describing the homogeneous y coordinate of the vertex.
z
Value describing the homogeneous z coordinate of the vertex.

upnrm.gif © 1998 Microsoft Corporation. All rights reserved. Terms of use.