Navigation
API > API/Runtime > API/Runtime/Chaos
Description
Replacement for FMath::Wrap that works for integers and returns a value in [Begin, End). Note: this implementation uses a loop to bring the value into range - it should not be used if the value is much larger than the range.
| Name | Chaos::Utilities::WrapIndex |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h |
| Include Path | #include "Chaos/Utilities.h" |
namespace Chaos
{
namespace Utilities
{
int32 Chaos::Utilities::WrapIndex
(
int32 V,
int32 Begin,
int32 End
)
}
}