xrf.js/README.md

21 lines
700 B
Markdown
Raw Permalink Normal View History

2025-09-30 13:20:59 +02:00
XR Fragment utilities
=====================
These are helper functions to make 3D (javascript) viewers XR Fragment compatible.
See function list below
> this README.md is generated by running `echo "$(./README.awk *.js)" > README.md`
2025-10-02 16:56:10 +02:00
# library functions
2025-10-02 17:01:09 +02:00
import {...} from 'xrf/level0'
2025-10-02 16:56:10 +02:00
| function | example |
|------------------------|-------------------------------------------------------------------------|
2025-10-23 09:28:05 +02:00
| sideCarFiles(...) | sideCarFiles("https://f.org/a.glb") `// ["https://f.org/a.png",...]` |
| fetchSideCarFiles(...) | await fetchSideCarFiles("https://f.org/a.glb") `// [{code:200},...]` |
2025-10-02 16:56:10 +02:00