Table of Contents

Class BackgroundColorMotion

Lerps the Camera.backgroundColor value.

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

Constructors

BackgroundColorMotion(Camera, Color)

public BackgroundColorMotion(Camera item, Color value)

Parameters

item Camera
value Color

BackgroundColorMotion(Camera, Color?, Color)

public BackgroundColorMotion(Camera item, Color? from, Color to)

Parameters

item Camera
from Color?
to Color

Methods

GetFrom()

protected override Color GetFrom()

Returns

Color

SetValue(Color)

protected override void SetValue(Color value)

Parameters

value Color