COPCSourceOptions: {
    compressColorsTo8Bit?: boolean;
    decimate?: number;
    enableWorkers?: boolean;
    filters?: Readonly<DimensionFilter[]>;
    url: string | Getter;
}

Type declaration

  • OptionalcompressColorsTo8Bit?: boolean

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

    true
    
  • Optionaldecimate?: 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
    
  • OptionalenableWorkers?: boolean

    Enable web workers to perform CPU intensive tasks.

    true
    
  • Optionalfilters?: 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.