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

    Constructors

    • Parameters

      • Optionalorientation: Vector3
      • Optionalsubdivisions: number
      • Optionaltessellation: number
      • Optionalheight: number
      • Optionalradius: number
      • OptionalcapSubdivisions: number
      • OptionalradiusTop: number
      • OptionalradiusBottom: number
      • OptionaltopCapSubdivisions: number
      • OptionalbottomCapSubdivisions: number
      • OptionalsideOrientation: sideOrientationEnum
      • OptionalenableShadows: boolean

      Returns CreateCapsuleDto

    Properties

    orientation: Vector3

    Orientation of the capsule

    subdivisions: number

    Subdivisions of the capsule

    2
    

    0

    Infinity

    1

    tessellation: number

    Tessellation of the capsule

    16
    

    3

    Infinity

    1

    height: number

    Height of the capsule

    2
    

    0

    Infinity

    0.1

    radius: number

    Radius of the capsule

    1
    

    0

    Infinity

    0.1

    capSubdivisions: number

    Cap subdivisions of the capsule

    6
    

    0

    Infinity

    1

    radiusTop: number

    Radius top of the capsule

    0.5
    

    0

    Infinity

    0.1

    radiusBottom: number

    Radius bottom of the capsule

    0.5
    

    0

    Infinity

    0.1

    topCapSubdivisions: number

    Top cap subdivisions of the capsule

    6
    

    0

    Infinity

    1

    bottomCapSubdivisions: number

    Bottom cap subdivisions of the capsule

    6
    

    0

    Infinity

    1

    sideOrientation: sideOrientationEnum

    Side orientation of the mesh

    doubleside
    
    enableShadows: boolean

    Enables shadows for the mesh

    true