Interface ModelConverterResultInput

Represents a single input file read by the ModelConverter.convert method.

interface ModelConverterResultInput {
    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 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 input.

filePath?: string

Path the file data was read from, if applicable.

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

Format-specific parsing options.

sceneModel: string

The SceneModel used during export.

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

warnings: string[]