This documentation is archived and is not being maintained.
Mesh.Save Method ()
Saves the mesh to the specified stream object.
Overload List
public void Save(Stream, GraphicsStream, ExtendedMaterial[], EffectInstance[], XFileFormat); public void Save(Stream, GraphicsStream, ExtendedMaterial[], XFileFormat); public void Save(Stream, int[], ExtendedMaterial[], EffectInstance[], XFileFormat); public void Save(Stream, int[], ExtendedMaterial[], XFileFormat); public void Save(string, GraphicsStream, ExtendedMaterial[], EffectInstance[], XFileFormat); public void Save(string, GraphicsStream, ExtendedMaterial[], XFileFormat); public void Save(string, int[], ExtendedMaterial[], EffectInstance[], XFileFormat); public void Save(string, int[], ExtendedMaterial[], XFileFormat);
Remarks
The default value for the file format is Binary . The Compressed file format can be combined (using a logical or ) with either the Text or Binary flag to reduce the file size. If a file is specified with both Binary and Text flags, it is saved as a text file.
Exceptions InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
See Also