@inweb/viewer-visualize
    Preparing search index...

    Interface GeometryProgressEvent

    Event that measures the progress of the model loading.

    interface GeometryProgressEvent {
        buffer?: ArrayBuffer | Uint8Array<ArrayBufferLike>;
        data: number;
        model?: Model;
        type: "geometryprogress";
    }
    Index

    Properties

    Properties

    buffer?: ArrayBuffer | Uint8Array<ArrayBufferLike>

    Buffer to open.

    data: number

    The non-rounded progress value from 0 to 1. To get a percentage (%), multiply the data by 100.

    model?: Model

    Model instance to open.

    type: "geometryprogress"

    Event type.