Method Mix
Mix(Vertex, Vertex, float)
Linearly interpolates between two vertices using the specified weight.
Declaration
public static Vertex Mix(Vertex x, Vertex y, float weight)
Parameters
Type | Name | Description |
---|---|---|
Vertex | x | The first Vertex object. |
Vertex | y | The second Vertex object. |
float | weight | The weight of the interpolation, where |
Returns
Type | Description |
---|---|
Vertex | A new Vertex object interpolated between the two objects according to the specified |