[{"data":1,"prerenderedAt":1277},["ShallowReactive",2],{"navigation":3,"/api/miscellaneous/use-gltf-exporter":470,"/api/miscellaneous/use-gltf-exporter-surround":1272},[4,22],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","/getting-started","1.getting-started/1.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","/getting-started/installation","1.getting-started/2.installation",{"title":15,"path":16,"stem":17},"Usage","/getting-started/usage","1.getting-started/3.usage",{"title":19,"path":20,"stem":21},"Upgrade Guide","/getting-started/upgrade-guide","1.getting-started/4.upgrade-guide",{"title":23,"path":24,"stem":25,"children":26},"Api","/api","2.api",[27,30,80,114,156,190,284,310,344,394,436],{"title":28,"path":24,"stem":29},"All","2.api/index",{"title":31,"path":32,"stem":33,"children":34},"Abstractions","/api/abstractions","2.api/1.abstractions/index",[35,36,40,44,48,52,56,60,64,68,72,76],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39},"Align","/api/abstractions/align","2.api/1.abstractions/align",{"title":41,"path":42,"stem":43},"Billboard","/api/abstractions/billboard","2.api/1.abstractions/billboard",{"title":45,"path":46,"stem":47},"Camera Shake","/api/abstractions/camera-shake","2.api/1.abstractions/camera-shake",{"title":49,"path":50,"stem":51},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":53,"path":54,"stem":55},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":57,"path":58,"stem":59},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":61,"path":62,"stem":63},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":65,"path":66,"stem":67},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":69,"path":70,"stem":71},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":73,"path":74,"stem":75},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":77,"path":78,"stem":79},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":81,"path":82,"stem":83,"children":84},"Controls","/api/controls","2.api/2.controls/index",[85,86,90,94,98,102,106,110],{"title":81,"path":82,"stem":83},{"title":87,"path":88,"stem":89},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":91,"path":92,"stem":93},"Drag Controls","/api/controls/drag-controls","2.api/2.controls/drag-controls",{"title":95,"path":96,"stem":97},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":99,"path":100,"stem":101},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":103,"path":104,"stem":105},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":107,"path":108,"stem":109},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":111,"path":112,"stem":113},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":115,"path":116,"stem":117,"children":118},"Loaders","/api/loaders","2.api/3.loaders/index",[119,120,124,128,132,136,140,144,148,152],{"title":115,"path":116,"stem":117},{"title":121,"path":122,"stem":123},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":125,"path":126,"stem":127},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":129,"path":130,"stem":131},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":133,"path":134,"stem":135},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":137,"path":138,"stem":139},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":141,"path":142,"stem":143},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":145,"path":146,"stem":147},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":149,"path":150,"stem":151},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":153,"path":154,"stem":155},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":157,"path":158,"stem":159,"children":160},"Materials","/api/materials","2.api/4.materials/index",[161,162,166,170,174,178,182,186],{"title":157,"path":158,"stem":159},{"title":163,"path":164,"stem":165},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":167,"path":168,"stem":169},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":171,"path":172,"stem":173},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":175,"path":176,"stem":177},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":179,"path":180,"stem":181},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":183,"path":184,"stem":185},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":187,"path":188,"stem":189},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":191,"path":192,"stem":193,"children":194},"Shapes","/api/shapes","2.api/5.shapes/index",[195,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280],{"title":191,"path":192,"stem":193},{"title":197,"path":198,"stem":199},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":201,"path":202,"stem":203},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":205,"path":206,"stem":207},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":209,"path":210,"stem":211},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":213,"path":214,"stem":215},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":217,"path":218,"stem":219},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":221,"path":222,"stem":223},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":225,"path":226,"stem":227},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":229,"path":230,"stem":231},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":233,"path":234,"stem":235},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":237,"path":238,"stem":239},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":241,"path":242,"stem":243},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":245,"path":246,"stem":247},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":249,"path":250,"stem":251},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":253,"path":254,"stem":255},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":257,"path":258,"stem":259},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":261,"path":262,"stem":263},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":265,"path":266,"stem":267},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":269,"path":270,"stem":271},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":273,"path":274,"stem":275},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":277,"path":278,"stem":279},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":281,"path":282,"stem":283},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":285,"path":286,"stem":287,"children":288},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[289,290,294,298,302,306],{"title":285,"path":286,"stem":287},{"title":291,"path":292,"stem":293},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":295,"path":296,"stem":297},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":299,"path":300,"stem":301},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":303,"path":304,"stem":305},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":307,"path":308,"stem":309},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":311,"path":312,"stem":313,"children":314},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[315,316,320,324,328,332,336,340],{"title":311,"path":312,"stem":313},{"title":317,"path":318,"stem":319},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":321,"path":322,"stem":323},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":325,"path":326,"stem":327},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":329,"path":330,"stem":331},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":333,"path":334,"stem":335},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":337,"path":338,"stem":339},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":341,"path":342,"stem":343},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":345,"path":346,"stem":347,"children":348},"Staging","/api/staging","2.api/8.staging/index",[349,350,354,358,362,366,370,374,378,382,386,390],{"title":345,"path":346,"stem":347},{"title":351,"path":352,"stem":353},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":355,"path":356,"stem":357},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":359,"path":360,"stem":361},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":363,"path":364,"stem":365},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":367,"path":368,"stem":369},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":371,"path":372,"stem":373},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":375,"path":376,"stem":377},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":379,"path":380,"stem":381},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":383,"path":384,"stem":385},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":387,"path":388,"stem":389},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":391,"path":392,"stem":393},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":395,"path":396,"stem":397,"children":398},"Objects","/api/objects","2.api/9.objects/index",[399,400,404,408,412,416,420,424,428,432],{"title":395,"path":396,"stem":397},{"title":401,"path":402,"stem":403},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":405,"path":406,"stem":407},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":409,"path":410,"stem":411},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":413,"path":414,"stem":415},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":417,"path":418,"stem":419},"HTML","/api/objects/html","2.api/9.objects/html",{"title":421,"path":422,"stem":423},"Image","/api/objects/image","2.api/9.objects/image",{"title":425,"path":426,"stem":427},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":429,"path":430,"stem":431},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":433,"path":434,"stem":435},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":437,"path":438,"stem":439,"children":440},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[441,442,446,450,454,458,462,466],{"title":437,"path":438,"stem":439},{"title":443,"path":444,"stem":445},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":447,"path":448,"stem":449},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":451,"path":452,"stem":453},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":455,"path":456,"stem":457},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":459,"path":460,"stem":461},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":463,"path":464,"stem":465},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":467,"path":468,"stem":469},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":471,"title":463,"body":472,"description":1266,"extension":1267,"links":1268,"meta":1269,"navigation":626,"path":464,"seo":1270,"stem":465,"__hash__":1271},"docs/2.api/miscellaneous/use-gltf-exporter.md",{"type":473,"value":474,"toc":1260},"minimark",[475,497,502,1034,1038,1102,1106,1256],[476,477,478,485,486,491,492,496],"p",{},[479,480,484],"a",{"href":481,"rel":482},"https://threejs.org/docs/index.html?q=expo#examples/en/exporters/GLTFExporter",[483],"nofollow","GLTFExporter"," is an addon in Three.js that allows you to download any object3D in a ",[479,487,490],{"href":488,"rel":489},"https://www.khronos.org/gltf",[483],"GLTF"," format. ",[493,494,495],"strong",{},"TresJS"," provides a composable that simplifies this process with just a few lines of code.",[498,499,501],"h2",{"id":500},"basic-usage","Basic usage",[503,504,512],"pre",{"className":505,"code":506,"highlights":507,"language":510,"meta":511,"style":511},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs/core'\nimport { useGLTFExporter } from '@tresjs/cientos'\nimport { shallowRef } from 'vue'\n\nconst boxRef = shallowRef()\n\n// the second argument – options – is not required\nconst downloadBox = () => {\n  useGLTFExporter(boxRef.value, { fileName: 'cube', binary: true })\n}\n\u003C/script>\n\u003Ctemplate>\n  \u003CTresCanvas clear-color=\"#82DBC5\" window-size >\n    \u003CTresPerspectiveCamera :position=\"[0, 2, 5]\" />\n    \u003CTresMesh\n      ref=\"boxRef\"\n      :position-z=\"30\"\n      :scale=\"10\"\n      @click=\"downloadBox\"\n    >\n      \u003CTresBoxGeometry :args=\"[1, 1, 1]\" />\n      \u003CTresMeshStandardMaterial :color=\"0x00ff00\" />\n    \u003C/TresMesh>\n    \u003CTresDirectionalLight :position=\"[0, 10, 10]\" />\n  \u003C/TresCanvas>\n\u003C/template>\n\n",[508,509],3,10,"vue","",[513,514,515,550,579,601,621,628,645,650,657,676,729,735,745,755,782,827,835,850,868,885,903,909,946,970,981,1015,1025],"code",{"__ignoreMap":511},[516,517,520,524,528,532,535,538,541,545,547],"span",{"class":518,"line":519},"line",1,[516,521,523],{"class":522},"sMK4o","\u003C",[516,525,527],{"class":526},"swJcz","script",[516,529,531],{"class":530},"spNyl"," setup",[516,533,534],{"class":530}," lang",[516,536,537],{"class":522},"=",[516,539,540],{"class":522},"\"",[516,542,544],{"class":543},"sfazB","ts",[516,546,540],{"class":522},[516,548,549],{"class":522},">\n",[516,551,553,557,560,564,567,570,573,576],{"class":518,"line":552},2,[516,554,556],{"class":555},"s7zQu","import",[516,558,559],{"class":522}," {",[516,561,563],{"class":562},"sTEyZ"," TresCanvas",[516,565,566],{"class":522}," }",[516,568,569],{"class":555}," from",[516,571,572],{"class":522}," '",[516,574,575],{"class":543},"@tresjs/core",[516,577,578],{"class":522},"'\n",[516,580,583,585,587,590,592,594,596,599],{"class":581,"line":508},[518,582],"highlight",[516,584,556],{"class":555},[516,586,559],{"class":522},[516,588,589],{"class":562}," useGLTFExporter",[516,591,566],{"class":522},[516,593,569],{"class":555},[516,595,572],{"class":522},[516,597,598],{"class":543},"@tresjs/cientos",[516,600,578],{"class":522},[516,602,604,606,608,611,613,615,617,619],{"class":518,"line":603},4,[516,605,556],{"class":555},[516,607,559],{"class":522},[516,609,610],{"class":562}," shallowRef",[516,612,566],{"class":522},[516,614,569],{"class":555},[516,616,572],{"class":522},[516,618,510],{"class":543},[516,620,578],{"class":522},[516,622,624],{"class":518,"line":623},5,[516,625,627],{"emptyLinePlaceholder":626},true,"\n",[516,629,631,634,637,639,642],{"class":518,"line":630},6,[516,632,633],{"class":530},"const",[516,635,636],{"class":562}," boxRef ",[516,638,537],{"class":522},[516,640,610],{"class":641},"s2Zo4",[516,643,644],{"class":562},"()\n",[516,646,648],{"class":518,"line":647},7,[516,649,627],{"emptyLinePlaceholder":626},[516,651,653],{"class":518,"line":652},8,[516,654,656],{"class":655},"sHwdD","// the second argument – options – is not required\n",[516,658,660,662,665,667,670,673],{"class":518,"line":659},9,[516,661,633],{"class":530},[516,663,664],{"class":562}," downloadBox ",[516,666,537],{"class":522},[516,668,669],{"class":522}," ()",[516,671,672],{"class":530}," =>",[516,674,675],{"class":522}," {\n",[516,677,679,682,685,688,691,694,697,699,702,705,707,710,713,715,718,720,724,726],{"class":678,"line":509},[518,582],[516,680,681],{"class":641},"  useGLTFExporter",[516,683,684],{"class":526},"(",[516,686,687],{"class":562},"boxRef",[516,689,690],{"class":522},".",[516,692,693],{"class":562},"value",[516,695,696],{"class":522},",",[516,698,559],{"class":522},[516,700,701],{"class":526}," fileName",[516,703,704],{"class":522},":",[516,706,572],{"class":522},[516,708,709],{"class":543},"cube",[516,711,712],{"class":522},"'",[516,714,696],{"class":522},[516,716,717],{"class":526}," binary",[516,719,704],{"class":522},[516,721,723],{"class":722},"sfNiH"," true",[516,725,566],{"class":522},[516,727,728],{"class":526},")\n",[516,730,732],{"class":518,"line":731},11,[516,733,734],{"class":522},"}\n",[516,736,738,741,743],{"class":518,"line":737},12,[516,739,740],{"class":522},"\u003C/",[516,742,527],{"class":526},[516,744,549],{"class":522},[516,746,748,750,753],{"class":518,"line":747},13,[516,749,523],{"class":522},[516,751,752],{"class":526},"template",[516,754,549],{"class":522},[516,756,758,761,764,767,769,771,774,776,779],{"class":518,"line":757},14,[516,759,760],{"class":522},"  \u003C",[516,762,763],{"class":526},"TresCanvas",[516,765,766],{"class":530}," clear-color",[516,768,537],{"class":522},[516,770,540],{"class":522},[516,772,773],{"class":543},"#82DBC5",[516,775,540],{"class":522},[516,777,778],{"class":530}," window-size",[516,780,781],{"class":522}," >\n",[516,783,785,788,791,794,797,799,801,804,808,811,814,816,819,822,824],{"class":518,"line":784},15,[516,786,787],{"class":522},"    \u003C",[516,789,790],{"class":526},"TresPerspectiveCamera",[516,792,793],{"class":522}," :",[516,795,796],{"class":530},"position",[516,798,537],{"class":522},[516,800,540],{"class":522},[516,802,803],{"class":522},"[",[516,805,807],{"class":806},"sbssI","0",[516,809,810],{"class":522},", ",[516,812,813],{"class":806},"2",[516,815,810],{"class":522},[516,817,818],{"class":806},"5",[516,820,821],{"class":522},"]",[516,823,540],{"class":522},[516,825,826],{"class":522}," />\n",[516,828,830,832],{"class":518,"line":829},16,[516,831,787],{"class":522},[516,833,834],{"class":526},"TresMesh\n",[516,836,838,841,843,845,847],{"class":518,"line":837},17,[516,839,840],{"class":530},"      ref",[516,842,537],{"class":522},[516,844,540],{"class":522},[516,846,687],{"class":543},[516,848,849],{"class":522},"\"\n",[516,851,853,856,859,861,863,866],{"class":518,"line":852},18,[516,854,855],{"class":522},"      :",[516,857,858],{"class":530},"position-z",[516,860,537],{"class":522},[516,862,540],{"class":522},[516,864,865],{"class":806},"30",[516,867,849],{"class":522},[516,869,871,873,876,878,880,883],{"class":518,"line":870},19,[516,872,855],{"class":522},[516,874,875],{"class":530},"scale",[516,877,537],{"class":522},[516,879,540],{"class":522},[516,881,882],{"class":806},"10",[516,884,849],{"class":522},[516,886,888,891,894,896,898,901],{"class":518,"line":887},20,[516,889,890],{"class":522},"      @",[516,892,893],{"class":530},"click",[516,895,537],{"class":522},[516,897,540],{"class":522},[516,899,900],{"class":562},"downloadBox",[516,902,849],{"class":522},[516,904,906],{"class":518,"line":905},21,[516,907,908],{"class":522},"    >\n",[516,910,912,915,918,920,923,925,927,929,932,934,936,938,940,942,944],{"class":518,"line":911},22,[516,913,914],{"class":522},"      \u003C",[516,916,917],{"class":526},"TresBoxGeometry",[516,919,793],{"class":522},[516,921,922],{"class":530},"args",[516,924,537],{"class":522},[516,926,540],{"class":522},[516,928,803],{"class":522},[516,930,931],{"class":806},"1",[516,933,810],{"class":522},[516,935,931],{"class":806},[516,937,810],{"class":522},[516,939,931],{"class":806},[516,941,821],{"class":522},[516,943,540],{"class":522},[516,945,826],{"class":522},[516,947,949,951,954,956,959,961,963,966,968],{"class":518,"line":948},23,[516,950,914],{"class":522},[516,952,953],{"class":526},"TresMeshStandardMaterial",[516,955,793],{"class":522},[516,957,958],{"class":530},"color",[516,960,537],{"class":522},[516,962,540],{"class":522},[516,964,965],{"class":806},"0x00ff00",[516,967,540],{"class":522},[516,969,826],{"class":522},[516,971,973,976,979],{"class":518,"line":972},24,[516,974,975],{"class":522},"    \u003C/",[516,977,978],{"class":526},"TresMesh",[516,980,549],{"class":522},[516,982,984,986,989,991,993,995,997,999,1001,1003,1005,1007,1009,1011,1013],{"class":518,"line":983},25,[516,985,787],{"class":522},[516,987,988],{"class":526},"TresDirectionalLight",[516,990,793],{"class":522},[516,992,796],{"class":530},[516,994,537],{"class":522},[516,996,540],{"class":522},[516,998,803],{"class":522},[516,1000,807],{"class":806},[516,1002,810],{"class":522},[516,1004,882],{"class":806},[516,1006,810],{"class":522},[516,1008,882],{"class":806},[516,1010,821],{"class":522},[516,1012,540],{"class":522},[516,1014,826],{"class":522},[516,1016,1018,1021,1023],{"class":518,"line":1017},26,[516,1019,1020],{"class":522},"  \u003C/",[516,1022,763],{"class":526},[516,1024,549],{"class":522},[516,1026,1028,1030,1032],{"class":518,"line":1027},27,[516,1029,740],{"class":522},[516,1031,752],{"class":526},[516,1033,549],{"class":522},[498,1035,1037],{"id":1036},"arguments","Arguments",[1039,1040,1041,1061],"table",{},[1042,1043,1044],"thead",{},[1045,1046,1047,1052,1055,1058],"tr",{},[1048,1049,1051],"th",{"align":1050},"left","Name",[1048,1053,1054],{},"Type",[1048,1056,1057],{},"Default",[1048,1059,1060],{},"Description",[1062,1063,1064,1083],"tbody",{},[1045,1065,1066,1072,1077,1080],{},[1067,1068,1069],"td",{"align":1050},[493,1070,1071],{},"Selector",[1067,1073,1074],{},[513,1075,1076],{},"Object3D",[1067,1078,1079],{},"Required",[1067,1081,1082],{},"The object to download. Could be an array of objects",[1045,1084,1085,1090,1094,1099],{},[1067,1086,1087],{"align":1050},[493,1088,1089],{},"Options",[1067,1091,1092],{},[513,1093,1089],{},[1067,1095,1096],{},[513,1097,1098],{},"undefined",[1067,1100,1101],{},"Description below",[1103,1104,1089],"h3",{"id":1105},"options",[1039,1107,1108,1120],{},[1042,1109,1110],{},[1045,1111,1112,1114,1116,1118],{},[1048,1113,1051],{"align":1050},[1048,1115,1054],{"align":1050},[1048,1117,1057],{"align":1050},[1048,1119,1060],{"align":1050},[1062,1121,1122,1142,1161,1179,1199,1218,1236],{},[1045,1123,1124,1129,1134,1139],{},[1067,1125,1126],{"align":1050},[493,1127,1128],{},"trs",[1067,1130,1131],{"align":1050},[513,1132,1133],{},"bool",[1067,1135,1136],{"align":1050},[513,1137,1138],{},"false",[1067,1140,1141],{"align":1050},"Export position, rotation and scale instead of matrix per node",[1045,1143,1144,1149,1153,1158],{},[1067,1145,1146],{"align":1050},[493,1147,1148],{},"onlyVisible",[1067,1150,1151],{"align":1050},[513,1152,1133],{},[1067,1154,1155],{"align":1050},[513,1156,1157],{},"true",[1067,1159,1160],{"align":1050},"Export only visible objects",[1045,1162,1163,1168,1172,1176],{},[1067,1164,1165],{"align":1050},[493,1166,1167],{},"binary",[1067,1169,1170],{"align":1050},[513,1171,1133],{},[1067,1173,1174],{"align":1050},[513,1175,1138],{},[1067,1177,1178],{"align":1050},"Export in binary (.glb) format, returning an ArrayBuffer",[1045,1180,1181,1186,1191,1196],{},[1067,1182,1183],{"align":1050},[493,1184,1185],{},"maxTextureSize",[1067,1187,1188],{"align":1050},[513,1189,1190],{},"number",[1067,1192,1193],{"align":1050},[513,1194,1195],{},"Infinity",[1067,1197,1198],{"align":1050},"Restricts the image maximum size (both width and height) to the given value",[1045,1200,1201,1206,1211,1215],{},[1067,1202,1203],{"align":1050},[493,1204,1205],{},"animations",[1067,1207,1208],{"align":1050},[513,1209,1210],{},"Array\u003CAnimationClip>",[1067,1212,1213],{"align":1050},[513,1214,1098],{},[1067,1216,1217],{"align":1050},"List of animations to be included in the export",[1045,1219,1220,1225,1229,1233],{},[1067,1221,1222],{"align":1050},[493,1223,1224],{},"includeCustomExtensions",[1067,1226,1227],{"align":1050},[513,1228,1133],{},[1067,1230,1231],{"align":1050},[513,1232,1138],{},[1067,1234,1235],{"align":1050},"Export custom glTF extensions defined on an object's userData.gltfExtensions",[1045,1237,1238,1243,1248,1253],{},[1067,1239,1240],{"align":1050},[493,1241,1242],{},"fileName",[1067,1244,1245],{"align":1050},[513,1246,1247],{},"string",[1067,1249,1250],{"align":1050},[513,1251,1252],{},"Object name",[1067,1254,1255],{"align":1050},"Name of the generated file",[1257,1258,1259],"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 pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}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);}",{"title":511,"searchDepth":519,"depth":552,"links":1261},[1262,1263],{"id":500,"depth":552,"text":501},{"id":1036,"depth":552,"text":1037,"children":1264},[1265],{"id":1105,"depth":508,"text":1089},"Export 3D objects to GLTF format.","md",null,{},{"title":463,"description":1266},"RMYlhgEenD2JjVSHoqXD_ilu6cdNNok5afbVcapEUPE",[1273,1275],{"title":459,"path":460,"stem":461,"description":1274,"children":-1},"Composable for managing model animations with AnimationMixer.",{"title":467,"path":468,"stem":469,"description":1276,"children":-1},"Detect when objects enter or leave the screen.",1776202095683]