TRangeSet::Add

Adds a range to the set.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/RangeSet.h"

Syntax

void Add
(
    RangeType Range
)

Remarks

Adds a range to the set.

This method merges overlapping ranges into a single range (i.e. {[1, 5], [4, 6]} becomes [1, 6]). Adjacent ranges (i.e. {[1, 4), [4, 6)} are also merged.

Parameters

Parameter

Description

Range

The range to add.

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