Class VectorPropertyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the vector for the specified shader property.
public class VectorPropertyMotion : AbstractVector4Motion<MaterialBuilderWithProperty<Vector4>>, ITweenMotion, IMotion, IObjectMotion
- Inheritance
-
VectorPropertyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
VectorPropertyMotion(Material, int, Vector4?, Vector4)
public VectorPropertyMotion(Material item, int propertyId, Vector4? from, Vector4 to)
Parameters
itemMaterialpropertyIdintfromVector4?toVector4
VectorPropertyMotion(Material, int, Vector4)
public VectorPropertyMotion(Material item, int propertyId, Vector4 value)
Parameters
itemMaterialpropertyIdintvalueVector4
VectorPropertyMotion(Material, string, Vector4?, Vector4)
public VectorPropertyMotion(Material item, string propertyName, Vector4? from, Vector4 to)
Parameters
itemMaterialpropertyNamestringfromVector4?toVector4
VectorPropertyMotion(Material, string, Vector4)
public VectorPropertyMotion(Material item, string propertyName, Vector4 value)
Parameters
itemMaterialpropertyNamestringvalueVector4
Methods
GetFrom()
protected override Vector4 GetFrom()
Returns
- Vector4
SetValue(Vector4)
protected override void SetValue(Vector4 value)
Parameters
valueVector4