three_live_convert
Compile Three.js scripts, HTML documents, or .glb files into binary glTF (.glb) or 64-byte-aligned USDZ assets for Android, iOS/visionOS, and Web.
Instructions
Compile a Three.js script, HTML document, or .glb into a binary glTF 2.0 (.glb) or Apple 64-byte-aligned Universal Scene Description (.usdz) asset for Android (Filament / Jetpack XR SceneCore), iOS/visionOS (RealityKit / Quick Look), and Web.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Inline Three.js scene script or HTML document. Provide either `code` or `inputPath`. | |
| format | No | Target container format (`glb` or `usdz`). Inferred from `outputPath` extension when omitted (defaults to `glb`). | |
| inputPath | No | Path to an input .js, .html, or .glb file on disk. | |
| outputPath | No | Optional destination path to write the compiled .glb or .usdz binary on disk. |