#include <smoothdamp.h>
Public Member Functions | |
BaseSmoothOperator ()=default | |
BaseSmoothOperator (float smoothTime) | |
BaseSmoothOperator (float smoothTime, float maxSpeed) | |
virtual | ~BaseSmoothOperator ()=default |
Public Attributes | |
float | mSmoothTime = 1.0f |
float | mMaxSpeed = math::max<float>() |
Base class of operator that gradually changes a value towards a desired goal over time
|
default |
Default constructor
BaseSmoothOperator | ( | float | smoothTime | ) |
Constructor that takes a smooth time
smoothTime | the time in seconds it will take to reach the target |
BaseSmoothOperator | ( | float | smoothTime, |
float | maxSpeed | ||
) |
Constructor that takes a smooth time and max speed
smoothTime | the time in seconds it will take to reach the target |
maxSpeed | the maximum blend speed |
|
virtualdefault |
float mMaxSpeed = math::max<float>() |
float mSmoothTime = 1.0f |