Protected
_dirtyProtected
Optional
_viewerProtected
_viewerIf true, the first variant will be applied to the objects when object is added and nothing is selected.
The selected variant. Changing this will automatically apply the variant to the objects.
Static
Optional
Readonly
OldStatic
Readonly
PluginPrivate
_loaderPrivate
_objectProtected
_onProtected
_storePrivate
_variantApply the variant to objects.
It will also change the selectedVariant
if root
is not provided.
Optional
root: IObject3D<IObject3DEvent<IObject3DEventTypes>, IObject3DEventTypes>[]Optional
meta: SerializationMetaTypeOptional
setOptional
meta: SerializationMetaTypeGenerated using TypeDoc
GLTF khr_material_variants plugin
This plugin allows to import and export gltf files with KHR_materials_variants extension. The material data is stored in the object userData. The plugin also provides a UI to select the variant.