Click or drag to resize

GeometryHelperGetMeshFrom4Points Method (Vector3, Boolean, Color)

Generates a surface mesh from 4 points

Namespace:  BrydenWoodUnity
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static Mesh GetMeshFrom4Points(
	Vector3[] vertices,
	bool flip,
	Color[] colors
)

Parameters

vertices
Type: Vector3
The list of vertices
flip
Type: SystemBoolean
Whether the mesh should face one way or the other
colors
Type: Color
A list of colors to be used for vertex colours

Return Value

Type: Mesh
The generated mesh
See Also