Skip to content

@modoki/engine / rendering / easeCameraBlend

Function: easeCameraBlend()

easeCameraBlend(name, t): number

Easing for a camera-frame blend. Pure; t clamped to [0,1]. Unknown name → linear. Keep the names in sync with the CameraFrame.blendEase enum.

Parameters

name

string

t

number

Returns

number

Built with Modoki.