AnimationClip

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

Attributes

Companion
class
Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def CreateClipsFromMorphTargetSequences(morphTargets: Array[Object], fps: Double, noLoop: Boolean): Array[AnimationClip]

Returns an array of new AnimationClips created from the morph target sequences of a geometry.

Returns an array of new AnimationClips created from the morph target sequences of a geometry.

Attributes

def CreateFromMorphTargetSequence(name: String, morphTargetSequence: Array[Object], fps: Double, noLoop: Boolean): AnimationClip

Returns a new animation clip from the passed morph targets array of a geometry, taking a name and the number of frames per second.

Returns a new animation clip from the passed morph targets array of a geometry, taking a name and the number of frames per second.

Attributes

def findByName(objectOrClipArray: Object, name: String): AnimationClip | Null

Searches for an animation clip by name, taking as its first parameter either an array of clips, or a mesh or geometry that contains an array named "animations" property.

Searches for an animation clip by name, taking as its first parameter either an array of clips, or a mesh or geometry that contains an array named "animations" property.

Attributes

def parse(json: Object): AnimationClip

Factory method for creating an animation clip from the given JSON.

Factory method for creating an animation clip from the given JSON.

Attributes

def parseAnimation(animation: Object, bones: Array[Object]): AnimationClip | Null

Parses the animation.hierarchy format and returns a new animation clip.

Parses the animation.hierarchy format and returns a new animation clip.

Attributes

def toJSON(clip: AnimationClip): Object

Serializes the given animation clip into JSON.

Serializes the given animation clip into JSON.

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