prev:
text: 'PLYLoadPlugin'
link: './PLYLoadPlugin'
next:
text: 'STLLoadPlugin'
link: './STLLoadPlugin'
Example — Source Code — API Reference
Adds support for loading .usdz and .usda (Universal Scene Description) files.
import {USDZLoadPlugin} from 'threepipe'
viewer.addPluginSync(new USDZLoadPlugin())
const mesh = await viewer.load('file.usdz')
const mesh2 = await viewer.load('file.usda')