Class TextureScalePropertyMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Materials
Lerps the texture scale for the specified shader property.
public class TextureScalePropertyMotion : AbstractVector2Motion<MaterialBuilderWithProperty<Texture>>, ITweenMotion, IMotion
- Inheritance
-
TextureScalePropertyMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
TextureScalePropertyMotion(Material, int, Vector2?, Vector2)
public TextureScalePropertyMotion(Material item, int propertyId, Vector2? from, Vector2 to)
Parameters
item
MaterialpropertyId
intfrom
Vector2?to
Vector2
TextureScalePropertyMotion(Material, int, Vector2)
public TextureScalePropertyMotion(Material item, int propertyId, Vector2 value)
Parameters
item
MaterialpropertyId
intvalue
Vector2
TextureScalePropertyMotion(Material, string, Vector2?, Vector2)
public TextureScalePropertyMotion(Material item, string propertyName, Vector2? from, Vector2 to)
Parameters
item
MaterialpropertyName
stringfrom
Vector2?to
Vector2
TextureScalePropertyMotion(Material, string, Vector2)
public TextureScalePropertyMotion(Material item, string propertyName, Vector2 value)
Parameters
item
MaterialpropertyName
stringvalue
Vector2
Methods
GetFrom()
protected override Vector2 GetFrom()
Returns
- Vector2
SetValue(Vector2)
protected override void SetValue(Vector2 value)
Parameters
value
Vector2