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