Table of Contents

Class AlphaPropertyMotion

Lerps the alpha for the specified shader property.

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

Constructors

AlphaPropertyMotion(Material, int, float?, float)

public AlphaPropertyMotion(Material item, int propertyId, float? from, float to)

Parameters

item Material
propertyId int
from float?
to float

AlphaPropertyMotion(Material, int, float)

public AlphaPropertyMotion(Material item, int propertyId, float value)

Parameters

item Material
propertyId int
value float

AlphaPropertyMotion(Material, string, float?, float)

public AlphaPropertyMotion(Material item, string propertyName, float? from, float to)

Parameters

item Material
propertyName string
from float?
to float

AlphaPropertyMotion(Material, string, float)

public AlphaPropertyMotion(Material item, string propertyName, float value)

Parameters

item Material
propertyName string
value float

Methods

GetFrom()

protected override float GetFrom()

Returns

float

SetValue(float)

protected override void SetValue(float value)

Parameters

value float