Bitbybit Docs
    Preparing search index...

    Class SetDocLabelColorSharedDto<T>Abstract (Inputs.OCCT)

    A document and a color, shared by SetDocLabelColorDto and SetDocLabelColorsDto.

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Constructors

    Properties

    document: T

    The document from buildAssemblyDocument or loadStepToDoc.

    undefined
    
    r?: number

    The red channel, from 0 to 1.

    0.5
    

    0

    1

    0.01

    g?: number

    The green channel, from 0 to 1.

    0.5
    

    0

    1

    0.01

    b?: number

    The blue channel, from 0 to 1.

    0.5
    

    0

    1

    0.01

    a?: number

    The opacity, from 0 for transparent to 1 for opaque.

    1.0
    

    0

    1

    0.01