Summary
Rescales the curve so the time and values both start at 0 and end at 1.
Note that this does not modify any of the tangents so the shape of the curve may change.
Returns the input curve so calls can be chained.
- Assembly
- Kybernetik
.InspectorGadgets .dll - Namespace
- InspectorGadgets
- Containing Type
- IGUtils
Syntax
public static AnimationCurve Normalize(this AnimationCurve curve)
Parameters
Name | Type | Description |
---|---|---|
curve | AnimationCurve |
Return Value
Type | Description |
---|---|
AnimationCurve |