ColorPalette.Convert
Method in ColorPalette
Declaration
public MaterialPalette Convert(Material baseMaterial)
Description
Converts the color palette to a material palette by instantiating a new material for each color.
Parameters
baseMaterial | The material to clone when creating new materials. |
Returns
MaterialPalette | A new material palette. |