translate
Options for the TranslateControl.
If false is given, it will disable the translate control.
| Name | Type | Default | Description | 
|---|---|---|---|
| scale | number | 1 | Scale factor for rotation | 
| duration | number | 0 | Duration of the input animation (ms) | 
| easing | function | EASING.EASE_OUT_CUBIC | Easing function of the animation | 
Example
translate: true (default)
- JSON
 - JavaScript
 - React
 - Angular
 - Vue@2
 - Vue@3
 - Svelte
 
{
    src: "/egjs-view3d/model/draco/alarm.glb",
    translate: true
}
translate: false
- JSON
 - JavaScript
 - React
 - Angular
 - Vue@2
 - Vue@3
 - Svelte
 
{
    src: "/egjs-view3d/model/draco/alarm.glb",
    translate: false
}
Detailed options
- JSON
 - JavaScript
 - React
 - Angular
 - Vue@2
 - Vue@3
 - Svelte
 
{
    src: "/egjs-view3d/model/draco/alarm.glb",
    translate: {
        scale: 2,
        duration: 2000
    }
}