GLTFLoader class
Constructors
- GLTFLoader([dynamic manager])
Properties
- crossOrigin ↔ String
-
getter/setter pairinherited
- ddsLoader ↔ dynamic
-
getter/setter pair
- dracoLoader ↔ dynamic
-
getter/setter pair
- flipY ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- ktx2Loader ↔ dynamic
-
getter/setter pair
- manager ↔ LoadingManager
-
getter/setter pairinherited
- meshoptDecoder ↔ dynamic
-
getter/setter pair
- mimeType ↔ String
-
getter/setter pairinherited
- path ↔ String
-
getter/setter pairinherited
-
pluginCallbacks
↔ List<
Function> -
getter/setter pair
-
requestHeader
↔ Map<
String, dynamic> -
getter/setter pairinherited
- resourcePath ↔ String?
-
getter/setter pairinherited
- responseType ↔ String
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- withCredentials ↔ bool
-
getter/setter pairinherited
Methods
-
load(
dynamic url, Function onLoad, [Function? onProgress, Function? onError]) → dynamic -
override
-
loadAsync(
dynamic url) → Future -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parse(
dynamic data, [String? path, Function? onLoad, Function? onError]) → dynamic -
override
-
register(
Function callback) → dynamic -
setCrossOrigin(
String crossOrigin) → Loader -
inherited
-
setDDSLoader(
dynamic ddsLoader) → dynamic -
setDRACOLoader(
dynamic dracoLoader) → dynamic -
setKTX2Loader(
dynamic ktx2Loader) → dynamic -
setMeshoptDecoder(
dynamic meshoptDecoder) → dynamic -
setPath(
String path) → GLTFLoader -
override
-
setRequestHeader(
Map< String, dynamic> requestHeader) → Loader -
inherited
-
setResourcePath(
String? resourcePath) → Loader -
inherited
-
setWithCredentials(
bool value) → Loader -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
dynamic callback) → dynamic
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited