Capítulo 165 de 859
A loader for the FBX format.
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:
FBX format references:
Binary format specification:
const loader = new FBXLoader();
const object = await loader.loadAsync( 'models/fbx/stanford-bunny.fbx' );
scene.add( object );
Constructor
| Signature |
|---|
new FBXLoader( manager : LoadingManager ) |
Methods
| Method | Description |
|---|---|
.load( url : string, onLoad : function, onProgress : onProgressCallback, onError : onErrorCallback ) | Starts loading from the given URL and passes the loaded FBX asset to the onLoad() callback. |
.parse( FBXBuffer : ArrayBuffer, path : string ) : Group | Parses the given FBX data and returns the resulting group. |