MaterialPalette
Class in Zigurous.ColorPro
Declaration
public sealed class MaterialPalette : ScriptableObjectDescription
Represents a palette of materials that can be saved as a Unity asset.
Properties
| materials | The materials that define the palette. |
| Item[int] | Gets or sets the material at the specified index. |
Methods
| Add | Adds a new material to the palette. |
| Random | Returns a random material from the palette. |
| Convert | Converts the material palette to a color palette using each material's main color. |