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