@@ -30,7 +30,7 @@ class AnimationClipCreator {
30
30
31
31
const track = new NumberKeyframeTrack ( trackName , times , values ) ;
32
32
33
- return new AnimationClip ( null , period , [ track ] ) ;
33
+ return new AnimationClip ( '' , period , [ track ] ) ;
34
34
35
35
}
36
36
@@ -50,7 +50,7 @@ class AnimationClipCreator {
50
50
51
51
const track = new NumberKeyframeTrack ( trackName , times , values ) ;
52
52
53
- return new AnimationClip ( null , period , [ track ] ) ;
53
+ return new AnimationClip ( '' , period , [ track ] ) ;
54
54
55
55
}
56
56
@@ -59,7 +59,7 @@ class AnimationClipCreator {
59
59
* in the given period.
60
60
*
61
61
* @param {number } duration - The duration of the animation.
62
- * @param {number } shakeScale - The scale of the shake.
62
+ * @param {Vector3 } shakeScale - The scale of the shake.
63
63
* @return {AnimationClip } The created animation clip.
64
64
*/
65
65
static CreateShakeAnimation ( duration , shakeScale ) {
@@ -80,7 +80,7 @@ class AnimationClipCreator {
80
80
81
81
const track = new VectorKeyframeTrack ( trackName , times , values ) ;
82
82
83
- return new AnimationClip ( null , duration , [ track ] ) ;
83
+ return new AnimationClip ( '' , duration , [ track ] ) ;
84
84
85
85
}
86
86
@@ -110,7 +110,7 @@ class AnimationClipCreator {
110
110
111
111
const track = new VectorKeyframeTrack ( trackName , times , values ) ;
112
112
113
- return new AnimationClip ( null , duration , [ track ] ) ;
113
+ return new AnimationClip ( '' , duration , [ track ] ) ;
114
114
115
115
}
116
116
@@ -128,7 +128,7 @@ class AnimationClipCreator {
128
128
129
129
const track = new BooleanKeyframeTrack ( trackName , times , values ) ;
130
130
131
- return new AnimationClip ( null , duration , [ track ] ) ;
131
+ return new AnimationClip ( '' , duration , [ track ] ) ;
132
132
133
133
}
134
134
@@ -158,7 +158,7 @@ class AnimationClipCreator {
158
158
159
159
const track = new ColorKeyframeTrack ( trackName , times , values ) ;
160
160
161
- return new AnimationClip ( null , duration , [ track ] ) ;
161
+ return new AnimationClip ( '' , duration , [ track ] ) ;
162
162
163
163
}
164
164
0 commit comments