Bitbybit Docs
    Preparing search index...

    Class Text3DUrlDto (Advanced.Text3D)

    Index

    Constructors

    • Parameters

      • Optionaltext: string
      • OptionalfontUrl: string
      • OptionalfontSize: number
      • Optionalheight: number
      • Optionalrotation: number
      • Optionalorigin: Vector3
      • Optionaldirection: Vector3
      • OptionaloriginAlignment: recAlignmentEnum

      Returns Text3DUrlDto

    Properties

    text: string

    उपयोग किए जाने वाले फ़ॉन्ट का प्रकार

    bitbybit.dev
    
    fontUrl: string

    लोड और उपयोग किया जाने वाला फ़ॉन्ट URL। Url दिए जाने पर फ़ॉन्ट opentype.js से लोड किया जाएगा। समर्थित फ़ॉर्मैट हैं: ttf, otf, woff। ध्यान दें कि Woff2 opentype.js द्वारा समर्थित नहीं है क्योंकि वह एक संपीड़ित फ़ॉर्मैट है।

    https://git-cdn.bitbybit.dev/latest/fonts/Tektur/Tektur-Bold.ttf
    
    fontSize: number

    फ़ॉन्ट का आकार

    1.5
    

    0

    Infinity

    0.1

    height: number

    फ़ॉन्ट एक्सट्रूज़न की ऊँचाई, 0 होने पर सॉलिड के बजाय फेस लौटाया जाएगा

    0.2
    

    0

    Infinity

    0.1

    rotation: number

    उत्पन्न टेक्स्ट का रोटेशन

    0
    

    0

    Infinity

    15

    origin: Vector3

    टेक्स्ट का मूल बिंदु

    [0, 0, 0]
    
    direction: Vector3

    टेक्स्ट की दिशा

    [0, 1, 0]
    
    originAlignment: recAlignmentEnum

    मूल बिंदु का अलाइनमेंट

    centerMiddle