FBXLoader class
Loader loads FBX file and generates Group representing FBX scene. Requires FBX file to be >= 7.0 and in ASCII or >= 6400 in Binary format Versions lower than this may load but will probably have errors
Needs Support: Morph normals / blend shape normals
FBX format references: https://help.autodesk.com/view/FBX/2017/ENU/?guid=__cpp_ref_index_html (C++ SDK reference)
Binary format specification: https://code.blender.org/2013/08/fbx-binary-file-format-specification/
- Inheritance
-
- Object
- Loader
- FBXLoader
Constructors
- FBXLoader.new({LoadingManager? manager, int width = 1, int height = 1})
-
manager
— TheloadingManager
for the loader to use. Default isDefaultLoadingManager
.
Properties
- crossOrigin ↔ String
-
getter/setter pairinherited
- flipY ↔ bool
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerHeight ↔ int
-
getter/setter pair
- innerWidth ↔ int
-
getter/setter pair
- manager ↔ LoadingManager
-
getter/setter pairinherited
- mimeType ↔ String
-
getter/setter pairinherited
- path ↔ String
-
getter/setter pairinherited
-
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
-
dispose(
) → void -
override
-
fromAsset(
String asset, {String? package}) → Future< AnimationObject?> -
asset
- path of the file to be loadedoverride -
fromBlob(
Blob blob) → Future< AnimationObject?> -
blob
- a blob of the file to be loadedoverride -
fromBytes(
Uint8List bytes) → Future< AnimationObject?> -
bytes
- the loaded bytes of the fileoverride -
fromFile(
File file) → Future< AnimationObject?> -
file
- the file to be loadedoverride -
fromNetwork(
Uri uri) → Future< AnimationObject?> -
uri
- a uri containing the location of the file to be loadedoverride -
fromPath(
String filePath) → Future< AnimationObject?> -
filePath
- path of the file to be loadedoverride -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCrossOrigin(
String crossOrigin) → Loader -
crossOrigin
— The crossOrigin string to implement CORS for loading the url from a different domain that allows CORS.inherited -
setPath(
String path) → FBXLoader -
path
— Set the base path for the asset.override -
setRequestHeader(
Map< String, dynamic> requestHeader) → Loader -
requestHeader
- key: The name of the header whose value is to be set. value: The value to set as the body of the header.inherited -
setResourcePath(
String? resourcePath) → Loader -
resourcePath
— Set the base path for dependent resources like textures.inherited -
setWithCredentials(
bool value) → Loader -
Whether the XMLHttpRequest uses credentials such as cookies, authorization
headers or TLS client certificates. See
XMLHttpRequest.withCredentials.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unknown(
dynamic url) → Future -
url
- a dynmaic data that gets parsed by the systeminherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited