Table of Contents

Class MeshUtils

Namespace
Gamelogic.Grids
Assembly
Assembly-CSharp.dll

Provides methods for making specialised meshes that can be used with grids.

[Version(1, 7, 0)]
public static class MeshUtils
Inheritance
MeshUtils
Inherited Members

Methods

MakeBandedSector(Mesh, float, float, float, float, int, Func<Vector2, Vector2>)

These meshes can be used with polar grids to render cells.

public static void MakeBandedSector(Mesh mesh, float startAngle, float endAngle, float innerRadius, float outerRadius, int quadCount, Func<Vector2, Vector2> transform)

Parameters

mesh Mesh
startAngle float
endAngle float
innerRadius float
outerRadius float
quadCount int
transform Func<Vector2, Vector2>