Class Vector2Lerp
Returns the linear interpolation between two 2D vectors.
Implements
Inherited Members
Namespace: Unity.VisualScripting
Assembly: Unity.VisualScripting.Flow.dll
Syntax
[UnitCategory("Math/Vector 2")]
[UnitTitle("Lerp")]
public sealed class Vector2Lerp : Lerp<Vector2>, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
defaultA
Declaration
protected override Vector2 defaultA { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
defaultB
Declaration
protected override Vector2 defaultB { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Overrides
Methods
Operation(Vector2, Vector2, float)
Declaration
public override Vector2 Operation(Vector2 a, Vector2 b, float t)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | a | |
Vector2 | b | |
float | t |
Returns
Type | Description |
---|---|
Vector2 |