Interface MaterialVariations
Properties
Optionaldata
data?: { icon?: string; [key: string]: any }[]
preview
preview:
| (keyof PhysicalMaterial<IMaterialEventMap>)
| "generate:sphere"
| "generate:cube"
| "generate:cylinder"
Optionalregex
regex?: boolean
OptionalselectedIndex
selectedIndex?: string | number
Optionaltimeline
timeline?: { duration?: number; index: string | number; time: number }[]
Whether to use regex to match the material name.