C# Class MeshExplorer.IO.RasterImage

Writes an image of the mesh to disk.
ファイルを表示 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
Export ( Mesh mesh, string filename, int width ) : void

Export the mesh to PNG format.

Method Details

Export() public method

Export the mesh to PNG format.
public Export ( Mesh mesh, string filename, int width ) : void
mesh TriangleNet.Mesh The current mesh.
filename string The PNG filename.
width int The desired width (pixel) of the image.
return void