Summary
Adds indices, vertices, normals, and UVs for a polygon on the XY plane with the specified parameters.
- Assembly
- Weaver
.dll - Namespace
- Weaver
- Containing Type
- MeshUtilities
Syntax
public static void ShapeEquilateralPolygonXY(MeshBuilder builder, int subMesh, Vector3 center, int sides, float radius, Rect uvArea)
Parameters
| Name | Type | Description |
|---|---|---|
| builder | MeshBuilder | |
| subMesh | int | |
| center | Vector3 | |
| sides | int | |
| radius | float | |
| uvArea | Rect |
Return Value
| Type | Description |
|---|---|
| void |