Background for Skyrim SE
Member of the LibMathf script
floatfunctionClamp(floatvalue, floatmin, floatmax)NativeGlobal

Description

Documentation Comment

Returns value clamped between min and max


Caveats


Parameters

floatvalue

floatmin

floatmax


Examples

Auto-Generated Example

float myFloat__value
float myFloat__min
float myFloat__max

float returnedValue = LibMathf.Clamp(myFloat__value, myFloat__min, myFloat__max)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.