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

xThe coordinate of the point along the x-axis.
yThe coordinate of the point along the y-axis.
uThe normalized coordinate of the point along the x-axis in the range [0..1].
vThe normalized coordinate of the point along the y-axis in the range [0..1].

Returns

Vector3The vertex for the given point.