Class BlendableVector3
Vector3 Lerp utility class
public class BlendableVector3 : IBlendableProperty<Vector3>
- Inheritance
-
objectBlendableVector3
- Implements
-
IBlendableProperty<Vector3>
Constructors
BlendableVector3()
public BlendableVector3()
BlendableVector3(Vector3)
public BlendableVector3(Vector3 value)
Parameters
value
Vector3
Properties
CurrentValue
Current value of the property
public Vector3 CurrentValue { get; set; }
Property Value
- Vector3
Methods
Lerp(Vector3, Vector3, float)
Linearly interpolates between two values
public static Vector3 Lerp(Vector3 start, Vector3 end, float t)
Parameters
start
Vector3end
Vector3t
float
Returns
- Vector3
Interpolated value