C# Class WaterBuoyancy.WaterMeshGenerator

Show file Open project: dbrizov/Unity-WaterBuoyancy Class Usage Examples

Public Methods

Method Description
GenerateMesh ( int _rows, int _columns, float _quadSegmentSize ) : Mesh

Private Methods

Method Description
GetColumn ( int vertexIndex ) : int
GetIndex ( int row, int column ) : int
GetRow ( int vertexIndex ) : int

Method Details

GenerateMesh() public static method

public static GenerateMesh ( int _rows, int _columns, float _quadSegmentSize ) : Mesh
_rows int
_columns int
_quadSegmentSize float
return UnityEngine.Mesh