Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/TRange
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Math/Range.h |
Include | #include "Math/Range.h" |
TArray< TRange > Split
&40;
ElementValueOrConstRef Element
&41; const
Remarks
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.
Parameters
Name | Description |
---|---|
Element | The element at which to split the range. |