Interface GeometryChunkEvent

Event that fires when the file geometry data chunk has been loaded.

Note that small files are loaded in one chunk, and geometrychunk event does not fire, only the databasechink event fires.

interface GeometryChunkEvent {
    buffer?: ArrayBuffer | Uint8Array;
    data?: Uint8Array;
    file: string | Model | File | Assembly | ArrayBuffer | File | Blob;
    model?: Model;
    type: "geometrychunk";
}

Properties

buffer?: ArrayBuffer | Uint8Array

Deprecated since 26.4. Use file instead.

data?: Uint8Array

Geometry data chunk. Only for VSFX.

file: string | Model | File | Assembly | ArrayBuffer | File | Blob

File to load.

model?: Model

Model from file to load. Only defined when loading a file from the Open Cloud Server.

type: "geometrychunk"

Event type.