Skip to content

Regrip API / domain/MagneticDetent.gen / apply

Variable: apply ​

const apply: (_1, _2, velocity, config) => t

Defined in: packages/core/src/domain/MagneticDetent.gen.ts:22

Pull raw toward target by an amount that eases in near snapDeg, fades out toward radiusDeg, and is gated fully open above velocityMax.

Parameters ​

_1 ​

t

_2 ​

t

velocity ​

undefined | number

config ​

undefined | config

Returns ​

t