Class ScalarLerp
Returns the linear interpolation between two scalars.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
[UnitTitleAttribute]
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 |
Overrides
Implements
IDisposable