[{"data":1,"prerenderedAt":1190},["ShallowReactive",2],{"navigation":3,"/api/miscellaneous/bounds":466,"/api/miscellaneous/bounds-surround":1185},[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,110,152,186,280,306,340,390,432],{"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],{"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},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":95,"path":96,"stem":97},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":99,"path":100,"stem":101},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":103,"path":104,"stem":105},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":107,"path":108,"stem":109},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":111,"path":112,"stem":113,"children":114},"Loaders","/api/loaders","2.api/3.loaders/index",[115,116,120,124,128,132,136,140,144,148],{"title":111,"path":112,"stem":113},{"title":117,"path":118,"stem":119},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":121,"path":122,"stem":123},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":125,"path":126,"stem":127},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":129,"path":130,"stem":131},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":133,"path":134,"stem":135},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":137,"path":138,"stem":139},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":141,"path":142,"stem":143},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":145,"path":146,"stem":147},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":149,"path":150,"stem":151},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":153,"path":154,"stem":155,"children":156},"Materials","/api/materials","2.api/4.materials/index",[157,158,162,166,170,174,178,182],{"title":153,"path":154,"stem":155},{"title":159,"path":160,"stem":161},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":163,"path":164,"stem":165},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":167,"path":168,"stem":169},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":171,"path":172,"stem":173},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":175,"path":176,"stem":177},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":179,"path":180,"stem":181},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":183,"path":184,"stem":185},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":187,"path":188,"stem":189,"children":190},"Shapes","/api/shapes","2.api/5.shapes/index",[191,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":187,"path":188,"stem":189},{"title":193,"path":194,"stem":195},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":197,"path":198,"stem":199},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":201,"path":202,"stem":203},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":205,"path":206,"stem":207},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":209,"path":210,"stem":211},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":213,"path":214,"stem":215},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":217,"path":218,"stem":219},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":221,"path":222,"stem":223},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":225,"path":226,"stem":227},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":229,"path":230,"stem":231},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":233,"path":234,"stem":235},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":237,"path":238,"stem":239},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":241,"path":242,"stem":243},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":245,"path":246,"stem":247},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":249,"path":250,"stem":251},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":253,"path":254,"stem":255},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":257,"path":258,"stem":259},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":261,"path":262,"stem":263},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":265,"path":266,"stem":267},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":269,"path":270,"stem":271},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":273,"path":274,"stem":275},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":277,"path":278,"stem":279},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":281,"path":282,"stem":283,"children":284},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[285,286,290,294,298,302],{"title":281,"path":282,"stem":283},{"title":287,"path":288,"stem":289},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":291,"path":292,"stem":293},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":295,"path":296,"stem":297},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":299,"path":300,"stem":301},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":303,"path":304,"stem":305},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":307,"path":308,"stem":309,"children":310},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[311,312,316,320,324,328,332,336],{"title":307,"path":308,"stem":309},{"title":313,"path":314,"stem":315},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":317,"path":318,"stem":319},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":321,"path":322,"stem":323},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":325,"path":326,"stem":327},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":329,"path":330,"stem":331},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":333,"path":334,"stem":335},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":337,"path":338,"stem":339},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":341,"path":342,"stem":343,"children":344},"Staging","/api/staging","2.api/8.staging/index",[345,346,350,354,358,362,366,370,374,378,382,386],{"title":341,"path":342,"stem":343},{"title":347,"path":348,"stem":349},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":351,"path":352,"stem":353},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":355,"path":356,"stem":357},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":359,"path":360,"stem":361},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":363,"path":364,"stem":365},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":367,"path":368,"stem":369},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":371,"path":372,"stem":373},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":375,"path":376,"stem":377},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":379,"path":380,"stem":381},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":383,"path":384,"stem":385},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":387,"path":388,"stem":389},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":391,"path":392,"stem":393,"children":394},"Objects","/api/objects","2.api/9.objects/index",[395,396,400,404,408,412,416,420,424,428],{"title":391,"path":392,"stem":393},{"title":397,"path":398,"stem":399},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":401,"path":402,"stem":403},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":405,"path":406,"stem":407},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":409,"path":410,"stem":411},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":413,"path":414,"stem":415},"HTML","/api/objects/html","2.api/9.objects/html",{"title":417,"path":418,"stem":419},"Image","/api/objects/image","2.api/9.objects/image",{"title":421,"path":422,"stem":423},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":425,"path":426,"stem":427},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":429,"path":430,"stem":431},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":433,"path":434,"stem":435,"children":436},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[437,438,442,446,450,454,458,462],{"title":433,"path":434,"stem":435},{"title":439,"path":440,"stem":441},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":443,"path":444,"stem":445},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":447,"path":448,"stem":449},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":451,"path":452,"stem":453},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":455,"path":456,"stem":457},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":459,"path":460,"stem":461},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":463,"path":464,"stem":465},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":467,"title":439,"body":468,"description":1179,"extension":1180,"links":1181,"meta":1182,"navigation":649,"path":440,"seo":1183,"stem":441,"__hash__":1184},"docs/2.api/miscellaneous/bounds.md",{"type":469,"value":470,"toc":1172},"minimark",[471,477,486,521,525,984,988,1136,1139,1155,1160,1168],[472,473,474],"scene-wrapper",{},[475,476],"miscellaneous-bounds",{},[478,479,480,481,485],"p",{},"Calculates a boundary box and centers the camera accordingly. Its ",[482,483,484],"code",{},"lookAt"," method accepts a target to look at imperatively e.g., after a click.",[487,488,489,492],"prose-note",{},[478,490,491],{},"If you are using other camera controls, be sure to make them the 'default'.",[493,494,499],"pre",{"className":495,"code":496,"language":497,"meta":498,"style":498},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003COrbitControls make-default />\n","vue","",[482,500,501],{"__ignoreMap":498},[502,503,506,510,514,518],"span",{"class":504,"line":505},"line",1,[502,507,509],{"class":508},"sMK4o","\u003C",[502,511,513],{"class":512},"swJcz","OrbitControls",[502,515,517],{"class":516},"spNyl"," make-default",[502,519,520],{"class":508}," />\n",[522,523,15],"h2",{"id":524},"usage",[493,526,537],{"className":495,"code":527,"highlights":528,"language":497,"meta":498,"style":498},"\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",[529,530,531,532,533,534,535,536],3,6,7,9,10,11,18,23,[482,538,539,567,596,624,644,651,668,682,687,702,737,743,753,758,768,779,823,834,875,924,935,945,955,965,975],{"__ignoreMap":498},[502,540,541,543,546,549,552,555,558,562,564],{"class":504,"line":505},[502,542,509],{"class":508},[502,544,545],{"class":512},"script",[502,547,548],{"class":516}," setup",[502,550,551],{"class":516}," lang",[502,553,554],{"class":508},"=",[502,556,557],{"class":508},"\"",[502,559,561],{"class":560},"sfazB","ts",[502,563,557],{"class":508},[502,565,566],{"class":508},">\n",[502,568,570,574,577,581,584,587,590,593],{"class":504,"line":569},2,[502,571,573],{"class":572},"s7zQu","import",[502,575,576],{"class":508}," {",[502,578,580],{"class":579},"sTEyZ"," TresCanvas",[502,582,583],{"class":508}," }",[502,585,586],{"class":572}," from",[502,588,589],{"class":508}," '",[502,591,592],{"class":560},"@tresjs/core",[502,594,595],{"class":508},"'\n",[502,597,600,602,604,607,610,613,615,617,619,622],{"class":598,"line":529},[504,599],"highlight",[502,601,573],{"class":572},[502,603,576],{"class":508},[502,605,606],{"class":579}," Bounds",[502,608,609],{"class":508},",",[502,611,612],{"class":579}," OrbitControls",[502,614,583],{"class":508},[502,616,586],{"class":572},[502,618,589],{"class":508},[502,620,621],{"class":560},"@tresjs/cientos",[502,623,595],{"class":508},[502,625,627,629,631,634,636,638,640,642],{"class":504,"line":626},4,[502,628,573],{"class":572},[502,630,576],{"class":508},[502,632,633],{"class":579}," shallowRef",[502,635,583],{"class":508},[502,637,586],{"class":572},[502,639,589],{"class":508},[502,641,497],{"class":560},[502,643,595],{"class":508},[502,645,647],{"class":504,"line":646},5,[502,648,650],{"emptyLinePlaceholder":649},true,"\n",[502,652,654,657,660,662,665],{"class":653,"line":530},[504,599],[502,655,656],{"class":516},"const",[502,658,659],{"class":579}," boundsRef ",[502,661,554],{"class":508},[502,663,633],{"class":664},"s2Zo4",[502,666,667],{"class":579},"()\n",[502,669,671,673,676,678,680],{"class":670,"line":531},[504,599],[502,672,656],{"class":516},[502,674,675],{"class":579}," objectRef ",[502,677,554],{"class":508},[502,679,633],{"class":664},[502,681,667],{"class":579},[502,683,685],{"class":504,"line":684},8,[502,686,650],{"emptyLinePlaceholder":649},[502,688,690,693,696,699],{"class":689,"line":532},[504,599],[502,691,692],{"class":516},"function",[502,694,695],{"class":664}," focusObject",[502,697,698],{"class":508},"()",[502,700,701],{"class":508}," {\n",[502,703,705,708,711,714,717,720,722,724,727,730,732,734],{"class":704,"line":533},[504,599],[502,706,707],{"class":579},"  boundsRef",[502,709,710],{"class":508},".",[502,712,713],{"class":579},"value",[502,715,716],{"class":508},"?.",[502,718,719],{"class":579},"instance",[502,721,710],{"class":508},[502,723,484],{"class":664},[502,725,726],{"class":512},"(",[502,728,729],{"class":579},"objectRef",[502,731,710],{"class":508},[502,733,713],{"class":579},[502,735,736],{"class":512},")\n",[502,738,740],{"class":739,"line":534},[504,599],[502,741,742],{"class":508},"}\n",[502,744,746,749,751],{"class":504,"line":745},12,[502,747,748],{"class":508},"\u003C/",[502,750,545],{"class":512},[502,752,566],{"class":508},[502,754,756],{"class":504,"line":755},13,[502,757,650],{"emptyLinePlaceholder":649},[502,759,761,763,766],{"class":504,"line":760},14,[502,762,509],{"class":508},[502,764,765],{"class":512},"template",[502,767,566],{"class":508},[502,769,771,774,777],{"class":504,"line":770},15,[502,772,773],{"class":508},"  \u003C",[502,775,776],{"class":512},"TresCanvas",[502,778,566],{"class":508},[502,780,782,785,788,791,794,796,798,801,805,808,811,813,816,819,821],{"class":504,"line":781},16,[502,783,784],{"class":508},"    \u003C",[502,786,787],{"class":512},"TresPerspectiveCamera",[502,789,790],{"class":508}," :",[502,792,793],{"class":516},"position",[502,795,554],{"class":508},[502,797,557],{"class":508},[502,799,800],{"class":508},"[",[502,802,804],{"class":803},"sbssI","0",[502,806,807],{"class":508},", ",[502,809,810],{"class":803},"2",[502,812,807],{"class":508},[502,814,815],{"class":803},"5",[502,817,818],{"class":508},"]",[502,820,557],{"class":508},[502,822,520],{"class":508},[502,824,826,828,830,832],{"class":504,"line":825},17,[502,827,784],{"class":508},[502,829,513],{"class":512},[502,831,517],{"class":516},[502,833,520],{"class":508},[502,835,837,839,841,844,846,848,851,853,856,859,861,864,866,868,871,873],{"class":836,"line":535},[504,599],[502,838,784],{"class":508},[502,840,439],{"class":512},[502,842,843],{"class":516}," ref",[502,845,554],{"class":508},[502,847,557],{"class":508},[502,849,850],{"class":560},"boundsRef",[502,852,557],{"class":508},[502,854,855],{"class":516}," clip",[502,857,858],{"class":516}," use-mounted",[502,860,790],{"class":508},[502,862,863],{"class":516},"offset",[502,865,554],{"class":508},[502,867,557],{"class":508},[502,869,870],{"class":803},"0.75",[502,872,557],{"class":508},[502,874,566],{"class":508},[502,876,878,881,884,886,888,890,892,894,897,900,902,904,906,910,913,916,918,920,922],{"class":504,"line":877},19,[502,879,880],{"class":508},"      \u003C",[502,882,883],{"class":512},"TresMesh",[502,885,843],{"class":516},[502,887,554],{"class":508},[502,889,557],{"class":508},[502,891,729],{"class":560},[502,893,557],{"class":508},[502,895,896],{"class":508}," @",[502,898,899],{"class":516},"click",[502,901,554],{"class":508},[502,903,557],{"class":508},[502,905,726],{"class":508},[502,907,909],{"class":908},"sHdIc","e",[502,911,912],{"class":508},") ",[502,914,915],{"class":516},"=>",[502,917,695],{"class":664},[502,919,698],{"class":508},[502,921,557],{"class":508},[502,923,566],{"class":508},[502,925,927,930,933],{"class":504,"line":926},20,[502,928,929],{"class":508},"        \u003C",[502,931,932],{"class":512},"TresBoxGeometry",[502,934,520],{"class":508},[502,936,938,940,943],{"class":504,"line":937},21,[502,939,929],{"class":508},[502,941,942],{"class":512},"TresMeshNormalMaterial",[502,944,520],{"class":508},[502,946,948,951,953],{"class":504,"line":947},22,[502,949,950],{"class":508},"      \u003C/",[502,952,883],{"class":512},[502,954,566],{"class":508},[502,956,958,961,963],{"class":957,"line":536},[504,599],[502,959,960],{"class":508},"    \u003C/",[502,962,439],{"class":512},[502,964,566],{"class":508},[502,966,968,971,973],{"class":504,"line":967},24,[502,969,970],{"class":508},"  \u003C/",[502,972,776],{"class":512},[502,974,566],{"class":508},[502,976,978,980,982],{"class":504,"line":977},25,[502,979,748],{"class":508},[502,981,765],{"class":512},[502,983,566],{"class":508},[522,985,987],{"id":986},"props","Props",[989,990,991,1008],"table",{},[992,993,994],"thead",{},[995,996,997,1002,1005],"tr",{},[998,999,1001],"th",{"align":1000},"left","Name",[998,1003,1004],{"align":1000},"Description",[998,1006,1007],{},"Default",[1009,1010,1011,1030,1054,1072,1092,1116],"tbody",{},[995,1012,1013,1019,1025],{},[1014,1015,1016],"td",{"align":1000},[482,1017,1018],{},"duration",[1014,1020,1021,1022,1024],{"align":1000},"Duration of the ",[482,1023,484],{}," animation in seconds",[1014,1026,1027],{},[482,1028,1029],{},"1.0",[995,1031,1032,1036,1049],{},[1014,1033,1034],{"align":1000},[482,1035,863],{},[1014,1037,1038,1039,1041,1042,1045,1046],{"align":1000},"Additional distance from the target when using ",[482,1040,484],{}," with a ",[482,1043,1044],{},"Box3"," or ",[482,1047,1048],{},"Object3D",[1014,1050,1051],{},[482,1052,1053],{},"0.2",[995,1055,1056,1061,1067],{},[1014,1057,1058],{"align":1000},[482,1059,1060],{},"useResize",[1014,1062,1063,1064,1066],{"align":1000},"Whether to re",[482,1065,484],{}," the last target when the screen is resized",[1014,1068,1069],{},[482,1070,1071],{},"false",[995,1073,1074,1079,1088],{},[1014,1075,1076],{"align":1000},[482,1077,1078],{},"useMounted",[1014,1080,1081,1082,1084,1085,1087],{"align":1000},"Whether to ",[482,1083,484],{}," the ",[482,1086,439],{}," object when the component is mounts",[1014,1089,1090],{},[482,1091,1071],{},[995,1093,1094,1099,1112],{},[1014,1095,1096],{"align":1000},[482,1097,1098],{},"clip",[1014,1100,1101,1102,1105,1106,1109,1110],{"align":1000},"Whether to adjust the camera's ",[482,1103,1104],{},"near"," and ",[482,1107,1108],{},"far"," settings when using ",[482,1111,484],{},[1014,1113,1114],{},[482,1115,1071],{},[995,1117,1118,1123,1133],{},[1014,1119,1120],{"align":1000},[482,1121,1122],{},"easing",[1014,1124,1125,1126,1129,1130],{"align":1000},"Animation's easing function. ",[482,1127,1128],{},"t"," and the returned value should be in the interval ",[482,1131,1132],{},"[0, 1]",[1014,1134,1135],{},"Cubic ease out",[522,1137,484],{"id":1138},"lookat",[478,1140,1141,1144,1145,1147,1148,807,1150,1045,1152,710],{},[482,1142,1143],{},"\u003CBounds />"," ",[482,1146,484],{}," points the camera at its first argument: an ",[482,1149,1048],{},[482,1151,1044],{},[482,1153,1154],{},"Vector3",[1156,1157,1159],"h3",{"id":1158},"method-signatures","Method Signatures",[493,1161,1166],{"className":1162,"code":1164,"language":1165},[1163],"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",[482,1167,1164],{"__ignoreMap":498},[1169,1170,1171],"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":498,"searchDepth":505,"depth":569,"links":1173},[1174,1175,1176],{"id":524,"depth":569,"text":15},{"id":986,"depth":569,"text":987},{"id":1138,"depth":569,"text":484,"children":1177},[1178],{"id":1158,"depth":529,"text":1159},"Calculate boundary box and center camera accordingly.","md",null,{},{"title":439,"description":1179},"99p1FD8mbl4hP9wZB60es2RXMg_34kRJyloKHcDBk80",[1186,1188],{"title":433,"path":434,"stem":435,"description":1187,"children":-1},"Various utility components and composables",{"title":443,"path":444,"stem":445,"description":1189,"children":-1},"Add global sound to your scene.",1774953658165]