Skip to content

clamp

Clamp a number.

This is a synonym of clipping.

Parameters

  • x

    Typefloat

  • minimum

    Default0.0

  • maximum

    Default1.0