Click or drag to resize

IPositionNormalUIndexedTriangleBufferAddTriangleVertex Method

Adds the specified vertex.

Namespace: Altaxo.Graph.Graph3D.GraphicsContext
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
void AddTriangleVertex(
	double x,
	double y,
	double z,
	double nx,
	double ny,
	double nz,
	double u
)

Parameters

x  Double
The x position.
y  Double
The y position.
z  Double
The z position.
nx  Double
The x component of the normal.
ny  Double
The y component of the normal.
nz  Double
The z component of the normal.
u  Double
The u texture coordinate. This is a relative value 0..1. Values below 0 are treated as belonging to the color below, values above 1 are treated as belonging to color above. Is is possible to provide double.NaN here, this value is treated as belonging to ColorInvalid.
See Also