Engine API Reference - v2.6.1
    Preparing search index...

    Class UsdzExporter

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

    Hierarchy

    • CoreExporter
      • UsdzExporter
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Converts a hierarchy of entities to USDZ format.

      Parameters

      • entity: Entity

        The root of the entity hierarchy to convert.

      • options: { maxTextureSize?: number } = {}

        Object for passing optional arguments.

        • OptionalmaxTextureSize?: number

          Maximum texture size. Texture is resized if over the size.

      Returns Promise<ArrayBuffer>

      • The USDZ file content.