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