AnimationClip

THREE.animation.AnimationClip
See theAnimationClip companion object
class AnimationClip extends Object

A reusable set of keyframe tracks which represent an animation.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def blendMode: Int

Defines how the animation is blended/combined when two or more animations are simultaneously played.

Defines how the animation is blended/combined when two or more animations are simultaneously played.

Attributes

override def clone(): AnimationClip

Returns a new animation clip with copied values from this instance.

Returns a new animation clip with copied values from this instance.

Attributes

Definition Classes
Object
def duration: Double

The clip's duration in seconds.

The clip's duration in seconds.

Attributes

def name: String

The clip's name.

The clip's name.

Attributes

Optimizes each track by removing equivalent sequential keys.

Optimizes each track by removing equivalent sequential keys.

Attributes

Sets the duration of this clip to the duration of its longest keyframe track.

Sets the duration of this clip to the duration of its longest keyframe track.

Attributes

def toJSON(): Object

Serializes this animation clip into JSON.

Serializes this animation clip into JSON.

Attributes

def tracks: Array[KeyframeTrack]

An array of keyframe tracks.

An array of keyframe tracks.

Attributes

Trims all tracks to the clip's duration.

Trims all tracks to the clip's duration.

Attributes

def userData: Object

An object that can be used to store custom data about the animation clip.

An object that can be used to store custom data about the animation clip.

Attributes

def uuid: String

The UUID of the animation clip.

The UUID of the animation clip.

Attributes

def validate(): Boolean

Performs minimal validation on each track in the clip.

Performs minimal validation on each track in the clip.

Attributes

Inherited methods

def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object