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