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

ModelBank

ModelBank class

Constructor Summary

Public Constructor
public

constructor

Method Summary

Public Methods
public

addModelReader(modelReader: *)

public

getFileID(file: *): string

public

getModel(modelFile: *, options: *): *

public

getModelForRenderer(modelFile: *, renderer: *): *

public

getModelFromFile(modelFile: *, options: *): *

Public Constructors

public constructor source

constructor

Public Methods

public addModelReader(modelReader: *) source

Params:

NameTypeAttributeDescription
modelReader *

public getFileID(file: *): string source

Params:

NameTypeAttributeDescription
file *

Return:

string

public getModel(modelFile: *, options: *): * source

Params:

NameTypeAttributeDescription
modelFile *
options *

Return:

*

public getModelForRenderer(modelFile: *, renderer: *): * source

Params:

NameTypeAttributeDescription
modelFile *
renderer *

Return:

*

public getModelFromFile(modelFile: *, options: *): * source

Params:

NameTypeAttributeDescription
modelFile *
options *

Return:

*