Documentation / @sw-file-lib/core / parseMesh
Function: parseMesh()
ts
function parseMesh(input: BinaryReaderInput): MeshData;Defined in: mesh/index.ts:128
Parses a Stormworks render mesh.
Parameters
| Parameter | Type | Description |
|---|---|---|
input | BinaryReaderInput | Binary mesh data. |
Returns
The parsed mesh.
Throws
If the file signature is not "mesh".