Curve.Evaluate Method
Finds the value at a position on the Curve.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public float Evaluate (
float position
)
Parameters
- position
The position on the Curve.
Return Value
Value at the position on the Curve.
See Also
Reference
Curve Class
Curve Members
Microsoft.Xna.Framework Namespace
Programming Guide
How to: Script the Camera to Follow a Curve
Platforms
Xbox 360, Windows XP SP2, Windows Vista