Class MoveVertexVectorMotion
- Namespace
- FriedSynapse.FlowEnt.Motions.Tween.LineRenderers
Lerps the position of a vertex using LineRenderer.SetPosition(int, Vector3).
public class MoveVertexVectorMotion : AbstractVector3Motion<LineRenderer>, ITweenMotion, IMotion, IObjectMotion
- Inheritance
-
AbstractTweenMotion<LineRenderer>AbstractVector3Motion<LineRenderer>MoveVertexVectorMotion
- Implements
- Inherited Members
- Extension Methods
Constructors
MoveVertexVectorMotion(LineRenderer, int, Vector3?, Vector3)
public MoveVertexVectorMotion(LineRenderer item, int index, Vector3? from, Vector3 to)
Parameters
itemLineRendererindexintfromVector3?toVector3
MoveVertexVectorMotion(LineRenderer, int, Vector3)
public MoveVertexVectorMotion(LineRenderer item, int index, Vector3 value)
Parameters
itemLineRendererindexintvalueVector3
Methods
GetFrom()
protected override Vector3 GetFrom()
Returns
- Vector3
SetValue(Vector3)
protected override void SetValue(Vector3 value)
Parameters
valueVector3