How to start with a non-default variant? #5066
Unanswered
echadwick-artist
asked this question in
Q&A
Replies: 1 comment
-
https://modelviewer.dev/docs/#scenegraph-attributes Just set the "variant-name" parameter I guess? Like variant-name="yourVariantName" |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
https://ericchadwick.com/gltf/index.html#ChronographWatch
Is there a way to sync the loaded variant to the variant UI?
Currently model-viewer loads the default 'Midnight Gold' variant, but the variant list displays the variant name 'Surgical White'.
I would prefer to have model-viewer show the variant 'Surgical White' on load, so the model appearance would match the variant name shown in the variant list UI. Alternatively, perhaps the UI could be set to the 'Midnight Gold' name?
Thanks!
BTW, loving model-viewer, such a nice renderer!
Beta Was this translation helpful? Give feedback.
All reactions