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