MorphBlendMesh.d.ts 916 B

12345678910111213141516171819202122232425262728
  1. import {
  2. BufferGeometry,
  3. Geometry,
  4. Material,
  5. Mesh
  6. } from '../../../src/Three';
  7. export class MorphBlendMesh extends Mesh {
  8. constructor( geometry: BufferGeometry | Geometry, material: Material );
  9. animationsMap: object;
  10. animationsList: object[];
  11. createAnimation( name: string, start: number, end: number, fps: number ): void;
  12. autoCreateAnimations( fps: number ): void;
  13. setAnimationDirectionForward( name: string ): void;
  14. setAnimationDirectionBackward( name: string ): void;
  15. setAnimationFPS( name: string, fps: number ): void;
  16. setAnimationDuration( name: string, duration: number ): void;
  17. setAnimationWeight( name: string, weight: number ): void;
  18. setAnimationTime( name: string, time: number ): void;
  19. getAnimationTime( name: string ): number;
  20. getAnimationDuration( name: string ): number;
  21. playAnimation( name: string ): void;
  22. stopAnimation( name: string ): void;
  23. update( delta: number ): void;
  24. }