MaterialSchemeFactory

Static Class
Unity-facing helpers and extensions for Material Color Utilities. This file is intended to sit on top of the lower-level ported types: Hct, Cam16, Blend, DynamicScheme, DynamicColor, TonalPalette, MaterialDynamicColors, Contrast, Variant, and the scheme preset classes.

Static Methods

CreateScheme(sourceColor: Color, variant: Variant, isDark: bool, contrastLevel: double): DynamicScheme
Creates a dynamic scheme from a Unity gamma-space color and a preset variant.
CreateScheme(sourceColorHct: Hct, variant: Variant, isDark: bool, contrastLevel: double): DynamicScheme
Creates a dynamic scheme from an HCT seed color and a preset variant.
CreateScheme(sourceArgb: int, variant: Variant, isDark: bool, contrastLevel: double): DynamicScheme
Creates a dynamic scheme from an ARGB seed color and a preset variant.

Inherited Members

On this page