arx-convert
Version:
Converts various Arx Fatalis formats to JSON or YAML and back
15 lines (14 loc) • 477 B
TypeScript
import { BinaryIO } from '../common/BinaryIO.js';
import type { ArxCell } from './Cell.js';
/**
* @see https://github.com/arx/ArxLibertatis/blob/1.2.1/src/graphics/data/FastSceneFormat.h#L125
*/
export type ArxSceneInfo = {
numberOfPolygons: number;
numberOfAnchors: number;
};
export declare class SceneInfo {
static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxSceneInfo;
static accumulateFrom(cell: ArxCell): ArrayBuffer;
static sizeOf(): number;
}