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