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 this input was imported into.

errors: string[]

Errors produced when reading this input.

fileData: any

The file data.

fileDataSizeBytes: number

The size of the file data in bytes.

fileDataType: string

The type of data returned in fileData.

Supported values:

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

The format of the input file.

fileFormatVersion?: string

The schema version applied when reading this input.

filePath?: string

Path the file data was read from, if applicable.

messages: string[]

Messages produced when reading this input.

options: { [key: string]: any }

Format-specific parsing options.

sceneModel: string

The SceneModel this input was imported into.

warnings: string[]

Warnings produced when reading this input.