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

CameraMotionReader

Direct Subclass:

VMDCameraReader

CameraMotionReader class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

read motion data from given URL

public

read motion data from given File object

Public Constructors

public constructor source

constructor

Public Methods

public readMotion(url: string | File): CameraMotion | null source

read motion data from given URL

Params:

NameTypeAttributeDescription
url string | File

URL of motion data or File object

Return:

CameraMotion | null

motion data

public readMotionFromFile(file: File): CameraMotion | null source

read motion data from given File object

Params:

NameTypeAttributeDescription
file File

File object of motion data

Return:

CameraMotion | null

motion data