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

    Constructors

    • Parameters

      • Optionalsize: number
      • Optionaltype: number
      • OptionalsizeX: number
      • OptionalsizeY: number
      • OptionalsizeZ: number
      • Optionalcustom: number[]
      • Optionalflat: boolean
      • OptionalsideOrientation: sideOrientationEnum
      • OptionalenableShadows: boolean

      Returns CreatePolyhedronDto

    Properties

    size: number

    Size of the polyhedron

    1
    

    0

    Infinity

    0.1

    type: number

    Type of the polyhedron

    0
    

    0

    Infinity

    1

    sizeX: number

    Size X of the polyhedron

    0
    

    0

    Infinity

    0.1

    sizeY: number

    Size Y of the polyhedron

    0
    

    0

    Infinity

    0.1

    sizeZ: number

    Size Z of the polyhedron

    0
    

    0

    Infinity

    0.1

    custom?: number[]

    Custom polyhedron

    true

    flat: boolean

    Flat polyhedron

    false
    
    sideOrientation: sideOrientationEnum

    Side orientation of the mesh

    frontside
    
    enableShadows: boolean

    Enables shadows for the mesh

    true