VectorAllLesserThan

Returns non-zero if all elements in Vec1 are lesser than the corresponding elements in Vec2, otherwise 0.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathVectorCommon.h"

Syntax

uint32 VectorAllLesserThan
(
    VectorRegister Vec1,
    VectorRegister Vec2
)

Remarks

Returns non-zero if all elements in Vec1 are lesser than the corresponding elements in Vec2, otherwise 0.

Returns

Non-zero integer if (Vec1.x < Vec2.x) && (Vec1.y < Vec2.y) && (Vec1.z < Vec2.z) && (Vec1.w < Vec2.w)

Parameters

Parameter

Description

Vec1

1st source vector

Vec2

2nd source vector

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