MeshUtilities.

ShapeEquilateralPolygonXY(MeshBuilder, int, Vector3, int, float) Method

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)

Parameters

Name Type Description
builder MeshBuilder
subMesh int
center Vector3
sides int
radius float

Return Value

Type Description
void