Home Reference Source Repository
import Animator from 'dh3dlib/js/base/Animator.js'
public class | source

Animator

Direct Subclass:

MMDAnimator

Animator basic class

Method Summary

Public Methods
public

animate(dhObject: DH3DObject, elapsedTime: float): void

set object's bones position/angle at specified animation time and recalc bone/ik recursively.

public

updateMotion(dhObject: DH3DObject, elapsedTime: float): void

set object's bones position/angle at specified animation time

Public Methods

public animate(dhObject: DH3DObject, elapsedTime: float): void source

set object's bones position/angle at specified animation time and recalc bone/ik recursively.

Params:

NameTypeAttributeDescription
dhObject DH3DObject

object to set bones position/angle

elapsedTime float

animation time

Return:

void

public updateMotion(dhObject: DH3DObject, elapsedTime: float): void source

set object's bones position/angle at specified animation time

Params:

NameTypeAttributeDescription
dhObject DH3DObject

object to set bones position/angle

elapsedTime float

animation time

Return:

void