Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/VectorUtil.h |
| Include | #include "VectorUtil.h" |
namespace UE
{
namespace Geometry
{
template<typename RealType>
RealType UE::Geometry::SnapToIncrement
(
RealType Value,
RealType Increment,
RealType Offset
)
}
}
Remarks
Snap Value to steps of Increment (centered at 0, ie steps are -Increment, 0, Increment, 2*Increment, ...). Optional Offset can be used to snap relative value.