Click or drag to resize
AnimationCurveXGetTimeAtParameter Method
Gets the time at the specified normalized parameter value.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static float GetTimeAtParameter(
	this AnimationCurve curve,
	float t
)

Parameters

curve
Type: AnimationCurve
Curve.
t
Type: SystemSingle
A normalized parameter value.

Return Value

Type: Single
The time at the specified normalized parameter value.

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