DirectX7.CreateD3DVertex
The DirectX7.CreateD3DVertex method fills a D3DVERTEX type using individual values that represent discrete vertex components.
object.CreateD3DVertex(x As Single, _
y As Single, _
z As Single, _
nx As Single, _
ny As Single, _
nz As Single, _
tu As Single, _
tv As Single, _
v As D3DVERTEX)
Parameters
- object
- Object expression that resolves to a DirectX7 object.
- x, y, and z
- Values describing the x-, y-, and z-coordinates of the vertex.
- nx, ny, and nz
- Values describing the orientation of the vertex normal vector.
- tu and tv
- Values describing the u and v texture coordinates of the vertex.
- v
- Variable of type D3DVERTEX that will be filled with the provided vertex component data.
Error Codes
If the method fails, an error is raised and Err.Number is set to an error code.
See Also
DirectX7.CreateD3DLVertex, DirectX7.CreateD3DTLVertex