[{"data":1,"prerenderedAt":1336},["ShallowReactive",2],{"navigation":3,"/api/controls/transform-controls":470,"/api/controls/transform-controls-surround":1331},[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,114,156,190,284,310,344,394,436],{"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,110],{"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},"Drag Controls","/api/controls/drag-controls","2.api/2.controls/drag-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],{"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},"Text3D","/api/objects/text-3d","2.api/9.objects/text-3d",{"title":437,"path":438,"stem":439,"children":440},"Miscellaneous","/api/miscellaneous","2.api/miscellaneous/index",[441,442,446,450,454,458,462,466],{"title":437,"path":438,"stem":439},{"title":443,"path":444,"stem":445},"Bounds","/api/miscellaneous/bounds","2.api/miscellaneous/bounds",{"title":447,"path":448,"stem":449},"GlobalAudio","/api/miscellaneous/global-audio","2.api/miscellaneous/global-audio",{"title":451,"path":452,"stem":453},"MouseParallax","/api/miscellaneous/mouse-parallax","2.api/miscellaneous/mouse-parallax",{"title":455,"path":456,"stem":457},"PositionalAudio","/api/miscellaneous/positional-audio","2.api/miscellaneous/positional-audio",{"title":459,"path":460,"stem":461},"useAnimations","/api/miscellaneous/use-animations","2.api/miscellaneous/use-animations",{"title":463,"path":464,"stem":465},"useGLTFExporter","/api/miscellaneous/use-gltf-exporter","2.api/miscellaneous/use-gltf-exporter",{"title":467,"path":468,"stem":469},"useIntersect","/api/miscellaneous/use-intersect","2.api/miscellaneous/use-intersect",{"id":471,"title":111,"body":472,"description":1325,"extension":1326,"links":1327,"meta":1328,"navigation":1310,"path":112,"seo":1329,"stem":113,"__hash__":1330},"docs/2.api/2.controls/transform-controls.md",{"type":473,"value":474,"toc":1315},"minimark",[475,486,492,496,508,818,843,847,850,855,861,864,901,905,910,913,948,952,957,960,995,999,1240,1244,1307,1312],[476,477,478,479,485],"p",{},"The ",[480,481,111],"a",{"href":482,"rel":483},"https://threejs.org/docs/#examples/en/controls/TransformControls",[484],"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",[487,488,489],"scene-controls-wrapper",{},[490,491],"controls-transform-controls",{},[493,494,15],"h2",{"id":495},"usage",[476,497,498,499,503,504,507],{},"To use the Transform Controls, simply add the ",[500,501,502],"code",{},"TransformControls"," component to your scene. You can pass the ",[500,505,506],{},"templateRef","of the instance you want to control as a prop.",[509,510,518],"pre",{"className":511,"code":512,"highlights":513,"language":516,"meta":517,"style":517},"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",[514,515],7,8,"vue","",[500,519,520,540,560,570,580,591,642,656,679,731,767,789,799,809],{"__ignoreMap":517},[521,522,525,529,533,537],"span",{"class":523,"line":524},"line",1,[521,526,528],{"class":527},"sMK4o","\u003C",[521,530,532],{"class":531},"swJcz","script",[521,534,536],{"class":535},"spNyl"," setup",[521,538,539],{"class":527},">\n",[521,541,543,546,550,553,557],{"class":523,"line":542},2,[521,544,545],{"class":535},"const",[521,547,549],{"class":548},"sTEyZ"," boxRef ",[521,551,552],{"class":527},"=",[521,554,556],{"class":555},"s2Zo4"," shallowRef",[521,558,559],{"class":548},"()\n",[521,561,563,566,568],{"class":523,"line":562},3,[521,564,565],{"class":527},"\u003C/",[521,567,532],{"class":531},[521,569,539],{"class":527},[521,571,573,575,578],{"class":523,"line":572},4,[521,574,528],{"class":527},[521,576,577],{"class":531},"template",[521,579,539],{"class":527},[521,581,583,586,589],{"class":523,"line":582},5,[521,584,585],{"class":527},"  \u003C",[521,587,588],{"class":531},"TresCanvas",[521,590,539],{"class":527},[521,592,594,597,600,603,606,608,611,614,618,621,624,626,629,631,634,637,639],{"class":523,"line":593},6,[521,595,596],{"class":527},"    \u003C",[521,598,599],{"class":531},"TresPerspectiveCamera",[521,601,602],{"class":527}," :",[521,604,605],{"class":535},"args",[521,607,552],{"class":527},[521,609,610],{"class":527},"\"",[521,612,613],{"class":527},"[",[521,615,617],{"class":616},"sbssI","45",[521,619,620],{"class":527},", ",[521,622,623],{"class":616},"1",[521,625,620],{"class":527},[521,627,628],{"class":616},"0.1",[521,630,620],{"class":527},[521,632,633],{"class":616},"1000",[521,635,636],{"class":527},"]",[521,638,610],{"class":527},[521,640,641],{"class":527}," />\n",[521,643,646,648,651,654],{"class":644,"line":514},[523,645],"highlight",[521,647,596],{"class":527},[521,649,650],{"class":531},"OrbitControls",[521,652,653],{"class":535}," make-default",[521,655,641],{"class":527},[521,657,659,661,663,665,668,670,672,675,677],{"class":658,"line":515},[523,645],[521,660,596],{"class":527},[521,662,502],{"class":531},[521,664,602],{"class":527},[521,666,667],{"class":535},"object",[521,669,552],{"class":527},[521,671,610],{"class":527},[521,673,674],{"class":548},"boxRef",[521,676,610],{"class":527},[521,678,641],{"class":527},[521,680,682,684,687,690,692,694,697,699,701,704,706,708,710,713,715,718,720,722,724,726,729],{"class":523,"line":681},9,[521,683,596],{"class":527},[521,685,686],{"class":531},"TresMesh",[521,688,689],{"class":535}," ref",[521,691,552],{"class":527},[521,693,610],{"class":527},[521,695,674],{"class":696},"sfazB",[521,698,610],{"class":527},[521,700,602],{"class":527},[521,702,703],{"class":535},"position",[521,705,552],{"class":527},[521,707,610],{"class":527},[521,709,613],{"class":527},[521,711,712],{"class":616},"0",[521,714,620],{"class":527},[521,716,717],{"class":616},"4",[521,719,620],{"class":527},[521,721,712],{"class":616},[521,723,636],{"class":527},[521,725,610],{"class":527},[521,727,728],{"class":535}," cast-shadow",[521,730,539],{"class":527},[521,732,734,737,740,742,744,746,748,750,753,755,757,759,761,763,765],{"class":523,"line":733},10,[521,735,736],{"class":527},"      \u003C",[521,738,739],{"class":531},"TresBoxGeometry",[521,741,602],{"class":527},[521,743,605],{"class":535},[521,745,552],{"class":527},[521,747,610],{"class":527},[521,749,613],{"class":527},[521,751,752],{"class":616},"1.5",[521,754,620],{"class":527},[521,756,752],{"class":616},[521,758,620],{"class":527},[521,760,752],{"class":616},[521,762,636],{"class":527},[521,764,610],{"class":527},[521,766,641],{"class":527},[521,768,770,772,775,778,780,782,785,787],{"class":523,"line":769},11,[521,771,736],{"class":527},[521,773,774],{"class":531},"TresMeshToonMaterial",[521,776,777],{"class":535}," color",[521,779,552],{"class":527},[521,781,610],{"class":527},[521,783,784],{"class":696},"#4F4F4F",[521,786,610],{"class":527},[521,788,641],{"class":527},[521,790,792,795,797],{"class":523,"line":791},12,[521,793,794],{"class":527},"    \u003C/",[521,796,686],{"class":531},[521,798,539],{"class":527},[521,800,802,805,807],{"class":523,"line":801},13,[521,803,804],{"class":527},"  \u003C/",[521,806,588],{"class":531},[521,808,539],{"class":527},[521,810,812,814,816],{"class":523,"line":811},14,[521,813,565],{"class":527},[521,815,577],{"class":531},[521,817,539],{"class":527},[819,820,821],"prose-warning",{},[476,822,823,824,830,831,834,835,838,839,842],{},"If you are using other controls ",[521,825,827],{"style":826},"background-color:#222;padding:0.25rem;border-radius:4px;",[480,828,650],{"href":104,"style":829},"color:#f7f7f7;text-decoration:none"," they will interfere with each other when dragging. To avoid this, you can set the ",[500,832,833],{},"makeDefault"," prop to ",[500,836,837],{},"true"," on the ",[840,841,650],"strong",{},".",[493,844,846],{"id":845},"modes","Modes",[476,848,849],{},"The Transform Controls can be used in three different modes:",[851,852,854],"h3",{"id":853},"translate","Translate",[476,856,857],{},[858,859],"img",{"alt":854,"src":860},"/cientos/transform-controls-translate.png",[476,862,863],{},"The default mode allows you to move the object around the scene.",[509,865,867],{"className":511,"code":866,"language":516,"meta":517,"style":517},"\u003CTransformControls mode=\"translate\" :object=\"sphereRef\" />\n",[500,868,869],{"__ignoreMap":517},[521,870,871,873,875,878,880,882,884,886,888,890,892,894,897,899],{"class":523,"line":524},[521,872,528],{"class":527},[521,874,502],{"class":531},[521,876,877],{"class":535}," mode",[521,879,552],{"class":527},[521,881,610],{"class":527},[521,883,853],{"class":696},[521,885,610],{"class":527},[521,887,602],{"class":527},[521,889,667],{"class":535},[521,891,552],{"class":527},[521,893,610],{"class":527},[521,895,896],{"class":548},"sphereRef",[521,898,610],{"class":527},[521,900,641],{"class":527},[851,902,904],{"id":903},"rotate","Rotate",[476,906,907],{},[858,908],{"alt":904,"src":909},"/cientos/transform-controls-rotate.png",[476,911,912],{},"The rotate mode allows you to rotate the object around the scene.",[509,914,916],{"className":511,"code":915,"language":516,"meta":517,"style":517},"\u003CTransformControls mode=\"rotate\" :object=\"boxRef\" />\n",[500,917,918],{"__ignoreMap":517},[521,919,920,922,924,926,928,930,932,934,936,938,940,942,944,946],{"class":523,"line":524},[521,921,528],{"class":527},[521,923,502],{"class":531},[521,925,877],{"class":535},[521,927,552],{"class":527},[521,929,610],{"class":527},[521,931,903],{"class":696},[521,933,610],{"class":527},[521,935,602],{"class":527},[521,937,667],{"class":535},[521,939,552],{"class":527},[521,941,610],{"class":527},[521,943,674],{"class":548},[521,945,610],{"class":527},[521,947,641],{"class":527},[851,949,951],{"id":950},"scale","Scale",[476,953,954],{},[858,955],{"alt":951,"src":956},"/cientos/transform-controls-scale.png",[476,958,959],{},"The scale mode allows you to scale the object around the scene.",[509,961,963],{"className":511,"code":962,"language":516,"meta":517,"style":517},"\u003CTransformControls mode=\"scale\" :object=\"sphereRef\" />\n",[500,964,965],{"__ignoreMap":517},[521,966,967,969,971,973,975,977,979,981,983,985,987,989,991,993],{"class":523,"line":524},[521,968,528],{"class":527},[521,970,502],{"class":531},[521,972,877],{"class":535},[521,974,552],{"class":527},[521,976,610],{"class":527},[521,978,950],{"class":696},[521,980,610],{"class":527},[521,982,602],{"class":527},[521,984,667],{"class":535},[521,986,552],{"class":527},[521,988,610],{"class":527},[521,990,896],{"class":548},[521,992,610],{"class":527},[521,994,641],{"class":527},[493,996,998],{"id":997},"props","Props",[1000,1001,1002,1019],"table",{},[1003,1004,1005],"thead",{},[1006,1007,1008,1013,1016],"tr",{},[1009,1010,1012],"th",{"align":1011},"left","Prop",[1009,1014,1015],{"align":1011},"Description",[1009,1017,1018],{},"Default",[1020,1021,1022,1043,1064,1081,1116,1136,1150,1164,1178,1192,1208,1224],"tbody",{},[1006,1023,1024,1029,1038],{},[1025,1026,1027],"td",{"align":1011},[840,1028,667],{},[1025,1030,1031,1032,1037],{"align":1011},"The instance ",[480,1033,1036],{"href":1034,"rel":1035},"https://threejs.org/docs/index.html#api/en/core/Object3D",[484],"Object3D"," to control.",[1025,1039,1040],{},[500,1041,1042],{},"null",[1006,1044,1045,1050,1060],{},[1025,1046,1047],{"align":1011},[840,1048,1049],{},"mode",[1025,1051,1052,1053,620,1055,1057,1058,842],{"align":1011},"The mode of the controls. Can be ",[500,1054,853],{},[500,1056,903],{}," or ",[500,1059,950],{},[1025,1061,1062],{},[500,1063,853],{},[1006,1065,1066,1071,1077],{},[1025,1067,1068],{"align":1011},[840,1069,1070],{},"enabled",[1025,1072,1073,1074,1076],{"align":1011},"If ",[500,1075,837],{},", the controls will be enabled.",[1025,1078,1079],{},[500,1080,837],{},[1006,1082,1083,1088,1112],{},[1025,1084,1085],{"align":1011},[840,1086,1087],{},"axis",[1025,1089,1090,1091,620,1094,620,1097,620,1100,620,1103,620,1106,620,1109,842],{"align":1011},"The axis to use for the controls. Can be ",[500,1092,1093],{},"X",[500,1095,1096],{},"Y",[500,1098,1099],{},"Z",[500,1101,1102],{},"XY",[500,1104,1105],{},"YZ",[500,1107,1108],{},"XZ",[500,1110,1111],{},"XYZ",[1025,1113,1114],{},[500,1115,1111],{},[1006,1117,1118,1123,1132],{},[1025,1119,1120],{"align":1011},[840,1121,1122],{},"space",[1025,1124,1125,1126,1057,1129,842],{"align":1011},"The space to use for the controls. Can be ",[500,1127,1128],{},"local",[500,1130,1131],{},"world",[1025,1133,1134],{},[500,1135,1128],{},[1006,1137,1138,1143,1146],{},[1025,1139,1140],{"align":1011},[840,1141,1142],{},"size",[1025,1144,1145],{"align":1011},"The size of the controls.",[1025,1147,1148],{},[500,1149,623],{},[1006,1151,1152,1157,1160],{},[1025,1153,1154],{"align":1011},[840,1155,1156],{},"translationSnap",[1025,1158,1159],{"align":1011},"The distance to snap to when translating. (World units)",[1025,1161,1162],{},[500,1163,1042],{},[1006,1165,1166,1171,1174],{},[1025,1167,1168],{"align":1011},[840,1169,1170],{},"rotationSnap",[1025,1172,1173],{"align":1011},"The angle to snap to when rotating. (Radians)",[1025,1175,1176],{},[500,1177,1042],{},[1006,1179,1180,1185,1188],{},[1025,1181,1182],{"align":1011},[840,1183,1184],{},"scaleSnap",[1025,1186,1187],{"align":1011},"The scale to snap to when scaling.",[1025,1189,1190],{},[500,1191,1042],{},[1006,1193,1194,1199,1204],{},[1025,1195,1196],{"align":1011},[840,1197,1198],{},"showX",[1025,1200,1073,1201,1203],{"align":1011},[500,1202,837],{},", the X-axis helper will be shown.",[1025,1205,1206],{},[500,1207,837],{},[1006,1209,1210,1215,1220],{},[1025,1211,1212],{"align":1011},[840,1213,1214],{},"showY",[1025,1216,1073,1217,1219],{"align":1011},[500,1218,837],{},", the Y-axis helper will be shown.",[1025,1221,1222],{},[500,1223,837],{},[1006,1225,1226,1231,1236],{},[1025,1227,1228],{"align":1011},[840,1229,1230],{},"showZ",[1025,1232,1073,1233,1235],{"align":1011},[500,1234,837],{},", the Z-axis helper will be shown.",[1025,1237,1238],{},[500,1239,837],{},[493,1241,1243],{"id":1242},"events","Events",[1000,1245,1246,1255],{},[1003,1247,1248],{},[1006,1249,1250,1253],{},[1009,1251,1252],{"align":1011},"Event",[1009,1254,1015],{"align":1011},[1020,1256,1257,1267,1277,1287,1297],{},[1006,1258,1259,1264],{},[1025,1260,1261],{"align":1011},[840,1262,1263],{},"dragging",[1025,1265,1266],{"align":1011},"Fired when the user starts or stops dragging the controls.",[1006,1268,1269,1274],{},[1025,1270,1271],{"align":1011},[840,1272,1273],{},"change",[1025,1275,1276],{"align":1011},"Fired when the user changes the controls.",[1006,1278,1279,1284],{},[1025,1280,1281],{"align":1011},[840,1282,1283],{},"mouseDown",[1025,1285,1286],{"align":1011},"Fired when the user clicks on the controls.",[1006,1288,1289,1294],{},[1025,1290,1291],{"align":1011},[840,1292,1293],{},"mouseUp",[1025,1295,1296],{"align":1011},"Fired when the user releases the mouse button on the controls.",[1006,1298,1299,1304],{},[1025,1300,1301],{"align":1011},[840,1302,1303],{},"objectChange",[1025,1305,1306],{"align":1011},"Fired when the user changes the object.",[1308,1309,1311],"style",{"scoped":1310},true,"\nimg {\n    aspect-ratio: 16/9;\n    object-fit: cover;\n    object-position: top;\n    border-radius: 8px;\n}\n",[1308,1313,1314],{},"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":517,"searchDepth":524,"depth":542,"links":1316},[1317,1318,1323,1324],{"id":495,"depth":542,"text":15},{"id":845,"depth":542,"text":846,"children":1319},[1320,1321,1322],{"id":853,"depth":562,"text":854},{"id":903,"depth":562,"text":904},{"id":950,"depth":562,"text":951},{"id":997,"depth":542,"text":998},{"id":1242,"depth":542,"text":1243},"Set of three gizmos that can be used to translate, rotate and scale objects","md",null,{},{"title":111,"description":1325},"_oLjZPc3YQUArU7wqNKfUEMez4NtYo2Rc8q7SCJPpVI",[1332,1334],{"title":107,"path":108,"stem":109,"description":1333,"children":-1},"Allows you to capture the mouse movement and simulate a first person camera",{"title":115,"path":116,"stem":117,"description":1335,"children":-1},"Asset loading composables for TresJS scenes.",1776202090764]