Bitbybit Docs
    Preparing search index...

    Interface AssemblySubShapeColor (Models.OCCT)

    The color of some faces or edges of an assembly part, by their indexes.

    interface AssemblySubShapeColor {
        indexes: number[];
        colorRgba: ColorRGBA;
        metallic?: number;
        roughness?: number;
        emissiveRgb?: any;
    }
    Index

    Properties

    indexes: number[]

    The indexes of the faces or edges, from 0

    colorRgba: ColorRGBA

    Their color

    metallic?: number

    Optional metalness of these faces, from 0 to 1; read for faces only, as are roughness and emissiveRgb

    roughness?: number

    Optional roughness of these faces, from 0 to 1

    emissiveRgb?: any

    Optional light these faces give off, each channel from 0 to 1