Interface: MaterialVariantBinding
Defined in: src/components/renderer/MaterialVariants.ts:9
One renderer's participation in the variant set: the material it was authored with, and the material to use for each variant index that maps it.
Properties
renderer
renderer:
object
Defined in: src/components/renderer/MaterialVariants.ts:11
A MeshRenderer / SkinnedMeshRenderer2 — anything with a material property.
material
material:
Material
original
original:
Material
Defined in: src/components/renderer/MaterialVariants.ts:13
Material used when no variant (or a variant that does not mention this primitive) is active.
byVariant
byVariant:
Map<number,Material>
Defined in: src/components/renderer/MaterialVariants.ts:15
Variant index → material.

