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