Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TRangeSet
Description
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.
| Name | Add |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/RangeSet.h |
| Include Path | #include "Math/RangeSet.h" |
void Add
(
RangeType Range
)
Parameters
| Name | Remarks |
|---|---|
| Range | The range to add. |