TRange::Size

Compute the size (diameter, length, width) of this range.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Range.h

Include

#include "Math/Range.h"

Syntax

template<typename DifferenceType>
DifferenceType Size() const

Remarks

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.

Returns

Range size.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss