Skip to content

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 ​

ParameterTypeDescription
inputBinaryReaderInputBinary mesh data.

Returns ​

MeshData

The parsed mesh.

Throws ​

If the file signature is not "mesh".