Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/threejs_4_deno/src/Three.d.ts>AnimationClip

A simple transformation of three.js for use within a Deno workflow
Go to Latest
class AnimationClip
Re-export
import { AnimationClip } from "https://deno.land/x/threejs_4_deno@v121/src/Three.d.ts";

Constructors

new
AnimationClip(
name?: string,
duration?: number,
tracks?: KeyframeTrack[],
blendMode?: AnimationBlendMode,
)

Properties

duration: number
name: string
results: any[]
tracks: KeyframeTrack[]
uuid: string

Static Methods

CreateClipsFromMorphTargetSequences(
morphTargets: MorphTarget[],
fps: number,
noLoop: boolean,
): AnimationClip[]
CreateFromMorphTargetSequence(
name: string,
morphTargetSequence: MorphTarget[],
fps: number,
noLoop: boolean,
): AnimationClip
findByName(clipArray: AnimationClip[], name: string): AnimationClip
parse(json: any): AnimationClip
parseAnimation(animation: any, bones: Bone[]): AnimationClip
toJSON(): any