Interface MaterialVariations
interface MaterialVariations { data?: { icon?: string; [key: string]: any }[]; materials: IMaterial[]; preview: | (keyof PhysicalMaterial<IMaterialEventMap>)
| "generate:sphere" | "generate:cube" | "generate:cylinder"; selectedIndex?: number; title: string; uuid: string;} Properties
Optional
data
data?: { icon?: string; [key: string]: any }[]
preview
preview:
| (keyof PhysicalMaterial<IMaterialEventMap>)
| "generate:sphere"
| "generate:cube"
| "generate:cylinder"
Optional
selectedIndex
selectedIndex?: number
Title to show in the UI