UKismetMathLibrary::MapRangeClamped

Returns Value mapped from one range into another where the Value is clamped to the Input Range.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h

Include

#include "Kismet/KismetMathLibrary.h"

Source

/Engine/Source/Runtime/Engine/Private/KismetMathLibrary.cpp

Syntax

static float MapRangeClamped
(
    float Value,
    float InRangeA,
    float InRangeB,
    float OutRangeA,
    float OutRangeB
)

Remarks

Returns Value mapped from one range into another where the Value is clamped to the Input Range. (e.g. 0.5 normalized from the range 0->1 to 0->50 would result in 25)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss