Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TRange
Description
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.
| Name | Split |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Range.h |
| Include Path | #include "Math/Range.h" |
TArray < TRange > Split
(
ElementValueOrConstRef Element
) const
Parameters
| Name | Remarks |
|---|---|
| Element | The element at which to split the range. |