Documentation

Unity Engine

Download Unity

Unity Engine

SineIn(float)

Interpolation function modeled after the quarter-cycle of a shifted sine wave.
Read time 1 minuteLast updated 4 hours ago

Definition

[BurstCompile]public static float SineIn(float x)

Parameters

Value to interpolate.

Returns

Type

Description

floatThe 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.