We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
parseAnimation()
1 parent e28af6f commit 03d90f4Copy full SHA for 03d90f4
src/animation/AnimationClip.js
@@ -287,12 +287,15 @@ class AnimationClip {
287
* Parses the `animation.hierarchy` format and returns a new animation clip.
288
*
289
* @static
290
+ * @deprecated since r175.
291
* @param {Object} animation - A serialized animation clip as JSON.
292
* @param {Array<Bones>} bones - An array of bones.
293
* @return {?AnimationClip} The new animation clip.
294
*/
295
static parseAnimation( animation, bones ) {
296
297
+ console.warn( 'THREE.AnimationClip: parseAnimation() is deprecated and will be removed with r185' );
298
+
299
if ( ! animation ) {
300
301
console.error( 'THREE.AnimationClip: No animation in JSONLoader data.' );
0 commit comments