Browse Source

Merge pull request #18398 from Mugen87/dev32

TS: Clean up Skeleton.d.ts.
Mr.doob 5 years ago
parent
commit
e56eacb336
1 changed files with 3 additions and 5 deletions
  1. 3 5
      src/objects/Skeleton.d.ts

+ 3 - 5
src/objects/Skeleton.d.ts

@@ -10,17 +10,15 @@ export class Skeleton {
 	 * @deprecated This property has been removed completely.
 	 */
 	useVertexTexture: boolean;
-	identityMatrix: Matrix4;
 	bones: Bone[];
-	boneTextureWidth: number;
-	boneTextureHeight: number;
 	boneMatrices: Float32Array;
-	boneTexture: DataTexture;
+	boneTexture: undefined | DataTexture;
 	boneInverses: Matrix4[];
 
 	calculateInverses( bone: Bone ): void;
 	pose(): void;
 	update(): void;
-	clone(): this;
+	clone(): Skeleton;
+	getBoneByName( name: string ): undefined | Bone;
 
 }