Performs a cubic interpolation between two vectors. Start vector. End vector. Value between 0 and 1 indicating the weight of . When the method completes, contains the cubic interpolation of the two vectors.
(ref Vector2 start, ref Vector2 end, float amount, out Vector2 result)
| 1074 | /// <param name="amount">Value between 0 and 1 indicating the weight of <paramref name="end" />.</param> |
| 1075 | /// <param name="result">When the method completes, contains the cubic interpolation of the two vectors.</param> |
| 1076 | public static void SmoothStep(ref Vector2 start, ref Vector2 end, float amount, out Vector2 result) |
| 1077 | { |
| 1078 | amount = Mathf.SmoothStep(amount); |
| 1079 | Lerp(ref start, ref end, amount, out result); |
| 1080 | } |
| 1081 | |
| 1082 | /// <summary> |
| 1083 | /// Performs a cubic interpolation between two vectors. |
nothing calls this directly
no test coverage detected