new ResourceDescriptor(url, extension)
A resource description used by THREE.LoaderSupport.PrepData and others.
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string | URL to the file |
extension |
string | The file extension (type) |
Methods
-
<static> ResourceDescriptor#setContent(content)
-
Set the content of this resource (String)
Parameters:
Name Type Description contentObject The file content as arraybuffer or text