DefaultLoadingManager

THREE.DefaultLoadingManager

Default loading manager used by loaders if one isn't specified.

Attributes

Graph
Supertypes
class Object
trait Any
class Object
trait Matchable
class Any
Show all
Self type

Members list

Value members

Inherited methods

def getItemLoadTime(url: String): Double

Get current load progress (0 to 100).

Get current load progress (0 to 100).

Attributes

Inherited from:
LoadingManager

Returns the number of items currently being loaded.

Returns the number of items currently being loaded.

Attributes

Inherited from:
LoadingManager

Returns the number of items already loaded.

Returns the number of items already loaded.

Attributes

Inherited from:
LoadingManager
def hasOwnProperty(v: String): Boolean

Attributes

Inherited from:
Object
def isPrototypeOf(v: Object): Boolean

Attributes

Inherited from:
Object
def itemEnd(url: String): Unit

Check if item has completed loading.

Check if item has completed loading.

Attributes

Inherited from:
LoadingManager
def itemError(url: String): Unit

Mark an item as having failed to load.

Mark an item as having failed to load.

Attributes

Inherited from:
LoadingManager
def itemStart(url: String): Unit

Mark item as being currently loaded.

Mark item as being currently loaded.

Attributes

Inherited from:
LoadingManager
def propertyIsEnumerable(v: String): Boolean

Attributes

Inherited from:
Object
def resolveURL(url: String): String

Given a URL, returns the resolved URL (after any redirects).

Given a URL, returns the resolved URL (after any redirects).

Attributes

Inherited from:
LoadingManager
def setPath(path: String): LoadingManager.this.type

Base path for all file loading.

Base path for all file loading.

Attributes

Inherited from:
LoadingManager
def setURLModifier(callback: Function1[String, String]): LoadingManager.this.type

Set a custom resource URL modifier.

Set a custom resource URL modifier.

Attributes

Inherited from:
LoadingManager
def toLocaleString(): String

Attributes

Inherited from:
Object
def valueOf(): Any

Attributes

Inherited from:
Object

Inherited fields

var onError: UndefOr[Function1[String, Unit]]

Attributes

Inherited from:
LoadingManager
var onLoad: UndefOr[Function0[Unit]]

Attributes

Inherited from:
LoadingManager
var onProgress: UndefOr[Function3[String, Int, Int, Unit]]

Attributes

Inherited from:
LoadingManager
var onStart: Function3[String, Int, Int, Unit]

Attributes

Inherited from:
LoadingManager