MeshGenerator.VertexGenerator
Delegate in Zigurous.Graphics
Declaration
public delegate Vector3 VertexGenerator(int x, int y, float u, float v);
Description
A delegate function to calculate the vertex for a given point.
Parameters
x | The coordinate of the point along the x-axis. |
y | The coordinate of the point along the y-axis. |
u | The normalized coordinate of the point along the x-axis in the range [0..1]. |
v | The normalized coordinate of the point along the y-axis in the range [0..1]. |
Returns
Vector3 | The vertex for the given point. |