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

    Constructors

    • Parameters

      • Optionalradius: number
      • Optionaltube: number
      • OptionalradialSegments: number
      • OptionaltubularSegments: number
      • Optionalp: number
      • Optionalq: number
      • OptionalsideOrientation: sideOrientationEnum
      • OptionalenableShadows: boolean

      Returns CreateTorusKnotDto

    Properties

    radius: number

    Radius of the torus knot

    2
    

    0

    Infinity

    0.1

    tube: number

    Tube of the torus knot

    0.5
    

    0

    Infinity

    0.1

    radialSegments: number

    Radial segments of the torus knot

    128
    

    3

    Infinity

    1

    tubularSegments: number

    Tubular segments of the torus knot

    32
    

    3

    Infinity

    1

    p: number

    P of the torus knot

    2
    

    0

    Infinity

    1

    q: number

    Q of the torus knot

    3
    

    0

    Infinity

    1

    sideOrientation: sideOrientationEnum

    Side orientation of the mesh

    frontside
    
    enableShadows: boolean

    Enables shadows for the mesh

    true