Class Vector2Lerp
Returns the linear interpolation between two 2D vectors.
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Math/Vector 2")]
[UnitDisplay("Lerp")]
[Obsolete("Use Vector2.Lerp instead")]
public sealed class Vector2Lerp : Lerp<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, ISerializationCallbackReceiver
Properties
defaultA
Declaration
protected override Vector2 defaultA { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Ludiq.Bolt.Lerp<Vector2>.defaultA
defaultB
Declaration
protected override Vector2 defaultB { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Ludiq.Bolt.Lerp<Vector2>.defaultB
Methods
Operation(Vector2, Vector2, Single)
Declaration
public override Vector2 Operation(Vector2 a, Vector2 b, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b | |
Single | t |
Returns
Type | Description |
---|---|
Vector2 |
Overrides
Ludiq.Bolt.Lerp<Vector2>.Operation(Vector2, Vector2, System.Single)