FileLoader
THREE.FileLoader
class FileLoader(loadingManager: UndefOr[LoadingManager]) extends Object
Class for loading a file as a string or ArrayBuffer.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
def load(url: String, onLoad: UndefOr[Function1[String | ArrayBuffer, Unit]], onProgress: UndefOr[Function3[Any, Int, Int, Unit]], onError: UndefOr[Function1[Error, Unit]]): String | ArrayBuffer
Load a file from a URL.
Load a file from a URL.
Attributes
def loadAsync(url: String, onProgress: UndefOr[Function3[Any, Int, Int, Unit]]): Promise[String | ArrayBuffer]
Load a file from a URL asynchronously with Promise.
Load a file from a URL asynchronously with Promise.
Attributes
Set the mime type for the loader.
Set the mime type for the loader.
Attributes
Set the loading manager for this loader.
Set the loading manager for this loader.
Attributes
Set the response type for the loader.
Set the response type for the loader.
Attributes
Set whether to use credentials when fetching the file.
Set whether to use credentials when fetching the file.
Attributes
Inherited methods
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
Attributes
- Inherited from:
- Object
In this article