three-stdlib
Version:
stand-alone library of threejs examples
14 lines (11 loc) • 464 B
TypeScript
import { AnimationAction, AnimationMixer, BufferGeometry, Material, Mesh } from 'three'
export class MorphAnimMesh extends Mesh {
constructor(geometry: BufferGeometry, material: Material)
mixer: AnimationMixer
activeAction: AnimationAction | null
setDirectionForward(): void
setDirectionBackward(): void
playAnimation(label: string, fps: number): void
updateAnimation(delta: number): void
copy(source: MorphAnimMesh, recursive?: boolean): this
}