Constructor
new ModelLoader()
Methods
async static loadFromFile(filePath, model)
Load a 3D model from a JSON file
Parameters:
Name | Type | Description |
---|---|---|
filePath |
string | Path to the file with the 3D model |
model |
Model | Model to fill with data |