The following functions are available for help with Out of Range Type (ORT) processing.
CycleTime()
- Returns a TimeValue
that is the specified time mod
the interval length. The returned time is somewhere within the
interval passed. This cycles the time so that is appears within the
interval.NumCycles()
- Returns the number of times the TimeValue
cycles
through the interval.TestInverval()
- Takes an interval and checks the
flags and modifies the interval based on the state of the
flags.ScaleQuat()
- Returns a quaternion scaled by the specified factor. This scales
the 'angle' of the quaternion.
These template functions require types that support the following operators:
T + T
T - T
T * float
T + float.
Note that these template functions work with quaternions.
LinearExtrapolate()
- Performs a linear extrapolation and returns the result.RepeatExtrapolate()
- Performs a repeat extrapolation and returns the result. This will
cycle the time t
into the interval
range
.IdentityExtrapolate()
- Performs a linear extrapolation using a slope of one and a point
and returns the result.
List of Additional Controller Related Functions