Home Reference Source Repository
import MMDCameraAnimator from 'dh3dlib/js/mmd/MMDCameraAnimator.js'
public class | source

MMDCameraAnimator

Extends:

CameraAnimator → MMDCameraAnimator

MMDCameraAnimator class

Constructor Summary

Public Constructor
public

constructor

Member Summary

Public Members
public
public
public

Method Summary

Public Methods
public

getBezierValue(bx1: *, by1: *, bx2: *, by2: *, y0: *, y1: *, k: *): *

public

updateMotion(camera: *, elapsedTime: *)

Inherited Summary

From class CameraAnimator
public

animate(camera: Camera, elapsedTime: float): void

public

updateMotion(camera: Camera, elapsedTime: float): void

update camera status

Public Constructors

public constructor source

constructor

Override:

CameraAnimator#constructor

Public Members

public camera_dx: number source

public camera_dy: number source

public camera_dz: number source

Public Methods

public getBezierValue(bx1: *, by1: *, bx2: *, by2: *, y0: *, y1: *, k: *): * source

Params:

NameTypeAttributeDescription
bx1 *
by1 *
bx2 *
by2 *
y0 *
y1 *
k *

Return:

*

public updateMotion(camera: *, elapsedTime: *) source

Override:

CameraAnimator#updateMotion

Params:

NameTypeAttributeDescription
camera *
elapsedTime *