[{"data":1,"prerenderedAt":1194},["ShallowReactive",2],{"navigation":3,"/api/miscellaneous/bounds":470,"/api/miscellaneous/bounds-surround":1189},[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":443,"body":472,"description":1183,"extension":1184,"links":1185,"meta":1186,"navigation":653,"path":444,"seo":1187,"stem":445,"__hash__":1188},"docs/2.api/miscellaneous/bounds.md",{"type":473,"value":474,"toc":1176},"minimark",[475,481,490,525,529,988,992,1140,1143,1159,1164,1172],[476,477,478],"scene-wrapper",{},[479,480],"miscellaneous-bounds",{},[482,483,484,485,489],"p",{},"Calculates a boundary box and centers the camera accordingly. Its ",[486,487,488],"code",{},"lookAt"," method accepts a target to look at imperatively e.g., after a click.",[491,492,493,496],"prose-note",{},[482,494,495],{},"If you are using other camera controls, be sure to make them the 'default'.",[497,498,503],"pre",{"className":499,"code":500,"language":501,"meta":502,"style":502},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003COrbitControls make-default />\n","vue","",[486,504,505],{"__ignoreMap":502},[506,507,510,514,518,522],"span",{"class":508,"line":509},"line",1,[506,511,513],{"class":512},"sMK4o","\u003C",[506,515,517],{"class":516},"swJcz","OrbitControls",[506,519,521],{"class":520},"spNyl"," make-default",[506,523,524],{"class":512}," />\n",[526,527,15],"h2",{"id":528},"usage",[497,530,541],{"className":499,"code":531,"highlights":532,"language":501,"meta":502,"style":502},"\u003Cscript setup lang=\"ts\">\nimport { TresCanvas } from '@tresjs/core'\nimport { Bounds, OrbitControls } from '@tresjs/cientos'\nimport { shallowRef } from 'vue'\n\nconst boundsRef = shallowRef()\nconst objectRef = shallowRef()\n\nfunction focusObject() {\n  boundsRef.value?.instance.lookAt(objectRef.value)\n}\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :position=\"[0, 2, 5]\" />\n    \u003COrbitControls make-default />\n    \u003CBounds ref=\"boundsRef\" clip use-mounted :offset=\"0.75\">\n      \u003CTresMesh ref=\"objectRef\" @click=\"(e) => focusObject()\">\n        \u003CTresBoxGeometry />\n        \u003CTresMeshNormalMaterial />\n      \u003C/TresMesh>\n    \u003C/Bounds>\n  \u003C/TresCanvas>\n\u003C/template>\n",[533,534,535,536,537,538,539,540],3,6,7,9,10,11,18,23,[486,542,543,571,600,628,648,655,672,686,691,706,741,747,757,762,772,783,827,838,879,928,939,949,959,969,979],{"__ignoreMap":502},[506,544,545,547,550,553,556,559,562,566,568],{"class":508,"line":509},[506,546,513],{"class":512},[506,548,549],{"class":516},"script",[506,551,552],{"class":520}," setup",[506,554,555],{"class":520}," lang",[506,557,558],{"class":512},"=",[506,560,561],{"class":512},"\"",[506,563,565],{"class":564},"sfazB","ts",[506,567,561],{"class":512},[506,569,570],{"class":512},">\n",[506,572,574,578,581,585,588,591,594,597],{"class":508,"line":573},2,[506,575,577],{"class":576},"s7zQu","import",[506,579,580],{"class":512}," {",[506,582,584],{"class":583},"sTEyZ"," TresCanvas",[506,586,587],{"class":512}," }",[506,589,590],{"class":576}," from",[506,592,593],{"class":512}," '",[506,595,596],{"class":564},"@tresjs/core",[506,598,599],{"class":512},"'\n",[506,601,604,606,608,611,614,617,619,621,623,626],{"class":602,"line":533},[508,603],"highlight",[506,605,577],{"class":576},[506,607,580],{"class":512},[506,609,610],{"class":583}," Bounds",[506,612,613],{"class":512},",",[506,615,616],{"class":583}," OrbitControls",[506,618,587],{"class":512},[506,620,590],{"class":576},[506,622,593],{"class":512},[506,624,625],{"class":564},"@tresjs/cientos",[506,627,599],{"class":512},[506,629,631,633,635,638,640,642,644,646],{"class":508,"line":630},4,[506,632,577],{"class":576},[506,634,580],{"class":512},[506,636,637],{"class":583}," shallowRef",[506,639,587],{"class":512},[506,641,590],{"class":576},[506,643,593],{"class":512},[506,645,501],{"class":564},[506,647,599],{"class":512},[506,649,651],{"class":508,"line":650},5,[506,652,654],{"emptyLinePlaceholder":653},true,"\n",[506,656,658,661,664,666,669],{"class":657,"line":534},[508,603],[506,659,660],{"class":520},"const",[506,662,663],{"class":583}," boundsRef ",[506,665,558],{"class":512},[506,667,637],{"class":668},"s2Zo4",[506,670,671],{"class":583},"()\n",[506,673,675,677,680,682,684],{"class":674,"line":535},[508,603],[506,676,660],{"class":520},[506,678,679],{"class":583}," objectRef ",[506,681,558],{"class":512},[506,683,637],{"class":668},[506,685,671],{"class":583},[506,687,689],{"class":508,"line":688},8,[506,690,654],{"emptyLinePlaceholder":653},[506,692,694,697,700,703],{"class":693,"line":536},[508,603],[506,695,696],{"class":520},"function",[506,698,699],{"class":668}," focusObject",[506,701,702],{"class":512},"()",[506,704,705],{"class":512}," {\n",[506,707,709,712,715,718,721,724,726,728,731,734,736,738],{"class":708,"line":537},[508,603],[506,710,711],{"class":583},"  boundsRef",[506,713,714],{"class":512},".",[506,716,717],{"class":583},"value",[506,719,720],{"class":512},"?.",[506,722,723],{"class":583},"instance",[506,725,714],{"class":512},[506,727,488],{"class":668},[506,729,730],{"class":516},"(",[506,732,733],{"class":583},"objectRef",[506,735,714],{"class":512},[506,737,717],{"class":583},[506,739,740],{"class":516},")\n",[506,742,744],{"class":743,"line":538},[508,603],[506,745,746],{"class":512},"}\n",[506,748,750,753,755],{"class":508,"line":749},12,[506,751,752],{"class":512},"\u003C/",[506,754,549],{"class":516},[506,756,570],{"class":512},[506,758,760],{"class":508,"line":759},13,[506,761,654],{"emptyLinePlaceholder":653},[506,763,765,767,770],{"class":508,"line":764},14,[506,766,513],{"class":512},[506,768,769],{"class":516},"template",[506,771,570],{"class":512},[506,773,775,778,781],{"class":508,"line":774},15,[506,776,777],{"class":512},"  \u003C",[506,779,780],{"class":516},"TresCanvas",[506,782,570],{"class":512},[506,784,786,789,792,795,798,800,802,805,809,812,815,817,820,823,825],{"class":508,"line":785},16,[506,787,788],{"class":512},"    \u003C",[506,790,791],{"class":516},"TresPerspectiveCamera",[506,793,794],{"class":512}," :",[506,796,797],{"class":520},"position",[506,799,558],{"class":512},[506,801,561],{"class":512},[506,803,804],{"class":512},"[",[506,806,808],{"class":807},"sbssI","0",[506,810,811],{"class":512},", ",[506,813,814],{"class":807},"2",[506,816,811],{"class":512},[506,818,819],{"class":807},"5",[506,821,822],{"class":512},"]",[506,824,561],{"class":512},[506,826,524],{"class":512},[506,828,830,832,834,836],{"class":508,"line":829},17,[506,831,788],{"class":512},[506,833,517],{"class":516},[506,835,521],{"class":520},[506,837,524],{"class":512},[506,839,841,843,845,848,850,852,855,857,860,863,865,868,870,872,875,877],{"class":840,"line":539},[508,603],[506,842,788],{"class":512},[506,844,443],{"class":516},[506,846,847],{"class":520}," ref",[506,849,558],{"class":512},[506,851,561],{"class":512},[506,853,854],{"class":564},"boundsRef",[506,856,561],{"class":512},[506,858,859],{"class":520}," clip",[506,861,862],{"class":520}," use-mounted",[506,864,794],{"class":512},[506,866,867],{"class":520},"offset",[506,869,558],{"class":512},[506,871,561],{"class":512},[506,873,874],{"class":807},"0.75",[506,876,561],{"class":512},[506,878,570],{"class":512},[506,880,882,885,888,890,892,894,896,898,901,904,906,908,910,914,917,920,922,924,926],{"class":508,"line":881},19,[506,883,884],{"class":512},"      \u003C",[506,886,887],{"class":516},"TresMesh",[506,889,847],{"class":520},[506,891,558],{"class":512},[506,893,561],{"class":512},[506,895,733],{"class":564},[506,897,561],{"class":512},[506,899,900],{"class":512}," @",[506,902,903],{"class":520},"click",[506,905,558],{"class":512},[506,907,561],{"class":512},[506,909,730],{"class":512},[506,911,913],{"class":912},"sHdIc","e",[506,915,916],{"class":512},") ",[506,918,919],{"class":520},"=>",[506,921,699],{"class":668},[506,923,702],{"class":512},[506,925,561],{"class":512},[506,927,570],{"class":512},[506,929,931,934,937],{"class":508,"line":930},20,[506,932,933],{"class":512},"        \u003C",[506,935,936],{"class":516},"TresBoxGeometry",[506,938,524],{"class":512},[506,940,942,944,947],{"class":508,"line":941},21,[506,943,933],{"class":512},[506,945,946],{"class":516},"TresMeshNormalMaterial",[506,948,524],{"class":512},[506,950,952,955,957],{"class":508,"line":951},22,[506,953,954],{"class":512},"      \u003C/",[506,956,887],{"class":516},[506,958,570],{"class":512},[506,960,962,965,967],{"class":961,"line":540},[508,603],[506,963,964],{"class":512},"    \u003C/",[506,966,443],{"class":516},[506,968,570],{"class":512},[506,970,972,975,977],{"class":508,"line":971},24,[506,973,974],{"class":512},"  \u003C/",[506,976,780],{"class":516},[506,978,570],{"class":512},[506,980,982,984,986],{"class":508,"line":981},25,[506,983,752],{"class":512},[506,985,769],{"class":516},[506,987,570],{"class":512},[526,989,991],{"id":990},"props","Props",[993,994,995,1012],"table",{},[996,997,998],"thead",{},[999,1000,1001,1006,1009],"tr",{},[1002,1003,1005],"th",{"align":1004},"left","Name",[1002,1007,1008],{"align":1004},"Description",[1002,1010,1011],{},"Default",[1013,1014,1015,1034,1058,1076,1096,1120],"tbody",{},[999,1016,1017,1023,1029],{},[1018,1019,1020],"td",{"align":1004},[486,1021,1022],{},"duration",[1018,1024,1025,1026,1028],{"align":1004},"Duration of the ",[486,1027,488],{}," animation in seconds",[1018,1030,1031],{},[486,1032,1033],{},"1.0",[999,1035,1036,1040,1053],{},[1018,1037,1038],{"align":1004},[486,1039,867],{},[1018,1041,1042,1043,1045,1046,1049,1050],{"align":1004},"Additional distance from the target when using ",[486,1044,488],{}," with a ",[486,1047,1048],{},"Box3"," or ",[486,1051,1052],{},"Object3D",[1018,1054,1055],{},[486,1056,1057],{},"0.2",[999,1059,1060,1065,1071],{},[1018,1061,1062],{"align":1004},[486,1063,1064],{},"useResize",[1018,1066,1067,1068,1070],{"align":1004},"Whether to re",[486,1069,488],{}," the last target when the screen is resized",[1018,1072,1073],{},[486,1074,1075],{},"false",[999,1077,1078,1083,1092],{},[1018,1079,1080],{"align":1004},[486,1081,1082],{},"useMounted",[1018,1084,1085,1086,1088,1089,1091],{"align":1004},"Whether to ",[486,1087,488],{}," the ",[486,1090,443],{}," object when the component is mounts",[1018,1093,1094],{},[486,1095,1075],{},[999,1097,1098,1103,1116],{},[1018,1099,1100],{"align":1004},[486,1101,1102],{},"clip",[1018,1104,1105,1106,1109,1110,1113,1114],{"align":1004},"Whether to adjust the camera's ",[486,1107,1108],{},"near"," and ",[486,1111,1112],{},"far"," settings when using ",[486,1115,488],{},[1018,1117,1118],{},[486,1119,1075],{},[999,1121,1122,1127,1137],{},[1018,1123,1124],{"align":1004},[486,1125,1126],{},"easing",[1018,1128,1129,1130,1133,1134],{"align":1004},"Animation's easing function. ",[486,1131,1132],{},"t"," and the returned value should be in the interval ",[486,1135,1136],{},"[0, 1]",[1018,1138,1139],{},"Cubic ease out",[526,1141,488],{"id":1142},"lookat",[482,1144,1145,1148,1149,1151,1152,811,1154,1049,1156,714],{},[486,1146,1147],{},"\u003CBounds />"," ",[486,1150,488],{}," points the camera at its first argument: an ",[486,1153,1052],{},[486,1155,1048],{},[486,1157,1158],{},"Vector3",[1160,1161,1163],"h3",{"id":1162},"method-signatures","Method Signatures",[497,1165,1170],{"className":1166,"code":1168,"language":1169},[1167],"language-text","/**\n * Calculates a boundary box around an `Object3D` and centers the camera accordingly.\n */\nlookAt(object: Object3D): void\n\n/**\n * Calculates a boundary box around an `Object3D` and centers the camera accordingly and animates the camera's `up` vector.\n */\nlookAt(object: Object3D, up: VectorFlexibleParams): void\n\n/**\n * Centers the camera's viewport on a `Box3`.\n */\nlookAt(box3: Box3): void\n\n/**\n * Centers the camera's viewport on a `Box3` and animates the camera's `up` vector.\n */\nlookAt(box3: Box3, up: VectorFlexibleParams): void\n\n/**\n * Look at a `Vector3`.\n */\nlookAt(target: VectorFlexibleParams): void\n\n/**\n * Look at a `Vector3`, if provided. Move the camera to `position`.\n */\nlookAt(target: VectorFlexibleParams | undefined | null, position: VectorFlexibleParams): void\n\n/**\n * Look at a `Vector3`, if provided. Move the camera to `position` and animate the camera's `up` vector.\n */\nlookAt(target: VectorFlexibleParams | undefined | null, position: VectorFlexibleParams, up: VectorFlexibleParams): void\n\n/**\n * Rerun `lookAt` using the prior arguments. If `lookAt` has never been called, uses the `Bounds` object.\n */\nlookAt(): void\n","text",[486,1171,1168],{"__ignoreMap":502},[1173,1174,1175],"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 .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .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 .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":502,"searchDepth":509,"depth":573,"links":1177},[1178,1179,1180],{"id":528,"depth":573,"text":15},{"id":990,"depth":573,"text":991},{"id":1142,"depth":573,"text":488,"children":1181},[1182],{"id":1162,"depth":533,"text":1163},"Calculate boundary box and center camera accordingly.","md",null,{},{"title":443,"description":1183},"99p1FD8mbl4hP9wZB60es2RXMg_34kRJyloKHcDBk80",[1190,1192],{"title":437,"path":438,"stem":439,"description":1191,"children":-1},"Various utility components and composables",{"title":447,"path":448,"stem":449,"description":1193,"children":-1},"Add global sound to your scene.",1776202095341]