An interpolator where the change repeats a specified number of cycles. More...
#include <SInterpolatorImpl.h>
Public Member Functions | |
SCycleInterpolator (float cycles=1.0f) | |
Constructor for SCycleInterpolator. | |
float | getInterpolation (float input) SCONST OVERRIDE |
Gets the interpolated value for the given input. | |
virtual HRESULT | SetAttribute (const SNS::SStringW &amp;amp;amp;strAttribName, const SNS::SStringW &amp;amp;amp;strValue, BOOL bLoading=FALSE) |
Attributes for SCycleInterpolator. | |
An interpolator where the change repeats a specified number of cycles.
Definition at line 236 of file SInterpolatorImpl.h.
SCycleInterpolator::SCycleInterpolator | ( | float | cycles = 1.0f | ) |
Constructor for SCycleInterpolator.
cycles | Number of cycles to repeat. |
Definition at line 142 of file SInterpolatorImpl.cpp.
float SCycleInterpolator::getInterpolation | ( | float | input | ) |
Gets the interpolated value for the given input.
input | The input value between 0 and 1. |
Definition at line 137 of file SInterpolatorImpl.cpp.
|
inlinevirtual |
Attributes for SCycleInterpolator.
< Number of cycles to repeat.
Definition at line 259 of file SInterpolatorImpl.h.