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