TRange::Difference

Calculate the difference between two ranges, i.e. X - Y.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Range.h"

Syntax

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

Remarks

Calculate the difference between two ranges, i.e. X - Y.

Returns

Between 0 and 2 remaining ranges.

Parameters

Parameter

Description

X

The first range to subtract from.

Y

The second range to subtract with.

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