Table of Contents

Class VectorPropertyMotion

Lerps the vector for the specified shader property.

public class VectorPropertyMotion : AbstractVector4Motion<MaterialBuilderWithProperty<Vector4>>, ITweenMotion, IMotion
Inheritance
VectorPropertyMotion
Implements
Inherited Members
Extension Methods

Constructors

VectorPropertyMotion(Material, int, Vector4?, Vector4)

public VectorPropertyMotion(Material item, int propertyId, Vector4? from, Vector4 to)

Parameters

item Material
propertyId int
from Vector4?
to Vector4

VectorPropertyMotion(Material, int, Vector4)

public VectorPropertyMotion(Material item, int propertyId, Vector4 value)

Parameters

item Material
propertyId int
value Vector4

VectorPropertyMotion(Material, string, Vector4?, Vector4)

public VectorPropertyMotion(Material item, string propertyName, Vector4? from, Vector4 to)

Parameters

item Material
propertyName string
from Vector4?
to Vector4

VectorPropertyMotion(Material, string, Vector4)

public VectorPropertyMotion(Material item, string propertyName, Vector4 value)

Parameters

item Material
propertyName string
value Vector4

Methods

GetFrom()

protected override Vector4 GetFrom()

Returns

Vector4

SetValue(Vector4)

protected override void SetValue(Vector4 value)

Parameters

value Vector4