IFClite TypeScript API
    Preparing search index...

    Interface ColorBatch

    One colour and the entities to paint with it.

    interface ColorBatch {
        color: string | SurfaceStyleColor;
        name?: string;
        refs: EntityRef[];
    }
    Index
    color: string | SurfaceStyleColor

    A hex string in any form bim.viewer.colorize takes, or channels in 0..1.

    name?: string

    IfcSurfaceStyle.Name, useful when the colour stands for a class.

    refs: EntityRef[]