Bitbybit Docs
    Preparing search index...

    Class SnakeTableDrawDto<T> (Things.Furniture.Tables.SnakeTable)

    Options for drawing a Snake Table, made by things.furniture.tables.snakeTable.drawOptions. The two materials override the defaults, and the rest sets faces, edges and meshing precision.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    mainMaterial?: T

    Material for the body. Leave it out to keep the default white rough plastic.

    undefined

    true

    glassMaterial?: T

    Material for the glass. Leave it out to keep the default black glass material.

    undefined

    true

    drawFaces: boolean

    Whether faces are drawn. When false, only edges are drawn and no material is applied.

    true
    
    precision: number

    Meshing precision of the drawn faces. A smaller value draws smoother curves and takes longer.

    0.001
    

    0.000001

    5

    0.001

    drawEdges: boolean

    Whether the edges of the model are drawn.

    true
    
    edgeColour: string

    Color of the edges as a hex string.

    #ffffff
    
    edgeWidth: number

    Width of the drawn edges.

    0.06
    

    0

    Infinity