TVector2::Max

Returns a vector with the maximum component for each dimension from the pair of vectors.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Vector2D.h"

Syntax

static TVector2< T > Max
(
    const TVector2< T > & A,
    const TVector2< T > & B
)

Remarks

Returns a vector with the maximum component for each dimension from the pair of vectors.

Returns

The max vector.

Parameters

Parameter

Description

A

The first vector.

B

The second vector.