Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Utilities.h |
Include | #include "Chaos/Utilities.h" |
namespace Chaos
{
namespace Utilities
{
int32 Chaos&58;&58;Utilities&58;&58;WrapIndex
&40;
int32 V,
int32 Begin,
int32 End
&41;
}
}
Remarks
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.