Packages
 In this topic

*Constructors

*Fields

 

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

 


Class D3dLVertex

public final class D3dLVertex
{
  // Fields
  public int color;
  public int specular;
  public float tu;
  public float tv;
  public float x;
  public float y;
  public float z;

  // Constructors
  public D3dLVertex();
  public D3dLVertex(float x, float y, float z, int color,
        int specular, float tu, float tv);
}

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

Constructors

D3dLVertex

public D3dLVertex();

Creates a D3dLVertex object with fields uninitialized.

D3dLVertex

public D3dLVertex(float x, float y, float z, int color, int specular, float
        tu, float tv);

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

ParameterDescription
x A float value that initializes the x field.
y A float value that initializes the y field.
z A float value that initializes the z field.
color An int value that initializes the color field.
specular An int value that initializes the specular field.
tu A float value that initializes the tu field.
tv A float value that initializes the tv field.

Fields

color
Value describing the color component of the vertex.
specular
Value describing the specular component of the vertex.
tu
Value describing the texture coordinates of the vertex.
tv
Value describing the texture coordinates of the vertex.
x
The x screen coordinate of the vertex.
y
The y screen coordinate of the vertex.
z
The z screen coordinate of the vertex.

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