[{"data":1,"prerenderedAt":987},["ShallowReactive",2],{"navigation":3,"/getting-started/upgrade-guide":466,"/getting-started/upgrade-guide-surround":982},[4,22],{"title":5,"path":6,"stem":7,"children":8},"Getting Started","/getting-started","1.getting-started/1.index",[9,10,14,18],{"title":5,"path":6,"stem":7},{"title":11,"path":12,"stem":13},"Installation Guide","/getting-started/installation","1.getting-started/2.installation",{"title":15,"path":16,"stem":17},"Usage","/getting-started/usage","1.getting-started/3.usage",{"title":19,"path":20,"stem":21},"Upgrade Guide","/getting-started/upgrade-guide","1.getting-started/4.upgrade-guide",{"title":23,"path":24,"stem":25,"children":26},"Api","/api","2.api",[27,30,80,110,152,186,280,306,340,390,432],{"title":28,"path":24,"stem":29},"All","2.api/index",{"title":31,"path":32,"stem":33,"children":34},"Abstractions","/api/abstractions","2.api/1.abstractions/index",[35,36,40,44,48,52,56,60,64,68,72,76],{"title":31,"path":32,"stem":33},{"title":37,"path":38,"stem":39},"Align","/api/abstractions/align","2.api/1.abstractions/align",{"title":41,"path":42,"stem":43},"Billboard","/api/abstractions/billboard","2.api/1.abstractions/billboard",{"title":45,"path":46,"stem":47},"Camera Shake","/api/abstractions/camera-shake","2.api/1.abstractions/camera-shake",{"title":49,"path":50,"stem":51},"Edges","/api/abstractions/edges","2.api/1.abstractions/edges",{"title":53,"path":54,"stem":55},"Fit","/api/abstractions/fit","2.api/1.abstractions/fit",{"title":57,"path":58,"stem":59},"Levioso (Float)","/api/abstractions/levioso","2.api/1.abstractions/levioso",{"title":61,"path":62,"stem":63},"Mask","/api/abstractions/mask","2.api/1.abstractions/mask",{"title":65,"path":66,"stem":67},"Outline","/api/abstractions/outline","2.api/1.abstractions/outline",{"title":69,"path":70,"stem":71},"Sampler","/api/abstractions/sampler","2.api/1.abstractions/sampler",{"title":73,"path":74,"stem":75},"ScreenSizer","/api/abstractions/screen-sizer","2.api/1.abstractions/screen-sizer",{"title":77,"path":78,"stem":79},"ScreenSpace","/api/abstractions/screen-space","2.api/1.abstractions/screen-space",{"title":81,"path":82,"stem":83,"children":84},"Controls","/api/controls","2.api/2.controls/index",[85,86,90,94,98,102,106],{"title":81,"path":82,"stem":83},{"title":87,"path":88,"stem":89},"Camera Controls","/api/controls/camera-controls","2.api/2.controls/camera-controls",{"title":91,"path":92,"stem":93},"Keyboard Controls","/api/controls/keyboard-controls","2.api/2.controls/keyboard-controls",{"title":95,"path":96,"stem":97},"Map Controls","/api/controls/map-controls","2.api/2.controls/map-controls",{"title":99,"path":100,"stem":101},"Orbit Controls","/api/controls/orbit-controls","2.api/2.controls/orbit-controls",{"title":103,"path":104,"stem":105},"PointerLock Controls","/api/controls/pointer-lock-controls","2.api/2.controls/pointer-lock-controls",{"title":107,"path":108,"stem":109},"Transform Controls","/api/controls/transform-controls","2.api/2.controls/transform-controls",{"title":111,"path":112,"stem":113,"children":114},"Loaders","/api/loaders","2.api/3.loaders/index",[115,116,120,124,128,132,136,140,144,148],{"title":111,"path":112,"stem":113},{"title":117,"path":118,"stem":119},"useGLTF","/api/loaders/use-gltf","2.api/3.loaders/1.use-gltf",{"title":121,"path":122,"stem":123},"GLTFModel","/api/loaders/gltf-model","2.api/3.loaders/2.gltf-model",{"title":125,"path":126,"stem":127},"useFBX","/api/loaders/use-fbx","2.api/3.loaders/3.use-fbx",{"title":129,"path":130,"stem":131},"FBXModel","/api/loaders/fbx-model","2.api/3.loaders/4.fbx-model",{"title":133,"path":134,"stem":135},"useTexture","/api/loaders/use-texture","2.api/3.loaders/5.use-texture",{"title":137,"path":138,"stem":139},"useTextures","/api/loaders/use-textures","2.api/3.loaders/6.use-textures",{"title":141,"path":142,"stem":143},"useSVG","/api/loaders/use-svg","2.api/3.loaders/7.use-svg",{"title":145,"path":146,"stem":147},"useProgress","/api/loaders/use-progress","2.api/3.loaders/use-progress",{"title":149,"path":150,"stem":151},"useVideoTexture","/api/loaders/use-video-texture","2.api/3.loaders/use-video-texture",{"title":153,"path":154,"stem":155,"children":156},"Materials","/api/materials","2.api/4.materials/index",[157,158,162,166,170,174,178,182],{"title":153,"path":154,"stem":155},{"title":159,"path":160,"stem":161},"Custom Shader Material","/api/materials/custom-shader-material","2.api/4.materials/custom-shader-material",{"title":163,"path":164,"stem":165},"Mesh Glass Material","/api/materials/glass-material","2.api/4.materials/glass-material",{"title":167,"path":168,"stem":169},"Holographic Material","/api/materials/holographic-material","2.api/4.materials/holographic-material",{"title":171,"path":172,"stem":173},"Mesh Discard Material","/api/materials/mesh-discard-material","2.api/4.materials/mesh-discard-material",{"title":175,"path":176,"stem":177},"Mesh Reflection Material","/api/materials/mesh-reflection-material","2.api/4.materials/mesh-reflection-material",{"title":179,"path":180,"stem":181},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":183,"path":184,"stem":185},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":187,"path":188,"stem":189,"children":190},"Shapes","/api/shapes","2.api/5.shapes/index",[191,192,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":187,"path":188,"stem":189},{"title":193,"path":194,"stem":195},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":197,"path":198,"stem":199},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":201,"path":202,"stem":203},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":205,"path":206,"stem":207},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":209,"path":210,"stem":211},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":213,"path":214,"stem":215},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":217,"path":218,"stem":219},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":221,"path":222,"stem":223},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":225,"path":226,"stem":227},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":229,"path":230,"stem":231},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":233,"path":234,"stem":235},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":237,"path":238,"stem":239},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":241,"path":242,"stem":243},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":245,"path":246,"stem":247},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":249,"path":250,"stem":251},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":253,"path":254,"stem":255},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":257,"path":258,"stem":259},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":261,"path":262,"stem":263},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":265,"path":266,"stem":267},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":269,"path":270,"stem":271},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":273,"path":274,"stem":275},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":277,"path":278,"stem":279},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":281,"path":282,"stem":283,"children":284},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[285,286,290,294,298,302],{"title":281,"path":282,"stem":283},{"title":287,"path":288,"stem":289},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":291,"path":292,"stem":293},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":295,"path":296,"stem":297},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":299,"path":300,"stem":301},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":303,"path":304,"stem":305},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":307,"path":308,"stem":309,"children":310},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[311,312,316,320,324,328,332,336],{"title":307,"path":308,"stem":309},{"title":313,"path":314,"stem":315},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":317,"path":318,"stem":319},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":321,"path":322,"stem":323},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":325,"path":326,"stem":327},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":329,"path":330,"stem":331},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":333,"path":334,"stem":335},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":337,"path":338,"stem":339},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":341,"path":342,"stem":343,"children":344},"Staging","/api/staging","2.api/8.staging/index",[345,346,350,354,358,362,366,370,374,378,382,386],{"title":341,"path":342,"stem":343},{"title":347,"path":348,"stem":349},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":351,"path":352,"stem":353},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":355,"path":356,"stem":357},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":359,"path":360,"stem":361},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":363,"path":364,"stem":365},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":367,"path":368,"stem":369},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":371,"path":372,"stem":373},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":375,"path":376,"stem":377},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":379,"path":380,"stem":381},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":383,"path":384,"stem":385},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":387,"path":388,"stem":389},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":391,"path":392,"stem":393,"children":394},"Objects","/api/objects","2.api/9.objects/index",[395,396,400,404,408,412,416,420,424,428],{"title":391,"path":392,"stem":393},{"title":397,"path":398,"stem":399},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":401,"path":402,"stem":403},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":405,"path":406,"stem":407},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":409,"path":410,"stem":411},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":413,"path":414,"stem":415},"HTML","/api/objects/html","2.api/9.objects/html",{"title":417,"path":418,"stem":419},"Image","/api/objects/image","2.api/9.objects/image",{"title":421,"path":422,"stem":423},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":425,"path":426,"stem":427},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":429,"path":430,"stem":431},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":433,"path":434,"stem":435,"children":436},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[437,438,442,446,450,454,458,462],{"title":433,"path":434,"stem":435},{"title":439,"path":440,"stem":441},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":443,"path":444,"stem":445},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":447,"path":448,"stem":449},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":451,"path":452,"stem":453},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":455,"path":456,"stem":457},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":459,"path":460,"stem":461},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":463,"path":464,"stem":465},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":467,"title":19,"body":468,"description":976,"extension":977,"links":978,"meta":979,"navigation":624,"path":20,"seo":980,"stem":21,"__hash__":981},"docs/1.getting-started/4.upgrade-guide.md",{"type":469,"value":470,"toc":967},"minimark",[471,476,487,491,496,516,809,812,822,830,834,841,859,866,870,876,908,911,939,943,956,963],[472,473,475],"h2",{"id":474},"from-v4-to-v5","From v4 to v5",[477,478,479,480,486],"p",{},"Cientos doesn't have any breaking changes from v4 to v5 but please check the ",[481,482,19],"a",{"href":483,"rel":484},"https://docs.tresjs.org/getting-started/upgrade-guide",[485],"nofollow"," of the core.",[472,488,490],{"id":489},"migration-guide-from-v3","Migration Guide from v3",[492,493,495],"h3",{"id":494},"updated-defineexport-properties","Updated defineExport properties",[477,497,498,499,503,504,507,508,511,512,515],{},"Since the beginning we exported our components' underlying ",[500,501,502],"code",{},"Three.js"," instances using the name ",[500,505,506],{},"value",". This created a very ambiguos situation with some components. When we access them using a ",[500,509,510],{},"ref"," in ",[500,513,514],{},"\u003Ctemplate>",", we ended up with something like:",[517,518,523],"pre",{"className":519,"code":520,"language":521,"meta":522,"style":522},"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","",[500,524,525,541,577,598,619,626,645,650,670,677,706,712,720,730,735,745,756,762,785,790,800],{"__ignoreMap":522},[526,527,530,534,538],"span",{"class":528,"line":529},"line",1,[526,531,533],{"class":532},"sMK4o","\u003C",[526,535,537],{"class":536},"swJcz","script",[526,539,540],{"class":532},">\n",[526,542,544,548,551,555,558,561,564,567,570,574],{"class":528,"line":543},2,[526,545,547],{"class":546},"s7zQu","  import",[526,549,550],{"class":532}," {",[526,552,554],{"class":553},"sTEyZ"," shallowRef",[526,556,557],{"class":532},",",[526,559,560],{"class":553}," watch",[526,562,563],{"class":532}," }",[526,565,566],{"class":546}," from",[526,568,569],{"class":532}," '",[526,571,573],{"class":572},"sfazB","vue",[526,575,576],{"class":532},"'\n",[526,578,580,582,584,587,589,591,593,596],{"class":528,"line":579},3,[526,581,547],{"class":546},[526,583,550],{"class":532},[526,585,586],{"class":553}," TresCanvas",[526,588,563],{"class":532},[526,590,566],{"class":546},[526,592,569],{"class":532},[526,594,595],{"class":572},"@tresjs/core",[526,597,576],{"class":532},[526,599,601,603,605,608,610,612,614,617],{"class":528,"line":600},4,[526,602,547],{"class":546},[526,604,550],{"class":532},[526,606,607],{"class":553}," Stars",[526,609,563],{"class":532},[526,611,566],{"class":546},[526,613,569],{"class":532},[526,615,616],{"class":572},"@tresjs/cientos",[526,618,576],{"class":532},[526,620,622],{"class":528,"line":621},5,[526,623,625],{"emptyLinePlaceholder":624},true,"\n",[526,627,629,633,636,639,642],{"class":528,"line":628},6,[526,630,632],{"class":631},"spNyl","  const",[526,634,635],{"class":553}," starsRef ",[526,637,638],{"class":532},"=",[526,640,554],{"class":641},"s2Zo4",[526,643,644],{"class":553},"()\n",[526,646,648],{"class":528,"line":647},7,[526,649,625],{"emptyLinePlaceholder":624},[526,651,653,656,659,661,664,667],{"class":528,"line":652},8,[526,654,655],{"class":641},"  watch",[526,657,658],{"class":553},"(starsRef",[526,660,557],{"class":532},[526,662,663],{"class":532}," ()",[526,665,666],{"class":631}," =>",[526,668,669],{"class":532}," {\n",[526,671,673],{"class":528,"line":672},9,[526,674,676],{"class":675},"sHwdD","    // to access the instance we have a nested `value.value`\n",[526,678,680,683,686,689,692,695,697,699,701,703],{"class":528,"line":679},10,[526,681,682],{"class":553},"    console",[526,684,685],{"class":532},".",[526,687,688],{"class":641},"log",[526,690,691],{"class":536},"(",[526,693,694],{"class":553},"starsRef",[526,696,685],{"class":532},[526,698,506],{"class":553},[526,700,685],{"class":532},[526,702,506],{"class":553},[526,704,705],{"class":536},")\n",[526,707,709],{"class":528,"line":708},11,[526,710,711],{"class":675},"    // Wrong in v4 ❌\n",[526,713,715,718],{"class":528,"line":714},12,[526,716,717],{"class":532},"  }",[526,719,705],{"class":553},[526,721,723,726,728],{"class":528,"line":722},13,[526,724,725],{"class":532},"\u003C/",[526,727,537],{"class":536},[526,729,540],{"class":532},[526,731,733],{"class":528,"line":732},14,[526,734,625],{"emptyLinePlaceholder":624},[526,736,738,740,743],{"class":528,"line":737},15,[526,739,533],{"class":532},[526,741,742],{"class":536},"template",[526,744,540],{"class":532},[526,746,748,751,754],{"class":528,"line":747},16,[526,749,750],{"class":532},"  \u003C",[526,752,753],{"class":536},"TresCanvas",[526,755,540],{"class":532},[526,757,759],{"class":528,"line":758},17,[526,760,761],{"class":553},"    ...\n",[526,763,765,768,770,773,775,778,780,782],{"class":528,"line":764},18,[526,766,767],{"class":532},"    \u003C",[526,769,387],{"class":536},[526,771,772],{"class":631}," ref",[526,774,638],{"class":532},[526,776,777],{"class":532},"\"",[526,779,694],{"class":572},[526,781,777],{"class":532},[526,783,784],{"class":532}," />\n",[526,786,788],{"class":528,"line":787},19,[526,789,761],{"class":553},[526,791,793,796,798],{"class":528,"line":792},20,[526,794,795],{"class":532},"  \u003C/",[526,797,753],{"class":536},[526,799,540],{"class":532},[526,801,803,805,807],{"class":528,"line":802},21,[526,804,725],{"class":532},[526,806,742],{"class":536},[526,808,540],{"class":532},[477,810,811],{},"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.",[477,813,814,815,817,818,821],{},"The new implementation remains very similar conceptually. However, instead of having two ambiguous ",[500,816,506],{}," references, we’ve standardized all components around ",[500,819,820],{},"instance",". To access the component, you should now use:",[517,823,828],{"className":824,"code":826,"language":827},[825],"language-text","// Correct in v4 ✅\nconsole.log(starsRef.value.instance)\n","text",[500,829,826],{"__ignoreMap":522},[492,831,833],{"id":832},"remove-tweakpane-from-deps","Remove TweakPane from deps",[477,835,836,837,840],{},"We removed the built-in ",[500,838,839],{},"useTweakPane"," integration because it was adding overhead and friction:",[842,843,844,853,856],"ul",{},[845,846,847,848],"li",{},"Incompatible with ",[481,849,852],{"href":850,"rel":851},"https://tweakpane.github.io/docs/",[485],"Tweakpane v4",[845,854,855],{},"Large bundle impact",[845,857,858],{},"Repetitive boilerplate and not very intuitive",[477,860,861,862],{},"If you still want to use Tweakpane with Tres, follow the cookbook recipe: ",[481,863,864],{"href":864,"rel":865},"https://docs.tresjs.org/cookbook/tweakpane.html",[485],[492,867,869],{"id":868},"move-directives-to-core","Move directives to core",[477,871,872,873,875],{},"Community adoption of directives has been solid, so they now live in the core package. Import them from ",[500,874,595],{},":",[517,877,881],{"className":878,"code":879,"language":880,"meta":522,"style":522},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","// Correct ✅\nimport { vLog } from '@tresjs/core'\n","ts",[500,882,883,888],{"__ignoreMap":522},[526,884,885],{"class":528,"line":529},[526,886,887],{"class":675},"// Correct ✅\n",[526,889,890,893,895,898,900,902,904,906],{"class":528,"line":543},[526,891,892],{"class":546},"import",[526,894,550],{"class":532},[526,896,897],{"class":553}," vLog",[526,899,563],{"class":532},[526,901,566],{"class":546},[526,903,569],{"class":532},[526,905,595],{"class":572},[526,907,576],{"class":532},[477,909,910],{},"Instead of:",[517,912,914],{"className":878,"code":913,"language":880,"meta":522,"style":522},"// Wrong ❌\nimport { vLog } from '@tresjs/cientos'\n",[500,915,916,921],{"__ignoreMap":522},[526,917,918],{"class":528,"line":529},[526,919,920],{"class":675},"// Wrong ❌\n",[526,922,923,925,927,929,931,933,935,937],{"class":528,"line":543},[526,924,892],{"class":546},[526,926,550],{"class":532},[526,928,897],{"class":553},[526,930,563],{"class":532},[526,932,566],{"class":546},[526,934,569],{"class":532},[526,936,616],{"class":572},[526,938,576],{"class":532},[492,940,942],{"id":941},"changes-in-keyboardcontrols","Changes in KeyboardControls",[477,944,945,948,949,952,953,955],{},[500,946,947],{},"KeyboardControls"," was redesigned to provide floating controls similar to Unreal Engine, which better matches the component’s intent. We also bundled ",[500,950,951],{},"PointerLockControls"," inside ",[500,954,947],{},", so you don’t need to wire it manually anymore.",[477,957,958,959],{},"Learn more: ",[481,960,961],{"href":961,"rel":962},"https://cientos.tresjs.org/guide/controls/keyboard-controls",[485],[964,965,966],"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":522,"searchDepth":529,"depth":543,"links":968},[969,970],{"id":474,"depth":543,"text":475},{"id":489,"depth":543,"text":490,"children":971},[972,973,974,975],{"id":494,"depth":579,"text":495},{"id":832,"depth":579,"text":833},{"id":868,"depth":579,"text":869},{"id":941,"depth":579,"text":942},"Migration guide for cientos","md",null,{},{"title":19,"description":976},"CYnzKSCpKuHPLsmj2sD4Syx14G8yxQk_LxMNA30VzsU",[983,985],{"title":15,"path":16,"stem":17,"description":984,"children":-1},"Learn how to get use cientos here",{"title":28,"path":24,"stem":29,"description":986,"children":-1},"Explore the complete API reference",1771328669428]