lovr.data.newModelData
EditLoads a 3D model from a file. The supported 3D file formats are OBJ and glTF.
Arguments
Name | Type | Description |
filename | string | The filename of the model to load. |
Returns
Name | Type | Description |
modelData | ModelData | The new ModelData. |
Arguments
Name | Type | Description |
blob | Blob | The Blob containing data for a model to decode. |
Returns
Name | Type | Description |
modelData | ModelData | The new ModelData. |