MarchingCubes.GridCell
A class in Root.Township, the global namespace.
One cube of the marching cubes grid: its eight corners and their density values. Passed to Polygonise.
- Listed in Global namespace: M to O
- Nested in
MarchingCubes
Constructors
| Member | What it is |
|---|---|
GridCell() | Creates a MarchingCubes.GridCell with default values. |
Fields
| Member | What it is |
|---|---|
MarchingCubes.Point4 coordinate | Grid coordinate of the cell, used to key shared edge vertices. |
Vector3[] points | World positions of the eight corners. |
float[] values | Density value at each corner, compared to the iso level. |
Used in
Members of other types that take, return or hold a GridCell: