AnimationAction

THREE.animation.AnimationAction
class AnimationAction() extends Object

An instance of AnimationAction schedules the playback of an animation which is stored in [[AnimationClip]].

Attributes

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

def clampWhenFinished: Boolean

If set to true the animation will automatically be paused on its last frame.

If set to true the animation will automatically be paused on its last frame.

Attributes

def crossFadeFrom(fadeOutAction: AnimationAction, duration: Double, warp: Boolean): AnimationAction

Causes this action to fade in and the given action to fade out, within the passed time interval.

Causes this action to fade in and the given action to fade out, within the passed time interval.

Attributes

def crossFadeTo(fadeInAction: AnimationAction, duration: Double, warp: Boolean): AnimationAction

Causes this action to fade out and the given action to fade in, within the passed time interval.

Causes this action to fade out and the given action to fade in, within the passed time interval.

Attributes

def enabled: Boolean

If set to false, the action is disabled so it has no impact.

If set to false, the action is disabled so it has no impact.

Attributes

def fadeIn(duration: Double): AnimationAction

Fades the animation in by increasing its weight gradually from 0 to 1, within the passed time interval.

Fades the animation in by increasing its weight gradually from 0 to 1, within the passed time interval.

Attributes

def fadeOut(duration: Double): AnimationAction

Fades the animation out by decreasing its weight gradually from 1 to 0, within the passed time interval.

Fades the animation out by decreasing its weight gradually from 1 to 0, within the passed time interval.

Attributes

Returns the animation clip of this animation action.

Returns the animation clip of this animation action.

Attributes

def getEffectiveTimeScale(): Double

Returns the effective time scale of this action.

Returns the effective time scale of this action.

Attributes

def getEffectiveWeight(): Double

Returns the effective weight of this action.

Returns the effective weight of this action.

Attributes

Returns the animation mixer of this animation action.

Returns the animation mixer of this animation action.

Attributes

def getRoot(): Object3D

Returns the root object of this animation action.

Returns the root object of this animation action.

Attributes

def halt(duration: Double): AnimationAction

Decelerates this animation's speed to 0 within the passed time interval.

Decelerates this animation's speed to 0 within the passed time interval.

Attributes

def isRunning(): Boolean

Returns true if the animation is running.

Returns true if the animation is running.

Attributes

def isScheduled(): Boolean

Returns true when [[AnimationAction#play]] has been called.

Returns true when [[AnimationAction#play]] has been called.

Attributes

def loop: Int

The loop mode, set via [[AnimationAction#setLoop]].

The loop mode, set via [[AnimationAction#setLoop]].

Attributes

def paused: Boolean

If set to true, the playback of the action is paused.

If set to true, the playback of the action is paused.

Attributes

Starts the playback of the animation.

Starts the playback of the animation.

Attributes

def repetitions: Double

The number of repetitions of the performed clip over the course of this action.

The number of repetitions of the performed clip over the course of this action.

Attributes

Resets the playback of the animation.

Resets the playback of the animation.

Attributes

def setDuration(duration: Double): AnimationAction

Sets the duration for a single loop of this action.

Sets the duration for a single loop of this action.

Attributes

def setEffectiveTimeScale(timeScale: Double): AnimationAction

Sets the effective time scale of this action.

Sets the effective time scale of this action.

Attributes

def setEffectiveWeight(weight: Double): AnimationAction

Sets the effective weight of this action.

Sets the effective weight of this action.

Attributes

def setLoop(mode: Int, repetitions: Double): AnimationAction

Configures the loop settings for this action.

Configures the loop settings for this action.

Attributes

def startAt(time: Double): AnimationAction

Defines the time when the animation should start.

Defines the time when the animation should start.

Attributes

Stops the playback of the animation.

Stops the playback of the animation.

Attributes

Stops any fading which is applied to this action.

Stops any fading which is applied to this action.

Attributes

Stops any scheduled warping which is applied to this action.

Stops any scheduled warping which is applied to this action.

Attributes

Synchronizes this action with the passed other action.

Synchronizes this action with the passed other action.

Attributes

def time: Double

The local time of this action (in seconds, starting with 0).

The local time of this action (in seconds, starting with 0).

Attributes

def timeScale: Double

Scaling factor for the [[AnimationAction#time]]. A value of 0 causes the animation to pause. Negative values cause the animation to play backwards.

Scaling factor for the [[AnimationAction#time]]. A value of 0 causes the animation to pause. Negative values cause the animation to play backwards.

Attributes

def warp(startTimeScale: Double, endTimeScale: Double, duration: Double): AnimationAction

Changes the playback speed, within the passed time interval, by modifying [[AnimationAction#timeScale]] gradually from startTimeScale to endTimeScale.

Changes the playback speed, within the passed time interval, by modifying [[AnimationAction#timeScale]] gradually from startTimeScale to endTimeScale.

Attributes

def weight: Double

The degree of influence of this action (in the interval [0, 1]). Values between 0 (no impact) and 1 (full impact) can be used to blend between several actions.

The degree of influence of this action (in the interval [0, 1]). Values between 0 (no impact) and 1 (full impact) can be used to blend between several actions.

Attributes

def zeroSlopeAtEnd: Boolean

Enables smooth interpolation without separate clips for start, loop and end.

Enables smooth interpolation without separate clips for start, loop and end.

Attributes

def zeroSlopeAtStart: Boolean

Enables smooth interpolation without separate clips for start, loop and end.

Enables smooth interpolation without separate clips for start, loop and end.

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