Capítulo 616 de 859
An exporter for USDZ.
const exporter = new USDZExporter();
const arraybuffer = await exporter.parseAsync( scene );
Constructor
| Signature |
|---|
new USDZExporter() |
Properties
| Property | Description |
|---|---|
| `.textureUtils : WebGLTextureUtils | WebGPUTextureUtils` |
Methods
| Method | Description |
|---|---|
.parse( scene : Object3D, onDone : USDZExporter~OnDone, onError : USDZExporter~OnError, options : USDZExporter~Options ) | Parse the given 3D object and generates the USDZ output. |
.parseAsync( scene : Object3D, options : USDZExporter~Options ) : Promise.<ArrayBuffer> (async) | Async version of USDZExporter#parse. |
| `.setTextureUtils( utils : WebGLTextureUtils | WebGPUTextureUtils )` |