Lib.numbers.float.adjust.Clamp - tixl3d/tixl GitHub Wiki

Clamp

in Lib.numbers.float.adjust


Clamps an input float between two values. Can be used to find minimum or maximum values.

AKA: Min, Max

Tips: Also consider using [Remap] with clamping enabled.


Input Parameters

Name (Relevancy & Type) Description
Value (Single) Input value to clamp. Will be output if it falls between the Min and Max values.
Min (Single) Lower bound. If Value is below this, the operator will output this instead.
Max (Single) Upper bound. If Value is above this, the operator will output this instead.

Outputs

Name Type
Result System.Single

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️