MorphAnimMesh.d.ts 494 B

12345678910111213141516171819202122
  1. import {
  2. AnimationAction,
  3. AnimationMixer,
  4. BufferGeometry,
  5. Geometry,
  6. Material,
  7. Mesh
  8. } from '../../../src/Three';
  9. export class MorphAnimMesh extends Mesh {
  10. constructor( geometry: BufferGeometry | Geometry, material: Material );
  11. mixer: AnimationMixer;
  12. activeAction: AnimationAction | null;
  13. setDirectionForward(): void;
  14. setDirectionBackward(): void;
  15. playAnimation( label: string, fps: number ): void;
  16. updateAnimation( delta: number ): void;
  17. copy( source: MorphAnimMesh ): this;
  18. }