Skeleton.d.ts 714 B

123456789101112131415161718192021222324252627282930313233
  1. import { Bone } from './Bone';
  2. import { Matrix4 } from './../math/Matrix4';
  3. import { DataTexture } from './../textures/DataTexture';
  4. /**
  5. * @deprecated Use {@link Points THREE.Points} instead.
  6. */
  7. /**
  8. * @deprecated Use {@link Points THREE.Points} instead.
  9. */
  10. export class Skeleton {
  11. constructor( bones: Bone[], boneInverses?: Matrix4[] );
  12. /**
  13. * @deprecated This property has been removed completely.
  14. */
  15. useVertexTexture: boolean;
  16. identityMatrix: Matrix4;
  17. bones: Bone[];
  18. boneTextureWidth: number;
  19. boneTextureHeight: number;
  20. boneMatrices: Float32Array;
  21. boneTexture: DataTexture;
  22. boneInverses: Matrix4[];
  23. calculateInverses( bone: Bone ): void;
  24. pose(): void;
  25. update(): void;
  26. clone(): this;
  27. }