Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Range.h |
Include |
#include "Math/Range.h" |
TArray< TRange > Split
(
ElementValueOrConstRef Element
) const
Split the range into two ranges at the specified element.
If a range [A, C) does not contain the element X, the original range is returned. Otherwise the range is split into two ranges [A, X) and [X, C), each of which may be empty.
Parameter |
Description |
---|---|
Element |
The element at which to split the range. |