Select a material variant by name on a loaded glTF asset.
Two-step operation:
This ensures meshes without a mapping for the new variant revert to their defaults, even when switching between variants (e.g. Red → White).
Works both before and after addToScene():
Select a material variant by name on a loaded glTF asset.
Two-step operation:
This ensures meshes without a mapping for the new variant revert to their defaults, even when switching between variants (e.g. Red → White).
Works both before and after addToScene():