Summary
Duplicates the vertex data of a polygon with the vertices offset by `extrusion` and adds indices to join
them as faces to the original vertices.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- MeshUtilities
Syntax
public static void ExtrudePolygon(MeshBuilder builder, int subMesh, int firstVertex, int sides, Vector3 extrusion)
Parameters
| Name | Type | Description |
|---|---|---|
| builder | MeshBuilder | |
| subMesh | int | |
| firstVertex | int | |
| sides | int | |
| extrusion | Vector3 |
Return Value
| Type | Description |
|---|---|
| void |