Click or drag to resize
AnimationCurveXScale Method
Scales the Keyframes on the specified AnimationCurve by the specified amount.

Namespace: Candlelight
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
C#
public static void Scale(
	this AnimationCurve curve,
	Vector2 s
)

Parameters

curve
Type: AnimationCurve
Curve.
s
Type: Vector2
Scale factor.

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