import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -+import {TWEEN} from 'three/addons/libs/tween.min.js'; ++import TWEEN from 'three/addons/libs/tween.module.js';
And then create a Tween
to animate the influences.
// show the selected data, hide the rest diff --git a/manual/examples/lots-of-objects-animated.html b/manual/examples/lots-of-objects-animated.html index 267d40e82c27a3..8b1efb50f7cb4a 100644 --- a/manual/examples/lots-of-objects-animated.html +++ b/manual/examples/lots-of-objects-animated.html @@ -58,7 +58,7 @@ import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -import {TWEEN} from 'three/addons/libs/tween.module.min.js'; +import TWEEN from 'three/addons/libs/tween.module.js'; class TweenManger { constructor() { diff --git a/manual/examples/lots-of-objects-morphtargets.html b/manual/examples/lots-of-objects-morphtargets.html index 9671e52ea1b0c0..06aee4f2c3d1bd 100644 --- a/manual/examples/lots-of-objects-morphtargets.html +++ b/manual/examples/lots-of-objects-morphtargets.html @@ -58,7 +58,7 @@ import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -import {TWEEN} from 'three/addons/libs/tween.module.min.js'; +import TWEEN from 'three/addons/libs/tween.module.js'; class TweenManger { constructor() { diff --git a/manual/ja/optimize-lots-of-objects-animated.html b/manual/ja/optimize-lots-of-objects-animated.html index 789b0fdee1a78f..6b9503ad14e9a0 100644 --- a/manual/ja/optimize-lots-of-objects-animated.html +++ b/manual/ja/optimize-lots-of-objects-animated.html @@ -324,7 +324,7 @@でアニメーションする多くのオブジェクトを最適化
import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -+import {TWEEN} from 'three/addons/libs/tween.min.js'; ++import TWEEN from 'three/addons/libs/tween.module.js';そして、影響を与えるアニメーションの
Tween
を作成します。// show the selected data, hide the rest diff --git a/manual/ko/optimize-lots-of-objects-animated.html b/manual/ko/optimize-lots-of-objects-animated.html index 0af117839f2855..ae3e66c96c23f9 100644 --- a/manual/ko/optimize-lots-of-objects-animated.html +++ b/manual/ko/optimize-lots-of-objects-animated.html @@ -297,7 +297,7 @@다중 애니메이션 요소 최적화하기
import * as THREE from 'three'; import { BufferGeometryUtils } from 'three/addons/utils/BufferGeometryUtils.js'; import { OrbitControls } from 'three/addons/controls/OrbitControls.js'; -+import { TWEEN } from 'three/addons/libs/tween.min.js'; ++import TWEEN from 'three/addons/libs/tween.module.js';그리고
Tween
으로 influence 속성에 애니메이션을 줍니다.// 선택한 데이터를 보여주고 나머지는 숨깁니다. diff --git a/manual/ru/optimize-lots-of-objects-animated.html b/manual/ru/optimize-lots-of-objects-animated.html index 34fd43be6cd3d5..f6ac14f9186ab8 100644 --- a/manual/ru/optimize-lots-of-objects-animated.html +++ b/manual/ru/optimize-lots-of-objects-animated.html @@ -335,7 +335,7 @@Оптимизация большого количества анимиро
import * as THREE from 'three'; import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -+import {TWEEN} from 'three/addons/libs/tween.min.js'; ++import TWEEN from 'three/addons/libs/tween.module.js';А затем создайте
Tween
чтобы оживить влияние.// show the selected data, hide the rest diff --git a/manual/zh/optimize-lots-of-objects-animated.html b/manual/zh/optimize-lots-of-objects-animated.html index 1be4f55cb977ae..c96d3f6f40569c 100644 --- a/manual/zh/optimize-lots-of-objects-animated.html +++ b/manual/zh/optimize-lots-of-objects-animated.html @@ -297,7 +297,7 @@优化对象的同时保持动画效果
import * as THREE from 'three'; import {BufferGeometryUtils} from 'three/addons/utils/BufferGeometryUtils.js'; import {OrbitControls} from 'three/addons/controls/OrbitControls.js'; -+import {TWEEN} from 'three/addons/libs/tween.min.js'; ++import TWEEN from 'three/addons/libs/tween.module.js';然后创建一个
Tween
来使influence变化// show the selected data, hide the rest