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