Procházet zdrojové kódy

Update for KeyframeTrack.d.ts

Atsushi před 5 roky
rodič
revize
fdc1edf230
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/animation/KeyframeTrack.d.ts

+ 2 - 2
src/animation/KeyframeTrack.d.ts

@@ -26,7 +26,7 @@ export class KeyframeTrack {
 	InterpolantFactoryMethodLinear( result: any ): LinearInterpolant;
 	InterpolantFactoryMethodSmooth( result: any ): CubicInterpolant;
 
-	setInterpolation( interpolation: InterpolationModes ): void;
+	setInterpolation( interpolation: InterpolationModes ): KeyframeTrack;
 	getInterpolation(): InterpolationModes;
 
 	getValuesize(): number;
@@ -36,8 +36,8 @@ export class KeyframeTrack {
 	trim( startTime: number, endTime: number ): KeyframeTrack;
 	validate(): boolean;
 	optimize(): KeyframeTrack;
+	clone(): KeyframeTrack;
 
-	static parse( json: any ): KeyframeTrack;
 	static toJSON( track: KeyframeTrack ): any;
 
 }