SineIn(float)
Interpolation function modeled after the quarter-cycle of a shifted sine wave.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
[BurstCompile]public static float SineIn(float x)
Parameters
Value to interpolate.
Returns
Type | Description |
|---|---|
| float | The interpolated value. |
Remarks
The curve is the quarter-cycle of a sine wave that rises from its minimum to its zero crossing, shifted up by 1.