Documentation

Unity Engine

Download Unity

Unity Engine

SmoothStep(float)

Interpolation function modeled after the smoothstep curve y = 3x^2 - 2x^3.
Read time 1 minuteLast updated 4 hours ago

Definition

[BurstCompile]public static float SmoothStep(float x)

Parameters

Value to interpolate.

Returns

Type

Description

floatThe interpolated value.