Table of Contents

Class FloatPropertyMotion

Lerps the value for the specified shader property.

public class FloatPropertyMotion : AbstractFloatMotion<MaterialBuilderWithProperty<float>>, ITweenMotion, IMotion
Inheritance
FloatPropertyMotion
Implements
Inherited Members
Extension Methods

Constructors

FloatPropertyMotion(Material, int, float?, float)

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

Parameters

item Material
propertyId int
from float?
to float

FloatPropertyMotion(Material, int, float)

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

Parameters

item Material
propertyId int
value float

FloatPropertyMotion(Material, string, float?, float)

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

Parameters

item Material
propertyName string
from float?
to float

FloatPropertyMotion(Material, string, float)

public FloatPropertyMotion(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