[{"data":1,"prerenderedAt":1281},["ShallowReactive",2],{"navigation":3,"/api/miscellaneous/use-gltf-exporter":474,"/api/miscellaneous/use-gltf-exporter-surround":1276},[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,190,284,310,344,394,440],{"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],{"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,436],{"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},"Refractor","/api/objects/refractor","2.api/9.objects/refractor",{"title":437,"path":438,"stem":439},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":441,"path":442,"stem":443,"children":444},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[445,446,450,454,458,462,466,470],{"title":441,"path":442,"stem":443},{"title":447,"path":448,"stem":449},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":451,"path":452,"stem":453},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":455,"path":456,"stem":457},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":459,"path":460,"stem":461},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":463,"path":464,"stem":465},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":467,"path":468,"stem":469},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":471,"path":472,"stem":473},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":475,"title":467,"body":476,"description":1270,"extension":1271,"links":1272,"meta":1273,"navigation":630,"path":468,"seo":1274,"stem":469,"__hash__":1275},"docs/2.api/miscellaneous/use-gltf-exporter.md",{"type":477,"value":478,"toc":1264},"minimark",[479,501,506,1038,1042,1106,1110,1260],[480,481,482,489,490,495,496,500],"p",{},[483,484,488],"a",{"href":485,"rel":486},"https://threejs.org/docs/index.html?q=expo#examples/en/exporters/GLTFExporter",[487],"nofollow","GLTFExporter"," is an addon in Three.js that allows you to download any object3D in a ",[483,491,494],{"href":492,"rel":493},"https://www.khronos.org/gltf",[487],"GLTF"," format. ",[497,498,499],"strong",{},"TresJS"," provides a composable that simplifies this process with just a few lines of code.",[502,503,505],"h2",{"id":504},"basic-usage","Basic usage",[507,508,516],"pre",{"className":509,"code":510,"highlights":511,"language":514,"meta":515,"style":515},"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",[512,513],3,10,"vue","",[517,518,519,554,583,605,625,632,649,654,661,680,733,739,749,759,786,831,839,854,872,889,907,913,950,974,985,1019,1029],"code",{"__ignoreMap":515},[520,521,524,528,532,536,539,542,545,549,551],"span",{"class":522,"line":523},"line",1,[520,525,527],{"class":526},"sMK4o","\u003C",[520,529,531],{"class":530},"swJcz","script",[520,533,535],{"class":534},"spNyl"," setup",[520,537,538],{"class":534}," lang",[520,540,541],{"class":526},"=",[520,543,544],{"class":526},"\"",[520,546,548],{"class":547},"sfazB","ts",[520,550,544],{"class":526},[520,552,553],{"class":526},">\n",[520,555,557,561,564,568,571,574,577,580],{"class":522,"line":556},2,[520,558,560],{"class":559},"s7zQu","import",[520,562,563],{"class":526}," {",[520,565,567],{"class":566},"sTEyZ"," TresCanvas",[520,569,570],{"class":526}," }",[520,572,573],{"class":559}," from",[520,575,576],{"class":526}," '",[520,578,579],{"class":547},"@tresjs/core",[520,581,582],{"class":526},"'\n",[520,584,587,589,591,594,596,598,600,603],{"class":585,"line":512},[522,586],"highlight",[520,588,560],{"class":559},[520,590,563],{"class":526},[520,592,593],{"class":566}," useGLTFExporter",[520,595,570],{"class":526},[520,597,573],{"class":559},[520,599,576],{"class":526},[520,601,602],{"class":547},"@tresjs/cientos",[520,604,582],{"class":526},[520,606,608,610,612,615,617,619,621,623],{"class":522,"line":607},4,[520,609,560],{"class":559},[520,611,563],{"class":526},[520,613,614],{"class":566}," shallowRef",[520,616,570],{"class":526},[520,618,573],{"class":559},[520,620,576],{"class":526},[520,622,514],{"class":547},[520,624,582],{"class":526},[520,626,628],{"class":522,"line":627},5,[520,629,631],{"emptyLinePlaceholder":630},true,"\n",[520,633,635,638,641,643,646],{"class":522,"line":634},6,[520,636,637],{"class":534},"const",[520,639,640],{"class":566}," boxRef ",[520,642,541],{"class":526},[520,644,614],{"class":645},"s2Zo4",[520,647,648],{"class":566},"()\n",[520,650,652],{"class":522,"line":651},7,[520,653,631],{"emptyLinePlaceholder":630},[520,655,657],{"class":522,"line":656},8,[520,658,660],{"class":659},"sHwdD","// the second argument – options – is not required\n",[520,662,664,666,669,671,674,677],{"class":522,"line":663},9,[520,665,637],{"class":534},[520,667,668],{"class":566}," downloadBox ",[520,670,541],{"class":526},[520,672,673],{"class":526}," ()",[520,675,676],{"class":534}," =>",[520,678,679],{"class":526}," {\n",[520,681,683,686,689,692,695,698,701,703,706,709,711,714,717,719,722,724,728,730],{"class":682,"line":513},[522,586],[520,684,685],{"class":645},"  useGLTFExporter",[520,687,688],{"class":530},"(",[520,690,691],{"class":566},"boxRef",[520,693,694],{"class":526},".",[520,696,697],{"class":566},"value",[520,699,700],{"class":526},",",[520,702,563],{"class":526},[520,704,705],{"class":530}," fileName",[520,707,708],{"class":526},":",[520,710,576],{"class":526},[520,712,713],{"class":547},"cube",[520,715,716],{"class":526},"'",[520,718,700],{"class":526},[520,720,721],{"class":530}," binary",[520,723,708],{"class":526},[520,725,727],{"class":726},"sfNiH"," true",[520,729,570],{"class":526},[520,731,732],{"class":530},")\n",[520,734,736],{"class":522,"line":735},11,[520,737,738],{"class":526},"}\n",[520,740,742,745,747],{"class":522,"line":741},12,[520,743,744],{"class":526},"\u003C/",[520,746,531],{"class":530},[520,748,553],{"class":526},[520,750,752,754,757],{"class":522,"line":751},13,[520,753,527],{"class":526},[520,755,756],{"class":530},"template",[520,758,553],{"class":526},[520,760,762,765,768,771,773,775,778,780,783],{"class":522,"line":761},14,[520,763,764],{"class":526},"  \u003C",[520,766,767],{"class":530},"TresCanvas",[520,769,770],{"class":534}," clear-color",[520,772,541],{"class":526},[520,774,544],{"class":526},[520,776,777],{"class":547},"#82DBC5",[520,779,544],{"class":526},[520,781,782],{"class":534}," window-size",[520,784,785],{"class":526}," >\n",[520,787,789,792,795,798,801,803,805,808,812,815,818,820,823,826,828],{"class":522,"line":788},15,[520,790,791],{"class":526},"    \u003C",[520,793,794],{"class":530},"TresPerspectiveCamera",[520,796,797],{"class":526}," :",[520,799,800],{"class":534},"position",[520,802,541],{"class":526},[520,804,544],{"class":526},[520,806,807],{"class":526},"[",[520,809,811],{"class":810},"sbssI","0",[520,813,814],{"class":526},", ",[520,816,817],{"class":810},"2",[520,819,814],{"class":526},[520,821,822],{"class":810},"5",[520,824,825],{"class":526},"]",[520,827,544],{"class":526},[520,829,830],{"class":526}," />\n",[520,832,834,836],{"class":522,"line":833},16,[520,835,791],{"class":526},[520,837,838],{"class":530},"TresMesh\n",[520,840,842,845,847,849,851],{"class":522,"line":841},17,[520,843,844],{"class":534},"      ref",[520,846,541],{"class":526},[520,848,544],{"class":526},[520,850,691],{"class":547},[520,852,853],{"class":526},"\"\n",[520,855,857,860,863,865,867,870],{"class":522,"line":856},18,[520,858,859],{"class":526},"      :",[520,861,862],{"class":534},"position-z",[520,864,541],{"class":526},[520,866,544],{"class":526},[520,868,869],{"class":810},"30",[520,871,853],{"class":526},[520,873,875,877,880,882,884,887],{"class":522,"line":874},19,[520,876,859],{"class":526},[520,878,879],{"class":534},"scale",[520,881,541],{"class":526},[520,883,544],{"class":526},[520,885,886],{"class":810},"10",[520,888,853],{"class":526},[520,890,892,895,898,900,902,905],{"class":522,"line":891},20,[520,893,894],{"class":526},"      @",[520,896,897],{"class":534},"click",[520,899,541],{"class":526},[520,901,544],{"class":526},[520,903,904],{"class":566},"downloadBox",[520,906,853],{"class":526},[520,908,910],{"class":522,"line":909},21,[520,911,912],{"class":526},"    >\n",[520,914,916,919,922,924,927,929,931,933,936,938,940,942,944,946,948],{"class":522,"line":915},22,[520,917,918],{"class":526},"      \u003C",[520,920,921],{"class":530},"TresBoxGeometry",[520,923,797],{"class":526},[520,925,926],{"class":534},"args",[520,928,541],{"class":526},[520,930,544],{"class":526},[520,932,807],{"class":526},[520,934,935],{"class":810},"1",[520,937,814],{"class":526},[520,939,935],{"class":810},[520,941,814],{"class":526},[520,943,935],{"class":810},[520,945,825],{"class":526},[520,947,544],{"class":526},[520,949,830],{"class":526},[520,951,953,955,958,960,963,965,967,970,972],{"class":522,"line":952},23,[520,954,918],{"class":526},[520,956,957],{"class":530},"TresMeshStandardMaterial",[520,959,797],{"class":526},[520,961,962],{"class":534},"color",[520,964,541],{"class":526},[520,966,544],{"class":526},[520,968,969],{"class":810},"0x00ff00",[520,971,544],{"class":526},[520,973,830],{"class":526},[520,975,977,980,983],{"class":522,"line":976},24,[520,978,979],{"class":526},"    \u003C/",[520,981,982],{"class":530},"TresMesh",[520,984,553],{"class":526},[520,986,988,990,993,995,997,999,1001,1003,1005,1007,1009,1011,1013,1015,1017],{"class":522,"line":987},25,[520,989,791],{"class":526},[520,991,992],{"class":530},"TresDirectionalLight",[520,994,797],{"class":526},[520,996,800],{"class":534},[520,998,541],{"class":526},[520,1000,544],{"class":526},[520,1002,807],{"class":526},[520,1004,811],{"class":810},[520,1006,814],{"class":526},[520,1008,886],{"class":810},[520,1010,814],{"class":526},[520,1012,886],{"class":810},[520,1014,825],{"class":526},[520,1016,544],{"class":526},[520,1018,830],{"class":526},[520,1020,1022,1025,1027],{"class":522,"line":1021},26,[520,1023,1024],{"class":526},"  \u003C/",[520,1026,767],{"class":530},[520,1028,553],{"class":526},[520,1030,1032,1034,1036],{"class":522,"line":1031},27,[520,1033,744],{"class":526},[520,1035,756],{"class":530},[520,1037,553],{"class":526},[502,1039,1041],{"id":1040},"arguments","Arguments",[1043,1044,1045,1065],"table",{},[1046,1047,1048],"thead",{},[1049,1050,1051,1056,1059,1062],"tr",{},[1052,1053,1055],"th",{"align":1054},"left","Name",[1052,1057,1058],{},"Type",[1052,1060,1061],{},"Default",[1052,1063,1064],{},"Description",[1066,1067,1068,1087],"tbody",{},[1049,1069,1070,1076,1081,1084],{},[1071,1072,1073],"td",{"align":1054},[497,1074,1075],{},"Selector",[1071,1077,1078],{},[517,1079,1080],{},"Object3D",[1071,1082,1083],{},"Required",[1071,1085,1086],{},"The object to download. Could be an array of objects",[1049,1088,1089,1094,1098,1103],{},[1071,1090,1091],{"align":1054},[497,1092,1093],{},"Options",[1071,1095,1096],{},[517,1097,1093],{},[1071,1099,1100],{},[517,1101,1102],{},"undefined",[1071,1104,1105],{},"Description below",[1107,1108,1093],"h3",{"id":1109},"options",[1043,1111,1112,1124],{},[1046,1113,1114],{},[1049,1115,1116,1118,1120,1122],{},[1052,1117,1055],{"align":1054},[1052,1119,1058],{"align":1054},[1052,1121,1061],{"align":1054},[1052,1123,1064],{"align":1054},[1066,1125,1126,1146,1165,1183,1203,1222,1240],{},[1049,1127,1128,1133,1138,1143],{},[1071,1129,1130],{"align":1054},[497,1131,1132],{},"trs",[1071,1134,1135],{"align":1054},[517,1136,1137],{},"bool",[1071,1139,1140],{"align":1054},[517,1141,1142],{},"false",[1071,1144,1145],{"align":1054},"Export position, rotation and scale instead of matrix per node",[1049,1147,1148,1153,1157,1162],{},[1071,1149,1150],{"align":1054},[497,1151,1152],{},"onlyVisible",[1071,1154,1155],{"align":1054},[517,1156,1137],{},[1071,1158,1159],{"align":1054},[517,1160,1161],{},"true",[1071,1163,1164],{"align":1054},"Export only visible objects",[1049,1166,1167,1172,1176,1180],{},[1071,1168,1169],{"align":1054},[497,1170,1171],{},"binary",[1071,1173,1174],{"align":1054},[517,1175,1137],{},[1071,1177,1178],{"align":1054},[517,1179,1142],{},[1071,1181,1182],{"align":1054},"Export in binary (.glb) format, returning an ArrayBuffer",[1049,1184,1185,1190,1195,1200],{},[1071,1186,1187],{"align":1054},[497,1188,1189],{},"maxTextureSize",[1071,1191,1192],{"align":1054},[517,1193,1194],{},"number",[1071,1196,1197],{"align":1054},[517,1198,1199],{},"Infinity",[1071,1201,1202],{"align":1054},"Restricts the image maximum size (both width and height) to the given value",[1049,1204,1205,1210,1215,1219],{},[1071,1206,1207],{"align":1054},[497,1208,1209],{},"animations",[1071,1211,1212],{"align":1054},[517,1213,1214],{},"Array\u003CAnimationClip>",[1071,1216,1217],{"align":1054},[517,1218,1102],{},[1071,1220,1221],{"align":1054},"List of animations to be included in the export",[1049,1223,1224,1229,1233,1237],{},[1071,1225,1226],{"align":1054},[497,1227,1228],{},"includeCustomExtensions",[1071,1230,1231],{"align":1054},[517,1232,1137],{},[1071,1234,1235],{"align":1054},[517,1236,1142],{},[1071,1238,1239],{"align":1054},"Export custom glTF extensions defined on an object's userData.gltfExtensions",[1049,1241,1242,1247,1252,1257],{},[1071,1243,1244],{"align":1054},[497,1245,1246],{},"fileName",[1071,1248,1249],{"align":1054},[517,1250,1251],{},"string",[1071,1253,1254],{"align":1054},[517,1255,1256],{},"Object name",[1071,1258,1259],{"align":1054},"Name of the generated file",[1261,1262,1263],"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":515,"searchDepth":523,"depth":556,"links":1265},[1266,1267],{"id":504,"depth":556,"text":505},{"id":1040,"depth":556,"text":1041,"children":1268},[1269],{"id":1109,"depth":512,"text":1093},"Export 3D objects to GLTF format.","md",null,{},{"title":467,"description":1270},"RMYlhgEenD2JjVSHoqXD_ilu6cdNNok5afbVcapEUPE",[1277,1279],{"title":463,"path":464,"stem":465,"description":1278,"children":-1},"Composable for managing model animations with AnimationMixer.",{"title":471,"path":472,"stem":473,"description":1280,"children":-1},"Detect when objects enter or leave the screen.",1781273441071]