[{"data":1,"prerenderedAt":1135},["ShallowReactive",2],{"navigation":3,"\u002Fapi\u002Fobjects\u002Ftext-3d":498,"\u002Fapi\u002Fobjects\u002Ftext-3d-surround":1130},[4,26],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","\u002Fgetting-started","1.getting-started\u002F1.index",[9,10,14,18,22],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":15,"path":16,"stem":17},"Usage","\u002Fgetting-started\u002Fusage","1.getting-started\u002F3.usage",{"title":19,"path":20,"stem":21},"Loading Models","\u002Fgetting-started\u002Floading-models","1.getting-started\u002F4.loading-models",{"title":23,"path":24,"stem":25},"Upgrade Guide","\u002Fgetting-started\u002Fupgrade-guide","1.getting-started\u002F5.upgrade-guide",{"title":27,"path":28,"stem":29,"children":30},"Api","\u002Fapi","2.api",[31,34,96,126,168,210,308,334,368,418,464],{"title":32,"path":28,"stem":33},"All","2.api\u002Findex",{"title":35,"path":36,"stem":37,"children":38},"Abstractions","\u002Fapi\u002Fabstractions","2.api\u002F1.abstractions\u002Findex",[39,40,44,48,52,56,60,64,68,72,76,80,84,88,92],{"title":35,"path":36,"stem":37},{"title":41,"path":42,"stem":43},"Align","\u002Fapi\u002Fabstractions\u002Falign","2.api\u002F1.abstractions\u002Falign",{"title":45,"path":46,"stem":47},"Billboard","\u002Fapi\u002Fabstractions\u002Fbillboard","2.api\u002F1.abstractions\u002Fbillboard",{"title":49,"path":50,"stem":51},"Camera Shake","\u002Fapi\u002Fabstractions\u002Fcamera-shake","2.api\u002F1.abstractions\u002Fcamera-shake",{"title":53,"path":54,"stem":55},"Decal","\u002Fapi\u002Fabstractions\u002Fdecal","2.api\u002F1.abstractions\u002Fdecal",{"title":57,"path":58,"stem":59},"Edges","\u002Fapi\u002Fabstractions\u002Fedges","2.api\u002F1.abstractions\u002Fedges",{"title":61,"path":62,"stem":63},"Fit","\u002Fapi\u002Fabstractions\u002Ffit","2.api\u002F1.abstractions\u002Ffit",{"title":65,"path":66,"stem":67},"Instances","\u002Fapi\u002Fabstractions\u002Finstances","2.api\u002F1.abstractions\u002Finstances",{"title":69,"path":70,"stem":71},"Levioso (Float)","\u002Fapi\u002Fabstractions\u002Flevioso","2.api\u002F1.abstractions\u002Flevioso",{"title":73,"path":74,"stem":75},"Mask","\u002Fapi\u002Fabstractions\u002Fmask","2.api\u002F1.abstractions\u002Fmask",{"title":77,"path":78,"stem":79},"Merged","\u002Fapi\u002Fabstractions\u002Fmerged","2.api\u002F1.abstractions\u002Fmerged",{"title":81,"path":82,"stem":83},"Outline","\u002Fapi\u002Fabstractions\u002Foutline","2.api\u002F1.abstractions\u002Foutline",{"title":85,"path":86,"stem":87},"Sampler","\u002Fapi\u002Fabstractions\u002Fsampler","2.api\u002F1.abstractions\u002Fsampler",{"title":89,"path":90,"stem":91},"ScreenSizer","\u002Fapi\u002Fabstractions\u002Fscreen-sizer","2.api\u002F1.abstractions\u002Fscreen-sizer",{"title":93,"path":94,"stem":95},"ScreenSpace","\u002Fapi\u002Fabstractions\u002Fscreen-space","2.api\u002F1.abstractions\u002Fscreen-space",{"title":97,"path":98,"stem":99,"children":100},"Controls","\u002Fapi\u002Fcontrols","2.api\u002F2.controls\u002Findex",[101,102,106,110,114,118,122],{"title":97,"path":98,"stem":99},{"title":103,"path":104,"stem":105},"Camera Controls","\u002Fapi\u002Fcontrols\u002Fcamera-controls","2.api\u002F2.controls\u002Fcamera-controls",{"title":107,"path":108,"stem":109},"Keyboard Controls","\u002Fapi\u002Fcontrols\u002Fkeyboard-controls","2.api\u002F2.controls\u002Fkeyboard-controls",{"title":111,"path":112,"stem":113},"Map Controls","\u002Fapi\u002Fcontrols\u002Fmap-controls","2.api\u002F2.controls\u002Fmap-controls",{"title":115,"path":116,"stem":117},"Orbit Controls","\u002Fapi\u002Fcontrols\u002Forbit-controls","2.api\u002F2.controls\u002Forbit-controls",{"title":119,"path":120,"stem":121},"PointerLock Controls","\u002Fapi\u002Fcontrols\u002Fpointer-lock-controls","2.api\u002F2.controls\u002Fpointer-lock-controls",{"title":123,"path":124,"stem":125},"Transform Controls","\u002Fapi\u002Fcontrols\u002Ftransform-controls","2.api\u002F2.controls\u002Ftransform-controls",{"title":127,"path":128,"stem":129,"children":130},"Loaders","\u002Fapi\u002Floaders","2.api\u002F3.loaders\u002Findex",[131,132,136,140,144,148,152,156,160,164],{"title":127,"path":128,"stem":129},{"title":133,"path":134,"stem":135},"useGLTF","\u002Fapi\u002Floaders\u002Fuse-gltf","2.api\u002F3.loaders\u002F1.use-gltf",{"title":137,"path":138,"stem":139},"GLTFModel","\u002Fapi\u002Floaders\u002Fgltf-model","2.api\u002F3.loaders\u002F2.gltf-model",{"title":141,"path":142,"stem":143},"useFBX","\u002Fapi\u002Floaders\u002Fuse-fbx","2.api\u002F3.loaders\u002F3.use-fbx",{"title":145,"path":146,"stem":147},"FBXModel","\u002Fapi\u002Floaders\u002Ffbx-model","2.api\u002F3.loaders\u002F4.fbx-model",{"title":149,"path":150,"stem":151},"useTexture","\u002Fapi\u002Floaders\u002Fuse-texture","2.api\u002F3.loaders\u002F5.use-texture",{"title":153,"path":154,"stem":155},"useTextures","\u002Fapi\u002Floaders\u002Fuse-textures","2.api\u002F3.loaders\u002F6.use-textures",{"title":157,"path":158,"stem":159},"useSVG","\u002Fapi\u002Floaders\u002Fuse-svg","2.api\u002F3.loaders\u002F7.use-svg",{"title":161,"path":162,"stem":163},"useProgress","\u002Fapi\u002Floaders\u002Fuse-progress","2.api\u002F3.loaders\u002Fuse-progress",{"title":165,"path":166,"stem":167},"useVideoTexture","\u002Fapi\u002Floaders\u002Fuse-video-texture","2.api\u002F3.loaders\u002Fuse-video-texture",{"title":169,"path":170,"stem":171,"children":172},"Materials","\u002Fapi\u002Fmaterials","2.api\u002F4.materials\u002Findex",[173,174,178,182,186,190,194,198,202,206],{"title":169,"path":170,"stem":171},{"title":175,"path":176,"stem":177},"Custom Shader Material","\u002Fapi\u002Fmaterials\u002Fcustom-shader-material","2.api\u002F4.materials\u002Fcustom-shader-material",{"title":179,"path":180,"stem":181},"Mesh Glass Material","\u002Fapi\u002Fmaterials\u002Fglass-material","2.api\u002F4.materials\u002Fglass-material",{"title":183,"path":184,"stem":185},"Holographic Material","\u002Fapi\u002Fmaterials\u002Fholographic-material","2.api\u002F4.materials\u002Fholographic-material",{"title":187,"path":188,"stem":189},"Mesh Discard Material","\u002Fapi\u002Fmaterials\u002Fmesh-discard-material","2.api\u002F4.materials\u002Fmesh-discard-material",{"title":191,"path":192,"stem":193},"Mesh Portal Material","\u002Fapi\u002Fmaterials\u002Fmesh-portal-material","2.api\u002F4.materials\u002Fmesh-portal-material",{"title":195,"path":196,"stem":197},"Mesh Reflection Material","\u002Fapi\u002Fmaterials\u002Fmesh-reflection-material","2.api\u002F4.materials\u002Fmesh-reflection-material",{"title":199,"path":200,"stem":201},"Mesh Transmission Material","\u002Fapi\u002Fmaterials\u002Fmesh-transmission-material","2.api\u002F4.materials\u002Fmesh-transmission-material",{"title":203,"path":204,"stem":205},"Point Material","\u002Fapi\u002Fmaterials\u002Fpoint-material","2.api\u002F4.materials\u002Fpoint-material",{"title":207,"path":208,"stem":209},"Wobble Material","\u002Fapi\u002Fmaterials\u002Fwobble-material","2.api\u002F4.materials\u002Fwobble-material",{"title":211,"path":212,"stem":213,"children":214},"Shapes","\u002Fapi\u002Fshapes","2.api\u002F5.shapes\u002Findex",[215,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280,284,288,292,296,300,304],{"title":211,"path":212,"stem":213},{"title":217,"path":218,"stem":219},"Box","\u002Fapi\u002Fshapes\u002Fbox","2.api\u002F5.shapes\u002Fbox",{"title":221,"path":222,"stem":223},"CatmullRomCurve3","\u002Fapi\u002Fshapes\u002Fcatmullromcurve3","2.api\u002F5.shapes\u002Fcatmullromcurve3",{"title":225,"path":226,"stem":227},"Circle","\u002Fapi\u002Fshapes\u002Fcircle","2.api\u002F5.shapes\u002Fcircle",{"title":229,"path":230,"stem":231},"Cone","\u002Fapi\u002Fshapes\u002Fcone","2.api\u002F5.shapes\u002Fcone",{"title":233,"path":234,"stem":235},"Cubic Bezier Line","\u002Fapi\u002Fshapes\u002Fcubic-bezier-line","2.api\u002F5.shapes\u002Fcubic-bezier-line",{"title":237,"path":238,"stem":239},"Cylinder","\u002Fapi\u002Fshapes\u002Fcylinder","2.api\u002F5.shapes\u002Fcylinder",{"title":241,"path":242,"stem":243},"Dodecahedron","\u002Fapi\u002Fshapes\u002Fdodecahedron","2.api\u002F5.shapes\u002Fdodecahedron",{"title":245,"path":246,"stem":247},"Grid","\u002Fapi\u002Fshapes\u002Fgrid","2.api\u002F5.shapes\u002Fgrid",{"title":249,"path":250,"stem":251},"Icosahedron","\u002Fapi\u002Fshapes\u002Ficosahedron","2.api\u002F5.shapes\u002Ficosahedron",{"title":253,"path":254,"stem":255},"Line2","\u002Fapi\u002Fshapes\u002Fline2","2.api\u002F5.shapes\u002Fline2",{"title":257,"path":258,"stem":259},"Octahedron","\u002Fapi\u002Fshapes\u002Foctahedron","2.api\u002F5.shapes\u002Foctahedron",{"title":261,"path":262,"stem":263},"Plane","\u002Fapi\u002Fshapes\u002Fplane","2.api\u002F5.shapes\u002Fplane",{"title":265,"path":266,"stem":267},"Quadratic Bezier Line","\u002Fapi\u002Fshapes\u002Fquadratic-bezier-line","2.api\u002F5.shapes\u002Fquadratic-bezier-line",{"title":269,"path":270,"stem":271},"Ring","\u002Fapi\u002Fshapes\u002Fring","2.api\u002F5.shapes\u002Fring",{"title":273,"path":274,"stem":275},"Rounded Box","\u002Fapi\u002Fshapes\u002Frounded-box","2.api\u002F5.shapes\u002Frounded-box",{"title":277,"path":278,"stem":279},"Rounded Plane","\u002Fapi\u002Fshapes\u002Frounded-plane","2.api\u002F5.shapes\u002Frounded-plane",{"title":281,"path":282,"stem":283},"Screen Quad","\u002Fapi\u002Fshapes\u002Fscreen-quad","2.api\u002F5.shapes\u002Fscreen-quad",{"title":285,"path":286,"stem":287},"Sphere","\u002Fapi\u002Fshapes\u002Fsphere","2.api\u002F5.shapes\u002Fsphere",{"title":289,"path":290,"stem":291},"Superformula","\u002Fapi\u002Fshapes\u002Fsuperformula","2.api\u002F5.shapes\u002Fsuperformula",{"title":293,"path":294,"stem":295},"Tetrahedron","\u002Fapi\u002Fshapes\u002Ftetrahedron","2.api\u002F5.shapes\u002Ftetrahedron",{"title":297,"path":298,"stem":299},"Torus","\u002Fapi\u002Fshapes\u002Ftorus","2.api\u002F5.shapes\u002Ftorus",{"title":301,"path":302,"stem":303},"Torus Knot","\u002Fapi\u002Fshapes\u002Ftorus-knot","2.api\u002F5.shapes\u002Ftorus-knot",{"title":305,"path":306,"stem":307},"Tube","\u002Fapi\u002Fshapes\u002Ftube","2.api\u002F5.shapes\u002Ftube",{"title":309,"path":310,"stem":311,"children":312},"Debug\u002FPerformance","\u002Fapi\u002Fdebug-performance","2.api\u002F6.debug-performance\u002Findex",[313,314,318,322,326,330],{"title":309,"path":310,"stem":311},{"title":315,"path":316,"stem":317},"Helper","\u002Fapi\u002Fdebug-performance\u002Fhelper","2.api\u002F6.debug-performance\u002Fhelper",{"title":319,"path":320,"stem":321},"LOD","\u002Fapi\u002Fdebug-performance\u002Flod","2.api\u002F6.debug-performance\u002Flod",{"title":323,"path":324,"stem":325},"Stats","\u002Fapi\u002Fdebug-performance\u002Fstats","2.api\u002F6.debug-performance\u002Fstats",{"title":327,"path":328,"stem":329},"StatsGl","\u002Fapi\u002Fdebug-performance\u002Fstats-gl","2.api\u002F6.debug-performance\u002Fstats-gl",{"title":331,"path":332,"stem":333},"useBVH","\u002Fapi\u002Fdebug-performance\u002Fuse-bvh","2.api\u002F6.debug-performance\u002Fuse-bvh",{"title":335,"path":336,"stem":337,"children":338},"Light\u002FShadow","\u002Fapi\u002Flight-shadow","2.api\u002F7.light-shadow\u002Findex",[339,340,344,348,352,356,360,364],{"title":335,"path":336,"stem":337},{"title":341,"path":342,"stem":343},"Accumulative Shadows","\u002Fapi\u002Flight-shadow\u002Faccumulative-shadows","2.api\u002F7.light-shadow\u002Faccumulative-shadows",{"title":345,"path":346,"stem":347},"Bake Shadows","\u002Fapi\u002Flight-shadow\u002Fbake-shadows","2.api\u002F7.light-shadow\u002Fbake-shadows",{"title":349,"path":350,"stem":351},"Circle Shadow","\u002Fapi\u002Flight-shadow\u002Fcircle-shadow","2.api\u002F7.light-shadow\u002Fcircle-shadow",{"title":353,"path":354,"stem":355},"Contact Shadows","\u002Fapi\u002Flight-shadow\u002Fcontact-shadows","2.api\u002F7.light-shadow\u002Fcontact-shadows",{"title":357,"path":358,"stem":359},"Lensflare","\u002Fapi\u002Flight-shadow\u002Flensflare","2.api\u002F7.light-shadow\u002Flensflare",{"title":361,"path":362,"stem":363},"Randomized Lights","\u002Fapi\u002Flight-shadow\u002Frandomized-lights","2.api\u002F7.light-shadow\u002Frandomized-lights",{"title":365,"path":366,"stem":367},"Soft Shadows","\u002Fapi\u002Flight-shadow\u002Fsoft-shadows","2.api\u002F7.light-shadow\u002Fsoft-shadows",{"title":369,"path":370,"stem":371,"children":372},"Staging","\u002Fapi\u002Fstaging","2.api\u002F8.staging\u002Findex",[373,374,378,382,386,390,394,398,402,406,410,414],{"title":369,"path":370,"stem":371},{"title":375,"path":376,"stem":377},"Environment","\u002Fapi\u002Fstaging\u002Fenvironment","2.api\u002F8.staging\u002F1.environment",{"title":379,"path":380,"stem":381},"useEnvironment","\u002Fapi\u002Fstaging\u002Fuse-environment","2.api\u002F8.staging\u002F2.use-environment",{"title":383,"path":384,"stem":385},"Lightformer","\u002Fapi\u002Fstaging\u002Flightformer","2.api\u002F8.staging\u002F3.lightformer",{"title":387,"path":388,"stem":389},"Backdrop","\u002Fapi\u002Fstaging\u002Fbackdrop","2.api\u002F8.staging\u002Fbackdrop",{"title":391,"path":392,"stem":393},"Ocean","\u002Fapi\u002Fstaging\u002Focean","2.api\u002F8.staging\u002Focean",{"title":395,"path":396,"stem":397},"Precipitation","\u002Fapi\u002Fstaging\u002Fprecipitation","2.api\u002F8.staging\u002Fprecipitation",{"title":399,"path":400,"stem":401},"Sky","\u002Fapi\u002Fstaging\u002Fsky","2.api\u002F8.staging\u002Fsky",{"title":403,"path":404,"stem":405},"Smoke","\u002Fapi\u002Fstaging\u002Fsmoke","2.api\u002F8.staging\u002Fsmoke",{"title":407,"path":408,"stem":409},"Sparkles","\u002Fapi\u002Fstaging\u002Fsparkles","2.api\u002F8.staging\u002Fsparkles",{"title":411,"path":412,"stem":413},"Stage","\u002Fapi\u002Fstaging\u002Fstage","2.api\u002F8.staging\u002Fstage",{"title":415,"path":416,"stem":417},"Stars","\u002Fapi\u002Fstaging\u002Fstars","2.api\u002F8.staging\u002Fstars",{"title":419,"path":420,"stem":421,"children":422},"Objects","\u002Fapi\u002Fobjects","2.api\u002F9.objects\u002Findex",[423,424,428,432,436,440,444,448,452,456,460],{"title":419,"path":420,"stem":421},{"title":425,"path":426,"stem":427},"AnimatedSprite","\u002Fapi\u002Fobjects\u002Fanimated-sprite","2.api\u002F9.objects\u002Fanimated-sprite",{"title":429,"path":430,"stem":431},"CubeCamera","\u002Fapi\u002Fobjects\u002Fcube-camera","2.api\u002F9.objects\u002Fcube-camera",{"title":433,"path":434,"stem":435},"Fbo","\u002Fapi\u002Fobjects\u002Ffbo","2.api\u002F9.objects\u002Ffbo",{"title":437,"path":438,"stem":439},"GradientTexture","\u002Fapi\u002Fobjects\u002Fgradient-texture","2.api\u002F9.objects\u002Fgradient-texture",{"title":441,"path":442,"stem":443},"HTML","\u002Fapi\u002Fobjects\u002Fhtml","2.api\u002F9.objects\u002Fhtml",{"title":445,"path":446,"stem":447},"Image","\u002Fapi\u002Fobjects\u002Fimage","2.api\u002F9.objects\u002Fimage",{"title":449,"path":450,"stem":451},"MarchingCubes","\u002Fapi\u002Fobjects\u002Fmarching-cubes","2.api\u002F9.objects\u002Fmarching-cubes",{"title":453,"path":454,"stem":455},"Reflector","\u002Fapi\u002Fobjects\u002Freflector","2.api\u002F9.objects\u002Freflector",{"title":457,"path":458,"stem":459},"Refractor","\u002Fapi\u002Fobjects\u002Frefractor","2.api\u002F9.objects\u002Frefractor",{"title":461,"path":462,"stem":463},"Text3D","\u002Fapi\u002Fobjects\u002Ftext-3d","2.api\u002F9.objects\u002Ftext-3d",{"title":465,"path":466,"stem":467,"children":468},"Miscellaneous","\u002Fapi\u002Fmiscellaneous","2.api\u002Fmiscellaneous\u002Findex",[469,470,474,478,482,486,490,494],{"title":465,"path":466,"stem":467},{"title":471,"path":472,"stem":473},"Bounds","\u002Fapi\u002Fmiscellaneous\u002Fbounds","2.api\u002Fmiscellaneous\u002Fbounds",{"title":475,"path":476,"stem":477},"GlobalAudio","\u002Fapi\u002Fmiscellaneous\u002Fglobal-audio","2.api\u002Fmiscellaneous\u002Fglobal-audio",{"title":479,"path":480,"stem":481},"MouseParallax","\u002Fapi\u002Fmiscellaneous\u002Fmouse-parallax","2.api\u002Fmiscellaneous\u002Fmouse-parallax",{"title":483,"path":484,"stem":485},"PositionalAudio","\u002Fapi\u002Fmiscellaneous\u002Fpositional-audio","2.api\u002Fmiscellaneous\u002Fpositional-audio",{"title":487,"path":488,"stem":489},"useAnimations","\u002Fapi\u002Fmiscellaneous\u002Fuse-animations","2.api\u002Fmiscellaneous\u002Fuse-animations",{"title":491,"path":492,"stem":493},"useGLTFExporter","\u002Fapi\u002Fmiscellaneous\u002Fuse-gltf-exporter","2.api\u002Fmiscellaneous\u002Fuse-gltf-exporter",{"title":495,"path":496,"stem":497},"useIntersect","\u002Fapi\u002Fmiscellaneous\u002Fuse-intersect","2.api\u002Fmiscellaneous\u002Fuse-intersect",{"id":499,"title":461,"body":500,"description":1123,"extension":1124,"links":1125,"meta":1126,"navigation":1127,"path":462,"seo":1128,"stem":463,"__hash__":1129},"docs\u002F2.api\u002F9.objects\u002Ftext-3d.md",{"type":501,"value":502,"toc":1119},"minimark",[503,509,525,529,548,697,714,808,811,935,939,1115],[504,505,506],"scene-controls-wrapper",{},[507,508],"objects-text",{},[510,511,512,516,517,524],"p",{},[513,514,515],"code",{},"\u003CText3D \u002F>"," is a component that renders text in 3D. It is a wrapper around the ",[518,519,523],"a",{"href":520,"rel":521},"https:\u002F\u002Fthreejs.org\u002Fdocs\u002F#api\u002Fen\u002Fgeometries\u002FTextGeometry",[522],"nofollow","TextGeometry"," class.",[526,527,15],"h2",{"id":528},"usage",[510,530,531,532,534,535,538,539,542,543],{},"To use the ",[513,533,515],{}," component you need to pass the ",[513,536,537],{},"font"," prop with the URL of the font JSON file you want to use. TextGeometry uses ",[513,540,541],{},"typeface",".json generated fonts, you can generate yours ",[518,544,547],{"href":545,"rel":546},"http:\u002F\u002Fgero3.github.io\u002Ffacetype.js\u002F",[522],"here",[549,550,555],"pre",{"className":551,"code":552,"language":553,"meta":554,"style":554},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CSuspense>\n      \u003CText3D\n        text=\"TresJS\"\n        font=\"\u002Ffonts\u002FFiraCodeRegular.json\"\n      >\n        \u003CTresMeshNormalMaterial \u002F>\n      \u003C\u002FText3D>\n    \u003C\u002FSuspense>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n","vue","",[513,556,557,573,584,595,604,624,639,645,657,667,677,687],{"__ignoreMap":554},[558,559,562,566,570],"span",{"class":560,"line":561},"line",1,[558,563,565],{"class":564},"sMK4o","\u003C",[558,567,569],{"class":568},"swJcz","template",[558,571,572],{"class":564},">\n",[558,574,576,579,582],{"class":560,"line":575},2,[558,577,578],{"class":564},"  \u003C",[558,580,581],{"class":568},"TresCanvas",[558,583,572],{"class":564},[558,585,587,590,593],{"class":560,"line":586},3,[558,588,589],{"class":564},"    \u003C",[558,591,592],{"class":568},"Suspense",[558,594,572],{"class":564},[558,596,598,601],{"class":560,"line":597},4,[558,599,600],{"class":564},"      \u003C",[558,602,603],{"class":568},"Text3D\n",[558,605,607,611,614,617,621],{"class":560,"line":606},5,[558,608,610],{"class":609},"spNyl","        text",[558,612,613],{"class":564},"=",[558,615,616],{"class":564},"\"",[558,618,620],{"class":619},"sfazB","TresJS",[558,622,623],{"class":564},"\"\n",[558,625,627,630,632,634,637],{"class":560,"line":626},6,[558,628,629],{"class":609},"        font",[558,631,613],{"class":564},[558,633,616],{"class":564},[558,635,636],{"class":619},"\u002Ffonts\u002FFiraCodeRegular.json",[558,638,623],{"class":564},[558,640,642],{"class":560,"line":641},7,[558,643,644],{"class":564},"      >\n",[558,646,648,651,654],{"class":560,"line":647},8,[558,649,650],{"class":564},"        \u003C",[558,652,653],{"class":568},"TresMeshNormalMaterial",[558,655,656],{"class":564}," \u002F>\n",[558,658,660,663,665],{"class":560,"line":659},9,[558,661,662],{"class":564},"      \u003C\u002F",[558,664,461],{"class":568},[558,666,572],{"class":564},[558,668,670,673,675],{"class":560,"line":669},10,[558,671,672],{"class":564},"    \u003C\u002F",[558,674,592],{"class":568},[558,676,572],{"class":564},[558,678,680,683,685],{"class":560,"line":679},11,[558,681,682],{"class":564},"  \u003C\u002F",[558,684,581],{"class":568},[558,686,572],{"class":564},[558,688,690,693,695],{"class":560,"line":689},12,[558,691,692],{"class":564},"\u003C\u002F",[558,694,569],{"class":568},[558,696,572],{"class":564},[510,698,699,700,703,704,706,707,709,710,713],{},"Notice that you need to pass the ",[513,701,702],{},"\u003CTresMeshNormalMaterial \u002F>"," component as a child of the ",[513,705,515],{}," component. This is because ",[513,708,515],{}," is a ",[513,711,712],{},"Mesh"," component, so it needs a material. The geometry is created automatically. Also you can pass the text as a slot or as a prop like this:",[549,715,717],{"className":551,"code":716,"language":553,"meta":554,"style":554},"\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CSuspense>\n      \u003CText3D font=\"\u002Ffonts\u002FFiraCodeRegular.json\">\n        TresJS\n        \u003CTresMeshNormalMaterial \u002F>\n      \u003C\u002FText3D>\n    \u003C\u002FSuspense>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n",[513,718,719,727,735,743,762,768,776,784,792,800],{"__ignoreMap":554},[558,720,721,723,725],{"class":560,"line":561},[558,722,565],{"class":564},[558,724,569],{"class":568},[558,726,572],{"class":564},[558,728,729,731,733],{"class":560,"line":575},[558,730,578],{"class":564},[558,732,581],{"class":568},[558,734,572],{"class":564},[558,736,737,739,741],{"class":560,"line":586},[558,738,589],{"class":564},[558,740,592],{"class":568},[558,742,572],{"class":564},[558,744,745,747,749,752,754,756,758,760],{"class":560,"line":597},[558,746,600],{"class":564},[558,748,461],{"class":568},[558,750,751],{"class":609}," font",[558,753,613],{"class":564},[558,755,616],{"class":564},[558,757,636],{"class":619},[558,759,616],{"class":564},[558,761,572],{"class":564},[558,763,764],{"class":560,"line":606},[558,765,767],{"class":766},"sTEyZ","        TresJS\n",[558,769,770,772,774],{"class":560,"line":626},[558,771,650],{"class":564},[558,773,653],{"class":568},[558,775,656],{"class":564},[558,777,778,780,782],{"class":560,"line":641},[558,779,662],{"class":564},[558,781,461],{"class":568},[558,783,572],{"class":564},[558,785,786,788,790],{"class":560,"line":647},[558,787,672],{"class":564},[558,789,592],{"class":568},[558,791,572],{"class":564},[558,793,794,796,798],{"class":560,"line":659},[558,795,682],{"class":564},[558,797,581],{"class":568},[558,799,572],{"class":564},[558,801,802,804,806],{"class":560,"line":669},[558,803,692],{"class":564},[558,805,569],{"class":568},[558,807,572],{"class":564},[510,809,810],{},"In addition, you can use the power of Vue to add reactivity, but you need to apply the needUpdates prop, for example you can create a reactive value, apply a v-model and make the bound, the Text3D component will update",[549,812,814],{"className":551,"code":813,"language":553,"meta":554,"style":554},"\u003Ctemplate>\n  \u003Cinput v-model=\"myReactiveText\" \u002F>\n  \u003CTresCanvas>\n    \u003CSuspense>\n      \u003CText3D\n        :text=\"myReactiveText\"\n        font=\"\u002Ffonts\u002FFiraCodeRegular.json\"\n        center\n        need-updates\n      \u002F>\n    \u003C\u002FSuspense>\n  \u003C\u002FTresCanvas>\n\u003C\u002Ftemplate>\n",[513,815,816,824,845,853,861,867,883,895,900,905,910,918,926],{"__ignoreMap":554},[558,817,818,820,822],{"class":560,"line":561},[558,819,565],{"class":564},[558,821,569],{"class":568},[558,823,572],{"class":564},[558,825,826,828,831,834,836,838,841,843],{"class":560,"line":575},[558,827,578],{"class":564},[558,829,830],{"class":568},"input",[558,832,833],{"class":609}," v-model",[558,835,613],{"class":564},[558,837,616],{"class":564},[558,839,840],{"class":619},"myReactiveText",[558,842,616],{"class":564},[558,844,656],{"class":564},[558,846,847,849,851],{"class":560,"line":586},[558,848,578],{"class":564},[558,850,581],{"class":568},[558,852,572],{"class":564},[558,854,855,857,859],{"class":560,"line":597},[558,856,589],{"class":564},[558,858,592],{"class":568},[558,860,572],{"class":564},[558,862,863,865],{"class":560,"line":606},[558,864,600],{"class":564},[558,866,603],{"class":568},[558,868,869,872,875,877,879,881],{"class":560,"line":626},[558,870,871],{"class":564},"        :",[558,873,874],{"class":609},"text",[558,876,613],{"class":564},[558,878,616],{"class":564},[558,880,840],{"class":766},[558,882,623],{"class":564},[558,884,885,887,889,891,893],{"class":560,"line":641},[558,886,629],{"class":609},[558,888,613],{"class":564},[558,890,616],{"class":564},[558,892,636],{"class":619},[558,894,623],{"class":564},[558,896,897],{"class":560,"line":647},[558,898,899],{"class":609},"        center\n",[558,901,902],{"class":560,"line":659},[558,903,904],{"class":609},"        need-updates\n",[558,906,907],{"class":560,"line":669},[558,908,909],{"class":564},"      \u002F>\n",[558,911,912,914,916],{"class":560,"line":679},[558,913,672],{"class":564},[558,915,592],{"class":568},[558,917,572],{"class":564},[558,919,920,922,924],{"class":560,"line":689},[558,921,682],{"class":564},[558,923,581],{"class":568},[558,925,572],{"class":564},[558,927,929,931,933],{"class":560,"line":928},13,[558,930,692],{"class":564},[558,932,569],{"class":568},[558,934,572],{"class":564},[526,936,938],{"id":937},"props","Props",[940,941,942,959],"table",{},[943,944,945],"thead",{},[946,947,948,953,956],"tr",{},[949,950,952],"th",{"align":951},"left","Prop",[949,954,955],{"align":951},"Description",[949,957,958],{},"Default",[960,961,962,975,986,999,1012,1025,1038,1051,1064,1077,1090,1103],"tbody",{},[946,963,964,970,973],{},[965,966,967],"td",{"align":951},[968,969,537],"strong",{},[965,971,972],{"align":951},"The font data or font name to use for the text.",[965,974],{},[946,976,977,981,984],{},[965,978,979],{"align":951},[968,980,874],{},[965,982,983],{"align":951},"The text to display.",[965,985],{},[946,987,988,993,996],{},[965,989,990],{"align":951},[968,991,992],{},"size",[965,994,995],{"align":951},"The size of the text.",[965,997,998],{},"0.5",[946,1000,1001,1006,1009],{},[965,1002,1003],{"align":951},[968,1004,1005],{},"height",[965,1007,1008],{"align":951},"The height of the text.",[965,1010,1011],{},"0.2",[946,1013,1014,1019,1022],{},[965,1015,1016],{"align":951},[968,1017,1018],{},"curveSegments",[965,1020,1021],{"align":951},"The number of curve segments to use when generating the text geometry.",[965,1023,1024],{},"5",[946,1026,1027,1032,1035],{},[965,1028,1029],{"align":951},[968,1030,1031],{},"bevelEnabled",[965,1033,1034],{"align":951},"A flag indicating whether beveling should be enabled for the text.",[965,1036,1037],{},"true",[946,1039,1040,1045,1048],{},[965,1041,1042],{"align":951},[968,1043,1044],{},"bevelThickness",[965,1046,1047],{"align":951},"The thickness of the beveled edge on the text.",[965,1049,1050],{},"0.05",[946,1052,1053,1058,1061],{},[965,1054,1055],{"align":951},[968,1056,1057],{},"bevelSize",[965,1059,1060],{"align":951},"The size of the beveled edge on the text.",[965,1062,1063],{},"0.02",[946,1065,1066,1071,1074],{},[965,1067,1068],{"align":951},[968,1069,1070],{},"bevelOffset",[965,1072,1073],{"align":951},"The offset of the beveled edge on the text.",[965,1075,1076],{},"0",[946,1078,1079,1084,1087],{},[965,1080,1081],{"align":951},[968,1082,1083],{},"bevelSegments",[965,1085,1086],{"align":951},"The number of bevel segments to use when generating the text geometry.",[965,1088,1089],{},"4",[946,1091,1092,1097,1100],{},[965,1093,1094],{"align":951},[968,1095,1096],{},"center",[965,1098,1099],{"align":951},"To center the text",[965,1101,1102],{},"false",[946,1104,1105,1110,1113],{},[965,1106,1107],{"align":951},[968,1108,1109],{},"needUpdates",[965,1111,1112],{"align":951},"This props add reactivity",[965,1114,1102],{},[1116,1117,1118],"style",{},"html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}",{"title":554,"searchDepth":561,"depth":575,"links":1120},[1121,1122],{"id":528,"depth":575,"text":15},{"id":937,"depth":575,"text":938},"Render text in 3D using TextGeometry.","md",null,{},true,{"title":461,"description":1123},"rgS8k9FiKuZ8-M_ZsYlXXXkyBY7nAGEzt1AefjUv4W0",[1131,1133],{"title":457,"path":458,"stem":459,"description":1132,"children":-1},"Create real-time refractive (glass-like) surfaces in your scene.",{"title":465,"path":466,"stem":467,"description":1134,"children":-1},"Various utility components and composables",1791549576249]