Class ModelWriter
Serializes model to binary stream
Namespace: Unity.Barracuda
Syntax
public class ModelWriter : object
Methods
Save(BinaryWriter, Model, Boolean)
Save model to file
Declaration
public static void Save(BinaryWriter writer, Model model, bool verbose = false)
Parameters
Type | Name | Description |
---|---|---|
BinaryWriter | writer |
|
Model | model |
|
Boolean | verbose | verbose flag |
Save(String, Model, Boolean)
Save model to file
Declaration
public static void Save(string fileName, Model model, bool verbose = false)
Parameters
Type | Name | Description |
---|---|---|
String | fileName | file name |
Model | model |
|
Boolean | verbose | verbose flag |