[{"data":1,"prerenderedAt":1340},["ShallowReactive",2],{"navigation":3,"/api/controls/transform-controls":474,"/api/controls/transform-controls-surround":1335},[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,190,284,310,344,394,440],{"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],{"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},"Point Material","/api/materials/point-material","2.api/4.materials/point-material",{"title":187,"path":188,"stem":189},"Wobble Material","/api/materials/wobble-material","2.api/4.materials/wobble-material",{"title":191,"path":192,"stem":193,"children":194},"Shapes","/api/shapes","2.api/5.shapes/index",[195,196,200,204,208,212,216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276,280],{"title":191,"path":192,"stem":193},{"title":197,"path":198,"stem":199},"Box","/api/shapes/box","2.api/5.shapes/box",{"title":201,"path":202,"stem":203},"CatmullRomCurve3","/api/shapes/catmullromcurve3","2.api/5.shapes/catmullromcurve3",{"title":205,"path":206,"stem":207},"Circle","/api/shapes/circle","2.api/5.shapes/circle",{"title":209,"path":210,"stem":211},"Cone","/api/shapes/cone","2.api/5.shapes/cone",{"title":213,"path":214,"stem":215},"Cubic Bezier Line","/api/shapes/cubic-bezier-line","2.api/5.shapes/cubic-bezier-line",{"title":217,"path":218,"stem":219},"Cylinder","/api/shapes/cylinder","2.api/5.shapes/cylinder",{"title":221,"path":222,"stem":223},"Dodecahedron","/api/shapes/dodecahedron","2.api/5.shapes/dodecahedron",{"title":225,"path":226,"stem":227},"Grid","/api/shapes/grid","2.api/5.shapes/grid",{"title":229,"path":230,"stem":231},"Icosahedron","/api/shapes/icosahedron","2.api/5.shapes/icosahedron",{"title":233,"path":234,"stem":235},"Line2","/api/shapes/line2","2.api/5.shapes/line2",{"title":237,"path":238,"stem":239},"Octahedron","/api/shapes/octahedron","2.api/5.shapes/octahedron",{"title":241,"path":242,"stem":243},"Plane","/api/shapes/plane","2.api/5.shapes/plane",{"title":245,"path":246,"stem":247},"Quadratic Bezier Line","/api/shapes/quadratic-bezier-line","2.api/5.shapes/quadratic-bezier-line",{"title":249,"path":250,"stem":251},"Ring","/api/shapes/ring","2.api/5.shapes/ring",{"title":253,"path":254,"stem":255},"Rounded Box","/api/shapes/rounded-box","2.api/5.shapes/rounded-box",{"title":257,"path":258,"stem":259},"Screen Quad","/api/shapes/screen-quad","2.api/5.shapes/screen-quad",{"title":261,"path":262,"stem":263},"Sphere","/api/shapes/sphere","2.api/5.shapes/sphere",{"title":265,"path":266,"stem":267},"Superformula","/api/shapes/superformula","2.api/5.shapes/superformula",{"title":269,"path":270,"stem":271},"Tetrahedron","/api/shapes/tetrahedron","2.api/5.shapes/tetrahedron",{"title":273,"path":274,"stem":275},"Torus","/api/shapes/torus","2.api/5.shapes/torus",{"title":277,"path":278,"stem":279},"Torus Knot","/api/shapes/torus-knot","2.api/5.shapes/torus-knot",{"title":281,"path":282,"stem":283},"Tube","/api/shapes/tube","2.api/5.shapes/tube",{"title":285,"path":286,"stem":287,"children":288},"Debug/Performance","/api/debug-performance","2.api/6.debug-performance/index",[289,290,294,298,302,306],{"title":285,"path":286,"stem":287},{"title":291,"path":292,"stem":293},"Helper","/api/debug-performance/helper","2.api/6.debug-performance/helper",{"title":295,"path":296,"stem":297},"LOD","/api/debug-performance/lod","2.api/6.debug-performance/lod",{"title":299,"path":300,"stem":301},"Stats","/api/debug-performance/stats","2.api/6.debug-performance/stats",{"title":303,"path":304,"stem":305},"StatsGl","/api/debug-performance/stats-gl","2.api/6.debug-performance/stats-gl",{"title":307,"path":308,"stem":309},"useBVH","/api/debug-performance/use-bvh","2.api/6.debug-performance/use-bvh",{"title":311,"path":312,"stem":313,"children":314},"Light/Shadow","/api/light-shadow","2.api/7.light-shadow/index",[315,316,320,324,328,332,336,340],{"title":311,"path":312,"stem":313},{"title":317,"path":318,"stem":319},"Accumulative Shadows","/api/light-shadow/accumulative-shadows","2.api/7.light-shadow/accumulative-shadows",{"title":321,"path":322,"stem":323},"Bake Shadows","/api/light-shadow/bake-shadows","2.api/7.light-shadow/bake-shadows",{"title":325,"path":326,"stem":327},"Circle Shadow","/api/light-shadow/circle-shadow","2.api/7.light-shadow/circle-shadow",{"title":329,"path":330,"stem":331},"Contact Shadows","/api/light-shadow/contact-shadows","2.api/7.light-shadow/contact-shadows",{"title":333,"path":334,"stem":335},"Lensflare","/api/light-shadow/lensflare","2.api/7.light-shadow/lensflare",{"title":337,"path":338,"stem":339},"Randomized Lights","/api/light-shadow/randomized-lights","2.api/7.light-shadow/randomized-lights",{"title":341,"path":342,"stem":343},"Soft Shadows","/api/light-shadow/soft-shadows","2.api/7.light-shadow/soft-shadows",{"title":345,"path":346,"stem":347,"children":348},"Staging","/api/staging","2.api/8.staging/index",[349,350,354,358,362,366,370,374,378,382,386,390],{"title":345,"path":346,"stem":347},{"title":351,"path":352,"stem":353},"Environment","/api/staging/environment","2.api/8.staging/1.environment",{"title":355,"path":356,"stem":357},"useEnvironment","/api/staging/use-environment","2.api/8.staging/2.use-environment",{"title":359,"path":360,"stem":361},"Lightformer","/api/staging/lightformer","2.api/8.staging/3.lightformer",{"title":363,"path":364,"stem":365},"Backdrop","/api/staging/backdrop","2.api/8.staging/backdrop",{"title":367,"path":368,"stem":369},"Ocean","/api/staging/ocean","2.api/8.staging/ocean",{"title":371,"path":372,"stem":373},"Precipitation","/api/staging/precipitation","2.api/8.staging/precipitation",{"title":375,"path":376,"stem":377},"Sky","/api/staging/sky","2.api/8.staging/sky",{"title":379,"path":380,"stem":381},"Smoke","/api/staging/smoke","2.api/8.staging/smoke",{"title":383,"path":384,"stem":385},"Sparkles","/api/staging/sparkles","2.api/8.staging/sparkles",{"title":387,"path":388,"stem":389},"Stage","/api/staging/stage","2.api/8.staging/stage",{"title":391,"path":392,"stem":393},"Stars","/api/staging/stars","2.api/8.staging/stars",{"title":395,"path":396,"stem":397,"children":398},"Objects","/api/objects","2.api/9.objects/index",[399,400,404,408,412,416,420,424,428,432,436],{"title":395,"path":396,"stem":397},{"title":401,"path":402,"stem":403},"AnimatedSprite","/api/objects/animated-sprite","2.api/9.objects/animated-sprite",{"title":405,"path":406,"stem":407},"CubeCamera","/api/objects/cube-camera","2.api/9.objects/cube-camera",{"title":409,"path":410,"stem":411},"Fbo","/api/objects/fbo","2.api/9.objects/fbo",{"title":413,"path":414,"stem":415},"GradientTexture","/api/objects/gradient-texture","2.api/9.objects/gradient-texture",{"title":417,"path":418,"stem":419},"HTML","/api/objects/html","2.api/9.objects/html",{"title":421,"path":422,"stem":423},"Image","/api/objects/image","2.api/9.objects/image",{"title":425,"path":426,"stem":427},"MarchingCubes","/api/objects/marching-cubes","2.api/9.objects/marching-cubes",{"title":429,"path":430,"stem":431},"Reflector","/api/objects/reflector","2.api/9.objects/reflector",{"title":433,"path":434,"stem":435},"Refractor","/api/objects/refractor","2.api/9.objects/refractor",{"title":437,"path":438,"stem":439},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":441,"path":442,"stem":443,"children":444},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[445,446,450,454,458,462,466,470],{"title":441,"path":442,"stem":443},{"title":447,"path":448,"stem":449},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":451,"path":452,"stem":453},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":455,"path":456,"stem":457},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":459,"path":460,"stem":461},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":463,"path":464,"stem":465},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":467,"path":468,"stem":469},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":471,"path":472,"stem":473},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":475,"title":111,"body":476,"description":1329,"extension":1330,"links":1331,"meta":1332,"navigation":1314,"path":112,"seo":1333,"stem":113,"__hash__":1334},"docs/2.api/2.controls/transform-controls.md",{"type":477,"value":478,"toc":1319},"minimark",[479,490,496,500,512,822,847,851,854,859,865,868,905,909,914,917,952,956,961,964,999,1003,1244,1248,1311,1316],[480,481,482,483,489],"p",{},"The ",[484,485,111],"a",{"href":486,"rel":487},"https://threejs.org/docs/#examples/en/controls/TransformControls",[488],"nofollow"," are a set of three gizmos that can be used to translate, rotate and scale objects in the scene. It adapts a similar interaction model of DCC tools like Blender",[491,492,493],"scene-controls-wrapper",{},[494,495],"controls-transform-controls",{},[497,498,15],"h2",{"id":499},"usage",[480,501,502,503,507,508,511],{},"To use the Transform Controls, simply add the ",[504,505,506],"code",{},"TransformControls"," component to your scene. You can pass the ",[504,509,510],{},"templateRef","of the instance you want to control as a prop.",[513,514,522],"pre",{"className":515,"code":516,"highlights":517,"language":520,"meta":521,"style":521},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Cscript setup>\nconst boxRef = shallowRef()\n\u003C/script>\n\u003Ctemplate>\n  \u003CTresCanvas>\n    \u003CTresPerspectiveCamera :args=\"[45, 1, 0.1, 1000]\" />\n    \u003COrbitControls make-default />\n    \u003CTransformControls :object=\"boxRef\" />\n    \u003CTresMesh ref=\"boxRef\" :position=\"[0, 4, 0]\" cast-shadow>\n      \u003CTresBoxGeometry :args=\"[1.5, 1.5, 1.5]\" />\n      \u003CTresMeshToonMaterial color=\"#4F4F4F\" />\n    \u003C/TresMesh>\n  \u003C/TresCanvas>\n\u003C/template>\n",[518,519],7,8,"vue","",[504,523,524,544,564,574,584,595,646,660,683,735,771,793,803,813],{"__ignoreMap":521},[525,526,529,533,537,541],"span",{"class":527,"line":528},"line",1,[525,530,532],{"class":531},"sMK4o","\u003C",[525,534,536],{"class":535},"swJcz","script",[525,538,540],{"class":539},"spNyl"," setup",[525,542,543],{"class":531},">\n",[525,545,547,550,554,557,561],{"class":527,"line":546},2,[525,548,549],{"class":539},"const",[525,551,553],{"class":552},"sTEyZ"," boxRef ",[525,555,556],{"class":531},"=",[525,558,560],{"class":559},"s2Zo4"," shallowRef",[525,562,563],{"class":552},"()\n",[525,565,567,570,572],{"class":527,"line":566},3,[525,568,569],{"class":531},"\u003C/",[525,571,536],{"class":535},[525,573,543],{"class":531},[525,575,577,579,582],{"class":527,"line":576},4,[525,578,532],{"class":531},[525,580,581],{"class":535},"template",[525,583,543],{"class":531},[525,585,587,590,593],{"class":527,"line":586},5,[525,588,589],{"class":531},"  \u003C",[525,591,592],{"class":535},"TresCanvas",[525,594,543],{"class":531},[525,596,598,601,604,607,610,612,615,618,622,625,628,630,633,635,638,641,643],{"class":527,"line":597},6,[525,599,600],{"class":531},"    \u003C",[525,602,603],{"class":535},"TresPerspectiveCamera",[525,605,606],{"class":531}," :",[525,608,609],{"class":539},"args",[525,611,556],{"class":531},[525,613,614],{"class":531},"\"",[525,616,617],{"class":531},"[",[525,619,621],{"class":620},"sbssI","45",[525,623,624],{"class":531},", ",[525,626,627],{"class":620},"1",[525,629,624],{"class":531},[525,631,632],{"class":620},"0.1",[525,634,624],{"class":531},[525,636,637],{"class":620},"1000",[525,639,640],{"class":531},"]",[525,642,614],{"class":531},[525,644,645],{"class":531}," />\n",[525,647,650,652,655,658],{"class":648,"line":518},[527,649],"highlight",[525,651,600],{"class":531},[525,653,654],{"class":535},"OrbitControls",[525,656,657],{"class":539}," make-default",[525,659,645],{"class":531},[525,661,663,665,667,669,672,674,676,679,681],{"class":662,"line":519},[527,649],[525,664,600],{"class":531},[525,666,506],{"class":535},[525,668,606],{"class":531},[525,670,671],{"class":539},"object",[525,673,556],{"class":531},[525,675,614],{"class":531},[525,677,678],{"class":552},"boxRef",[525,680,614],{"class":531},[525,682,645],{"class":531},[525,684,686,688,691,694,696,698,701,703,705,708,710,712,714,717,719,722,724,726,728,730,733],{"class":527,"line":685},9,[525,687,600],{"class":531},[525,689,690],{"class":535},"TresMesh",[525,692,693],{"class":539}," ref",[525,695,556],{"class":531},[525,697,614],{"class":531},[525,699,678],{"class":700},"sfazB",[525,702,614],{"class":531},[525,704,606],{"class":531},[525,706,707],{"class":539},"position",[525,709,556],{"class":531},[525,711,614],{"class":531},[525,713,617],{"class":531},[525,715,716],{"class":620},"0",[525,718,624],{"class":531},[525,720,721],{"class":620},"4",[525,723,624],{"class":531},[525,725,716],{"class":620},[525,727,640],{"class":531},[525,729,614],{"class":531},[525,731,732],{"class":539}," cast-shadow",[525,734,543],{"class":531},[525,736,738,741,744,746,748,750,752,754,757,759,761,763,765,767,769],{"class":527,"line":737},10,[525,739,740],{"class":531},"      \u003C",[525,742,743],{"class":535},"TresBoxGeometry",[525,745,606],{"class":531},[525,747,609],{"class":539},[525,749,556],{"class":531},[525,751,614],{"class":531},[525,753,617],{"class":531},[525,755,756],{"class":620},"1.5",[525,758,624],{"class":531},[525,760,756],{"class":620},[525,762,624],{"class":531},[525,764,756],{"class":620},[525,766,640],{"class":531},[525,768,614],{"class":531},[525,770,645],{"class":531},[525,772,774,776,779,782,784,786,789,791],{"class":527,"line":773},11,[525,775,740],{"class":531},[525,777,778],{"class":535},"TresMeshToonMaterial",[525,780,781],{"class":539}," color",[525,783,556],{"class":531},[525,785,614],{"class":531},[525,787,788],{"class":700},"#4F4F4F",[525,790,614],{"class":531},[525,792,645],{"class":531},[525,794,796,799,801],{"class":527,"line":795},12,[525,797,798],{"class":531},"    \u003C/",[525,800,690],{"class":535},[525,802,543],{"class":531},[525,804,806,809,811],{"class":527,"line":805},13,[525,807,808],{"class":531},"  \u003C/",[525,810,592],{"class":535},[525,812,543],{"class":531},[525,814,816,818,820],{"class":527,"line":815},14,[525,817,569],{"class":531},[525,819,581],{"class":535},[525,821,543],{"class":531},[823,824,825],"prose-warning",{},[480,826,827,828,834,835,838,839,842,843,846],{},"If you are using other controls ",[525,829,831],{"style":830},"background-color:#222;padding:0.25rem;border-radius:4px;",[484,832,654],{"href":104,"style":833},"color:#f7f7f7;text-decoration:none"," they will interfere with each other when dragging. To avoid this, you can set the ",[504,836,837],{},"makeDefault"," prop to ",[504,840,841],{},"true"," on the ",[844,845,654],"strong",{},".",[497,848,850],{"id":849},"modes","Modes",[480,852,853],{},"The Transform Controls can be used in three different modes:",[855,856,858],"h3",{"id":857},"translate","Translate",[480,860,861],{},[862,863],"img",{"alt":858,"src":864},"/cientos/transform-controls-translate.png",[480,866,867],{},"The default mode allows you to move the object around the scene.",[513,869,871],{"className":515,"code":870,"language":520,"meta":521,"style":521},"\u003CTransformControls mode=\"translate\" :object=\"sphereRef\" />\n",[504,872,873],{"__ignoreMap":521},[525,874,875,877,879,882,884,886,888,890,892,894,896,898,901,903],{"class":527,"line":528},[525,876,532],{"class":531},[525,878,506],{"class":535},[525,880,881],{"class":539}," mode",[525,883,556],{"class":531},[525,885,614],{"class":531},[525,887,857],{"class":700},[525,889,614],{"class":531},[525,891,606],{"class":531},[525,893,671],{"class":539},[525,895,556],{"class":531},[525,897,614],{"class":531},[525,899,900],{"class":552},"sphereRef",[525,902,614],{"class":531},[525,904,645],{"class":531},[855,906,908],{"id":907},"rotate","Rotate",[480,910,911],{},[862,912],{"alt":908,"src":913},"/cientos/transform-controls-rotate.png",[480,915,916],{},"The rotate mode allows you to rotate the object around the scene.",[513,918,920],{"className":515,"code":919,"language":520,"meta":521,"style":521},"\u003CTransformControls mode=\"rotate\" :object=\"boxRef\" />\n",[504,921,922],{"__ignoreMap":521},[525,923,924,926,928,930,932,934,936,938,940,942,944,946,948,950],{"class":527,"line":528},[525,925,532],{"class":531},[525,927,506],{"class":535},[525,929,881],{"class":539},[525,931,556],{"class":531},[525,933,614],{"class":531},[525,935,907],{"class":700},[525,937,614],{"class":531},[525,939,606],{"class":531},[525,941,671],{"class":539},[525,943,556],{"class":531},[525,945,614],{"class":531},[525,947,678],{"class":552},[525,949,614],{"class":531},[525,951,645],{"class":531},[855,953,955],{"id":954},"scale","Scale",[480,957,958],{},[862,959],{"alt":955,"src":960},"/cientos/transform-controls-scale.png",[480,962,963],{},"The scale mode allows you to scale the object around the scene.",[513,965,967],{"className":515,"code":966,"language":520,"meta":521,"style":521},"\u003CTransformControls mode=\"scale\" :object=\"sphereRef\" />\n",[504,968,969],{"__ignoreMap":521},[525,970,971,973,975,977,979,981,983,985,987,989,991,993,995,997],{"class":527,"line":528},[525,972,532],{"class":531},[525,974,506],{"class":535},[525,976,881],{"class":539},[525,978,556],{"class":531},[525,980,614],{"class":531},[525,982,954],{"class":700},[525,984,614],{"class":531},[525,986,606],{"class":531},[525,988,671],{"class":539},[525,990,556],{"class":531},[525,992,614],{"class":531},[525,994,900],{"class":552},[525,996,614],{"class":531},[525,998,645],{"class":531},[497,1000,1002],{"id":1001},"props","Props",[1004,1005,1006,1023],"table",{},[1007,1008,1009],"thead",{},[1010,1011,1012,1017,1020],"tr",{},[1013,1014,1016],"th",{"align":1015},"left","Prop",[1013,1018,1019],{"align":1015},"Description",[1013,1021,1022],{},"Default",[1024,1025,1026,1047,1068,1085,1120,1140,1154,1168,1182,1196,1212,1228],"tbody",{},[1010,1027,1028,1033,1042],{},[1029,1030,1031],"td",{"align":1015},[844,1032,671],{},[1029,1034,1035,1036,1041],{"align":1015},"The instance ",[484,1037,1040],{"href":1038,"rel":1039},"https://threejs.org/docs/index.html#api/en/core/Object3D",[488],"Object3D"," to control.",[1029,1043,1044],{},[504,1045,1046],{},"null",[1010,1048,1049,1054,1064],{},[1029,1050,1051],{"align":1015},[844,1052,1053],{},"mode",[1029,1055,1056,1057,624,1059,1061,1062,846],{"align":1015},"The mode of the controls. Can be ",[504,1058,857],{},[504,1060,907],{}," or ",[504,1063,954],{},[1029,1065,1066],{},[504,1067,857],{},[1010,1069,1070,1075,1081],{},[1029,1071,1072],{"align":1015},[844,1073,1074],{},"enabled",[1029,1076,1077,1078,1080],{"align":1015},"If ",[504,1079,841],{},", the controls will be enabled.",[1029,1082,1083],{},[504,1084,841],{},[1010,1086,1087,1092,1116],{},[1029,1088,1089],{"align":1015},[844,1090,1091],{},"axis",[1029,1093,1094,1095,624,1098,624,1101,624,1104,624,1107,624,1110,624,1113,846],{"align":1015},"The axis to use for the controls. Can be ",[504,1096,1097],{},"X",[504,1099,1100],{},"Y",[504,1102,1103],{},"Z",[504,1105,1106],{},"XY",[504,1108,1109],{},"YZ",[504,1111,1112],{},"XZ",[504,1114,1115],{},"XYZ",[1029,1117,1118],{},[504,1119,1115],{},[1010,1121,1122,1127,1136],{},[1029,1123,1124],{"align":1015},[844,1125,1126],{},"space",[1029,1128,1129,1130,1061,1133,846],{"align":1015},"The space to use for the controls. Can be ",[504,1131,1132],{},"local",[504,1134,1135],{},"world",[1029,1137,1138],{},[504,1139,1132],{},[1010,1141,1142,1147,1150],{},[1029,1143,1144],{"align":1015},[844,1145,1146],{},"size",[1029,1148,1149],{"align":1015},"The size of the controls.",[1029,1151,1152],{},[504,1153,627],{},[1010,1155,1156,1161,1164],{},[1029,1157,1158],{"align":1015},[844,1159,1160],{},"translationSnap",[1029,1162,1163],{"align":1015},"The distance to snap to when translating. (World units)",[1029,1165,1166],{},[504,1167,1046],{},[1010,1169,1170,1175,1178],{},[1029,1171,1172],{"align":1015},[844,1173,1174],{},"rotationSnap",[1029,1176,1177],{"align":1015},"The angle to snap to when rotating. (Radians)",[1029,1179,1180],{},[504,1181,1046],{},[1010,1183,1184,1189,1192],{},[1029,1185,1186],{"align":1015},[844,1187,1188],{},"scaleSnap",[1029,1190,1191],{"align":1015},"The scale to snap to when scaling.",[1029,1193,1194],{},[504,1195,1046],{},[1010,1197,1198,1203,1208],{},[1029,1199,1200],{"align":1015},[844,1201,1202],{},"showX",[1029,1204,1077,1205,1207],{"align":1015},[504,1206,841],{},", the X-axis helper will be shown.",[1029,1209,1210],{},[504,1211,841],{},[1010,1213,1214,1219,1224],{},[1029,1215,1216],{"align":1015},[844,1217,1218],{},"showY",[1029,1220,1077,1221,1223],{"align":1015},[504,1222,841],{},", the Y-axis helper will be shown.",[1029,1225,1226],{},[504,1227,841],{},[1010,1229,1230,1235,1240],{},[1029,1231,1232],{"align":1015},[844,1233,1234],{},"showZ",[1029,1236,1077,1237,1239],{"align":1015},[504,1238,841],{},", the Z-axis helper will be shown.",[1029,1241,1242],{},[504,1243,841],{},[497,1245,1247],{"id":1246},"events","Events",[1004,1249,1250,1259],{},[1007,1251,1252],{},[1010,1253,1254,1257],{},[1013,1255,1256],{"align":1015},"Event",[1013,1258,1019],{"align":1015},[1024,1260,1261,1271,1281,1291,1301],{},[1010,1262,1263,1268],{},[1029,1264,1265],{"align":1015},[844,1266,1267],{},"dragging",[1029,1269,1270],{"align":1015},"Fired when the user starts or stops dragging the controls.",[1010,1272,1273,1278],{},[1029,1274,1275],{"align":1015},[844,1276,1277],{},"change",[1029,1279,1280],{"align":1015},"Fired when the user changes the controls.",[1010,1282,1283,1288],{},[1029,1284,1285],{"align":1015},[844,1286,1287],{},"mouseDown",[1029,1289,1290],{"align":1015},"Fired when the user clicks on the controls.",[1010,1292,1293,1298],{},[1029,1294,1295],{"align":1015},[844,1296,1297],{},"mouseUp",[1029,1299,1300],{"align":1015},"Fired when the user releases the mouse button on the controls.",[1010,1302,1303,1308],{},[1029,1304,1305],{"align":1015},[844,1306,1307],{},"objectChange",[1029,1309,1310],{"align":1015},"Fired when the user changes the object.",[1312,1313,1315],"style",{"scoped":1314},true,"\nimg {\n    aspect-ratio: 16/9;\n    object-fit: cover;\n    object-position: top;\n    border-radius: 8px;\n}\n",[1312,1317,1318],{},"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 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}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}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":521,"searchDepth":528,"depth":546,"links":1320},[1321,1322,1327,1328],{"id":499,"depth":546,"text":15},{"id":849,"depth":546,"text":850,"children":1323},[1324,1325,1326],{"id":857,"depth":566,"text":858},{"id":907,"depth":566,"text":908},{"id":954,"depth":566,"text":955},{"id":1001,"depth":546,"text":1002},{"id":1246,"depth":546,"text":1247},"Set of three gizmos that can be used to translate, rotate and scale objects","md",null,{},{"title":111,"description":1329},"_oLjZPc3YQUArU7wqNKfUEMez4NtYo2Rc8q7SCJPpVI",[1336,1338],{"title":107,"path":108,"stem":109,"description":1337,"children":-1},"Allows you to capture the mouse movement and simulate a first person camera",{"title":115,"path":116,"stem":117,"description":1339,"children":-1},"Asset loading composables for TresJS scenes.",1781273436214]