Class TextureOffsetPropertyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the texture offset for the specified shader property.
public class TextureOffsetPropertyMotion : AbstractVector2Motion<MaterialBuilderWithProperty<Texture>>, ITweenMotion, IMotion, IObjectMotion
- Inheritance
-
TextureOffsetPropertyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
TextureOffsetPropertyMotion(Material, int, Vector2?, Vector2)
public TextureOffsetPropertyMotion(Material item, int propertyId, Vector2? from, Vector2 to)
Parameters
itemMaterialpropertyIdintfromVector2?toVector2
TextureOffsetPropertyMotion(Material, int, Vector2)
public TextureOffsetPropertyMotion(Material item, int propertyId, Vector2 value)
Parameters
itemMaterialpropertyIdintvalueVector2
TextureOffsetPropertyMotion(Material, string, Vector2?, Vector2)
public TextureOffsetPropertyMotion(Material item, string propertyName, Vector2? from, Vector2 to)
Parameters
itemMaterialpropertyNamestringfromVector2?toVector2
TextureOffsetPropertyMotion(Material, string, Vector2)
public TextureOffsetPropertyMotion(Material item, string propertyName, Vector2 value)
Parameters
itemMaterialpropertyNamestringvalueVector2
Methods
GetFrom()
protected override Vector2 GetFrom()
Returns
- Vector2
SetValue(Vector2)
protected override void SetValue(Vector2 value)
Parameters
valueVector2