CurveLoopType Enumeration (Microsoft.Xna.Framework)

Defines how the Curve value is determined for position before first point or after the end point on the Curve.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.398)
  • C#
  • VB
  • F#
public enum CurveLoopType

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The CurveLoopType type exposes the following members.

  Platforms Name Description
Constant The value of Curve will be evaluated as first point for positions before the beginning and end point for positions after the end. 
Cycle The positions will wrap around from the end to beginning of the Curve for determined the value. 
CycleOffset The positions will wrap around from the end to beginning of the Curve. The value will be offset by the difference between the values of first and end CurveKey multiplied by the wrap amount. If the position is before the beginning of the Curve the difference will be subtracted from its value; otherwise the difference will be added. 
Linear The linear interpolation will be performed for determined the value. 
Oscillate The value at the end of the Curve act as an offset from the same side of the Curve toward the opposite side. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web