Call glb and usdz dynamically #4129
Unanswered
Arumugamsix
asked this question in
Q&A
Replies: 2 comments
-
I'm not sure what you mean - can you give me detail? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Maybe something like this? modelViewer.setAttribute('src', "model.gltf"); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to call the src (.glb, .usdz) dynamically from API or another method
<model-viewer src="models/window.gltf"
<model-viewer src="models/window.usdz"
Beta Was this translation helpful? Give feedback.
All reactions