Skip to main content

Interface: MaterialVariations

Plugins.MaterialVariations

Properties

uuid

uuid: string

The name or the uuid of the material in the scene


title

title: string

Title to show in the UI


preview

preview: keyof MeshStandardMaterial2<IMaterialEventMap> | "generate:sphere"


materials

materials: IMaterial<any, IMaterialEventMap>[]


data

Optional data: { [key: string]: any; icon?: string }[]


selectedIndex

Optional selectedIndex: number