ImageBitmapLoader
THREE.ImageBitmapLoader
class ImageBitmapLoader(loadingManager: UndefOr[LoadingManager]) extends Object
Class for loading an ImageBitmap.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Anyclass Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
def load(url: String, onLoad: UndefOr[Function1[ImageBitmap, Unit]], onProgress: UndefOr[Function3[Any, Int, Int, Unit]], onError: UndefOr[Function1[Error, Unit]]): ImageBitmap
Load an ImageBitmap from a URL.
Load an ImageBitmap from a URL.
Attributes
def loadAsync(url: String, onProgress: UndefOr[Function3[Any, Int, Int, Unit]]): Promise[ImageBitmap]
Load an ImageBitmap from a URL asynchronously with Promise.
Load an ImageBitmap from a URL asynchronously with Promise.
Attributes
Set options for the loader.
Set options for the loader.
Attributes
Set the loading manager for this loader.
Set the loading manager for this loader.
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