Interface ModelConverterResultOutput

Represents a single output file produced by the ModelConverter.convert method.

interface ModelConverterResultOutput {
    dataModel: string;
    errors: string[];
    fileData: any;
    fileDataSizeBytes: number;
    fileDataType: string;
    fileFormat: string;
    fileFormatVersion: string;
    filePath?: string;
    messages: string[];
    options: { [key: string]: any };
    sceneModel: string;
    warnings: string[];
}

Properties

dataModel: string

The DataModel used during export.

This object is managed internally and valid only within the scope of ModelConverter.convert.

errors: string[]
fileData: any

The converted file data.

fileDataSizeBytes: number
fileDataType: string

The type of data returned in fileData.

Supported values:

  • "json" — a structured JavaScript object
  • "arraybuffer" — raw binary data
fileFormat: string
fileFormatVersion: string

The schema version applied when generating this output.

filePath?: string

Path the file data was written to, if applicable.

messages: string[]
options: { [key: string]: any }

Format-specific writing options.

sceneModel: string

The SceneModel used during export.

This object is managed internally and valid only within the scope of ModelConverter.convert.

warnings: string[]