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).
public D3dVertex();
Creates a D3dVertex object with fields uninitialized.
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.
Parameter | Description |
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.
|
- 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.