This class is like VarInterpolatorT, but for Vector3fTs that represent quaternions. More...
#include "Interpolator.hpp"
Public Member Functions | |
VarSlerpT (cf::TypeSys::VarT< Vector3fT > &v) | |
cf::TypeSys::VarBaseT * | GetVar () const override |
Returns the variable that this is an interpolator for. More... | |
void | ReInit () override |
Re-initializes this interpolator to the variable's current value. More... | |
void | UpdateTargetValue () override |
Updates the interpolator to interpolate from the current interpolated value to the current value of the variable (the new target value). More... | |
void | UpdateAfterReprediction () override |
Updates the interpolator to account for the new target value after the local human player's reprediction has been performed. More... | |
void | UpdateAfterPrediction () override |
Updates the interpolator to account for the new target value after the local human player's prediction has been performed. More... | |
void | AdvanceTime (float Time) override |
Advances the interpolation over the given time. More... | |
void | SetCurrentValue () override |
Assigns the interpolation's current value to the variable. More... | |
void | SetTargetValue () override |
Assigns the interpolation's target value to the variable. More... | |
This class is like VarInterpolatorT, but for Vector3fTs that represent quaternions.
|
inlineoverridevirtual |
Advances the interpolation over the given time.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Returns the variable that this is an interpolator for.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Re-initializes this interpolator to the variable's current value.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Assigns the interpolation's current value to the variable.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Assigns the interpolation's target value to the variable.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Updates the interpolator to account for the new target value after the local human player's prediction has been performed.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Updates the interpolator to account for the new target value after the local human player's reprediction has been performed.
Implements cf::GameSys::ApproxBaseT.
|
inlineoverridevirtual |
Updates the interpolator to interpolate from the current interpolated value to the current value of the variable (the new target value).
Implements cf::GameSys::ApproxBaseT.