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