Back to API Reference
Interface
IHasGradientProvider
abstract
Implemented by modifiers that own an IGradientProvider the editor can surface as the source of the enum:@gradients dropdown. Lets the dropdown content follow the per-modifier provider regardless of which modifier type carries the parameter (GradientModifier, OutlineModifier, or any future modifier that opts into gradient-coloured output).
Implementations(2)
Types that implement IHasGradientProvider.
public IGradientProvider GradientProvider{ get }The gradient provider whose entries should populate the enum:@gradients dropdown when this modifier is selected in the inspector. falls back to the project-wide Gradients asset.
