Class ScaleLocalVectorMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.Transforms
Lerps the Transform.localScale value.
public class ScaleLocalVectorMotion : AbstractVector3Motion<Transform>, ITweenMotion, IMotion
- Inheritance
-
AbstractTweenMotion<Transform>AbstractVector3Motion<Transform>ScaleLocalVectorMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
ScaleLocalVectorMotion(Transform, Vector3?, Vector3)
public ScaleLocalVectorMotion(Transform item, Vector3? from, Vector3 to)
Parameters
item
Transformfrom
Vector3?to
Vector3
ScaleLocalVectorMotion(Transform, Vector3)
public ScaleLocalVectorMotion(Transform item, Vector3 value)
Parameters
item
Transformvalue
Vector3
Methods
GetFrom()
protected override Vector3 GetFrom()
Returns
- Vector3
GetTo(Vector3, Vector3)
protected override Vector3 GetTo(Vector3 from, Vector3 value)
Parameters
from
Vector3value
Vector3
Returns
- Vector3
SetValue(Vector3)
protected override void SetValue(Vector3 value)
Parameters
value
Vector3