StaticgetReturns the list of variant names stored on the glTF root object, if any.
The root Object3D returned by GltfLoader.
StaticselectSelects and applies a material variant across all meshes in the object hierarchy.
The root Object3D containing the model hierarchy.
The variant name (string), variant index (number), or null/undefined to reset to original default materials.
true if the variant was recognized and applied (or reset to default), false if the variant name/index was not found.
Utility for querying and applying glTF 2.0 Material Variants (
KHR_materials_variants).