# UsdzExporter

Class · category: Exporter

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/extras/exporters/usdz-exporter.js#L154

Implementation of the USDZ format exporter. Note that ASCII version of the format (USDA) is used.

## Methods

### build

```ts
build(entity: Entity, options?: object): Promise<ArrayBuffer>
```

Converts a hierarchy of entities to USDZ format. Skinned meshes are exported in their current
pose.

**Parameters**

- `entity` ([`Entity`](https://api.playcanvas.com/engine/classes/Entity.md)): The root of the entity hierarchy to convert.
- `options` (`object`, optional, default `{}`): Object for passing optional arguments.
    - `options.maxTextureSize` (`number`, optional): Maximum texture size. Texture is resized if over
      the size.

**Returns** `Promise<ArrayBuffer>`: - The USDZ file content.

## Inherited from CoreExporter

- `new UsdzExporter()`
