| CurveLoopType Enumeration |
Defines how a curve is continued before the first curve key or after the last curve key.
Namespace: DigitalRune.Mathematics.InterpolationAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public enum CurveLoopType
Public Enumeration CurveLoopType
public enum class CurveLoopType
Members
| Member name | Value | Description |
---|
| Constant | 0 |
The curve value is constant and equal to the nearest key.
|
| Linear | 1 |
The curve value is a linear extrapolation of the nearest key value in the direction of the
tangent.
|
| Cycle | 2 |
Parameters specified past the ends of the curve will wrap around to the opposite side of the
curve. If the values of the first and last key are different, the value will "jump"
instantly from one value to the other at the curve ends.
|
| CycleOffset | 3 |
Same as Cycle but the curve values are offset by the difference of the first
and last key value. Unlike Cycle the curve is continued without "jumps" at
the curve ends.
|
| Oscillate | 4 |
Parameters specified past the ends of the curve act as an offset from the same side of the
curve toward the opposite side. This is similar to Cycle where the curve is
mirrored beyond the curve ends.
|
See Also