Skip to content

five-on-it / apps/tools/src/editor-project / readBinaryGeometry

Function: readBinaryGeometry() ​

readBinaryGeometry(buffer, info): BinaryGeometry

Defined in: apps/tools/src/editor-project.ts:157

Reads a .babylonbinarymeshdata file back from its bytes and the mesh's _binaryInfo, the way Babylon's loader reads it; the normals and uvs are left out.

Parameters ​

buffer ​

Buffer

info ​

BinaryInfo

Returns ​

BinaryGeometry