Table of Contents

Class IntPropertyMotion

Lerps the value for the specified shader property.

public class IntPropertyMotion : AbstractIntMotion<MaterialBuilderWithProperty<int>>, ITweenMotion, IMotion
Inheritance
IntPropertyMotion
Implements
Inherited Members
Extension Methods

Constructors

IntPropertyMotion(Material, int, int)

public IntPropertyMotion(Material item, int propertyId, int value)

Parameters

item Material
propertyId int
value int

IntPropertyMotion(Material, int, int?, int)

public IntPropertyMotion(Material item, int propertyId, int? from, int to)

Parameters

item Material
propertyId int
from int?
to int

IntPropertyMotion(Material, string, int)

public IntPropertyMotion(Material item, string propertyName, int value)

Parameters

item Material
propertyName string
value int

IntPropertyMotion(Material, string, int?, int)

public IntPropertyMotion(Material item, string propertyName, int? from, int to)

Parameters

item Material
propertyName string
from int?
to int

Methods

GetFrom()

protected override int GetFrom()

Returns

int

SetValue(int)

protected override void SetValue(int value)

Parameters

value int