Class ModelWriter
Serializes model to binary stream
Inherited Members
Namespace: Unity.Barracuda
Assembly: Unity.Barracuda.dll
Syntax
public class ModelWriter
Methods
Save(BinaryWriter, Model, bool)
Save model to file
Declaration
public static void Save(BinaryWriter writer, Model model, bool verbose = false)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryWriter | writer |
|
| Model | model |
|
| bool | verbose | verbose flag |
Save(string, Model, bool)
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 |
|
| bool | verbose | verbose flag |