Table of Contents

Class ColorMotion

Lerps the Light.color value.

public class ColorMotion : AbstractColorMotion<Light>, ITweenMotion, IMotion
Inheritance
AbstractValueMotion<Light, Color>
ColorMotion
Implements
Inherited Members
Extension Methods

Constructors

ColorMotion(Light, Color)

public ColorMotion(Light item, Color value)

Parameters

item Light
value Color

ColorMotion(Light, Color?, Color)

public ColorMotion(Light item, Color? from, Color to)

Parameters

item Light
from Color?
to Color

Methods

GetFrom()

protected override Color GetFrom()

Returns

Color

SetValue(Color)

protected override void SetValue(Color value)

Parameters

value Color