Class Lerp<T>
Syntax
[UnitOrder(501)]
public abstract class Lerp<T> : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Type Parameters
Properties
a
Declaration
[DoNotSerialize]
public ValueInput a { get; }
Property Value
b
Declaration
[DoNotSerialize]
public ValueInput b { get; }
Property Value
defaultA
Declaration
[DoNotSerialize]
protected virtual T defaultA { get; }
Property Value
defaultB
Declaration
[DoNotSerialize]
protected virtual T defaultB { get; }
Property Value
interpolation
The linear interpolation between A and B at T.
Declaration
[DoNotSerialize]
public ValueOutput interpolation { get; }
Property Value
t
Declaration
[DoNotSerialize]
public ValueInput t { get; }
Property Value
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Operation(T, T, Single)
Declaration
public abstract T Operation(T a, T b, float t)
Parameters
Type |
Name |
Description |
T |
a |
|
T |
b |
|
Single |
t |
|
Returns
Extension Methods