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

    Constructors

    • Parameters

      • Optionalshape: Vector3[]
      • Optionalholes: Vector3[][]
      • Optionaldepth: number
      • OptionalsmoothingThreshold: number
      • OptionalsideOrientation: sideOrientationEnum
      • Optionalwrap: boolean
      • OptionalenableShadows: boolean

      Returns CreatePolygonDto

    Properties

    shape: Vector3[]

    Shape of the polygon

    holes?: Vector3[][]

    Holes of the polygon

    true

    depth: number

    Depth of the polygon

    0
    

    0

    Infinity

    0.1

    smoothingThreshold: number

    Smoothing threshold of the polygon

    0.01
    

    0

    1

    0.01

    sideOrientation: sideOrientationEnum

    Side orientation of the mesh

    frontside
    
    wrap: boolean

    Wrap of the polygon

    false
    
    enableShadows: boolean

    Enables shadows for the mesh

    true