About
The maxon::BlendFunctionInterface is a simple interface that allows to blend between a minimum and maximum value. Various implementations for different interpolation modes exist.
Classes
Various implementations of maxon::BlendFunctionInterface can be found under maxon::BlendFunctions:
Linear interpolation:
- maxon::BlendFunctions::Linear
Quadratic interpolation:
- maxon::BlendFunctions::EaseInQuad
- maxon::BlendFunctions::EaseOutQuad
- maxon::BlendFunctions::EaseInOutQuad
- maxon::BlendFunctions::EaseOutInQuad
Cubic interpolation:
- maxon::BlendFunctions::EaseInCubic
- maxon::BlendFunctions::EaseOutCubic
- maxon::BlendFunctions::EaseInOutCubic
- maxon::BlendFunctions::EaseOutInCubic
Quartic interpolation:
- maxon::BlendFunctions::EaseInQuart
- maxon::BlendFunctions::EaseOutQuart
- maxon::BlendFunctions::EaseInOutQuart
- maxon::BlendFunctions::EaseOutInQuart
Quintic interpolation:
- maxon::BlendFunctions::EaseInQuint
- maxon::BlendFunctions::EaseOutQuint
- maxon::BlendFunctions::EaseInOutQuint
- maxon::BlendFunctions::EaseOutInQuint
Sextic interpolation:
- maxon::BlendFunctions::EaseInSext
- maxon::BlendFunctions::EaseOutSext
- maxon::BlendFunctions::EaseInOutSext
- maxon::BlendFunctions::EaseOutInSext
Sinusoidal interpolation:
- maxon::BlendFunctions::EaseInSine
- maxon::BlendFunctions::EaseOutSine
- maxon::BlendFunctions::EaseInOutSine
- maxon::BlendFunctions::EaseOutInSine
Exponential interpolation:
- maxon::BlendFunctions::EaseInExpo
- maxon::BlendFunctions::EaseOutExpo
- maxon::BlendFunctions::EaseInOutExpo
- maxon::BlendFunctions::EaseOutInExpo
Circular interpolation:
- maxon::BlendFunctions::EaseInCirc
- maxon::BlendFunctions::EaseOutCirc
- maxon::BlendFunctions::EaseInOutCirc
- maxon::BlendFunctions::EaseOutInCirc
Elastic interpolation:
- maxon::BlendFunctions::EaseInElastic
- maxon::BlendFunctions::EaseOutElastic
- maxon::BlendFunctions::EaseInOutElastic
- maxon::BlendFunctions::EaseOutInElastic
Back interpolation:
- maxon::BlendFunctions::EaseInBack
- maxon::BlendFunctions::EaseOutBack
- maxon::BlendFunctions::EaseInOutBack
- maxon::BlendFunctions::EaseOutInBack
Bounce interpolation:
- maxon::BlendFunctions::EaseInBounce
- maxon::BlendFunctions::EaseOutBounce
- maxon::BlendFunctions::EaseInOutBounce
- maxon::BlendFunctions::EaseOutInBounce
BlendFunctionInterface
The function represented by maxon::BlendFunctionInterface is used with:
const maxon::BlendFunctionRef& easeInOut = maxon::BlendFunctions::EaseInOutQuad();
{
pos += step;
}
Definition: basearray.h:431
ResultMem EnsureCapacity(Int requestedCapacity, COLLECTION_RESIZE_FLAGS resizeFlags=COLLECTION_RESIZE_FLAGS::ON_GROW_RESERVE_CAPACITY)
If necessary the array capacity is increased to hold at least the given number of elements without fu...
Definition: basearray.h:1357
MAXON_ATTRIBUTE_FORCE_INLINE ResultRef< T > Append(ARG &&x)
Appends a new element at the end of the array and constructs it using the forwarded value.
Definition: basearray.h:642
Definition: datatypebase.h:1235
Result< typename std::conditional< GetCollectionKind< T >::value==COLLECTION_KIND::ARRAY||std::is_void_v< T >, T, std::add_lvalue_reference_t< const T > >::type > Get() const
Definition: datatypebase.h:1395
Int64 Int
signed 32/64 bit int, size depends on the platform
Definition: apibase.h:187
Float64 Float
Definition: apibase.h:196
#define DiagnosticOutput(formatString,...)
Definition: debugdiagnostics.h:170
#define iferr_return
Definition: resultbase.h:1511
Further Reading