bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class DrawOcctShapeSimpleOptions

    Index

    Constructors

    • Parameters

      • Optionalprecision: number
      • OptionaldrawFaces: boolean
      • OptionalfaceColour: string
      • OptionaldrawEdges: boolean
      • OptionaledgeColour: string
      • OptionaledgeWidth: number
      • OptionaldrawTwoSided: boolean
      • OptionalbackFaceColour: string
      • OptionalbackFaceOpacity: number

      Returns DrawOcctShapeSimpleOptions

    Properties

    precision: number

    Precision

    0.01
    

    0

    Infinity

    drawFaces: boolean

    You can turn off drawing of faces via this property

    true
    
    faceColour?: string

    Hex colour string for face colour

    #ff0000
    
    drawEdges: boolean

    You can turn off drawing of edges via this property

    true
    
    edgeColour: string

    Hex colour string for the edges

    #ffffff
    
    edgeWidth: number

    Edge width

    2
    

    0

    Infinity

    drawTwoSided: boolean

    Whether to draw two-sided geometry with back face rendering

    true
    
    backFaceColour: string

    Hex colour string for the back face when drawing two-sided geometry

    #0000ff
    
    backFaceOpacity: number

    Opacity of the back face when drawing two-sided geometry

    1
    

    0

    1

    0.1