Skip to content

Home > @esengine/ecs-framework-monorepo > MathUtils > smoothStep

MathUtils.smoothStep() method

平滑阶跃函数(Hermite插值)

Signature:

typescript
static smoothStep(t: number): number;

Parameters

Parameter

Type

Description

t

number

输入参数(0到1)

Returns:

number

平滑输出(0到1)

基于 MIT 许可证发布