[{"data":1,"prerenderedAt":1002},["ShallowReactive",2],{"navigation":3,"/getting-started/upgrade-guide":478,"/getting-started/upgrade-guide-surround":997},[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":19,"body":480,"description":991,"extension":992,"links":993,"meta":994,"navigation":639,"path":20,"seo":995,"stem":21,"__hash__":996},"docs/1.getting-started/4.upgrade-guide.md",{"type":481,"value":482,"toc":982},"minimark",[483,488,499,503,506,511,531,824,827,837,845,849,856,874,881,885,891,923,926,954,958,971,978],[484,485,487],"h2",{"id":486},"from-v4-to-v5","From v4 to v5",[489,490,491,492,498],"p",{},"Cientos doesn't have any breaking changes from v4 to v5 but please check the ",[493,494,19],"a",{"href":495,"rel":496},"https://docs.tresjs.org/getting-started/upgrade-guide",[497],"nofollow"," of the core.",[484,500,502],{"id":501},"migration-guide-from-v3","Migration Guide from v3",[489,504,505],{},"The following are the breaking changes introduced in v4. We recommend reading through all of them to ensure a smooth transition.",[507,508,510],"h3",{"id":509},"updated-defineexport-properties","Updated defineExport properties",[489,512,513,514,518,519,522,523,526,527,530],{},"Since the beginning we exported our components' underlying ",[515,516,517],"code",{},"Three.js"," instances using the name ",[515,520,521],{},"value",". This created a very ambiguous situation with some components. When we access them using a ",[515,524,525],{},"ref"," in the ",[515,528,529],{},"\u003Ctemplate>",", we ended up with something like:",[532,533,538],"pre",{"className":534,"code":535,"language":536,"meta":537,"style":537},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript>\n  import { shallowRef, watch } from 'vue'\n  import { TresCanvas } from '@tresjs/core'\n  import { Stars } from '@tresjs/cientos'\n\n  const starsRef = shallowRef()\n\n  watch(starsRef, () => {\n    // to access the instance we have a nested `value.value`\n    console.log(starsRef.value.value)\n    // Wrong in v4 ❌\n  })\n\u003C/script>\n\n\u003Ctemplate>\n  \u003CTresCanvas>\n    ...\n    \u003CStars ref=\"starsRef\" />\n    ...\n  \u003C/TresCanvas>\n\u003C/template>\n","html","",[515,539,540,556,592,613,634,641,660,665,685,692,721,727,735,745,750,760,771,777,800,805,815],{"__ignoreMap":537},[541,542,545,549,553],"span",{"class":543,"line":544},"line",1,[541,546,548],{"class":547},"sMK4o","\u003C",[541,550,552],{"class":551},"swJcz","script",[541,554,555],{"class":547},">\n",[541,557,559,563,566,570,573,576,579,582,585,589],{"class":543,"line":558},2,[541,560,562],{"class":561},"s7zQu","  import",[541,564,565],{"class":547}," {",[541,567,569],{"class":568},"sTEyZ"," shallowRef",[541,571,572],{"class":547},",",[541,574,575],{"class":568}," watch",[541,577,578],{"class":547}," }",[541,580,581],{"class":561}," from",[541,583,584],{"class":547}," '",[541,586,588],{"class":587},"sfazB","vue",[541,590,591],{"class":547},"'\n",[541,593,595,597,599,602,604,606,608,611],{"class":543,"line":594},3,[541,596,562],{"class":561},[541,598,565],{"class":547},[541,600,601],{"class":568}," TresCanvas",[541,603,578],{"class":547},[541,605,581],{"class":561},[541,607,584],{"class":547},[541,609,610],{"class":587},"@tresjs/core",[541,612,591],{"class":547},[541,614,616,618,620,623,625,627,629,632],{"class":543,"line":615},4,[541,617,562],{"class":561},[541,619,565],{"class":547},[541,621,622],{"class":568}," Stars",[541,624,578],{"class":547},[541,626,581],{"class":561},[541,628,584],{"class":547},[541,630,631],{"class":587},"@tresjs/cientos",[541,633,591],{"class":547},[541,635,637],{"class":543,"line":636},5,[541,638,640],{"emptyLinePlaceholder":639},true,"\n",[541,642,644,648,651,654,657],{"class":543,"line":643},6,[541,645,647],{"class":646},"spNyl","  const",[541,649,650],{"class":568}," starsRef ",[541,652,653],{"class":547},"=",[541,655,569],{"class":656},"s2Zo4",[541,658,659],{"class":568},"()\n",[541,661,663],{"class":543,"line":662},7,[541,664,640],{"emptyLinePlaceholder":639},[541,666,668,671,674,676,679,682],{"class":543,"line":667},8,[541,669,670],{"class":656},"  watch",[541,672,673],{"class":568},"(starsRef",[541,675,572],{"class":547},[541,677,678],{"class":547}," ()",[541,680,681],{"class":646}," =>",[541,683,684],{"class":547}," {\n",[541,686,688],{"class":543,"line":687},9,[541,689,691],{"class":690},"sHwdD","    // to access the instance we have a nested `value.value`\n",[541,693,695,698,701,704,707,710,712,714,716,718],{"class":543,"line":694},10,[541,696,697],{"class":568},"    console",[541,699,700],{"class":547},".",[541,702,703],{"class":656},"log",[541,705,706],{"class":551},"(",[541,708,709],{"class":568},"starsRef",[541,711,700],{"class":547},[541,713,521],{"class":568},[541,715,700],{"class":547},[541,717,521],{"class":568},[541,719,720],{"class":551},")\n",[541,722,724],{"class":543,"line":723},11,[541,725,726],{"class":690},"    // Wrong in v4 ❌\n",[541,728,730,733],{"class":543,"line":729},12,[541,731,732],{"class":547},"  }",[541,734,720],{"class":568},[541,736,738,741,743],{"class":543,"line":737},13,[541,739,740],{"class":547},"\u003C/",[541,742,552],{"class":551},[541,744,555],{"class":547},[541,746,748],{"class":543,"line":747},14,[541,749,640],{"emptyLinePlaceholder":639},[541,751,753,755,758],{"class":543,"line":752},15,[541,754,548],{"class":547},[541,756,757],{"class":551},"template",[541,759,555],{"class":547},[541,761,763,766,769],{"class":543,"line":762},16,[541,764,765],{"class":547},"  \u003C",[541,767,768],{"class":551},"TresCanvas",[541,770,555],{"class":547},[541,772,774],{"class":543,"line":773},17,[541,775,776],{"class":568},"    ...\n",[541,778,780,783,785,788,790,793,795,797],{"class":543,"line":779},18,[541,781,782],{"class":547},"    \u003C",[541,784,395],{"class":551},[541,786,787],{"class":646}," ref",[541,789,653],{"class":547},[541,791,792],{"class":547},"\"",[541,794,709],{"class":587},[541,796,792],{"class":547},[541,798,799],{"class":547}," />\n",[541,801,803],{"class":543,"line":802},19,[541,804,776],{"class":568},[541,806,808,811,813],{"class":543,"line":807},20,[541,809,810],{"class":547},"  \u003C/",[541,812,768],{"class":551},[541,814,555],{"class":547},[541,816,818,820,822],{"class":543,"line":817},21,[541,819,740],{"class":547},[541,821,757],{"class":551},[541,823,555],{"class":547},[489,825,826],{},"This behavior caused confusion and resulted in a poor developer experience. To address it properly, we needed to introduce a breaking change, and we felt this was the right moment to do so.",[489,828,829,830,832,833,836],{},"The new implementation remains very similar conceptually. However, instead of having two ambiguous ",[515,831,521],{}," references, we have standardized all components around ",[515,834,835],{},"instance",". To access the component, you should now use:",[532,838,843],{"className":839,"code":841,"language":842},[840],"language-text","// Correct in v4 ✅\nconsole.log(starsRef.value.instance)\n","text",[515,844,841],{"__ignoreMap":537},[507,846,848],{"id":847},"remove-tweakpane-from-deps","Remove TweakPane from deps",[489,850,851,852,855],{},"We removed the built-in ",[515,853,854],{},"useTweakPane"," integration because it was adding overhead and friction:",[857,858,859,868,871],"ul",{},[860,861,862,863],"li",{},"Incompatible with ",[493,864,867],{"href":865,"rel":866},"https://tweakpane.github.io/docs/",[497],"Tweakpane v4",[860,869,870],{},"Large bundle impact",[860,872,873],{},"Repetitive boilerplate and not very intuitive",[489,875,876,877],{},"If you still want to use Tweakpane with Tres, you can follow the cookbook recipe: ",[493,878,879],{"href":879,"rel":880},"https://docs.tresjs.org/cookbook/tweakpane",[497],[507,882,884],{"id":883},"move-directives-to-core","Move directives to core",[489,886,887,888,890],{},"Community adoption of directives has been solid, so they now live in the core package. Import them from ",[515,889,610],{},":",[532,892,896],{"className":893,"code":894,"language":895,"meta":537,"style":537},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","// Correct ✅\nimport { vLog } from '@tresjs/core'\n","ts",[515,897,898,903],{"__ignoreMap":537},[541,899,900],{"class":543,"line":544},[541,901,902],{"class":690},"// Correct ✅\n",[541,904,905,908,910,913,915,917,919,921],{"class":543,"line":558},[541,906,907],{"class":561},"import",[541,909,565],{"class":547},[541,911,912],{"class":568}," vLog",[541,914,578],{"class":547},[541,916,581],{"class":561},[541,918,584],{"class":547},[541,920,610],{"class":587},[541,922,591],{"class":547},[489,924,925],{},"Instead of:",[532,927,929],{"className":893,"code":928,"language":895,"meta":537,"style":537},"// Wrong ❌\nimport { vLog } from '@tresjs/cientos'\n",[515,930,931,936],{"__ignoreMap":537},[541,932,933],{"class":543,"line":544},[541,934,935],{"class":690},"// Wrong ❌\n",[541,937,938,940,942,944,946,948,950,952],{"class":543,"line":558},[541,939,907],{"class":561},[541,941,565],{"class":547},[541,943,912],{"class":568},[541,945,578],{"class":547},[541,947,581],{"class":561},[541,949,584],{"class":547},[541,951,631],{"class":587},[541,953,591],{"class":547},[507,955,957],{"id":956},"changes-in-keyboardcontrols","Changes in KeyboardControls",[489,959,960,963,964,967,968,970],{},[515,961,962],{},"KeyboardControls"," was redesigned to provide floating controls similar to the Unreal Engine, which better matches the component’s intent. We also bundled ",[515,965,966],{},"PointerLockControls"," inside ",[515,969,962],{},", so you don’t need to wire it manually anymore.",[489,972,973],{},[493,974,977],{"href":975,"rel":976},"https://cientos.tresjs.org/api/controls/keyboard-controls",[497],"Learn more",[979,980,981],"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 .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 .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}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);}",{"title":537,"searchDepth":544,"depth":558,"links":983},[984,985],{"id":486,"depth":558,"text":487},{"id":501,"depth":558,"text":502,"children":986},[987,988,989,990],{"id":509,"depth":594,"text":510},{"id":847,"depth":594,"text":848},{"id":883,"depth":594,"text":884},{"id":956,"depth":594,"text":957},"Migration guide for cientos","md",null,{},{"title":19,"description":991},"6l6sYgzdCCizbNtigMQB4YSW1Iz3GdVij5BiRm5M1HY",[998,1000],{"title":15,"path":16,"stem":17,"description":999,"children":-1},"Learn how you can start to use cientos in your projects",{"title":28,"path":24,"stem":29,"description":1001,"children":-1},"Explore the complete API reference",1782052429070]