FVector::GetClampedToSize2D

Create a copy of this vector, with the 2D magnitude clamped between Min and Max. Z is unchanged.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Vector.h

Include

#include "Math/Vector.h"

Syntax

FVector GetClampedToSize2D
(
    float Min,
    float Max
) const

Remarks

Create a copy of this vector, with the 2D magnitude clamped between Min and Max. Z is unchanged.

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