VectorUtil::Clamp

Windows
MacOS
Linux

References

Module

GeometricObjects

Header

/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/VectorUtil.h

Include

#include "VectorUtil.h"

Syntax

namespace VectorUtil
{
    template<typename RealType>
    RealType VectorUtil::Clamp
    (
        RealType Value,
        RealType MinValue,
        RealType MaxValue
    )
}

Returns

input Value clamped to range [MinValue, MaxValue]

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