KeyframeTrack

THREE.animation.KeyframeTrack
See theKeyframeTrack companion object
class KeyframeTrack extends Object

Represents a timed sequence of keyframes, which are composed of lists of times and related values, and which are used to animate a specific property of an object.

Attributes

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

Members list

Value members

Concrete methods

override def clone(): KeyframeTrack

Returns a new keyframe track with copied values from this instance.

Returns a new keyframe track with copied values from this instance.

Attributes

Definition Classes
Object
def getInterpolation(): Int

Returns the current interpolation type.

Returns the current interpolation type.

Attributes

def getValueSize(): Double

Returns the value size.

Returns the value size.

Attributes

def name: String

The track's name can refer to morph targets or bones or possibly other values within an animated object.

The track's name can refer to morph targets or bones or possibly other values within an animated object.

Attributes

Optimizes this keyframe track by removing equivalent sequential keys.

Optimizes this keyframe track by removing equivalent sequential keys.

Attributes

def scale(timeScale: Double): KeyframeTrack

Scale all keyframe times by a factor (useful for frame - seconds conversions).

Scale all keyframe times by a factor (useful for frame - seconds conversions).

Attributes

def setInterpolation(interpolation: Int): KeyframeTrack

Defines the interpolation factor method for this keyframe track.

Defines the interpolation factor method for this keyframe track.

Attributes

def shift(timeOffset: Double): KeyframeTrack

Moves all keyframes either forward or backward in time.

Moves all keyframes either forward or backward in time.

Attributes

def times: Float32Array

The keyframe times.

The keyframe times.

Attributes

def toJSON(): Object

Converts the keyframe track to JSON.

Converts the keyframe track to JSON.

Attributes

def trim(startTime: Double, endTime: Double): KeyframeTrack

Removes keyframes before and after animation without changing any values within the defined time range.

Removes keyframes before and after animation without changing any values within the defined time range.

Attributes

def validate(): Boolean

Performs minimal validation on the keyframe track.

Performs minimal validation on the keyframe track.

Attributes

def values: Float32Array

The keyframe values.

The keyframe values.

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