Model - USD
API reference for src/import/usd on @huukhanhnguyen/model, reachable from ..
See the Guide for the ModelJSON / evaluate pipeline.
API reference
Signatures are generated from the live package .d.ts - not hand-written.
importUsdaString
function
Sync path for plain USDA text (tests / non-zip).
importUsdaString(text: string): ImportedUsdimportUsdEntities
function
Import a USDA string, raw .usd text, or USDZ (zip) ArrayBuffer/Uint8Array into the same { entities, materials } product as OBJ/STL import.
importUsdEntities(input: string | ArrayBuffer | Uint8Array, options?: ImportUsdOptions): Promise<ImportedUsd>