Utilities
These functions work without the VrmCanvas component. Use them to check files before uploading, or to build your own three.js scene.
Validation
Both functions only read the file header and the JSON chunk, so they are fast enough to run before uploading:
Loading
Building your own component
useVrmCanvas is the composable behind VrmCanvas. Together with vrmCanvasProps and vrmCanvasEmits, it lets you render the canvas with your own markup:
Meta
Meta contains the package version and build date: