Click or drag to resize
AnimationCurveXEvaluate Method
Evaluate the specified curve at the specified time.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static float Evaluate(
	this AnimationCurve curve,
	float time,
	out float inTangent,
	out float outTangent,
	float samplingFrequency = 1E-05f
)

Parameters

curve
Type: AnimationCurve
Curve.
time
Type: SystemSingle
Time.
inTangent
Type: SystemSingle
In tangent.
outTangent
Type: SystemSingle
Out tangent.
samplingFrequency (Optional)
Type: SystemSingle
Sampling frequency (Mathf.Epsilon, Mathf.Infinity).

Return Value

Type: Single
The value of curve at the specified time.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AnimationCurve. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also