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 color
)
Public Shared Function GetMeshFrom4Points (
vertices As Vector3(),
flip As Boolean,
color As Color
) As Mesh
public:
static Mesh^ GetMeshFrom4Points(
array<Vector3>^ vertices,
bool flip,
Color color
)
static member GetMeshFrom4Points :
vertices : Vector3[] *
flip : bool *
color : Color -> Mesh
Parameters
- vertices
- Type: Vector3
The list of vertices - flip
- Type: SystemBoolean
Whether the mesh should face one way or the other - color
- Type: Color
A single color to be used for vertex colours
Return Value
Type:
MeshThe generated mesh
See Also