TRange::Union

Return the union of two contiguous ranges.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Range.h"

Syntax

static TArray< TRange > Union
(
    const TRange & X,
    const TRange & Y
)

Remarks

Return the union of two contiguous ranges.

A union is a range or series of ranges that contains both ranges.

Returns

The union, or both ranges if the two ranges are not contiguous, or no ranges if both ranges are empty.

Parameters

Parameter

Description

X

The first range.

Y

The second range.

See Also

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