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

    Class Text3DFaceDto<T>

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalface: T
      • OptionalfacePlanar: boolean
      • OptionalfaceTextVar: faceTextVarEnum
      • Optionaltext: string
      • OptionalfontType: fontsEnum
      • OptionalfontVariant: fontVariantsEnum
      • OptionalfontSize: number
      • Optionalheight: number
      • Optionalrotation: number
      • OptionaloriginParamU: number
      • OptionaloriginParamV: number
      • OptionaloriginAlignment: recAlignmentEnum

      Returns Text3DFaceDto<T>

    Properties

    face: T

    The face of the text

    undefined
    
    facePlanar: boolean

    If the face is planar it should be true

    false
    
    faceTextVar: faceTextVarEnum

    You can choose how your face text will be constructed. Separated extrusion will only return text letters Integrated extrusion will create a shell from the extruded text and original face Integrated pull in will create a shell from the negative extrusion and original face Cutout will return compound with faces that are left after cutting the original face with text

    text: string

    The type of font to use

    bitbybit.dev
    
    fontType: fontsEnum

    The type of font to use

    Roboto
    
    fontVariant: fontVariantsEnum

    The type of font to use

    Regular
    
    fontSize: number

    The size of the font

    1.5
    

    0

    Infinity

    0.1

    height: number

    The height of the font extrusion, if 0 then face will be returned and not a solid

    0.2
    

    0

    Infinity

    0.1

    rotation: number

    The rotation of the generated text

    0
    

    0

    Infinity

    15

    originParamU: number

    Origin u param for the text 0 - 1

    0.5
    

    0

    1

    0.1

    originParamV: number

    Origin v param for the text 0 - 1

    0.5
    

    0

    1

    0.1

    originAlignment: recAlignmentEnum

    Origin alignment

    centerMiddle