Property | Type | Description | |
---|---|---|---|
resolution | int | ||
voxelPrefab | GameObject | ||
xNeighbor | VoxelGrid, |
Method | Description | |
---|---|---|
Apply ( VoxelStencil, stencil ) : void | ||
Initialize ( int resolution, float size ) : void |
Method | Description | |
---|---|---|
AddPentagon ( Vector3 a, Vector3 b, Vector3 c, Vector3 d, Vector3 e ) : void | ||
AddQuad ( Vector3 a, Vector3 b, Vector3 c, Vector3 d ) : void | ||
AddTriangle ( Vector3 a, Vector3 b, Vector3 c ) : void | ||
CreateVoxel ( int i, int x, int y ) : void | ||
Refresh ( ) : void | ||
SetVoxelColors ( ) : void | ||
Triangulate ( ) : void | ||
TriangulateCell ( Voxel, a, Voxel, b, Voxel, c, Voxel, d ) : void | ||
TriangulateCellRows ( ) : void | ||
TriangulateGapCell ( int i ) : void | ||
TriangulateGapRow ( ) : void |
public Apply ( VoxelStencil, stencil ) : void | ||
stencil | VoxelStencil, | |
return | void |
public Initialize ( int resolution, float size ) : void | ||
resolution | int | |
size | float | |
return | void |