MeshUtilities.

DuplicateVertex(MeshBuilder, int, Vector3, Vector3, Vector2) Method

Summary

Adds a new vertex with its position at 'builder.Vertices[vertex] + offset' and the specified `normal` and `uv` values.
Assembly
Weaver.dll
Namespace
Weaver
Containing Type
MeshUtilities

Syntax

public static void DuplicateVertex(MeshBuilder builder, int vertex, Vector3 offset, Vector3 normal, Vector2 uv)

Parameters

Name Type Description
builder MeshBuilder
vertex int
offset Vector3
normal Vector3
uv Vector2

Return Value

Type Description
void