Table of Contents

Class ColorGradientPropertyMotion

Lerps the color for the specified shader property using a gradient.

public class ColorGradientPropertyMotion : AbstractColorGradientMotion<MaterialBuilderWithProperty<Color>>, ITweenMotion, IMotion
Inheritance
ColorGradientPropertyMotion
Implements
Inherited Members
Extension Methods

Constructors

ColorGradientPropertyMotion(Material, int, Gradient)

public ColorGradientPropertyMotion(Material item, int propertyId, Gradient gradient)

Parameters

item Material
propertyId int
gradient Gradient

ColorGradientPropertyMotion(Material, string, Gradient)

public ColorGradientPropertyMotion(Material item, string propertyName, Gradient gradient)

Parameters

item Material
propertyName string
gradient Gradient

Methods

OnUpdate(float)

public override void OnUpdate(float t)

Parameters

t float