Skeleton.d.ts 590 B

1234567891011121314151617181920212223242526
  1. import { Bone } from './Bone';
  2. import { Matrix4 } from './../math/Matrix4';
  3. import { DataTexture } from './../textures/DataTexture';
  4. export class Skeleton {
  5. constructor( bones: Bone[], boneInverses?: Matrix4[] );
  6. /**
  7. * @deprecated This property has been removed completely.
  8. */
  9. useVertexTexture: boolean;
  10. bones: Bone[];
  11. boneMatrices: Float32Array;
  12. boneTexture: undefined | DataTexture;
  13. boneInverses: Matrix4[];
  14. calculateInverses( bone: Bone ): void;
  15. pose(): void;
  16. update(): void;
  17. clone(): Skeleton;
  18. getBoneByName( name: string ): undefined | Bone;
  19. dispose() :void ;
  20. }
粤ICP备19079148号