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