Lerp Class
Calculates the linear interpolation between two values.
lerp( from, to, step )
When step==0 the result is from
, when step==1 the result is to
. Partial values are linearly interpolated. Step values <0 and >1 are also supported.
The input supports a 1-4 component value for from
and to
. The result will be same size.
step
must always be a single value.
Location
- Namespace
- Fuse.Reactive
- Package
- Fuse.Reactive.Expressions 2.9.1
Interface of Lerp
Inherited from TernaryOperator
Compute(object, object, object) : object uno
First : Expression uno
IsFirstOptional : bool uno
DEPRECATED: 2017-12-14 Use flags in constructor instead. These virtuals are only used if DeprecatedVirtualFlags specified, and only at initialization of subscription.
IsSecondOptional : bool uno
IsThirdOptional : bool uno
Second : Expression uno
Third : Expression uno
Inherited from ComputeExpression
GetArgument(int) : Expression uno
Name : string uno
TryCompute(Argument[], object) : bool uno
Inherited from Expression
SourceFileName : string ux
hide
SourceLineNumber : int ux
hide
Subscribe(IContext, IListener) : IDisposable uno
See IExpression.Subscribe
for docs.
Inherited from object
Equals(object) : bool uno
GetHashCode : int uno
GetType : Type uno
ToString : string uno
Attached UX Attributes
GlobalKey (attached by Resource) : string ux
Implemented Interfaces
IExpression uno
ISourceLocation uno
hide