Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Core/Public/Math/Range.h |
Include |
#include "Math/Range.h" |
template<typename DifferenceType>
DifferenceType Size() const
Compute the size (diameter, length, width) of this range.
The size of a closed range is the difference between its upper and lower bound values. Use IsClosed() on the lower and upper bounds before calling this method in order to make sure that the range is closed.
Range size.