public save(asset as ModelAsset, path as FilePath, format as ModelFormat = null, allowLoss as Boolean = false) as ModelExportReport
Writes a model, detecting format by extension unless supplied.
| Parameter | Description |
|---|---|
asset | CPU asset to save. |
path | Output file; OBJ writes an adjacent .mtl sidecar. |
format | Explicit format, or null to infer it. |
allowLoss | Accepts the losses listed in the returned report. |
ModelExportReport, including all accepted losses.