Documentation / scene / parseZHair
Function: parseZHair()
parseZHair(
buffer):ParsedZHair
Defined in: libs/scene/src/asset/loaders/zhair/zhair_format.ts:296
Opens a .zhair file.
Parameters
buffer
ArrayBuffer
The complete file.
Returns
The manifest and the payload it indexes into.
Remarks
Reads the manifest and keeps the buffer; the arrays themselves are not touched until readZHairPositions and its siblings are called for them.