File size: 667 Bytes
2b7aae2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import { Bone } from './Bone';
import { Matrix4 } from './../math/Matrix4';
import { DataTexture } from './../textures/DataTexture';

export class Skeleton {
	constructor(bones: Bone[], boneInverses?: Matrix4[]);

	uuid: string;
	bones: Bone[];
	boneInverses: Matrix4[];
	boneMatrices: Float32Array;
	boneTexture: null | DataTexture;
	boneTextureSize: number;
	frame: number;

	init(): void;
	calculateInverses(): void;
	computeBoneTexture(): this;
	pose(): void;
	update(): void;
	clone(): Skeleton;
	getBoneByName(name: string): undefined | Bone;
	dispose(): void;

	/**
	 * @deprecated This property has been removed completely.
	 */
	useVertexTexture: boolean;
}