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
Syntaxpublic static Mesh GetMeshFrom4Points(
Vector3[] vertices,
bool flip,
Color[] colors
)
Public Shared Function GetMeshFrom4Points (
vertices As Vector3(),
flip As Boolean,
colors As Color()
) As Mesh
public:
static Mesh^ GetMeshFrom4Points(
array<Vector3>^ vertices,
bool flip,
array<Color>^ colors
)
static member GetMeshFrom4Points :
vertices : Vector3[] *
flip : bool *
colors : Color[] -> Mesh
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:
MeshThe generated mesh
See Also