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

ModelReader

Direct Subclass:

ObjReader, PMDReader, XReader

ModelReader class

Method Summary

Public Methods
public

read model file from url

public

read model file from File object

Public Methods

public readModel(url: String): Model source

read model file from url

Params:

NameTypeAttributeDescription
url String

url of model file

Return:

Model

model

public readModelFromFile(file: String): Model source

read model file from File object

Params:

NameTypeAttributeDescription
file String

File object

Return:

Model

model