API (v2.0.0) - Giro3D
    Preparing search index...

    Interface COPCSourceOptions

    interface COPCSourceOptions {
        compressColorsTo8Bit?: boolean;
        decimate?: number;
        enableWorkers?: boolean;
        filters?: readonly DimensionFilter[];
        url: string | Getter;
    }

    Hierarchy (View Summary)

    Index

    Properties

    compressColorsTo8Bit?: boolean

    If true, colors are compressed to 8-bit (instead of 16-bit).

    true
    
    decimate?: number

    If specified, will keep every Nth point. For example, a decimation value of 10 will keep one point out of ten, and discard the 9 other points. Useful to reduce memory usage.

    1
    
    enableWorkers?: boolean

    Enable web workers to perform CPU intensive tasks.

    true
    
    filters?: readonly DimensionFilter[]

    The filters to use.

    url: string | Getter

    The URL to the remote COPC LAS file, or a copc.js Getter function to directly access the file byte range.