IPositionNormalUIndexedTriangleBufferAddTriangleVertex Method |
Adds a triangle vertex.
Namespace: Altaxo.Graph.Graph3D.GraphicsContextAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxvoid 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 scalar value. This is usually a relative value in the range 0..1. Values below 0 are treated as belonging to the color below, values above 1 are treated as belonging to the color above. It is possible to provide NaN here; this value is treated as belonging to ColorInvalid.
See Also